- Table of Contents
-
- 02-Layer 2-LAN Switching Command Reference
- 00-Preface
- 01-Ethernet interface configuration commands
- 02-Loopback and null interface configuration commands
- 03-Bulk interface configuration commands
- 04-MAC address table configuration commands
- 05-Ethernet link aggregation configuration commands
- 06-Port isolation configuration commands
- 07-Spanning tree configuration commands
- 08-BPDU tunneling configuration commands
- 09-VLAN configuration commands
- 10-GVRP configuration commands
- 11-LLDP configuration commands
- 12-Service loopback group configuration commands
- 13-MVRP commands
- Related Documents
-
Title | Size | Download |
---|---|---|
08-BPDU tunneling configuration commands | 56.19 KB |
bpdu-tunnel dot1q
Use bpdu-tunnel dot1q to enable BPDU tunneling for a protocol on the ports.
Use undo bpdu-tunnel dot1q to disable BPDU tunneling for a protocol on the ports.
Syntax
In Layer 2 Ethernet interface view or port group view:
bpdu-tunnel dot1q { cdp | dldp | eoam | gvrp | hgmp | lacp | lldp | pagp | pvst | stp | udld | vtp }
undo bpdu-tunnel dot1q { cdp | dldp | eoam | gvrp | hgmp | lacp | lldp | pagp | pvst | stp | udld | vtp }
In Layer 2 aggregate interface view:
bpdu-tunnel dot1q { cdp | gvrp | hgmp | pvst | stp | vtp }
undo bpdu-tunnel dot1q { cdp | gvrp | hgmp | pvst | stp | vtp }
Default
BPDU tunneling for any protocol is disabled.
Views
Layer 2 Ethernet interface view, port group view, Layer 2 aggregate interface view
Default command level
2: System level
Parameters
cdp: Specifies CDP.
dldp: Specifies DLDP.
eoam: Specifies EOAM.
gvrp: Specifies GVRP.
hgmp: Specifies HGMP.
lacp: Specifies LACP.
lldp: Specifies LLDP.
pagp: Specifies PAGP.
pvst: Specifies PVST.
stp: Specifies STP.
udld: Specifies UDLD.
vtp: Specifies VTP.
Usage guidelines
Settings made in Layer 2 Ethernet interface view or Layer 2 aggregate interface view take effect only on the Ethernet interface or aggregate interface.
Settings made in port group view take effect on all member ports in the port group.
You cannot enable BPDU tunneling on a member port of a service loopback group.
Before you enable BPDU tunneling for DLDP, EOAM, GVRP, HGMP, LLDP, or STP on a port, disable the protocol on the port first.
To enable BPDU tunneling for PVST (a spanning tree protocol) on a port, disable STP first, and then enable BPDU tunneling for STP on the port.
Do not enable BPDU tunneling for DLDP, EOAM, LACP, LLDP, PAGP, or UDLD on the member port of a Layer 2 aggregation group.
Examples
# Disable STP on GigabitEthernet 1/0/1, and then enable BPDU tunneling for STP on the port.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] undo stp enable
[Sysname-GigabitEthernet1/0/1] bpdu-tunnel dot1q stp
# Disable STP for port group 1, and then enable BPDU tunneling for STP in the port group.
<Sysname> system-view
[Sysname] port-group manual 1
[Sysname-port-group-manual-1] group-member gigabitethernet 1/0/1 to gigabitethernet 1/0/6
[Sysname-port-group-manual-1] undo stp enable
[Sysname-port-group-manual-1] bpdu-tunnel dot1q stp
# Disable STP on Layer 2 aggregate interface Bridge-Aggregation 1, and then enable BPDU tunneling for STP on the Layer 2 aggregate interface.
<Sysname> system-view
[Sysname] interface bridge-aggregation 1
[Sysname-Bridge-Aggregation1] undo stp enable
[Sysname-Bridge-Aggregation1] bpdu-tunnel dot1q stp
bpdu-tunnel tunnel-dmac
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.
Syntax
bpdu-tunnel tunnel-dmac mac-address
undo bpdu-tunnel tunnel-dmac
Default
The destination multicast MAC address for BPDUs is 0x010F-E200-0003.
Views
System view
Default command 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.
Examples
# Set the destination multicast MAC address for BPDUs to 0x0100-0CCD-CDD0.
<Sysname> system-view
[Sysname] bpdu-tunnel tunnel-dmac 0100-0ccd-cdd0