H3C Technologies H3C S7500E Series Switches User Manual
Page 143

4-74
[SwitchB-ospf-1-area-0.0.0.0] network 10.1.0.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] quit
[SwitchB] interface vlan-interface 10
[SwitchB-Vlan-interface10] ospf bfd enable
[SwitchB-Vlan-interface10] quit
Configure BFD parameters.
# Configure Switch A.
[SwitchA] bfd session init-mode active
[SwitchA] interface vlan-interface 10
[SwitchA-Vlan-interface10] bfd min-transmit-interval 500
[SwitchA-Vlan-interface10] bfd min-receive-interval 500
[SwitchA-Vlan-interface10] bfd detect-multiplier 7
[SwitchA-Vlan-interface10] bfd authentication-mode simple 1 zhang
[SwitchA-Vlan-interface10] quit
[SwitchA] quit
# Configure Switch B.
[SwitchB] bfd session init-mode active
[SwitchB] interface vlan-interface 10
[SwitchB-Vlan-interface10] bfd min-transmit-interval 500
[SwitchB-Vlan-interface10] bfd min-receive-interval 500
[SwitchB-Vlan-interface10] bfd detect-multiplier 6
[SwitchB-Vlan-interface10] bfd authentication-mode simple 1 zhang
Verify the configuration.
# Display the BFD information of Switch A.
Total Session Num: 1 Init Mode: Active
Session Working Under Ctrl Mode:
LD/RD SourceAddr DestAddr State Holdtime Interface
3/1 10.1.0.102 10.1.0.100 Up 1700ms vlan10
# Display the OSPF neighbor information of Switch A.
OSPF Process 1 with Router ID 192.168.1.40
Neighbor Brief Information
Area: 0.0.0.1
Router ID Address Pri Dead-Time Interface State
10.1.0.102 10.1.0.100 1 31 vlan10 Full/DR
# Enable BFD debugging on Switch A.
# When the link between Switch B and the Layer 2 switch fails, you can see that Switch A can quickly
detect the changes on Switch B.
%Nov 12 18:34:48:823 2005 SwitchA BFD/5/LOG: Sess[10.1.0.102/10.1.0.100, vlan10], Sta :
UP->DOWN, Diag: 1
%Nov 12 18:34:48:824 2005 SwitchA RM/4/RMLOG:OSPF-NBRCHANGE: Process 1, Neighbour 10.1.0.102
(vlan10) from Full to Down
*0.50673825 SwitchA BFD/8/SCM:Sess[10.1.0.102/10.1.0.100, vlan10],Oper: Reset