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 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.
# In the Portal access profile p1, enable the built-in Portal server function.
<HUAWEI> system-view [HUAWEI] interface loopback 1 [HUAWEI-LoopBack1] ip address 10.1.1.1 24 [HUAWEI-LoopBack1] quit [HUAWEI] portal local-server ip 10.1.1.1 [HUAWEI] ssl policy s1 [HUAWEI-ssl-policy-s1] quit [HUAWEI] portal local-server https ssl-policy s1 [HUAWEI] portal-access-profile name p1 [HUAWEI-portal-access-profile-p1] portal local-server enable