•
encapsulation ambiguous dot1q any second-dot1q { any | vlan-id }
•
encapsulation ambiguous dot1q vlan-range second-dot1q any
For ambiguous VLAN dot1q configuration where the match criteria is explicitly configured for inner and
outer VLAN tags or where a range is specified or where any is used for outer VLAN tag, the MTU is calculated
by adding 8 bytes (2xdot1q tags) to the default MTU. That is, if default is 1514, the MTU is set to 1522 bytes
in such scenarios. Whereas, for configurations where the match criteria for inner VLAN is specified as any,
the MTU on the sub-interface is calculated by adding 4 (and not 8) bytes to the main interface MTU. That is,
1514 + 4 = 1518 bytes. This behavior is applicable for both physical interfaces and bundle sub-interfaces.
Task ID
OperationTask ID
read, writeinterface
Examples
These examples show how to configure ambiguous VLANs with IEEE 802.1q encapsulation type on an
access-interface.
Single-tagged ambiguous VLAN configuration where the match criteria for outer VLAN is specified as any:
RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface Bundle-Ether100.10
RP/0/RSP0/CPU0:router(config-subif)# encapsulation ambiguous dot1q any
Ambiguous VLAN configuration where the match criteria for outer VLAN is specified as VLAN-ID and that
for inner VLAN is specified as a range:
RP/0/RSP0/CPU0:router(config-subif)# encapsulation ambiguous dot1q 14 second-dot1q 100-200
Ambiguous VLAN configuration where the match criteria for outer VLAN and inner VLAN is specified as
any:
(config-subif)# encapsulation ambiguous dot1q any second-dot1q any
Ambiguous VLAN configuration with a single outer VLAN range and inner VLAN specified as any:
(config-subif)# encapsulation ambiguous dot1q 1-1000 dot1q any
Ambiguous VLAN configuration with 9 outer VLAN ranges and inner VLAN specified as any:
(config-subif)# encapsulation ambiguous dot1q 9-18, 19-25, 26, 27-30, 32, 33-40, 42, 43-50,
52 second-dot1q any
Related Commands
DescriptionCommand
Configures encapsulated ambiguous VLANs with IEEE 802.1ad
Provider Bridging (PB) encapsulation type, on an access-interface
in BNG.
encapsulation ambiguous dot1ad, on
page 224
Cisco ASR 9000 Series Aggregation Services Router Broadband Network Gateway Command Reference, Release
5.2.x
227
BNG Interface Commands
encapsulation ambiguous dot1q