encapsulation dot1q
To define the matching criteria to map 802.1Q frames ingress on an interface to the appropriate service
instance, use the encapsulation dot1q command in the interface configuration mode. To delete the matching
criteria to map 802.1Q frames ingress on an interface to the appropriate service instance, use the no form of
this command.
encapsulation dot1q vlan-id [,vlan-id [ -vlan-id ]] [exact| ingress source-mac mac-address| second-dot1q
vlan-id]
encapsulation dot1q vlan-id, untagged
no encapsulation dot1q
Syntax Description
VLAN ID, integer in the range 1 to 4094.
Hyphen must be entered to separate the starting and ending VLAN ID values that
are used to define a range of VLAN IDs. (Optional) Comma must be entered to
separate each VLAN ID range from the next range.
vlan-id
(Optional) Prevents matching of frames with more than one tag.exact
(Optional) Performs MAC-based matching.ingress source-mac
(Optional) Allows matches for both the single-tag dot1q frames and untagged
frames.
untagged
Command Default
No matching criteria are defined.
Command Modes
Interface configuration
Command History
ModificationRelease
This command was introduced.Release 3.7.2
The ingress source-mac keyword was added.Release 3.9.1
This command was supported on l2transport subinterfaces.Release 4.0.1
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.
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
8
Ethernet Interfaces Commands
encapsulation dot1q