< Home

bpdu dmac

Function

The bpdu dmac command configures actions taken on packets with a specified destination MAC address and protocol number.

The undo bpdu dmac command restores the default configurations.

By default, no action is taken on packets with a specified destination MAC address and protocol number.

S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S do not support this command.

Format

bpdu dmac mac-address eth-type type action encapsulate

undo bpdu dmac mac-address eth-type type action [ encapsulate ]

Parameters

Parameter

Description

Value

dmac mac-address

Specifies a destination MAC address.

The value is in H-H-H format. An H contains four hexadecimal digits. The value cannot be 0000-0000-0000.

eth-type type

Specifies the protocol type of Ethernet packets.

The value is a hexadecimal integer that ranges from 0 to FFFF.

action

Specifies the action taken on received packets.

-

encapsulate

Encapsulates packets.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

To be compatible with devices of other vendors, run this command to configure actions taken on packets with a specified destination MAC address and protocol number. Actions is encapsulating packets.

Example

# Configure the device to forward packets with the destination MAC address 0100-0ccc-cccc and protocol number 0101.

<HUAWEI> system-view
[HUAWEI] bpdu dmac 0100-0ccc-cccc eth-type 0101 action encapsulate
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >