display mac-authen [ interface { interface-type interface-number1 [ to interface-number2 ] } &<1-10> | configuration ]
Parameter |
Description |
Value |
---|---|---|
interface { interface-type interface-number1 [ to interface-number2 ] } |
Displays MAC authentication information of a specified interface.
If this parameter is not specified, MAC authentication information of all interfaces is displayed. |
- |
configuration |
Displays the global information about MAC address authentication. |
- |
Usage Scenario
You can run the display mac-authen command to view configuration results of all configuration commands in MAC address authentication. The command output helps you to check whether the MAC address authentication configuration is correct and isolate faults accordingly.
Follow-up Procedure
You can locate the fault according to the packet statistics that is displayed using the display mac-authen command. When the fault is rectified, run the reset mac-authen statistics command to clear the packet statistics. After a period of time, run the display mac-authen command again to check the packet statistics. If no error packet is found, the fault is rectified.
# Display the configuration of MAC address authentication.
<HUAWEI> display mac-authen Quiet period is 60s Authentication fail times before quiet is 1 Maximum users: 16384 Current users: 1 Global default domain is default GigabitEthernet0/0/1 state: UP. MAC address authentication is enabled MAC access profile is mac_access_profile Reauthentication is disabled Current users: 1 Username format: fixed username: gcs Password type: cipher Authentication Success: 22, Failure: 85 0 silent mac address(es) found, 0 printed. Online user(s) info: UserId MAC/VLAN AccessTime UserName ------------------------------------------------------------------------------ 37223 a088-b44d-573c/2003 2014/09/28 15:45:45 gcs ------------------------------------------------------------------------------ Total: 1, printed: 1
Item |
Description |
---|---|
Quiet period |
Quiet period during which the device quiets a user who fails to be authenticated. The default value of the quiet timer is 60 seconds. To configure the quiet period, run the mac-authen timer quiet-period command. |
Authentication fail times before quiet |
Maximum number of authentication failures before the device quiets a user. To configure the maximum value, run the mac-authen quiet-times command. |
Maximum users |
Maximum number of users allowed on the device. |
Current users |
Number of online users, the value varies according to device models. |
Global default domain |
Global default authentication domain. To configure the global default authentication domain, run the domain command. |
interface state |
Interface status:
|
MAC address authentication |
Whether MAC address authentication is enabled on the interface.
|
MAC access profile |
MAC access profile name. To configure the MAC access profile name, run the mac-access-profile command. |
Reauthentication |
Whether re-authentication for MAC address authentication users is enabled.
To configure whether re-authentication for MAC address authentication users is enabled, run the mac-authen reauthenticate command. |
Current users |
Number of current online users on the interface. |
Username format |
User name format for MAC address authentication.
To configure the user name format for MAC address authentication, run the mac-authen username command. |
Password type |
Password display mode for MAC address authentication.
To configure the password display mode for MAC address authentication, run the mac-authen username command. |
Authentication Success: m, Failure: n |
Numbers of successful authentications (m) and failed authentications (n) on the interface. |
m silent mac address(es) found, n printed |
Numbers of successful authentications (m) and failed authentications (n) on the interface. |
Online user(s) info |
Online user information.
|