Configuring Q-in-Q BPDU Tunneling
Complete the following steps to configure BPDU tunneling over Q-in-Q.
- Enter the
configure terminalcommand to enter global configuration mode. - Enable BPDU tunneling on tag-profile enabled port or Selective Q-in-Q enabled port.
- Enable 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
- Enable 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
Optionally, you can enable STP (PVST, RSTP, MSTP), LACP, CDP or LLDP tunneling.Note: FastIron firmware provides a flexibility of configuring BPDU tunneling without a tag profile and selective Q-in-Q. This is especially for situations where the BPDU tunneling is enabled in the transit devices. - Enable BPDU tunneling on a tag-profile-enabled port.
- (Optional) Configure the maximum number of packets that can be processed on an interface before being dropped.
- (Optional) Configure the maximum number of packets that can be processed on an interface before putting the ingress port in error-disabled state.
- Enter the
exitcommand to return to global configuration mode. - (Optional) Specify the multicast
MAC address for the tunnel from the global configuration mode.
The default MAC value is 0100.0ccd.cdd1. You can also specify to use the original MAC address in the packet as the tunnel MAC address by including the original option in the command syntax. The original option must not be used if any vendor consumes standard BPDU as it may result in protocol packet consumption.
- (Optional) Specify a global
Class of Service (CoS) value on all Q-in-Q tunneling ports from the global
configuration mode.The ingress BPDUs on the tunnel ports are encapsulated with the specified class. The default CoS value is 5.
The following example shows the steps to configure Q-in-Q BPDU tunneling.
device# configure terminal 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 device(config-if-e1000-1/1/1)# l2protocol dot1q-tunnel drop-threshold all 3000 device(config-if-e1000-1/1/1)# l2protocol dot1q-tunnel shutdown-threshold all 3500 device(config-if-e1000-1/1/1)# exit device(config)# l2protocol dot1q-tunnel-mac 0100.1a2b.3c4d device(config)# l2protocol dot1q-tunnel cos 6
The following example shows the steps to configure BPDU tunneling on a Selective Q-in-Q-enabled port.
device# configure terminal 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 device(config-if-e1000-1/1/1)# l2protocol dot1q-tunnel drop-threshold all 3000 device(config-if-e1000-1/1/1)# l2protocol dot1q-tunnel shutdown-threshold all 3500 device(config-if-e1000-1/1/1)# exit device(config)# l2protocol dot1q-tunnel-mac 0100.1a2b.3c4d device(config)# l2protocol dot1q-tunnel cos 6