< Home

bpdu mac-address

Function

The bpdu mac-address command sets the MAC address of BPDUs.

The undo bpdu mac-address command cancels the configuration.

Format

bpdu mac-address mac-address [ mac-address-mask ]

undo bpdu mac-address mac-address [ mac-address-mask ]

Parameters

Parameter

Description

Value

mac-address [ mac-address-mask ]

Specifies the MAC address and mask of BPDUs.

The first digit of the MAC address must be 0 and the second digit must be an odd number, for example, 03XX-XXXX-XXXX and 0fXX-XXXX-XXXX.

The mask of the MAC address must consist of consecutive fs and 0s, for example, ffff-ffff-ff00 and ffff-fff0-0000.

NOTE:
  • To enable the device to forward packets destined for 0100-0ccc-cccc by using hardware, run the undo bpdu mac-address command to cancel the BPDU MAC address configuration.

  • Only addresses of 0100-0ccc-cccc, 0100-0ccc-cccd, and 0118-8255-5555 can be configured as BPDU MAC addresses on the S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720S-SI, and S6720-SI.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

A Bridge Protocol Data Unit (BPDU) uses a special reserved multicast MAC address. An interface can send and receive BPDUs regardless of whether the interface is blocked. By default, the switch does not forward BPDUs at Layer 2.

Sometimes, bridge protocol packets of the devices from other vendors need to be processed as BPDUs. You can set the MAC address of such packets to the MAC address of BPDUs.

Example

# Set the MAC address of BPDUs to 0100-0ccc-cccd.

<HUAWEI> system-view
[HUAWEI] bpdu mac-address 0100-0ccc-cccd
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >