The display mac-address authen command displays the current authen MAC address entries in the system.
Parameter | Description | Value |
---|---|---|
vlan vlan-id |
Displays MAC address entries in a specified VLAN. If no VLAN is specified, MAC address entries in all VLANs of the device are displayed. |
The value is an integer that ranges from 1 to 4094. |
interface-type interface-number |
Displays MAC address entries on a specified interface. If no interface is specified, MAC address entries on all interfaces of the device are displayed. |
- |
verbose |
Displays detailed information about MAC address entries. |
- |
Usage Scenario
After MAC address authentication or 802.1X authentication is configured successfully, the administrator can run this command to check the existing authen MAC address entries on the device. The administrator can check information about user access based on these MAC address entries to locate user access faults. The authen entry is generated after a user passes MAC address authentication or 802.1X authentication.
Precautions
The displayed information is refreshed repeatedly on the terminal screen and the administrator cannot obtain the required information.
The device traverses and retrieves information for a long time, and does not respond to any request.
# Display all authen MAC address entries in the system.
<HUAWEI> display mac-address authen ------------------------------------------------------------------------------- MAC Address VLAN/VSI/BD Learned-From Type ------------------------------------------------------------------------------- 0000-0000-0100 3000/-/- GE0/0/1 authen 0000-0000-0400 3000/-/- GE0/0/1 authen 0000-0000-0200 3000/-/- GE0/0/1 authen ------------------------------------------------------------------------------- Total items displayed = 3
Item |
Description |
---|---|
MAC Address |
MAC address of a user to be authenticated. |
VLAN/VSI/BD |
VLAN/VSI/BD that the outbound interface belongs to. |
Learned-From |
Interface on which a MAC address is learned. |
Type |
Type of a MAC address entry. |
Total items displayed |
Total number of MAC address entries that match the filter condition. |