The portal-access-profile command binds a Portal access profile to an authentication profile.
The undo portal-access-profile command unbinds a Portal access profile from an authentication profile.
By default, an authentication profile is not bound to a Portal access profile.
Parameter |
Description |
Value |
---|---|---|
access-profile-name |
Specifies the name of a Portal access profile. |
The value must be the name of an existing Portal 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 Portal access profile, the authentication profile is enabled with Portal authentication. After the authentication profile is applied to the interface or VAP profile, Portal authentication can be performed on online users.
Prerequisites
Follow-up Procedure
Run the authentication-profile (Interface view or VAP profile view) command to apply the authentication profile to the interface or VAP profile.
Precautions
An authentication profile can be bound to only one Portal access profile.
# Bind the authentication profile portal_authen_profile1 to the Portal access profile portal_access_profile1. The IP address of the Portal server is 192.168.10.1, and Layer 2 Portal authentication is used.
<HUAWEI> system-view [HUAWEI] web-auth-server server1 [HUAWEI-web-auth-server-server1] server-ip 192.168.10.1 [HUAWEI-web-auth-server-server1] quit [HUAWEI] portal-access-profile name portal_access_profile1 [HUAWEI-portal-access-profile-portal_access_profile1] web-auth-server server1 direct [HUAWEI-portal-access-profile-portal_access_profile1] quit [HUAWEI] authentication-profile name portal_authen_profile1 [HUAWEI-authen-profile-portal_authen_profile1] portal-access-profile portal_access_profile1