- Table of Contents
-
- 04-Layer 2 - LAN Switching Command Reference
- 00-Preface
- 01-VLAN Commands
- 02-MAC Address Table Commands
- 03-Spanning Tree Commands
- 04-Ethernet Link Aggregation Commands
- 05-Port Isolation Commands
- 06-QinQ Commands
- 07-VLAN Mapping Commands
- 08-BPDU Tunneling Commands
- 09-GVRP Commands
- 10-Loopback Detection Commands
- 11-MAC-in-MAC Commands
- 12-LLDP Commands
- 13-MVRP Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
08-BPDU Tunneling Commands | 52.46 KB |
bpdu-tunnel dot1q stp
Syntax
bpdu-tunnel dot1q stp
undo bpdu-tunnel dot1q stp
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default level
2: System level
Parameters
None
Description
Use the bpdu-tunnel dot1q stp command to enable BPDU tunneling for STP on the port or ports.
Use the undo bpdu-tunnel dot1q stp command to disable BPDU tunneling for STP on the port or ports.
By default, BPDU tunneling for STP is disabled.
Configured in Layer 2 Ethernet interface view, the command takes effect on the interface only. Configured in port group view, the command takes effect on all ports in the port group. Configured in Layer 2 aggregate interface view, the command takes effect only on the aggregate interface. Configured on an aggregation group member port, the command takes effect only after the port leaves the aggregation group. For more information about link aggregation, see Layer 2—LAN Switching Configuration Guide.
Before you enable BPDU tunneling for STP on a port, disable STP on the port first.
Examples
# Disable STP on GigabitEthernet 4/0/1 and enable BPDU tunneling for STP on the port.
[Sysname] interface gigabitethernet 4/0/1
[Sysname-GigabitEthernet4/0/1] stp disable
[Sysname-GigabitEthernet4/0/1] bpdu-tunnel dot1q stp
# Disable STP for port group 1 and enable BPDU tunneling for STP on all the ports in port group 1.
[Sysname] port-group manual 1
[Sysname-port-group-manual-1] group-member gigabitethernet 4/0/1 to gigabitethernet 4/0/6
[Sysname-port-group-manual-1] stp disable
[Sysname-port-group-manual-1] bpdu-tunnel dot1q stp
bpdu-tunnel tunnel-dmac
Syntax
bpdu-tunnel tunnel-dmac mac-address
undo bpdu-tunnel tunnel-dmac
View
System view
Default level
2: System level
Parameters
mac-address: Specifies a destination multicast MAC address for BPDUs, in the format of H-H-H. The allowed values are 0x0100-0CCD-CDD0, 0x0100-0CCD-CDD1, 0x0100-0CCD-CDD2, and 0x010F-E200-0003.
Description
Use the bpdu-tunnel tunnel-dmac command to configure the destination multicast MAC address for BPDUs.
Use the undo bpdu-tunnel tunnel-dmac command to restore the default value.
By default, the destination multicast MAC address for BPDUs is 0x010F-E200-0003.
Examples
# Set the destination multicast MAC address for BPDUs to 0100-0CCD-CDD0.
<Sysname> system-view
[Sysname] bpdu-tunnel tunnel-dmac 0100-0ccd-cdd0