Huawei S6700 Series Configuration Manual page 508

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

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
[SwitchD-bgp] peer 2.2.2.9 as-number 20
[SwitchD-bgp] peer 2.2.2.9 connect-interface LoopBack0
[SwitchD-bgp] peer 3.3.3.9 as-number 20
[SwitchD-bgp] peer 3.3.3.9 connect-interface LoopBack0
Step 5 Configure an EBGP connection.
# Configure Switch A.
[SwitchA] bgp 10
[SwitchA-bgp] router-id 1.1.1.9
[SwitchA-bgp] peer 10.1.1.2 as-number 20
# Configure Switch B.
[SwitchB-bgp] peer 10.1.1.1 as-number 10
# Display the connection status of the BGP peers.
<SwitchB> display bgp peer
BGP local router ID : 2.2.2.9
Local AS number : 20
Total number of peers : 3
Peer
3.3.3.9
4.4.4.9
10.1.1.1
You can view that Switch B has set up BGP connections with other routers.
Step 6 Configure GTSM on Switch A and Switch B. Switch A and Switch B are directly connected, so
the range of the TTL value between the two switches is [255, 255]. The value of valid-ttl-
hops is 1.
# Configure GTSM on Switch A.
[SwitchA-bgp] peer 10.1.1.2 valid-ttl-hops 1
# Configure GTSM of the EBGP connection on Switch B.
[SwitchB-bgp] peer 10.1.1.1 valid-ttl-hops 1
# Check the GTSM configuration.
<SwitchB> display bgp peer 10.1.1.1 verbose
BGP Peer is 10.1.1.1,
Update-group ID : 2
Issue 01 (2012-03-15)
V
AS
MsgRcvd
4
20
4
20
4
10
remote AS 10
Type: EBGP link
BGP version 4, Remote router ID 1.1.1.9
BGP current state: Established, Up for 00h49m35s
BGP current event: RecvKeepalive
BGP last state: OpenConfirm
BGP Peer Up count: 1
Received total routes: 0
Received active routes total: 0
Advertised total routes: 0
Port:
Local - 179
Configured: connect-retry Time: 32 sec
Configured: Active Hold Time: 180 sec
Received
: Active Hold Time: 180 sec
Negotiated: Active Hold Time: 180 sec
Peer optional capabilities:
Peer supports bgp multi-protocol extension
Peer supports bgp route refresh capability
Peer supports bgp 4-byte-as capability
Address family IPv4 Unicast: advertised and received
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Peers in established state : 3
MsgSent
OutQ
Up/Down
8
7
0 00:05:06 Established
8
10
0 00:05:33 Established
7
7
0 00:04:09 Established
Remote - 52876
Keepalive Time:60 sec
Keepalive Time:60 sec
7 BGP Configuration
State PrefRcv
0
0
0
489

Advertisement

Table of Contents
loading

Table of Contents