![Huawei S6700 Series Скачать руководство пользователя страница 370](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517370.webp)
From the preceding display, you can view that the status of the BFD session between Switch A
and Switch B and that between Switch A and Switch C are Up.
Step 6
Configure BFD of the interfaces.
# Configure BFD on Vlanif20 of Switch A, set the minimum interval for sending the packets
and the minimum interval for receiving the packets to 100 ms, and set the local detection time
multiple to 4.
[SwitchA]
interface vlanif 20
[SwitchA-Vlanif20]
isis bfd enable
[SwitchA-Vlanif20]
isis bfd min-tx-interval 100 min-rx-interval 100 detect-
multiplier 4
[SwitchA-Vlanif20]
quit
# Configure BFD on Vlanif20 of Switch B, set the minimum interval for sending the packets
and the minimum interval for receiving the packets to 100 ms, and set the local detection time
multiple to 4.
[SwitchB]
bfd
[SwitchB-bfd]
quit
[SwitchB]
interface vlanif 20
[SwitchB-Vlanif20]
isis bfd enable
[SwitchB-Vlanif20]
isis bfd min-tx-interval 100 min-rx-interval 100 detect-
multiplier 4
[SwitchB-Vlanif20]
quit
# After the preceding configurations are complete, run the
display isis bfd session all
command
on Switch A or Switch B. You can view that the parameters of the BFD have taken effect. Take
the display of Switch B as an example:
[SwitchB]
display isis bfd session all
BFD session information for ISIS(1)
-----------------------------------
Peer System ID : 0000.0000.0001 Interface : Vlanif20
TX :
100
BFD State :
up
Peer IP Address : 3.3.3.1
RX :
100
LocDis : 8192 Local IP Address: 3.3.3.2
Multiplier :
4
RemDis : 8192 Type : L2
Diag : No diagnostic information
Peer System ID : 0000.0000.0003 Interface : Vlanif50
TX :
100
BFD State : up Peer IP Address : 2.2.2.1
RX :
100
LocDis : 8192 Local IP Address: 2.2.2.2
Multiplier : 3 RemDis : 8193 Type : L2
Diag : No diagnostic information
Step 7
Verify the configuration.
# Run the
shutdown
command on Vlanif20 of Switch B to simulate the active link failure.
[SwitchB]
interface vlanif 20
[SwitchB-Vlanif20]
shutdown
Step 8
# Display the routing table on Switch A.
[SwitchA]
display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 8 Routes : 8
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 Direct 0 0 D 1.1.1.1 Vlanif10
1.1.1.1/32 Direct 0 0 D 127.0.0.1 Vlanif10
2.2.2.0/24 ISIS-L2 15 20 D 1.1.1.2 Vlanif10
3.3.3.0/24 Direct 15 25 D 1.1.1.2 Vlanif10
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
172.16.1.0/24 ISIS-L2 15 30 D 1.1.1.2 Vlanif10
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
6 IS-IS Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
351