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).|
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 X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, and X695 series switches.