- 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-VLAN Termination Commands
- 12-MAC-in-MAC Commands
- 13-LLDP Commands
- 14-MVRP Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
08-BPDU Tunneling Commands | 53.54 KB |
bpdu-tunnel dot1q stp
Syntax
bpdu-tunnel dot1q { pvst | stp }
undo bpdu-tunnel dot1q { pvst | stp }
View
Layer 2 Ethernet interface view, Layer 2 aggregate interface view, port group view
Default level
2: System level
Parameters
pvst: Specifies the PVST protocol.
stp: Specifies the STP protocols in broad sense, including STP, RSTP, and MSTP.
Description
Use bpdu-tunnel dot1q to enable BPDU tunneling for the specified protocol on the port or ports.
Use undo bpdu-tunnel dot1q to disable BPDU tunneling for the specified protocol on the port or ports.
By default, BPDU tunneling for protocols 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. Before you enable BPDU tunneling for PVST on a port, disable STP on the port and enable BPDU tunneling for STP 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 bpdu-tunnel tunnel-dmac to configure the destination multicast MAC address for BPDUs.
Use undo bpdu-tunnel tunnel-dmac 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