This command configures which L4 listening ports (sockets) are redirected when a captive portal web-redirect is defined on a policy profile.
|
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.