34-29
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 34 Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS
Understanding EoMPLS
EoMPLS and Q in Q
When the remote PE supports Q in Q, but not VC type 4, you can use the platform rewrite imposition
tag push 1 symmetric interface configuration command to push an additional VLAN tag to make the
type 5 PW work like a Q in Q Layer 2 port.
Note
The command has no effect on a VC type 4 PW.
This example sends packets with VLAN 11 to EFP 1. When the packets reach the remote PE, the payload
Layer 2 packets have two VLAN tags, VLAN 101 and VLAN 11.
Switch (config)#
interface gigabitEthernet 0/15
Switch (config-if)#
switchport mode trunk
Switch (config-if)#
switchport trunk allowed vlan none
Switch (config-if)#
service instance 1 ethernet
Switch (config-if-srv)#
encapsulation dot1q 11
Switch (config-if-srv)#
bridge-domain 101
Switch (config-if-srv)#
exit
Switch (config-if)#
exit
Switch (config)#
interface Vlan101
Switch (config-if)#
platform rewrite imposition tag push 1 symmetric
Switch (config-if)#
xconnect 12.12.12.12 300 encapsulation mpls
Switch #
show running-config interface gigabitEthernet 0/15
Building configuration...
Current configuration : 188 bytes
!
interface GigabitEthernet0/15
port-type nni
switchport trunk allowed vlan none
switchport mode trunk
service instance 1 ethernet
encapsulation dot1q 11
bridge-domain 101
!
end
Switch #
show running-config interface vlan 101
Building configuration...
Current configuration : 136 bytes
!
interface Vlan101
no ip address
platform rewrite imposition tag push 1 symmetric
xconnect 12.12.12.12 300 encapsulation mpls
end
Packets sent from the remote PE have an outer VLAN with any VLAN number and VLAN 11. The outer
VLAN number is popped at this PE, and the packets are sent out from EFP 1 with VLAN 11.