This command configures which L4 listening ports (sockets) are redirected when a captive portal web-redirect is defined on a policy profile.
listening | Configures captive portal HTTP listening ports (up to three L4 ports). |
socket_list | List of L4 ports on which to listen (1–65,535) separated by commas (for example: 80,8080,2000). |
N/A
You can configure a maximum of three L4 listening ports.
The following example configures two L4 listening ports 80 and 8080 to be redirected by captive portal:
configure policy captive-portal listening 80,8080
The following example add one more L4 listening port 2000:
configure policy captive-portal listening 2000
The following example tries to apply a fourth listening port 5000. This fails because you can only have three listening ports configured:
configure policy captive-portal listening 5000 ERROR: Unable to add 5000. Only 0 remaining socket(s) available.
This command was first available in ExtremeXOS 22.3.
This command is available on ExtremeSwitching 5320, 5420, 5520, and 5720 series switches.