show policy captive-portal

show policy captive-portal {web-redirect {redirect_index | all} | listening }

Description

This command shows the current captive portal configuration for web-redirects and L4 listening ports.

Syntax Description

redirect_index Shows the particular web redirect index indicated (1–10).
all Shows all web redirect indexes.
listening Shows captive portal HTTP listening L4 ports.

Default

N/A

Example

The following example shows the currently configured captive portal L4 listening ports:

# show policy captive-portal listening
Captive Portal Listening Ports: 55   33   22

The following example shows the currently configured captive portal servers from all web-redirect indexes:

# show policy captive-portal web-redirect
Web-redirect Index: 1
      Server Index: 2
        Server Status: enabled
        Server URL:    http://192.168.1.3:5552/path/to/use

Web-redirect Index: 10
      Server Index: 2
        Server Status: disabled
        Server URL:    http://111.222.22.33:802/path/to/use

The following example shows all of the captive portal servers at web-redirect index 1 (regardless of configuration):

# show policy captive-portal web-redirect 1

Web-redirect Index: 1
      Server Index: 1
        Server Status: disabled
        Server URL:    

      Server Index: 2
        Server Status: enabled
        Server URL:    http://192.168.1.3:5552/path/to/use 

The following example shows the entire captive portal configuration:

# show policy captive-portal

Captive Portal Listening Ports: 55   33   22

Web-redirect Index: 1
      Server Index: 1
        Server Status: disabled
        Server URL:

      Server Index: 2
        Server Status: enabled
        Server URL:    http://192.168.1.3:5552/path/to/use

Web-redirect Index: 2
      Server Index: 1
        Server Status: disabled
        Server URL:

      Server Index: 2
        Server Status: disabled
        Server URL:

Web-redirect Index: 3
      Server Index: 1
        Server Status: disabled
        Server URL:

      Server Index: 2
        Server Status: disabled
        Server URL:

Web-redirect Index: 4
      Server Index: 1
        Server Status: disabled
        Server URL:

      Server Index: 2
        Server Status: disabled
        Server URL:

Web-redirect Index: 5
      Server Index: 1
        Server Status: disabled
        Server URL:

      Server Index: 2
        Server Status: disabled
        Server URL:

Web-redirect Index: 6
      Server Index: 1
        Server Status: disabled
        Server URL:

      Server Index: 2
        Server Status: disabled
        Server URL:

Web-redirect Index: 7
      Server Index: 1
        Server Status: disabled
        Server URL:

      Server Index: 2
        Server Status: disabled
        Server URL:

Web-redirect Index: 8
      Server Index: 1
        Server Status: disabled
        Server URL:

      Server Index: 2
        Server Status: disabled
        Server URL:

Web-redirect Index: 9
      Server Index: 1
        Server Status: disabled
        Server URL:

      Server Index: 2
        Server Status: disabled
        Server URL:

Web-redirect Index: 10
      Server Index: 1
        Server Status: disabled
        Server URL:

      Server Index: 2
        Server Status: disabled
        Server URL:    http://111.222.22.33:802/path/to/use

History

This command was first available in ExtremeXOS 22.3.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X620, X690, X870 series switches.