Only one encapsulation statement can be applied to a subinterface. Encapsulation statements cannot be applied
to main interfaces.
A single encapsulation dot1q statement specifies matching for frames with a single VLAN ID; a range of
VLAN IDs; or a single VLAN ID or untagged.
Examples
The following example shows how to map 802.1Q frames ingress on an interface to the appropriate service
instance:
RP/0/RSP0/CPU0:router(config-if)# encapsulation dot1q 10
Related Commands
DescriptionCommand
Configure the default service instance on a port.encapsulation default, on page 4
Defines the matching criteria to be used in order to map
single-tagged 802.1ad frames ingress on an interface to the
appropriate service instance.
encapsulation dot1ad dot1q, on page 6
Defines the matching criteria to map Q-in-Q ingress frames on an
interface to the appropriate service instance.
encapsulation dot1q second-dot1q, on
page 10
Defines the matching criteria to map untagged ingress Ethernet
frames on an interface to the appropriate service instance.
encapsulation untagged, on page 12
Cisco ASR 9000 Series Aggregation Services Router VPN and Ethernet Services Command Reference, Release
6.1.x
9
Ethernet Interfaces Commands
encapsulation dot1q