return
l Configuration file of PE2
#
 sysname PE2
#
 vlan batch 30 40
#
 mpls lsr-id 3.3.3.9
 mpls
  mpls te
  mpls rsvp-te
  mpls te cspf
#
 mpls l2vpn
#
vsi a2 static
 pwsignal ldp
  vsi-id 2
  peer 1.1.1.9 tnl-policy policy1
#
mpls ldp
#
 mpls ldp remote-peer 1.1.1.9
 remote-ip 1.1.1.9
#
interface Vlanif 30
 ip address 100.2.1.2 255.255.255.0
 ospf cost 1
 mpls
 mpls te
 mpls rsvp-te
#
interface Vlanif40
 l2 binding vsi a2
#
interface GigabitEtherne1/0/0
 port link-type trunk
 port trunk allow-pass vlan 40
#
interface GigabitEthernet2/0/0
 port link-type trunk
 port trunk allow-pass vlan 30
#
interface LoopBack1
 ip address 3.3.3.9 255.255.255.255
#
interface Tunnel1/0/0
 ip address unnumbered interface LoopBack1
 tunnel-protocol mpls te
 destination 1.1.1.9
 mpls te tunnel-id 100
 mpls te reserved-for-binding
 mpls te commit
#
ospf 1
 opaque-capability enable
 area 0.0.0.0
  network 3.3.3.9 0.0.0.0
  network 100.2.1.0 0.0.0.255
  mpls-te enable
#
tunnel-policy  policy1
 tunnel binding destination 1.1.1.9 te Tunnel1/0/0
#
return
l Configuration file of CE2
#
 sysname CE2
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.
753