< Home

mac-address blackhole (upgrade-compatible command)

Function

Using the mac-address blackhole command, you can add a blackhole MAC address entry.

Format

mac-address blackhole mac-address [ interface-type interface-number ] vlan vlan-id1 [ ce-vlan vlan-id2 ]

Parameters

Parameter
Description Value

mac-address

Specifies the destination MAC address in a MAC address entry.

The value is in H-H-H format. H is a hexadecimal number of 1 to 4 digits.

interface-type interface-number

Specifies the outbound interface in a MAC address entry.
  • interface-type specifies the type of the outbound interface.
  • interface-number specifies the number of the outbound interface.

-

vlan vlan-id1

Specifies the VLAN ID in the outer VLAN tag.

The value is an integer that ranges from 1 to 4094.

Views

Ethernet interface view, GE interface view, XGE interface view, Eth-Trunk interface view

Default Level

2: Configuration level

Usage Guidelines

This command is available to aid upgrade compatibility. It can be run when it is entered in full.

After the upgrade, it is replaced by the mac-address blackhole command.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >