< Home

display mac-address { ap-id | ap-name }

Function

The display mac-address { ap-id | ap-name} command displays all dynamic, dynamic secure, and sticky MAC address entries on an AP's wired interface.

Format

display mac-address { ap-id ap-id | ap-name ap-name } interface-type interface-number

Parameters

Parameter

Description

Value

ap-id ap-id

Displays all dynamic, dynamic secure, and sticky MAC address entries on wired interfaces of the AP with the specified ID.

The AP ID must exist.

ap-name ap-name

Displays all dynamic, dynamic secure, and sticky MAC address entries on wired interfaces of the AP with the specified name.

The AP name must exist.

interface-type interface-number

Displays all dynamic, dynamic secure, and sticky MAC address entries on a specified interface.
  • interface-type specifies the interface type.
  • interface-number specifies the number of the outbound interface.
The following types of outbound interfaces are supported:
  • Eth-Trunk
  • Ethernet
  • Gigabitethernet
  • MultiGE
  • XGigabitethernet

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run the display mac-address { ap-id | ap-name} command to check all dynamic, dynamic secure, and sticky MAC address entries on an AP's wired interface, including the MAC addresses and VLANs that the AP learns on specified interfaces.

Example

# Display all dynamic, dynamic secure, and sticky MAC address entries on wired interfaces of the AP with ID 1.

<HUAWEI> display mac-address ap-id 1 ethernet 0
---------------------------------------------------------- 
MAC Address    VLAN/VSI   Learned-From        Type       
----------------------------------------------------------
1051-7254-5a80 1/-        Ethernet0/0/0       dynamic 
----------------------------------------------------------
Total: 1 
Table 1 Description of the display mac-address ap-id ap-id interface-type interface-number command output

Item

Description

MAC Address

MAC address.

VLAN/VSI

VLAN or VSI to which the device belongs.

Learned-From

Interface on which the MAC address is learned.

Type

Type of a MAC address entry.

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