![Huawei S6700 Series Скачать руководство пользователя страница 494](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517494.webp)
SwitchB
XGigabitEthernet0/0/1
VLANIF 10
10.1.1.2/24
SwitchC
XGigabitEthernet0/0/1
VLANIF 20
10.1.2.2/24
SwitchD
XGigabitEthernet0/0/1
VLANIF 30
10.1.3.2/24
SwitchD
XGigabitEthernet0/0/2
VLANIF 50
10.1.5.1/24
SwitchE
XGigabitEthernet0/0/1
VLANIF 40
10.1.4.2/24
SwitchE
XGigabitEthernet0/0/2
VLANIF 50
10.1.5.2/24
SwitchF
XGigabitEthernet0/0/1
VLANIF 60
200.1.1.2/24
SwitchF
XGigabitEthernet0/0/2
VLANIF 70
9.1.1.1/24
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure the BGP confederation on each Switch in AS 200.
2.
Establish IBGP connections in AS 65001.
3.
Establish EBGP connections between AS 100 and AS 200, and check the routes.
Data Preparation
To complete the configuration, you need the following data:
l
ID of the VLAN that each interface belongs to, as shown in
l
IP address of each VLANIF interface, as shown in
l
Router IDs of Switch A, Switch B, Switch C, Switch D, Switch E, and Switch F being
1.1.1.1, 2.2.2.2, 3.3.3.3, 4.4.4.4, 5.5.5.5, and 6.6.6.6
l
AS 100, AS 200, and three sub-AS numbers of AS 200 are 65001, 65002, and 65003
Procedure
Step 1
Create VLANs and add interfaces to the corresponding VLANs.
<Quidway>
system-view
[Quidway]
sysname SwitchA
[SwitchA]
vlan batch 10 20 30 40 60
[SwitchA]
interface xgigabitethernet 0/0/1
[SwitchA-XGigabitEthernet0/0/1]
port hybrid pvid vlan 10
[SwitchA-XGigabitEthernet0/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
[SwitchA]
interface xgigabitethernet 0/0/3
[SwitchA-XGigabitEthernet0/0/3]
port hybrid pvid vlan 30
[SwitchA-XGigabitEthernet0/0/3]
port hybrid untagged vlan 30
[SwitchA-XGigabitEthernet0/0/3]
quit
[SwitchA]
interface xgigabitethernet 0/0/4
[SwitchA-XGigabitEthernet0/0/4]
port hybrid pvid vlan 40
[SwitchA-XGigabitEthernet0/0/4]
port hybrid untagged vlan 40
[SwitchA-XGigabitEthernet0/0/4]
quit
[SwitchA]
interface xgigabitethernet 0/0/5
[SwitchA-XGigabitEthernet0/0/5]
port hybrid pvid vlan 60
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.
475