l2protocol dot1q-tunnel

Enables Q-in-Q BPDU tunneling on an interface.
Syntax
l2protocol dot1q-tunnel [ cdp | lacp | lldp | stp ]
no l2protocol dot1q-tunnel [ cdp | lacp | lldp | stp ]
Parameters
cdp
Enables CDP tunneling on the interface.
lacp
Enables LACP tunneling on the interface.
lldp
Enables LLDP tunneling on the interface.
stp
Enables STP (PVST, STP, RSTP, MSTP) tunneling on the interface.
Modes

Interface configuration mode

Usage Guidelines

When Q-in-Q BPDU tunneling is enabled on customer connected interface of the service provider device, all the received tunnel protocol packets will be tunneled to the service network. To prevent any locally generated (STP, LLDP, and so on) protocol packets on the service provider network from switching to the customer side, the corresponding protocols must be disabled on the device.

Q-in-Q BPDU tunneling is supported on tag-profile enabled port or selective Q-in-Q enabled port.

The no form of the command disables Q-in-Q tunneling.

Examples

The following example shows how to enable Q-in-Q BPDU tunneling on a tag-profile enabled port.

device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# tag-profile enable
device(config-if-e1000-1/1/1)# l2protocol dot1q-tunnel

The following example shows how to enable Q-in-Q BPDU tunneling on a selective Q-in-Q enabled port.

device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# qinq-tunnel cvlan 1 to 4 untag svlan 100
device(config-if-e1000-1/1/1)# l2protocol dot1q-tunnel
History
Release version Command history
08.0.70 This command was introduced.