network-entity 10.0000.0000.0002.00
#
interface Vlanif20
 ip address 100.1.1.2 255.255.255.0
 isis enable 1
 mpls
 mpls ldp
#
interface Vlanif30
 l2 binding vsi a1
#
interface GigabitEthernet1/0/0
 port link-type trunk
 port trunk allow-pass vlan 20
#
interface GigabitEthernet2/0/0
 port link-type trunk
 port trunk allow-pass vlan 30
#
interface LoopBack1
 ip address 2.2.2.2 255.255.255.255
 isis enable 1
#
return
l Configuration file of ASBR-PE2
#
 sysname ASBR-PE2
#
 vlan batch 30 40
#
 mpls lsr-id 3.3.3.3
 mpls
#
 mpls l2vpn
#
vsi a1 static
 pwsignal ldp
  vsi-id 3
  peer 4.4.4.4
#
mpls ldp
#
isis 1
 network-entity 10.0000.0000.0003.00
#
interface Vlanif30
 l2 binding vsi a1
#
interface Vlanif40
 ip address 200.1.1.1 255.255.255.0
 isis enable 1
 mpls
 mpls ldp
#
interface GigabitEthernet1/0/0
 port link-type trunk
 port trunk allow-pass vlan 30
#
interface GigabitEthernet2/0/0
 port link-type trunk
 port trunk allow-pass vlan 40
#
interface LoopBack1
 ip address 3.3.3.3 255.255.255.255
 isis enable 1
#
return
l Configuration file of PE2
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 7 VPLS Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
787