Network requirements – H3C Technologies H3C S12500 Series Switches User Manual
Page 65
49
State: Inactive Adv Age: 00h12m50s
Tag: 0
# Enable RIP event debugging on Switch A.
%Jan 19 10:41:51:203 2008 SwitchA BFD/4/LOG:Sess[192.168.1.1/192.168.1.2,
Vlan-interface 100,Ctrl], Sta: UP->DOWN, Diag: 1
*Jan 19 10:33:12:813 2008 SwitchA RM/6/RMDEBUG: RIP-BFD: Message Type Disable, Connect
Type Direct-connect, Pkt Type Echo, Src IP Address 192.168.1.1, Src IFIndex4, Nbr IP
Address 192.168.1.2.
The output shows that when the link over VLAN-interface 100 fails, Switch A can quickly detect the
change.
# Display the BFD information on Switch A.
The output shows that Switch A has deleted the BFD session on VLAN-interface 100 to Switch C
and displays no output.
# Display the RIP routes of RIP process 1 on Switch A.
Route Flags: R - RIP, T - TRIP
P - Permanent, A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------------------
The output shows that the RIP route learned from Switch C no longer exists.
# Display routes destined for 100.1.1.0/24 learned on Switch A.
Routing Table : Public
Summary Count : 1
Destination: 100.1.1.0/24
Protocol: RIP Process ID: 2
Preference: 100 Cost: 2
IpPrecedence: QosLcId:
NextHop: 192.168.2.2 Interface: vlan-interface 200
BkNextHop: 0.0.0.0 BkInterface:
RelyNextHop: 0.0.0.0 Neighbor : 192.168.2.2
Tunnel ID: 0x0 Label: NULL
BKTunnel ID: 0x0 BKLabel: NULL
State: Active Adv Age: 00h18m40s
Tag: 0
Configuring BFD for RIP (bidirectional control detection)
Network requirements
Switch A is connected to Switch C through Switch B, as shown in
. VLAN-interface 100 on
Switch A and VLAN-interface 200 on Switch C run RIP process 1.
Configure a static route to Switch C on Switch A, and configure a static route to Switch A on Switch C.
Enable BFD on VLAN-interface 100 of Switch A and VLAN-interface 200 of Switch C.