The mac-access-profile command binds an authentication profile to a MAC access profile.
The undo mac-access-profile command unbinds an authentication profile from a MAC access profile.
By default, an authentication profile is not bound to a MAC access profile.
Parameter |
Description |
Value |
---|---|---|
access-profile-name |
Specifies the name of a MAC access profile. |
The value must be the name of an existing MAC access profile. |
Usage Scenario
The authentication type used by an authentication profile is determined by the access profile bound to the authentication profile. After being bound to a MAC access profile, the authentication profile is enabled with MAC address authentication. After the authentication profile is applied to the interface or VAP profile, MAC address authentication can be performed on online users.
Prerequisites
A MAC access profile has been created using the mac-access-profile (system view) command.
Follow-up Procedure
Run the authentication-profile command to apply the authentication profile to the interface or VAP profile.
Precautions
An authentication profile can be bound to only one MAC access profile.
# Bind the authentication profile mac_authen_profile1 to the MAC access profile mac_access_profile.
<HUAWEI> system-view [HUAWEI] mac-access-profile name mac_access_profile [HUAWEI-mac-access-profile-mac_access_profile] quit [HUAWEI] authentication-profile name mac_authen_profile1 [HUAWEI-authen-profile-mac_authen_profile1] mac-access-profile mac_access_profile