- Table of Contents
-
- 03-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-BPDU Tunneling Commands
- 08-GVRP Commands
- 09-VLAN Termination Commands
- 10-LLDP Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
07-BPDU Tunneling Commands | 52.75 KB |
bpdu-tunnel dot1q
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
stp: Enables BPDU tunneling for the Spanning Tree Protocol (STP).
Description
Use the bpdu-tunnel dot1q command to enable BPDU tunneling for STP on the port or ports.
Use the undo bpdu-tunnel dot1q command to disable BPDU tunneling for STP on the port or ports.
By default, BPDU tunneling is disabled for any protocol.
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 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 enabling BPDU tunneling for STP on a port, you must disable STP on the port first.
Examples
# Enable BPDU tunneling for STP on port GigabitEthernet 4/1/1.
<Sysname> system-view
[Sysname] interface GigabitEthernet 4/1/1
[Sysname-GigabitEthernet4/1/1] stp disable
[Sysname-GigabitEthernet4/1/1] bpdu-tunnel dot1q stp
# Enable BPDU tunneling for STP on all ports in port group 1.
<Sysname> system-view
[Sysname] port-group manual 1
[Sysname-port-group-manual-1] group-member GigabitEthernet 2/1/1 to GigabitEthernet 2/1/6
[Sysname-port-group-manual-1] stp disable
[Sysname-port-group-manual-1] bpdu-tunnel dot1q stp
# Enable BPDU tunneling for STP on Layer 2 aggregate interface Bridge-Aggregation 1.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] stp disable
[Sysname-Bridge-Aggregation1] 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: 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.
By default, the destination multicast MAC address for BPDUs is 0x010F-E200-0003.
Examples
# Set the destination multicast MAC address for BPDUs to 0x0100-0CCD-CDD0.
<Sysname> system-view
[Sysname] bpdu-tunnel tunnel-dmac 0100-0ccd-cdd0