< Home

display mac-address authen

Function

The display mac-address authen command displays the current authen MAC address entries in the system.

Format

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

Parameters

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.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

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

If there are a lot of authen MAC address entries, you can specify a VLAN or use a pipe operator (|) to filter the output information. Otherwise, the following problems may occur due to excessive output information:
  • 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.

Example

# 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                     
Table 1 Description of the display mac-address authen command output

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.

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