1-10
Configuring BFD Control Packet Mode for Static Routing
Network requirements
As shown in the following figure, configure a static route to subnet 14.1.1.0/24 on Switch A and
configure a static route to subnet 13.1.1.0/24 on Switch B. Both routes have BFD control packet mode
enabled. When the link between Switch A and Switch B fails, BFD can detect it immediately.
Figure 1-3
Network diagram for BFD control packet mode configuration for static routing
Configuration procedure
1) Configure
BFD
# Configure Switch A.
<SwitchA> system-view
[SwitchA] interface vlan-interface12
[SwitchA-vlan-interface12] ip address 12.1.1.1 24
[SwitchA-vlan-interface12] bfd min-transmit-interval 500
[SwitchA-vlan-interface12] bfd min-receive-interval 500
[SwitchA-vlan-interface12] bfd detect-multiplier 9
[SwitchA-vlan-interface12] quit
[SwitchA] ip route-static 14.1.1.0 24 vlan-interface 12 12.1.1.2 bfd control-packet
[SwitchA] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] interface vlan-interface12
[SwitchB-vlan-interface12] ip address 12.1.1.2 24
[SwitchB-vlan-interface12] bfd min-transmit-interval 500
[SwitchB-vlan-interface12] bfd min-receive-interval 500
[SwitchB-vlan-interface12] bfd detect-multiplier 9
[SwitchB-vlan-interface12]] quit
[SwitchB] ip route-static 13.1.1.0 24 vlan-interface 12 12.1.1.1 bfd control-packet
[SwitchB] quit
2) Verify the configuration.
<SwitchA> display bfd session
Total Session Num: 1 Init Mode: Active
Session Working Under Ctrl Mode:
LD/RD SourceAddr DestAddr State Holdtime Interface
4/7 12.1.1.1 12.1.1.2 Up 2000ms Vlan12
# Display the static route information of Switch A.
Summary of Contents for S7906E - Switch
Page 82: ...1 4 DeviceA interface tunnel 1 DeviceA Tunnel1 service loopback group 1...
Page 200: ...1 11 DeviceB display vlan dynamic No dynamic vlans exist...
Page 598: ...ii...
Page 1757: ...4 9...
Page 1770: ...6 4...
Page 2017: ...2 11 Figure 2 3 SFTP client interface...
Page 2238: ...1 16 DeviceA cfd linktrace service instance 1 mep 1001 target mep 4002...