[HCL] Static Routes
Enterprise
2019-06-25 08:36:50
views: null
- 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 and Switch D segments and can reach 120.1.1.0/24 121.1.1.0/24 network segment.
• • present a route to Switch A Switch B interface Loopback1 (2.2.2.9/32) of the interface Vlan-interface10;
presence routing interface to Switch B Loopback1 (1.1.1.9/32), Switch A, and an interface interface12-VLAN;
Switch D 1.1.1.9/32 route to the presence of the interface Vlan-interface10, to be a route of 2.2.2.9/32,
the interface Vlan-interface12.
• • When Switch A and Switch B through the failure of a communication link D Switch, BFD can detect, and the cut
switch to communicate Switch C.
- Configuration Step
(1) Configure IP address for each interface (omitted)
Note: We recommend stp off function on a physical interface between switches, enable Use the undo stp
(2) configure static routes and the BFD
# configure static routes on Switch A, and enable BFD detection, two-way detection.
<SwitchA> System-View
[SwitchA] BFD Multi-Hop min-TRANSMIT-interval The 500
[SwitchA] BFD Multi-Hop min-the receive-interval The 500
[SwitchA] BFD Multi-Hop Detect-multiplier The. 9
[SwitchA] IP route-static 32 of Vlan-interface 10 2.2.2.9 12.1.1.2
[SwitchA]-route static IP 120.1.1.0 24 2.2.2.9 Control BFD BFD-Source-Packet 1.1.1.9
[SwitchA] IP-route-static VLAN interface 24 120.1.1.0. 11 65 by the preference 10.1.1.100
[SwitchA] quit
# configure static routes on Switch B, and enable BFD function, bidirectional detection.
<SwitchB> System-View
[SwitchB] Multi-Hop BFD-min interval The TRANSMIT-500
[SwitchB] bfd multi-hop min-receive-interval 500
[SwitchB] bfd multi-hop detect-multiplier 9
[SwitchB] ip route-static 1.1.1.9 32 Vlan-interface 12 11.1.1.2
[SwitchB] ip route-static 121.1.1.0 24 1.1.1.9 bfd control-packet bfd-source 2.2.2.9
[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
#在Switch D 上配置静态路由。
<SwitchD> system-view
[SwitchD] ip route-static 120.1.1.0 24 11.1.1.1
[SwitchD] ip route-static 121.1.1.0 24 12.1.1.1
[SwitchD] ip route-static 1.1.1.9 32 12.1.1.1
[SwitchD] ip route-static 2.2.2.9 32 11.1.1.1
Origin blog.51cto.com/14220604/2412713