04-Layer 2 - LAN Switching Command Reference

HomeSupportSwitchesH3C S9500E Switch SeriesReference GuidesCommand ReferencesH3C S9500E Command Reference-Release1728-6W17004-Layer 2 - LAN Switching Command Reference
08-BPDU Tunneling Commands
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> system-view

[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> system-view

[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

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网