[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
# On the interface connecting CE 2, create a service instance and establish an MPLS L2VPN
connection.
[PE2] interface gigabitethernet2/0/1
[PE2-GigabitEthernet2/0/1] port access vlan 10
[PE2-GigabitEthernet2/0/1] service-instance 1000
[PE2-GigabitEthernet2/0/1-srv1000] encapsulation s-vid 10
[PE2-GigabitEthernet2/0/1-srv1000] xconnect peer 192.2.2.2 pw-id 1000
[PE2-GigabitEthernet2/0/1-srv1000] quit
[PE2-GigabitEthernet2/0/1] quit
5)
Configure CE 2
<Sysname> system-view
[Sysname] sysname CE2
[CE2] interface vlan-interface 10
[CE2-Vlan-interface10] ip address 100.1.1.2 24
6)
Verify your configuration
After the above configuration, display the L2VPN connection information on PE 1 and PE 2. You should
see that an L2VC has been established. CE 1 and CE 2 should be able to ping each other.
# Display the L2VPN connection information on PE 1.
[PE1] display mpls l2vc
Total ldp vc : 1
Transport
Client
VC ID
Intf
1000
GE2/0/1
# Display the L2VPN connection information on PE 2.
[PE2] display mpls l2vc
Total ldp vc : 1
Transport
Client
VC ID
Intf
1000
GE2/0/1
# Ping CE 2 from CE 1.
[CE1] ping 100.1.1.2
PING 100.1.1.2: 56
Reply from 100.1.1.2: bytes=56 Sequence=1 ttl=255 time=90 ms
Reply from 100.1.1.2: bytes=56 Sequence=2 ttl=255 time=77 ms
Reply from 100.1.1.2: bytes=56 Sequence=3 ttl=255 time=34 ms
Reply from 100.1.1.2: bytes=56 Sequence=4 ttl=255 time=46 ms
Reply from 100.1.1.2: bytes=56 Sequence=5 ttl=255 time=94 ms
--- 100.1.1.2 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
1 up
0 down
Service
VC
ID
State
1000
up
1 up
0 down
Service
VC
ID
State
1000
up
data bytes, press CTRL_C to break
1-33
Local
Remote
VC Label
VC Label
8193
8192
Local
Remote
VC Label
VC Label
8192
8193
Tunnel
Policy
default
Tunnel
Policy
default
Need help?
Do you have a question about the S7906E and is the answer not in the manual?