User's Manual
Chapter 17 Captive Portal
NXC CLI Reference Guide
116
• Set web-auth policy 1 to use the SSID profile named SSIDprofile1
• Set web-auth policy 1 to require user authentication
• Have the NXC automatically display the login screen when unauthenticated users try to
send HTTP traffic
• Turn on web-auth policy 1
17.1.2 page-customization Commands
Use these commands to use a custom login page which is either built into the NXC or
uploaded to the NXC.
Router(config)# web-auth activate
Router(config)# web-auth authentication AuthProfile1
Router(config)# web-auth login setting
Router(web-auth)# login-url http://www.login.com
Router(web-auth)# type external
Router(web-auth)# exit
Router(config)# web-auth policy 1
Router(config-web-auth-1)# ssid_profile SSIDprofile1
Router(config-web-auth-1)# authentication force
Router(config-web-auth-1)# activate
Router(config-web-auth-1)# exit
Table 54 page-customization Commands
COMMAND DESCRIPTION
[no] page-customization Enters config-page-customization mode to set the NXC to use a
custom login page which is built into the NXC or uploaded to the
NXC.
The no command sets the NXC to use the default login page built
into the device.
customization-mode
{customization | use-uploaded-
file}
Sets which customized login page appears whenever the web portal
intercepts network traffic, preventing unauthorized users from
gaining access to the network.
customization: Use the custom login page built into the NXC.
You can configure the look and feel of the page through the web
configurator.
use-uploaded-file: Use a web portal file with custom html
pages, which is uploaded to the NXC through the web configurator.
exit Goes to configuration mode.
show page-customization Displays the custom login page settings.