portal local-server enable
Function
The portal local-server enable command enables the built-in Portal server function in a Portal access profile.
The undo portal local-server enable command restores the default setting.
By default, the built-in Portal server function is disabled in a Portal access profile.
Usage Guidelines
Usage Scenario
In Portal authentication, the device needs to provide the IP address of the Portal server. The device supports external and built-in Portal servers. When the built-in Portal server is required to authenticate users, enable the built-in Portal server function globally and then run the portal local-server enable command in the Portal access profile. Then the built-in Portal server can be used to authenticate the users who use the Portal access profile.
Prerequisites
The built-in Portal server function has been enabled globally using the portal local-server command.
Example
# In the Portal access profile p1, enable the built-in Portal server function.
<AC6605> system-view [AC6605] interface loopback 1 [AC6605-LoopBack1] ip address 10.1.1.1 24 [AC6605-LoopBack1] quit [AC6605] portal local-server ip 10.1.1.1 [AC6605] ssl policy s1 type server [AC6605-ssl-policy-s1] pki-realm default [AC6605-ssl-policy-s1] quit [AC6605] portal local-server https ssl-policy s1 [AC6605] portal-access-profile name p1 [AC6605-portal-access-profile-p1] portal local-server enable