
117
[RouterB] bfd session init-mode active
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] ospf bfd enable
[RouterB-Ethernet1/1] bfd min-transmit-interval 500
[RouterB-Ethernet1/1] bfd min-receive-interval 500
[RouterB-Ethernet1/1] bfd detect-multiplier 6
Verifying the configuration
# Display the BFD information on Router A.
<RouterA> display bfd session
Total Session Num: 1 Up Session Num: 1 Init Mode: Active
IPv4 Session Working Under Ctrl Mode:
LD/RD SourceAddr DestAddr State Holdtime Interface
3/1 192.168.0.102 192.168.0.100 Up 1700ms Eth1/1
# Display routes destined for 120.1.1.0/24 on Router A.
<RouterA> display ip routing-table 120.1.1.0 verbose
Summary Count : 1
Destination: 120.1.1.0/24
Protocol: OSPF Process ID: 1
SubProtID: 0x1 Age: 04h20m37s
Cost: 2 Preference: 10
Tag: 0 State: Active Adv
OrigTblID: 0x0 OrigVrf: default-vrf
TableID: 0x2 OrigAs: 0
NBRID: 0x26000002 LastAs: 0
AttrID: 0xffffffff Neighbor: 0.0.0.0
Flags: 0x1008c OrigNextHop: 192.168.0.100
Label: NULL RealNextHop: 192.168.0.100
BkLabel: NULL BkNextHop: N/A
Tunnel ID: Invalid Interface: Ethernet1/1
BkTunnel ID: Invalid BkInterface: N/A
The output shows that Router A communicates with Router B through Ethernet 1/1. Then the link over
Ethernet 1/1 fails.
# Display routes destined for 120.1.1.0/24 on Router A.
<RouterA> display ip routing-table 120.1.1.0 verbose
Summary Count : 1
Destination: 120.1.1.0/24
Protocol: OSPF Process ID: 1
SubProtID: 0x1 Age: 04h20m37s
Cost: 4 Preference: 10
Tag: 0 State: Active Adv