EasyManua.ls Logo

Huawei S6700 Series

Huawei S6700 Series
664 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Procedure
Step 1 Assign IP addresses to the interfaces of Switches. The configuration details are not mentioned
here.
Step 2 Configure basic BGP functions. Establish EBGP peer relationships between Switch A and
Switch B, and between Switch A and Switch C and an IBGP peer relationship between
Switch B and Switch C.
# Configure Switch A.
[SwitchA] bgp 100
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 200.1.1.2 as-number 200
[SwitchA-bgp] peer 200.1.1.2 ebgp-max-hop
[SwitchA-bgp] peer 200.1.2.2 as-number 200
[SwitchA-bgp] peer 200.1.2.2 ebgp-max-hop
[SwitchA-bgp] quit
# Configure Switch B.
[SwitchB] bgp 200
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 200.1.1.1 as-number 100
[SwitchB-bgp] peer 200.1.1.1 ebgp-max-hop
[SwitchB-bgp] peer 9.1.1.2 as-number 200
[SwitchB-bgp] network 172.16.1.0 255.255.255.0
[SwitchB-bgp] quit
# Configure Switch C.
[SwitchC] bgp 200
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 200.1.2.1 as-number 100
[SwitchC-bgp] peer 200.1.2.1 ebgp-max-hop
[SwitchC-bgp] peer 9.1.1.1 as-number 200
[SwitchC-bgp] network 9.1.1.0 255.255.255.0
[SwitchC-bgp] quit
# Check the status of BGP peer relationships on Switch A. The command output shows that the
BGP peer relationships are in the Established state.
<SwitchA> display bgp peer
BGP local router ID : 1.1.1.1
Local AS number : 100
Total number of peers : 2 Peers in established state : 2
Peer V AS MsgRcvd MsgSent OutQ Up/Down State PrefRcv
200.1.1.2 4 200 2 5 0 00:01:25 Established 0
200.1.2.2 4 200 2 4 0 00:00:55 Established 0
Step 3 Set the MED.
Set the MED sent from Switch B to Switch C through the policy.
# Configure Switch B.
[SwitchB] route-policy 10 permit node 10
[SwitchB-route-policy] apply cost 100
[SwitchB-route-policy] quit
[SwitchB] bgp 200
[SwitchB-bgp] peer 200.1.1.1 route-policy 10 export
# Configure Switch C.
[SwitchC] route-policy 10 permit node 10
[SwitchC-route-policy] apply cost 150
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 7 BGP Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
483

Table of Contents

Other manuals for Huawei S6700 Series

Related product manuals