primary
CE1 and CE2 can ping each other.
<CE1> ping 30.1.1.2
  PING 30.1.1.2: 56  data bytes, press CTRL_C to break
    Reply from 30.1.1.2: bytes=56 Sequence=1 ttl=255 time=24 ms
    Reply from 30.1.1.2: bytes=56 Sequence=2 ttl=255 time=26 ms
    Reply from 30.1.1.2: bytes=56 Sequence=3 ttl=255 time=24 ms
    Reply from 30.1.1.2: bytes=56 Sequence=4 ttl=255 time=51 ms
    Reply from 30.1.1.2: bytes=56 Sequence=5 ttl=255 time=48 ms
  --- 30.1.1.2 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 24/34/51 ms 
----End
Configuration Files
l Configuration file of CE1
#
 sysname CE1
#
 vlan batch 10
#
interface Vlanif10
 ip address 30.1.1.1 255.255.255.0
#
interface GigabitEthernet1/0/0
 port link-type trunk
 port trunk allow-pass vlan 10
#
return
l Configuration file of PE
#
 sysname PE
#
 vlan batch 10 20
#
 mpls lsr-id 1.1.1.9
 mpls
#
 mpls l2vpn
#
interface Vlanif10
#
interface Vlanif20
 ip address 10.1.1.1 255.255.255.0
 mpls
#
interface GigabitEthernet1/0/0
 port hybrid pvid vlan 10
 port hybrif tagged vlan 10
#
interface GigabitEthernet2/0/0
 port hybrid pvid vlan 20
 port hybrif tagged vlan 20
#
#
 ccc CE1-CE2 interface Vlanif 10 in-label 100 out-label 200 nexthop 10.1.1.2
#
interface LoopBack1
 ip address 1.1.1.9 255.255.255.255
Quidway S7700 Smart Routing Switch
Configuration Guide - VPN 5 VLL Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
513