Huawei S6700 Series Configuration Manual page 503

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

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
[SwitchC-route-policy] quit
[SwitchC] bgp 200
[SwitchC-bgp] peer 200.1.2.1 route-policy 10 export
# View all BGP routing information on Switch A.
<SwitchA> display bgp routing-table
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
Total Number of Routes: 2
*>
*
According to the BGP routing table, the next hop address of the route destined for 172.16.1.0/24
is 200.1.1.2 and service flow is transmitted on the active link Switch A → Switch B.
Step 4 Configure BFD, and set the interval for transmitting BFD packets, the interval for receiving BFD
packets, and the local detection multiplier.
# Enable BFD on Switch A. Set the minimum intervals for transmitting and receiving BFD
packets to 100 ms and the local detection multiplier to 4.
[SwitchA] bfd
[SwitchA-bfd] quit
[SwitchA] bgp 100
[SwitchA-bgp] peer 200.1.1.2 bfd enable
[SwitchA-bgp] peer 200.1.1.2 bfd min-tx-interval 100 min-rx-interval 100 detect-
multiplier 4
# Enable BFD on Switch B. Set the minimum intervals for transmitting and receiving BFD
packets to 100 ms and the local detection multiplier to 4.
[SwitchB] bfd
[SwitchB-bfd] quit
[SwitchB] bgp 200
[SwitchB-bgp] peer 200.1.1.1 bfd enable
[SwitchB-bgp] peer 200.1.1.1 bfd min-tx-interval 100 min-rx-interval 100 detect-
multiplier 4
# Display all BFD sessions on Switch A.
<SwitchA> display bgp bfd session all
Local_Address
200.1.1.1
Tx-interval(ms)
100
Wtr-interval(m)
0
Step 5 Verify the configuration.
# Run the shutdown command on VLANIF20 of Switch B to simulate faults on the active link.
[SwitchB] interface vlanif 20
[SwitchB-Vlanif20] shutdown
# Check the BGP routing table on Switch A.
<SwitchA> display bgp routing-table
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
Issue 01 (2012-03-15)
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
NextHop
172.16.1.0/24
200.1.1.2
200.1.2.2
Peer_Address
200.1.1.2
Rx-interval(ms)
100
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
i - internal, s - suppressed, S - Stale
MED
100
150
LD/RD
8201/8201
Multiplier
4
7 BGP Configuration
LocPrf
PrefVal Path/Ogn
0
200i
0
200i
Interface
GigibitEthernet2/0/0
Session-State
Up
484

Advertisement

Table of Contents
loading

Table of Contents