H3C LS-3100-52P-OVS-H3 Operation Manual page 855

S5500-ei series ethernet switches
Table of Contents

Advertisement

# Configure a static route on Switch A and enable BFD on it. Implement BFD through BFD echo
packets.
<SwitchA> system-view
[SwitchA] bfd echo-source-ip 123.1.1.1
[SwitchA] interface vlan-interface 10
[SwitchA-vlan-interface10] bfd min-echo-receive-interval 300
[SwitchA-vlan-interface10] bfd detect-multiplier 7
[SwitchA-vlan-interface10] quit
[SwitchA] ip route-static 120.1.1.1 24 vlan-interface 10 10.1.1.100 bfd echo-packet
[SwitchA] ip route-static 120.1.1.1 24 vlan-interface 11 11.1.1.2 preference 65
[SwitchA] quit
2)
Verify the configuration
# Display BFD session information on Switch A.
<SwitchA> display bfd session
Total Session Num: 1
Session Working Under Echo Mode:
LD
SourceAddr
7
10.1.1.102
3)
Display static route information on Switch A.
<SwitchA> display ip routing-table protocol static
Public Routing Table : Static
Summary Count : 2
Static Routing table Status : <Active>
Summary Count : 1
Destination/Mask
Proto
120.1.1.1/24
Direct Routing table Status : <Inactive>
Summary Count : 1
Destination/Mask
Proto
120.1.1.1/24
Static 60
# Enable BFD debugging on Switch A.
<SwitchA> debugging bfd event
<SwitchA> debugging bfd scm
<SwitchA> terminal debugging
# When the link between Switch B and the Layer-2 switch goes down, Switch A can quickly detect the
changes on Switch B.
Init Mode: Active
DestAddr
10.1.1.100
Pre
Cost
Static 65
0
Pre
Cost
0
1-35
State Holdtime Interface
Up
1700ms
Vlan10
NextHop
Interface
10.1.1.100
Vlan10
NextHop
Interface
11.1.1.2
Vlan11

Advertisement

Chapters

Table of Contents
loading

Table of Contents