04-Layer 2 - LAN Switching Command Reference

HomeSupportSwitchesH3C S12500 Switch SeriesReference GuidesCommand ReferencesH3C S12500 Command References-Release1828P04-6W18204-Layer 2 - LAN Switching Command Reference
08-BPDU Tunneling Commands
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> 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 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

  • 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 Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网