< Home

display mac-address pre-authen

Function

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

Format

display mac-address pre-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

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

If there are a lot of pre-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 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                     
Table 1 Description of the display mac-address pre-authen command output

Item

Description

MAC Address

MAC address of a user to be authenticated.

VLAN/VSI/BD

VLAN/VSI/BD that the interface belongs to.

Learned-From

Interface on which a MAC address of a user to be authenticated 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 >