encapsulation dot1ad dot1q
To define the matching criteria to be used in order to map single-tagged 802.1ad frames ingress on an interface to the appropriate service instance, use the encapsulation dot1ad dot1q command in subinterface configuration mode. To delete the matching criteria to map single-tagged 802.1ad frames ingress on an interface to the appropriate service instance, use the no form of this command.
encapsulation dot1ad vlan-id dot1q {vlan-id | any}
no encapsulation dot1ad vlan-id dot1q {vlan-id | any}
Syntax Description
dot1ad |
Indicates that the IEEE 802.1ad provider bridges encapsulation type is used for the outer tag. |
dot1q |
Indicates that the IEEE 802.1q standard encapsulation type is used for the inner tag. |
vlan-id |
VLAN ID, integer in the range 1 to 4094. |
any |
Matches any VLAN ID. |
Command Default
No matching criteria are defined.
Command Modes
Subinterface configuration
Command History
Release |
Modification |
---|---|
Release 5.1.1 |
This command was introduced. |
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes appropriate task IDs. If the user group assignment is preventing you from using a command, contact your AAA administrator for assistance.
The outer VLAN tag is an 802.1ad VLAN tag, instead of an 802.1Q tag. An 802.1ad tag has an ethertype value of 0x88A8, instead of 0x8100 that 802.1Q uses.
Some of the fields in the 802.1ad VLAN header are interpreted differently per 802.1ad standard. A tunneling ethertype command applied to the main interface does not apply to an 802.1ad subinterface.
An interface with encapsulation dot1ad causes the router to categorize the interface as an 802.1ad interface. This causes special processing for certain protocols and other features:
- MSTP uses the IEEE 802.1ad MAC STP address instead of the STP MAC address.
- Certain QoS functions may use the Drop Eligibility (DE) bit of the IEEE 802.1ad tag.
Examples
The following example shows how to map single-tagged 802.1ad ingress frames to a service instance:
RP/0/RP0/CPU0:router(config-subif)# encapsulation dot1ad 100 dot1q 20