l Configuration file of CE2
#
sysname CE2
#
vlan batch 100
#
interface Vlanif100
ip address 34.1.1.2 255.255.255.0
#
interface GigabitEthernet3/0/1
port hybrid pvid vlan 100
port hybrid untagged vlan 100
#
ip route-static 0.0.0.0 0.0.0.0 vlanif 100 34.1.1.2
#
return
l Configuration file of CE3
#
sysname CE3
#
vlan batch 101
#
interface Vlanif101
ip address 14.1.1.2 255.255.255.0
#
interface GigabitEthernet3/0/1
port hybrid pvid vlan 101
port hybrid untagged vlan 101
#
ip route-static 0.0.0.0 0.0.0.0 Vlanif 100 14.1.1.1
#
return
l Configuration file of CE4
#
sysname CE4
#
vlan batch 101
#
interface Vlanif101
ip address 34.1.1.2 255.255.255.0
#
interface GigabitEthernet3/0/1
port hybrid pvid vlan 101
port hybrid untagged vlan 101
#
ip route-static 0.0.0.0 0.0.0.0 Vlanif 100 34.1.1.2
#
return
3.14.3 Example for Configuring BGP ASN Substitution
Networking Requirements
As shown in Figure 3-5, CE1 and CE2 belong to the same VPN and access PE1 and PE2
respectively.
CE1 and CE2 use the same ASN, namely, 600.
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN 3 BGP/MPLS IP VPN Configuration
Issue 03 (2009-08-20) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3-79