The display mac-access-profile configuration command displays the configuration of a MAC access profile.
Parameter |
Description |
Value |
|---|---|---|
name access-profile-name |
Displays the configuration of a MAC access profile with a specified name. If name access-profile-name is not specified, the device displays all the MAC access profiles configured on the device. If name access-profile-name is specified, the device displays the configuration of a specified MAC access profile. |
The value must be the name of an existing MAC access profile. |
After configuring a MAC access profile, you can run this command to check whether the configuration is correct.
# Display all the MAC access profiles configured on the device.
<sysname> display mac-access-profile configuration
-------------------------------------------------------------------------------
ID Mac-Access-Profile Name
-------------------------------------------------------------------------------
0 mac_access_profile
-------------------------------------------------------------------------------
Total: 1 printed: 1.
Item |
Description |
|---|---|
ID |
MAC access profile ID. |
Mac-Access-Profile Name |
MAC access profile name. |
# Display the configuration of the MAC access profile mac_access_profile (the MAC address authentication user configures a password).
<sysname> display mac-access-profile configuration name mac_access_profile
Profile Name : mac_access_profile
Username format : fixed username: a1
Password type : cipher
Re-authen : Disable
Reauthen Period : 1800s
Bound authentication profile : -
# Display the configuration of the MAC access profile mac_access_profile (the MAC address authentication user does not configure a password).
<sysname> display mac-access-profile configuration name mac_access_profile
Profile Name : mac_access_profile
Username format : fixed username: a1
Password : not configured
Re-authen : Disable
Reauthen Period : 1800s
Bound authentication profile : -
Item |
Description |
|---|---|
Profile Name |
MAC access profile name. |
Username format |
User name format for MAC address authentication.
To configure the user name format, run the mac-authen username command. |
Password type |
Password display mode for MAC address authentication.
To configure the password display mode, run the mac-authen username command. |
password |
Password of the MAC address authentication user. This field has the following fixed value:
|
Re-authen |
Whether re-authentication for online MAC address authentication users is enabled:
To configure the re-authentication function, run the mac-authen reauthenticate command. |
Reauthen Period |
Re-authentication interval for online MAC address authentication users. To configure the re-authentication interval, run the mac-authen timer reauthenticate-period command. |
Bound authentication profile |
Authentication profile to which the MAC access profile is bound. To configure the authentication profile, run the mac-access-profile command. |