Huawei S6700 Series Configuration Manual page 201

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
# Configure BFD on VLANIF20 of Switch B and set the minimum interval for sending the
packets and the minimum interval for receiving the packets to 100 ms and the local detection
time multiplier to 4.
[SwitchB] bfd
[SwitchB-bfd] quit
[SwitchB] interface vlanif 20
[SwitchB-Vlanif20] ospf bfd enable
[SwitchB-Vlanif20] ospf bfd min-tx-interval 100 min-rx-interval 100 detect-
multiplier 4
[SwitchB-Vlanif20] quit
# Run the display ospf bfd session all command on Switch A or Switch B. You can see that the
BFD state is Up.
Take Switch B for example. The display is as follows:
[SwitchB] display ospf bfd session all
Area 0.0.0.0 interface 3.3.3.2(Vlanif20)'s BFD Sessions
NeighborId:1.1.1.1
BFDState:up
Multiplier:4
RemoteIpAdd:3.3.3.1
Area 0.0.0.0 interface 2.2.2.2(Vlanif30)'s BFD Sessions
NeighborId:3.3.3.3
BFDState:up
Multiplier:3
RemoteIpAdd:2.2.2.1
Step 6 Verify the configuration.
# Run the shutdown command on VLANIF 20 of Switch B to simulate a link fault.
[SwitchB] interface vlanif 20
[SwitchB-Vlanif20] shutdown
# View the routing table of Switch A.
<SwitchA> display ospf routing
Routing for Network
Destination
172.16.1.1/24
3.3.3.0/24
2.2.2.0/24
1.1.1.0/24
Total Nets: 4 Intra Area: 4
As shown in the OSPF routing table, the backup link Switch A→Switch C→Switch B takes
effect after the main link fails. The next hop address of the route to 172.16.1.0/24 becomes
1.1.1.2.
----End
Configuration Files
l
Issue 01 (2012-03-15)
OSPF Process 1 with Router ID 2.2.2.2
OSPF Process 1 with Router ID 1.1.1.1 Routing Tables
Cost
3
1
2
1
Configuration file of Switch A
#
sysname SwitchA
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
AreaId:0.0.0.0
rx
:100
BFD Local Dis:8198
Diagnostic Info:No diagnostic information
AreaId:0.0.0.0
rx
:1000
BFD Local Dis:8199
Diagnostic Info:No diagnostic information
Type
NextHop
Stub
1.1.1.2
Stub
3.3.3.1
Transit
1.1.1.2
Transit
1.1.1.1
Inter Area: 0
ASE: 0
4 OSPF Configuration
Interface: Vlanif20
tx
:100
LocalIpAdd:3.3.3.2
Interface: Vlanif30
tx
:1000
LocalIpAdd:2.2.2.2
AdvRouter
Area
2.2.2.2
0.0.0.0
1.1.1.1
0.0.0.0
3.3.3.3
0.0.0.0
1.1.1.1
0.0.0.0
NSSA: 0
182

Advertisement

Table of Contents
loading

Table of Contents