EasyManua.ls Logo

Huawei S6700 Series - Page 470

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...
[SwitchA] vlan batch 10 20
[SwitchA] interface xgigabitethernet 0/0/1
[SwitchA-XGigabitEthernet0/0/1] port hybrid pvid vlan 10
[SwitchA-XGigabitEthernett0/0/1] port hybrid untagged vlan 10
[SwitchA-XGigabitEthernet0/0/1] quit
[SwitchA] interface xgigabitethernet 0/0/2
[SwitchA-XGigabitEthernet0/0/2] port hybrid pvid vlan 20
[SwitchA-XGigabitEthernet0/0/2] port hybrid untagged vlan 20
[SwitchA-XGigabitEthernet0/0/2] quit
The configurations of SwitchB and SwitchC are similar to the configuration of SwitchA, and
are not mentioned here.
Step 2 Assign an IP address to each VLANIF interface.
[SwitchA] interface vlanif 10
[SwitchA-Vlanif10] ip address 200.1.4.1 24
[SwitchA-Vlanif10] quit
[SwitchA] interface vlanif 20
[SwitchA-Vlanif20] ip address 200.1.2.1 24
[SwitchA-Vlanif20] quit
The configurations of SwitchB and SwitchC are similar to the configuration of SwitchA, and
are not mentioned here.
Step 3 Configure IBGP connections.
# Configure Switch A.
[SwitchA] bgp 10
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 200.1.4.2 as-number 30
[SwitchA-bgp] peer 200.1.2.2 as-number 20
[SwitchA-bgp] import-route direct
# Configure Switch B.
[SwitchB] bgp 20
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 200.1.2.1 as-number 10
[SwitchB-bgp] peer 200.1.3.2 as-number 30
[SwitchB-bgp] import-route direct
[SwitchB-bgp] quit
# Configure Switch C.
[SwitchC] bgp 30
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 200.1.3.1 as-number 20
[SwitchC-bgp] peer 200.1.4.1 as-number 10
[SwitchC-bgp] import-route direct
[SwitchC-bgp] quit
# Check the routing table advertised by Switch B to peer 200.1.3.2. Take the routing table
advertised by Switch B to Switch C as an example. You can find that Switch B advertises the
routes destined to the network segment between Switch A and Switch C.
<SwitchB> display bgp routing-table peer 200.1.3.2 advertised-routes
BGP Local router ID is 2.2.2.2
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Total Number of Routes: 3
Network NextHop MED LocPrf PrefVal Path/Ogn
*> 200.1.2.0 200.1.3.1 0 0 20?
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.
451

Table of Contents

Other manuals for Huawei S6700 Series

Related product manuals