The following figure provides an example of Ethernet port mode.
Figure 6: Ethernet Port Mode Packet Flow
VLAN Mode
In VLAN mode, each VLAN on a customer-end to provider-end link can be configured as a separate L2VPN
connection using virtual connection (VC) type 4 or VC type 5. VC type 5 is the default mode.
As illustrated in the following figure, the Ethernet PE associates an internal VLAN-tag to the Ethernet port
for switching the traffic internally from the ingress port to the pseudowire; however, before moving traffic
into the pseudowire, it removes the internal VLAN tag.
Figure 7: VLAN Mode Packet Flow
At the egress VLAN PE, the PE associates a VLAN tag to the frames coming off of the pseudowire and after
switching the traffic internally, it sends out the traffic on an Ethernet trunk port.
Because the port is in trunk mode, the VLAN PE doesn't remove the VLAN tag and forwards the frames
through the port with the added tag.
Note
Inter-AS Mode
Inter-AS is a peer-to-peer type model that allows extension of VPNs through multiple provider or multi-domain
networks. This lets service providers peer up with one another to offer end-to-end VPN connectivity over
extended geographical locations.
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
77
Implementing Point to Point Layer 2 Services
VLAN Mode