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, Portal authentication can be performed on online users.
Prerequisites
The Portal server template used by the Portal access profile has been configured using the web-auth-server command.
Follow-up Procedure
Run the authentication-profile (Interface view or VAP profile view) command to apply the authentication profile to the interface.
# 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.
<sysname> system-view [sysname] web-auth-server server1 [sysname-web-auth-server-server1] server-ip 192.168.10.1 [sysname-web-auth-server-server1] quit [sysname] portal-access-profile name portal_access_profile1 [sysname-portal-access-profile-portal_access_profile1] web-auth-server server1 [sysname-portal-access-profile-portal_access_profile1] quit [sysname] authentication-profile name portal_authen_profile1 [sysname-authentication-profile-portal_authen_profile1] portal-access-profile portal_access_profile1