-
Network requirements
• • configure a static route on Switch A can reach 120.1.1.0/24 network segment, configure a static route on Switch B can to
reach 121.1.1.0/24 network segment, and are enabled with BFD detection.
• • configure a static route on Switch C can reach 120.1.1.0/24 and 121.1.1.0/24 network segment.
• • When Switch A and Switch B over link L2 Switch failure in communication, the BFD can detect, and the cut
switch to communicate Switch C.Device Interface IP address Interface IP address Device
Switch of Vlan-A-INT11 INT10 12.1.1.1/24 of Vlan 10.1.1.102/24
Switch-B of Vlan of Vlan-INT13 INT10 12.1.1.2/24 13.1.1.1/24
Switch INT11-C of Vlan 10.1 .1.100 / 24 Vlan-int13 13.1.1.2/24
- Step Configuration
(1) Configuration of IP addresses of each interface (omitted)
(2) configure static routes and BFD
# configure static routes on Switch A Enable BFD function, bidirectional detection.
<SwitchA> System-View
[SwitchA] interface VLAN-interface 10
[SwitchA-VLAN-interface10 For] BFD min-TRANSMIT-interval The 500
[SwitchA-VLAN-interface10 For] BFD min-the receive-interval The 500
[SwitchA-VLAN-interface10 For] BFD . 9-multiplier The Detect
[-VLAN-interface10 For SwitchA] quit
[SwitchA] IP-route-static VLAN interface 10 24 120.1.1.0 12.1.1.2 BFD Control-Packet
[SwitchA] IP-route-static VLAN interface 120.1.1.0. 11 24 10.1 65 by the preference .1.100
[SwitchA] quit
# configure static routes on Switch B, and enable BFD function, bidirectional detection.
<SwitchB> System-View
[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 9
[SwitchB-vlan-interface10] quit
[SwitchB] ip route-static 121.1.1.0 24 vlan-interface 10 12.1.1.1 bfd control-packet
[SwitchB] ip route-static 121.1.1.0 24 vlan-interface 13 13.1.1.2 preference 65
[SwitchB] quit
#在 Switch C 上配置静态路由。
<SwitchC> system-view
[SwitchC] ip route-static 120.1.1.0 24 13.1.1.1
[SwitchC] ip route-static 121.1.1.0 24 10.1.1.102