Fit AP V200R010C00 Command Reference
display mac-address
Function
The display mac-address command displays the MAC address table of the wireless access point. A MAC address entry contains the destination MAC address, VLAN ID, outbound interface, and entry type.
Format
display mac-address mac-address [ vlan vlan-id ] [ verbose ]
display mac-address [ vlan vlan-id | interface-type interface-number ] * [ verbose ]
Parameters
Parameter |
Description |
Value |
---|---|---|
mac-address |
Specifies the destination MAC address in an entry. |
The value is in H-H-H format. H is a hexadecimal number of 4 digits. The MAC address cannot be FFFF-FFFF-FFFF, 0000-0000-0000, or a multicast MAC address. |
vlan vlan-id |
Displays MAC address entries in a specified VLAN. |
The value is an integer that ranges from 1 to 4094. |
interface-type interface-number |
Displays the MAC address entries with a specified outbound
interface.
|
- |
verbose |
Displays detailed information about MAC address entries. |
- |
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 display mac-address command displays all MAC address entries, such as dynamic MAC address entries, static MAC address entries, and blackhole MAC address entries. A MAC address entry contains the destination MAC address, VLAN ID, outbound interface, and entry type.
Follow-up Procedure
If any 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 command without parameters, all MAC address entries are displayed.
- The displayed information is repeatedly refreshed, so you cannot find the required information.
- The system traverses and retrieves information for a long time, and does not respond to any request.
Example
# Display all MAC address entries.
<Huawei> display mac-address
-------------------------------------------------------------------------------
MAC Address VLAN/VSI Learned-From Type
-------------------------------------------------------------------------------
4c1f-cc25-611b 100/- GE0/0/1 security
-------------------------------------------------------------------------------
Total items displayed = 1
Item |
Description |
---|---|
MAC Address |
Destination MAC address in a MAC address entry. |
VLAN/VSI |
ID of the VLAN or name of the VSI that a MAC address belongs to. |
Learned-From |
Interface on which the MAC address is learned. |
Type |
Type of a MAC address entry.
|