3com S7906E Manuel De Montage

Page de 2621
 
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.