- L2VPN Protocol-Based CLIs
- Any Transport over MPLS
- L2VPN Interworking
- L2VPN Pseudowire Preferential Forwarding
- L2VPN Multisegment Pseudowires
- MPLS Quality of Service
- QoS Policy Support on L2VPN ATM PVPs
- MPLS Pseudowire Status Signaling
- L2VPN VPLS Inter-AS Option B
- IEEE 802.1Q Tunneling (QinQ) for AToM
- Configuring the Managed IPv6 Layer 2 Tunnel Protocol Network Server
- L2VPN Pseudowire Redundancy
- Pseudowire Group Switchover
- L2VPN Pseudowire Switching
- Xconnect as a Client of BFD
- H-VPLS N-PE Redundancy for QinQ Access
- H-VPLS N-PE Redundancy for MPLS Access
- VPLS MAC Address Withdrawal
- Configuring Virtual Private LAN Services
- Routed Pseudo-Wire and Routed VPLS
- VPLS Autodiscovery BGP Based
- N:1 PVC Mapping to PWE with Nonunique VPIs
- QoS Policies for VFI Pseudowires
- VPLS BGP Signaling L2VPN Inter-AS Option A
- VPLS BGP Signaling L2VPN Inter-AS Option B
- Frame Relay over L2TPv3
- Loop-Free Alternate Fast Reroute with L2VPN
Contents
- IEEE 802.1Q Tunneling (QinQ) for AToM
- Finding Feature Information
- Prerequisites for IEEE 802.1Q Tunneling (QinQ) for AToM
- Restrictions for IEEE 802.1Q Tunneling (QinQ) for AToM
- Information About IEEE 802.1Q Tunneling (QinQ) for AToM
- Ethernet VLAN QinQ AToM
- QinQ Tunneling Based on Inner and Outer VLAN Tags
- Rewritten Inner and Outer VLAN Tags on QinQ Frames
- How to Configure IEEE 802.1Q Tunneling (QinQ) for AToM
- Configuring Unambiguous IEEE 802.1Q Tunneling (QinQ) for AToM
- Configuring Unambiguous IEEE 802.1Q Tunneling (QinQ) for AToM using the commands associated with the L2VPN Protocol-Based CLIs feature
- Configuring Ambiguous IEEE 802.1Q Tunneling (QinQ) for AToM
- Configuring Ambiguous IEEE 802.1Q Tunneling (QinQ) for AToM using the commands associated with the L2VPN Protocol-Based CLIs feature
- Verifying the IEEE 802.1Q Tunneling (QinQ) for ATM Configuration
- Verifying the IEEE 802.1Q Tunneling (QinQ) for ATM Configuration using the commands associated with the L2VPN Protocol-Based CLIs feature
- Configuration Examples for IEEE 801.2 Tunneling (QinQ) for ATM
- Example Configuring Unambiguous IEEE 802.1Q Tunneling (QinQ) for ATM
- Example Configuring Unambiguous IEEE 802.1Q Tunneling (QinQ) for ATM using the commands associated with the L2VPN Protocol-Based CLIs feature
- Example Configuring Ambiguous IEEE 802.1Q Tunneling (QinQ) for ATM
- Example Configuring Ambiguous IEEE 802.1Q Tunneling (QinQ) for ATM using the commands associated with the L2VPN Protocol-Based CLIs feature
- Example Verifying the IEEE 802.1Q Tunneling (QinQ) for ATM Configuration
- Example Verifying the IEEE 802.1Q Tunneling (QinQ) for ATM Configuration using the commands associated with the L2VPN Protocol-Based CLIs feature
- Additional References
- Feature Information for IEEE 802.1Q Tunneling (QinQ) for AToM
IEEE 802.1Q Tunneling (QinQ) for AToM
This feature allows you to configure IEEE 802.1Q Tunneling (QinQ) for AToM. It also permits the rewriting of QinQ tags for Multiple Protocol Label Switching (MPLS) Layer 2 VPNs (L2VPNs).
- Finding Feature Information
- Prerequisites for IEEE 802.1Q Tunneling (QinQ) for AToM
- Restrictions for IEEE 802.1Q Tunneling (QinQ) for AToM
- Information About IEEE 802.1Q Tunneling (QinQ) for AToM
- How to Configure IEEE 802.1Q Tunneling (QinQ) for AToM
- Configuration Examples for IEEE 801.2 Tunneling (QinQ) for ATM
- Additional References
- Feature Information for IEEE 802.1Q Tunneling (QinQ) for AToM
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for IEEE 802.1Q Tunneling (QinQ) for AToM
The QinQ (short for 802.1Q-in-802.1Q) tunneling and tag rewrite feature is supported on the following line cards:
- 8-port Fast Ethernet line card (ESR-HH-8FE-TX)
- 2-port half-height Gigabit Ethernet line card (ESR-HH-1GE)
- 1-port full-height Gigabit Ethernet line card (ESR-1GE)
Restrictions for IEEE 802.1Q Tunneling (QinQ) for AToM
- Up to a maximum of 447 outer-VLAN IDs and up to 4095 inner VLAN IDs can be supported by this feature.
- Only Unambiguous VLAN tagged Ethernet QinQ interfaces are supported in this release. That is, the Ethernet VLAN QinQ rewrite of both VLAN Tags capability is supported only on Ethernet subinterfaces with a QinQ encapsulation and explicit pair of VLAN IDs defined.
Note | Ambiguous inner VLAN IDs are not supported in this release. |
Information About IEEE 802.1Q Tunneling (QinQ) for AToM
- Ethernet VLAN QinQ AToM
- QinQ Tunneling Based on Inner and Outer VLAN Tags
- Rewritten Inner and Outer VLAN Tags on QinQ Frames
Ethernet VLAN QinQ AToM
In Metro Ethernet deployment, in which CE routers and PE routers are connected through an Ethernet switched access network, packets that arrive at PE routers can contain up to two IEEE 802.1q VLAN tags (one inner VLAN tag which identifies the customer; and another outer VLAN tag which denotes the customer's service provider). This technique of allowing multiple VLAN tagging on the same Ethernet packet and creating a stack of VLAN IDs is known as QinQ (short for 802.1Q-in-802.1Q). The figure below shows how different edge devices can do L2 switching on the different levels of the VLAN stack.
When the outer VLAN tag is the service-delimiting VLAN tag, QinQ packets are processed similar to the ones with one VLAN tag (case previously named Ethernet VLAN Q-in-Q modified, which is already supported in the 12.2(31) SB release). However, when a customer must use a combination of the outer and inner VLAN tags to delimit service for customers, the edge device should be able to choose a unique pseudowire based on a combination of the inner and outer VLAN IDs on the packet shown in the figure below. The customer may want to be able to rewrite both the inner and the outer VLAN IDs on the traffic egress side.
QinQ Tunneling Based on Inner and Outer VLAN Tags
When handling incoming QinQ Ethernet traffic, the edge router allows a customer to choose a unique pseudowire endpoint to switch the traffic based on the combination of inner and outer VLAN IDs. For example, the figure below shows how a unique pseudowire is selected depending upon the combination of inner (customer edge) and outer (service provider) VLAN IDs. Thus, traffic for different customers can be kept separate.
Rewritten Inner and Outer VLAN Tags on QinQ Frames
When managing incoming AToM Ethernet QinQ traffic, the edge router does the following tasks:
- Strips off the MPLS labels.
- Allows the customer to rewrite both the inner and outer VLAN IDs before sending the packets to the egress QinQ interface. Note this capability is provided only for AToM like-to-like Ethernet QinQ traffic.
The QinQ AToM feature is a like-to-like interworking case over AToM. This feature requires changes to the microcode to allow it to overwrite two layers of VLAN tags on Ethernet QinQ traffic, transported across AToM pseudowires.
- On the ingress side--The packets preserve their L2 header with the two VLAN tags, and it is sent across the pseudowire with VC type of 4.
- On the egress side--The MPLS label is stripped, and up to two levels of VLAN tags are rewritten per the configuration.
Only Unambiguous VLAN tagged Ethernet QinQ interfaces are supported in this release. The Ethernet VLAN Q-in-Q rewrite of both VLAN Tags capability is supported only on Ethernet subinterfaces with a QinQ encapsulation and explicit pair of VLAN IDs defined.
How to Configure IEEE 802.1Q Tunneling (QinQ) for AToM
This section explains how to configure IEEE 802.1Q Tunneling (QinQ) for AToM and includes the following procedures. While all of the procedures are listed as optional, you must choose one of the first two listed.
- Configuring Unambiguous IEEE 802.1Q Tunneling (QinQ) for AToM
- Configuring Unambiguous IEEE 802.1Q Tunneling (QinQ) for AToM using the commands associated with the L2VPN Protocol-Based CLIs feature
- Configuring Ambiguous IEEE 802.1Q Tunneling (QinQ) for AToM
- Configuring Ambiguous IEEE 802.1Q Tunneling (QinQ) for AToM using the commands associated with the L2VPN Protocol-Based CLIs feature
- Verifying the IEEE 802.1Q Tunneling (QinQ) for ATM Configuration
- Verifying the IEEE 802.1Q Tunneling (QinQ) for ATM Configuration using the commands associated with the L2VPN Protocol-Based CLIs feature
Configuring Unambiguous IEEE 802.1Q Tunneling (QinQ) for AToM
1.
enable
2.
configure
terminal
3.
interface
gigabitethernet
slot
/
subslot
/
port
.
[subinterface]
4.
encapsulation
dot1q
vlan-id
second-dot1q
{any | vlan-id[,vlan-id[-vlan-id]]}
5.
xconnect
peer-router-id
vcid
encapsulation
mpls
DETAILED STEPS
Configuring Unambiguous IEEE 802.1Q Tunneling (QinQ) for AToM using the commands associated with the L2VPN Protocol-Based CLIs feature
1.
enable
2.
configure
terminal
3.
interface
gigabitethernet
slot
/
subslot
/
port
.
[subinterface]
4.
encapsulation
dot1q
vlan-id
second-dot1q
{any | vlan-id[,vlan-id[-vlan-id]]}
5.
interface
pseudowire
number
6.
encapsulation
mpls
7.
neighbor
peer-address
vcid-value
8.
exit
9.
l2vpn xconnect
context
context-name
10.
member pseudowire
interface-number
11.
member gigabitethernet
interface-number
12.
end
DETAILED STEPS
Configuring Ambiguous IEEE 802.1Q Tunneling (QinQ) for AToM
1.
enable
2.
configure
terminal
3.
interface
gigabitethernet
slot
/
subslot
/
port
.
[subinterface]
4.
encapsulation
dot1q
vlan-id
second-dot1q
{any | vlan-id[,vlan-id[-vlan-id]]}
5.
xconnect
peer-router-id
vcid
encapsulation
mpls
6.
exit
7.
interface
gigabitethernet
slot
/
subslot
/
port
.
[subinterface]
8.
encapsulation
dot1q
vlan-id
second-dot1q
{any | vlan-id[,vlan-id[-vlan-id]]}
9.
xconnect
peer-router-id
vcid
encapsulation mpls
DETAILED STEPS
Configuring Ambiguous IEEE 802.1Q Tunneling (QinQ) for AToM using the commands associated with the L2VPN Protocol-Based CLIs feature
1.
enable
2.
configure
terminal
3.
interface
gigabitethernet
slot
/
subslot
/
port
.
[subinterface]
4.
encapsulation
dot1q
vlan-id
second-dot1q
{any | vlan-id[,vlan-id[-vlan-id]]}
5.
interface
pseudowire
number
6.
encapsulation
mpls
7.
neighbor
peer-address
vcid-value
8.
exit
9.
interface
gigabitethernet
slot
/
subslot
/
port
.
[subinterface]
10.
encapsulation
dot1q
vlan-id
second-dot1q
{any | vlan-id[,vlan-id[-vlan-id]]}
11.
interface
pseudowire
number
12.
encapsulation
mpls
13.
neighbor
peer-address
vcid-value
14.
exit
15.
l2vpn xconnect
context
context-name
16.
member pseudowire
interface-number
17.
member gigabitethernet
interface-number
18.
end
DETAILED STEPS
Verifying the IEEE 802.1Q Tunneling (QinQ) for ATM Configuration
1.
enable
2.
show
mpls
l2transport
vc
DETAILED STEPS
Verifying the IEEE 802.1Q Tunneling (QinQ) for ATM Configuration using the commands associated with the L2VPN Protocol-Based CLIs feature
1.
enable
2.
show
l2vpn
atom
vc
DETAILED STEPS
Command or Action | Purpose |
---|
Configuration Examples for IEEE 801.2 Tunneling (QinQ) for ATM
- Example Configuring Unambiguous IEEE 802.1Q Tunneling (QinQ) for ATM
- Example Configuring Unambiguous IEEE 802.1Q Tunneling (QinQ) for ATM using the commands associated with the L2VPN Protocol-Based CLIs feature
- Example Configuring Ambiguous IEEE 802.1Q Tunneling (QinQ) for ATM
- Example Configuring Ambiguous IEEE 802.1Q Tunneling (QinQ) for ATM using the commands associated with the L2VPN Protocol-Based CLIs feature
- Example Verifying the IEEE 802.1Q Tunneling (QinQ) for ATM Configuration
- Example Verifying the IEEE 802.1Q Tunneling (QinQ) for ATM Configuration using the commands associated with the L2VPN Protocol-Based CLIs feature
Example Configuring Unambiguous IEEE 802.1Q Tunneling (QinQ) for ATM
Router> enable Router# configure terminal Router(config)# interface GigabitEthernet1/0/0.100 Router(config-if)# encapsulation dot1q 100 second-dot1q 200 Router(config-if)# xconnect 10.0.0.16 410 encapsulation mpls
Example Configuring Unambiguous IEEE 802.1Q Tunneling (QinQ) for ATM using the commands associated with the L2VPN Protocol-Based CLIs feature
Router> enable Router# configure terminal Router(config)# interface GigabitEthernet1/0/0.100 Router(config-if)# encapsulation dot1q 100 second-dot1q 200 Router(config-if)# interface pseudowire 100 Router(config-if)# encapsulation mpls Router(config-if)# neighbor 10.0.0.1 123 Router(config-if)# exit Router(config)# l2vpn xconnect context A Router(config-xconnect)# member pseudowire 100 Router(config-xconnect)# member GigabitEthernet1/0/0.100
Example Configuring Ambiguous IEEE 802.1Q Tunneling (QinQ) for ATM
The following is an example of an ambiguous IEEE 802.1Q Tunneling (QinQ) for ATM configuration.
Router> enable Router# configure terminal Router(config)# interface GigabitEthernet1/0/0.200 Router(config-if)# encapsulation dot1q 200 second-dot1q 1000-2000,3000,3500-4000 Router(config-if)# xconnect 10.0.0.16 420 encapsulation mpls Router(config-if)# exit Router(config)# interface GigabitEthernet1/0/0.201 Router(config-if) encapsulation dot1q 201 second-dot1q any Router(config-if) xconnect 10.0.0.16 430 encapsulation mpls
Example Configuring Ambiguous IEEE 802.1Q Tunneling (QinQ) for ATM using the commands associated with the L2VPN Protocol-Based CLIs feature
The following is an example of an ambiguous IEEE 802.1Q Tunneling (QinQ) for ATM configuration.
Router> enable Router# configure terminal Router(config)# interface GigabitEthernet1/0/0.200 Router(config-if)# encapsulation dot1q 200 second-dot1q 1000-2000,3000,3500-4000 Router(config-if)# interface pseudowire 100 Router(config-if)# encapsulation mpls Router(config-if)# neighbor 10.0.0.1 123 Router(config-if)# exit Router(config)# l2vpn xconnect context A Router(config-xconnect)# member pseudowire 100 Router(config-xconnect)# member GigabitEthernet1/0/0.200 Router(config-xconnect)# exit Router(config)# interface GigabitEthernet1/0/0.201 Router(config-if) encapsulation dot1q 201 second-dot1q any Router(config-if)# interface pseudowire 100 Router(config-if)# encapsulation mpls Router(config-if)# neighbor 10.0.0.1 123 Router(config-if)# exit Router(config)# l2vpn xconnect context A Router(config-xconnect)# member pseudowire 100 Router(config-xconnect)# member GigabitEthernet1/0/0.201
Example Verifying the IEEE 802.1Q Tunneling (QinQ) for ATM Configuration
The following is sample output of the show mpls l2transport vc command, which is usedto verify the VC set up in EoMPLS QinQ mode.
router# show mpls l2transport vc Local intf Local circuit Dest address VC ID Status ------------- -------------------------- --------------- ---------- ---------- Gi1/0/0.1 Eth VLAN:100/200 10.1.1.2 1 UP
Example Verifying the IEEE 802.1Q Tunneling (QinQ) for ATM Configuration using the commands associated with the L2VPN Protocol-Based CLIs feature
The following is sample output of the show l2vpn atom vc command, which is used to verify the virtual circuit (VC) set up in EoMPLS QinQ mode.
Device# show l2vpn atom vc Local intf Local circuit Dest address VC ID Status ------------- -------------------------- --------------- ---------- ---------- Gi1/0/0.1 Eth VLAN:100/200 10.1.1.2 1 UP
Additional References
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Description of commands associated with MPLS and MPLS applications |
Cisco IOS Multiprotocol Label Switching Command Reference |
AToM and MPLS |
Any Transport over MPLS |
Standards
Standards |
Title |
---|---|
No new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature. |
-- |
MIBs
MIBs |
MIBs Link |
---|---|
No new or modified MIBs are supported by this feature, and support for existing MIBs has not been modified by this feature. |
To locate and download MIBs for selected platforms, Cisco software releases, and feature sets, use Cisco MIB Locator found at the following URL: |
RFCs
RFCs |
Title |
---|---|
No new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature. |
-- |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
Feature Information for IEEE 802.1Q Tunneling (QinQ) for AToM
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
IEEE 802.1Q Tunneling (QinQ) for AToM |
Cisco IOS XE Release 2.4 |
This feature allows you to configure IEEE 802.1Q Tunneling (QinQ) for AToM. It also permits the rewriting of QinQ tags for Multiple Protocol Label Switching (MPLS) layer 2 VPNs (L2VPNs). In Cisco IOS XE Release 2.4, this feature was introduced on the Cisco ASR 1000 Series Aggregation Services Routers. The following commands were introduced or modified: interface , encapsulation dot1q second-dot1q , xconnect . |