configure policy captive-portal listening

configure policy captive-portal listening socket_list

Description

This command configures which L4 listening ports (sockets) are redirected when a captive portal web-redirect is defined on a policy profile.

Syntax Description

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).

Default

N/A

Usage Guidelines

You can configure a maximum of three L4 listening ports.

Example

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.

History

This command was first available in ExtremeXOS 22.3.

Platform Availability

This command is available on all Universal switches supported in this document.