No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Fat AP and Cloud AP V200R010C00 Command Reference

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
display mac-address blackhole

display mac-address blackhole

Function

The display mac-address blackhole command displays blackhole MAC address entries.

Format

display mac-address blackhole [ vlan vlan-id ] [ verbose ]

Parameters

Parameter Description Value
vlan vlan-id Displays blackhole MAC address entries in a specified VLAN. vlan-id specifies the ID of a VLAN. The value is an integer that ranges from 1 to 4094.
verbose Displays detailed information about blackhole MAC address entries. -

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The MAC address table of the wireless access point stores MAC addresses of other devices. When forwarding an Ethernet frame, the wireless access point searches the MAC address table for the outbound interface according to the destination MAC address and VLAN ID in the Ethernet frame.

The MAC address table contains the following MAC address entries:
  • Blackhole MAC address entries that are used to discard packets with the specified MAC addresses or destination MAC addresses. Blackhole MAC address entries are manually configured and will not be aged out.
  • Static MAC entries that are manually configured and will not be aged out.
  • Dynamic MAC address entries that are learned by the wireless access point and will be aged out when the aging time expires.

To check whether blackhole MAC address entries are configured correctly, run this command. These entries ensure communication between authorized users.

Follow-up Procedure

If any blackhole MAC address entry in the command output is incorrect, run the undo mac-address command to delete the entry or run the mac-address command to add a correct one.

Precautions

If you run the display mac-address blackhole command without parameters, all blackhole MAC address entries are displayed.

If the MAC address table does not contain any blackhole MAC address, no information is displayed.

Example

# Display all blackhole MAC address entries.

<Huawei> display mac-address blackhole
------------------------------------------------------------------------------- 
MAC Address          VLAN/VSI                   Learned-From         Type       
-------------------------------------------------------------------------------
0022-0022-0033       100/-                      -                   blackhole 
0000-0000-0001       200/-                      -                   blackhole 

-------------------------------------------------------------------------------
Total items displayed = 2  
Table 6-4  Description of the display mac-address blackhole command output

Item

Description

MAC Address

Destination MAC address in a blackhole MAC address entry.

VLAN/VSI

ID of the VLAN or name of the VSI that a MAC address belongs to.

Learned-From

When the type of a MAC address entry is blackhole, "-" is displayed.

Type

Type of a MAC address entry.

Translation
Download
Updated: 2019-11-21

Document ID: EDOC1100064352

Views: 202189

Downloads: 122

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next