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

Fit 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 static

display mac-address static

Function

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

Format

display mac-address static [ vlan vlan-id | interface-type interface-number ] * [ verbose ]

Parameters

Parameter

Description

Value

vlan vlan-id

Displays static MAC address entries in a specified VLAN.

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

interface-type interface-number

Displays the static MAC address entries on a specified interface.

-

verbose

Displays detailed information about static 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:
  • Static MAC entries that are manually configured and will not be aged out.
  • Blackhole MAC address entries that are used to discard packets with the specified source MAC addresses or destination MAC addresses. Blackhole MAC address entries 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 improve network security, configure static MAC address entries to ensure that packets destined for specified MAC addresses are forwarded by the specified interfaces. This prevents attack packets with bogus MAC addresses and guarantees communication between the wireless access point and the upstream device or server. After configuring static MAC address entries, you can run the display mac-address static command to verify the configuration.

Follow-up Procedure

If any static MAC address entry is incorrect, run the undo mac-address command to delete it.

Precautions

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

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

Example

# Display all static MAC address entries.

<Huawei> display mac-address static
------------------------------------------------------------------------------- 
MAC Address          VLAN/VSI                    Learned-From        Type       
-------------------------------------------------------------------------------
0000-0000-0033          100/-                    GE0/0/1           static 
0000-0000-0001          200/-                    GE0/0/1           static 

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

Item

Description

MAC Address

Destination MAC address in a static MAC address entry.

VLAN/VSI

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

Learned-From

Interface that learns a MAC address.

Type

Type of a MAC address entry.

Translation
Download
Updated: 2019-07-18

Document ID: EDOC1100064353

Views: 110563

Downloads: 86

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