Huawei S6700 Series Configuration Manual page 464

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

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
l
Configuration Procedure
1.
2.
3.
4.
5.
Issue 01 (2012-03-15)
The router IDs of SwitchB, SwitchC, and SwitchD are 2.2.2.2, 3.3.3.3. and 4.4.4.4, and the
number of the AS where they reside is 65009.
Create a VLAN to which each interface belongs.
The configuration details are not mentioned here.
Assign an IP address to each VLANIF interface.
The configuration details are not mentioned here.
Create IBGP peer relationships.
# Configure SwitchB.
[SwitchB] bgp 65009
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 9.1.1.2 as-number 65009
[SwitchB-bgp] peer 9.1.3.2 as-number 65009
# Configure SwitchC.
[SwitchC] bgp 65009
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 9.1.3.1 as-number 65009
[SwitchC-bgp] peer 9.1.2.2 as-number 65009
[SwitchC-bgp] quit
Configure SwitchD
[SwitchD] bgp 65009
[SwitchD-bgp] router-id 4.4.4.4
[SwitchD-bgp] peer 9.1.1.1 as-number 65009
[SwitchD-bgp] peer 9.1.2.1 as-number 65009
[SwitchD-bgp] quit
Create an EBGP peer relationship.
# Configure SwitchA
[SwitchA] bgp 65008
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 200.1.1.1 as-number 65009
# Configure SwitchB.
[SwitchB] bgp 65009
[SwitchB-bgp] peer 200.1.1.2 as-number 65008
[SwitchB-bgp] quit
# Check the status of BGP connections.
[SwitchB] display bgp peer
BGP local router ID : 2.2.2.2
Local AS number : 65009
Total number of peers : 3
Peer
V
9.1.1.2
4 65009
9.1.3.2
4 65009
200.1.1.2
4 65008
You can view that the BGP connections between SwitchB and all the other switches are
set up.
Configure SwitchA to advertise the route 8.0.0.0/8.
Configure SwitchA to advertise routes.
[SwitchA] bgp 65008
[SwitchA-bgp] ipv4-family unicast
[SwitchA-bgp-af-ipv4] network 8.0.0.0 255.0.0.0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Peers in established state : 3
AS
MsgRcvd
MsgSent
49
62
56
56
49
65
7 BGP Configuration
OutQ
Up/Down
State PrefRcv
0 00:44:58 Established
0 00:40:54 Established
0 00:44:03 Established
0
0
1
445

Advertisement

Table of Contents
loading

Table of Contents