mpls lsr-id 4.4.4.9
mpls
#
mpls l2vpn
mpls l2vpn default martini
#
mpls ldp
#
interface vlanif 30
ip address 100.1.3.2 255.255.255.0
mpls
mpls ldp
#
interface vlanif 50
mpls l2vc 1.1.1.9 100
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 50
#
interface GigabitEthernet2/0/0
port link-type trunk
port trunk allow-pass vlan 30
#
interface LoopBack1
ip address 4.4.4.9 255.255.255.255
#
ospf 1
area 0.0.0.0
network 4.4.4.9 0.0.0.0
network 100.1.3.0 0.0.0.255
#
return
l
Configuration file of SPE1
#
sysname SPE1
#
vlan batch 10 30
#
mpls lsr-id 1.1.1.9
mpls
#
mpls l2vpn
#
vsi v100 static
pwsignal ldp
vsi-id 100
peer 3.3.3.9
peer 4.4.4.9 upe
#
mpls ldp
#
mpls ldp remote-peer 3.3.3.9
remote-ip 3.3.3.9
#
interface Vlanif 10
ip address 100.1.1.1 255.255.255.0
mpls
mpls ldp
#
interface Vlanif 30
ip address 100.1.3.1 255.255.255.0
mpls
mpls ldp
#
interface GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 10
#
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.
778