Add or modify a captive portal user account
You can add a captive portal user account or modify an existing one.
To add or modify a captive portal user account:
- Open a web browser and log in to the switch. For more information, see Log in to the main UI with a known IP address.
The System Information page displays.
- Select Security > Control > Captive Portal > CP User Configuration.
The CP User Configuration page displays.
- If you change the settings for an existing user account, select the check box for the user account.
If you change the settings, you cannot change the user ID and user name.
- If you are adding a user account, in the User ID field, specify an ID from 1 to 99 to identify the user.
After you add the user account, you cannot change the ID.
- If you are adding a user account, in the User Name field, enter a name for the user account.
The name can contain up to 31 alphanumeric characters. After you add the user account, you cannot change the name.
- From the Edit Password menu, select to use a password or no password at all for the new user account:
-
Enable: The Password and Confirm Password fields are unmasked so that you can specify a unique password for the new user account:
-
In the Password field, specify a password from 8 to 64 characters.
-
In the Confirm Password field, specify the password again.
-
-
Disable: The Password and Confirm Password fields are masked and you cannot specify a password for the new user account.
By default, the selection is Disable, which means that no password is used and the password fields are masked out.
-
- From the Group menu, select at least one captive portal group.
To assign a user account to more than one group, press the Control key on your keyboard and select each group. By default, a new user account is assigned to the default group with ID 1.
- In the Session Timeout field, enter the period in seconds that a user is permitted to remain connected to the network.
After the session time-out period is exceeded, the user is logged out automatically. The default is 0, which means that the session does not time out. The range is from 0 to 86400 seconds.
- In the Idle Timeout field, enter the period in seconds that the switch waits before terminating an idle session and logging out the user.
The default is 0, which means that an idle session does not time out. The range is from 0 to 900 seconds.
- In the Max Bandwidth Down field, enter the maximum rate, in bits per second, at which a client can receive data from the network.
A value of 0 indicates that the global configuration must be used. The range is from 0 to 536870911 bps.
- In the Max Bandwidth Up field, enter the maximum rate, in bits per second, at which a client can send data into the network.
A value of 0 indicates that the global configuration must be used. The range is from 0 to 536870911 bps.
- In the Max Input field, enter the number of octets the user is allowed to receive.
After this limit is reached, the user is disconnected. A value of 0 indicates that the global limit must be used. The range is from 0 to 4294967295.
- In the Max Output field, enter the number of octets the user is allowed to transmit.
After this limit is reached, the user is disconnected. A value of 0 indicates that the global limit must be used. The range is from 0 to 4294967295.
- In the Max Total field, enter the number of bytes the user is allowed to transmit and receive.
The maximum number of octets is the sum of octets transmitted and received. After this limit is reached, the user is disconnected. A value of 0 indicates that the global limit must be used. The range is from 0 to 4294967295.
- Do one of the following:
-
If you are adding a new user account, click the Add button.
Your settings are saved. The user account is added.
-
If you are changing the settings for a user account, click the Apply button.
Your settings are saved.
-
- To save the settings to the running configuration, click the Save icon.