20-22
Cisco 10000 Series Router Software Configuration Guide
OL-2226-23
Chapter 20 Configuring L2 Virtual Private Networks
Configuration Tasks for L2VPN
Example 20-12
shows how to configure VC 123 in Ethernet port mode:
Example 20-12 Ethernet over MPLS in Port Mode
pseudowire-class ethernet-port
encapsulation mpls
interface gigabitethernet1/0
xconnect 10.0.0.1 123 pw-class ethernet-port
Note
Depending on the interface type, you can also use the
interface fastethernet
command.
Verifying Ethernet over MPLS in VLAN Mode and Port Mode
To determine if a VC is set up in VLAN mode or port mode, issue the
show mpls l2transport vc
command.
Example 20-13
shows two VCs set up for Ethernet over MPLS:
•
VC 2 is set up in Ethernet VLAN mode.
•
VC 8 is set up in Ethernet port mode.
Example 20-13 show mpls l2transport vc Command Output
Router#
show mpls l2transport vc
Local intf Local circuit Dest address VC ID Status
------------- -------------------- --------------- ---------- ----------
Gi4/0.1 Eth VLAN 2 11.1.1.1 2 UP
Gi8/0/1 Ethernet 11.1.1.1 8 UP
If you issue the
show mpls l2transport vc detail
command, the output is similar, as shown in
Example 20-14
.
Example 20-14 show mpls l2transport vc detail Command Output
Router#
show mpls l2transport vc detail
Local interface: Gi4/0.1 up, line protocol up, Eth VLAN 2 up
Destination address: 11.1.1.1, VC ID: 2, VC status: up
...
Local interface: Gi8/0/1 up, line protocol up, Ethernet up
Destination address: 11.1.1.1, VC ID: 8, VC status: up
IEEE 802.1Q Tunneling for AToM—QinQ
The IEEE 802.1Q Tunneling (QinQ) for AToM feature is described in the following topics:
•
Prerequisites for IEEE 802.1Q Tunneling (QinQ) for AToM, page 20-23
•
Restrictions for IEEE 802.1Q Tunneling (QinQ) for AToM, page 20-23
•
Ethernet VLAN Q-in-Q AToM, page 20-23
•
Configuration Examples, page 20-25
•
Verifying QinQ AToM, page 20-25