Output : 0 packets, 0 bytes
Unicast: 0, NUnicast: 0
Discard: 0, Error : 0
Jumbo : 0
----End
Configuration Files
l Configuration file of PE1
#
sysname PE1
#
vlan batch 10 100 101
#
ip vpn-instance vpna
route-distinguisher 100:100
vpn-target 100:100 export-extcommunity
vpn-target 100:100 import-extcommunity
ip vpn-instance vpnb
route-distinguisher 300:300
vpn-target 200:200 export-extcommunity
vpn-target 200:200 import-extcommunity
#
mpls lsr-id 1.1.1.9
mpls
#
mpls ldp
#
interface Vlanif100
ip binding vpn-instance vpna
ip address 14.1.1.1 255.255.255.0
#
interface Vlanif101
ip binding vpn-instance vpnb
ip address 14.1.1.1 255.255.255.0
#
interface Vlanif10
ip address 12.1.1.1 255.255.255.0
mpls
mpls ldp
#
interface GigabitEthernet1/0/1
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
interface GigabitEthernet3/0/1
port hybrid pvid vlan 100
port hybrid untagged vlan 100
#
interface GigabitEthernet3/0/2
port hybrid pvid vlan 101
port hybrid untagged vlan 101
#
interface LoopBack1
ip address 1.1.1.9 255.255.255.255
#
bgp 100
peer 3.3.3.9 as-number 100
peer 3.3.3.9 connect-interface LoopBack1
#
ipv4-family unicast
undo synchronization
peer 3.3.3.9 enable
#
ipv4-family vpnv4
peer 3.3.3.9 enable
#
3 BGP/MPLS IP VPN Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - VPN
3-76 Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2009-08-20)