13-BPDU Tunneling Commands
Chapters Download (26.01 KB)
Syntax
bpdu-tunnel dot1q stp
undo bpdu-tunnel dot1q stp
View
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 current 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.
Note that:
l Configuration made in Ethernet interface view takes effect on the current port only. Configuration made in Layer-2 aggregate interface view takes effect only on the Layer-2 aggregate interface. Configuration made in port group view takes effect on all ports in the port group.
l Configuration made on an aggregation group member port takes effect after the port exits the aggregation group. For detailed information about link aggregation, refer to Link Aggregation Configuration in the Access Volume.
l Before you can enable BPDU tunneling for STP on a port, disable STP on the port first.
Examples
# Enable BPDU tunneling for STP on GigabitEthernet1/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/1/1
[Sysname-GigabitEthernet1/1/1] undo stp enable
[Sysname-GigabitEthernet1/1/1] bpdu-tunnel dot1q stp
# Enable BPDU tunneling for STP on all the ports in port group 1.
<Sysname> system-view
[Sysname] port-group manual 1
[Sysname-port-group-manual-1] group-member gigabitethernet 1/1/1 to gigabitethernet 1/1/2
[Sysname-port-group-manual-1] undo stp enable
[Sysname-port-group-manual-1] bpdu-tunnel dot1q stp
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 BPDU tunnel frames, in the format of H-H-H. The allowed values are 0100-0CCD-CDD0, 0100-0CCD-CDD1, 0100-0CCD-CDD2, and 010F-E200-0003.
Description
Use the bpdu-tunnel tunnel-dmac command to configure the destination multicast MAC address for BPDU tunnel frames.
Use the undo bpdu-tunnel tunnel-dmac command to restore the default value.
By default, the destination multicast MAC address for BPDU tunnel frames is 0x010F-E200-0003.
Examples
# Set the destination multicast MAC address for BPDU tunnel frames to 0100-0CCD-CDD0.
<Sysname> system-view
[Sysname] bpdu-tunnel tunnel-dmac 0100-0ccd-cdd0