The display mac-address pre-authen command displays the current pre-authen MAC address entries in the system.
display mac-address pre-authen [ interface-type interface-number | vlan vlan-id ] * [ verbose ]
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
You can run this command to check the existing MAC address entries of the pre-connection type to obtain access information about pre-connection users and locate faults.
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 pre-authen MAC address entries in the system.
<HUAWEI> display mac-address pre-authen ------------------------------------------------------------------------------- MAC Address VLAN/VSI/BD Learned-From Type ------------------------------------------------------------------------------- 0000-0000-0100 3000/-/- GE0/0/1 pre-authen 0000-0000-0400 3000/-/- GE0/0/1 pre-authen 0000-0000-0200 3000/-/- GE0/0/1 pre-authen ------------------------------------------------------------------------------- Total items displayed = 3
Item |
Description |
---|---|
MAC Address /BD |
MAC address of a user to be authenticated. |
VLAN/VSI |
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. |