connection-capability

Configures the connection capability element in this passpoint policy. When configured, it communicates which ports are open or closed on the Hotspot, in response to an ANQP query.

Supported in the following platforms:

Syntax

connection-capability [ftp|http|icmp|ip-protocol|ipsec-vpn|pptp-vpn|sip|ssh|tls-vpn]
connection-capability [ftp|http|icmp|ipsec-vpn|pptp-vpn|sip|ssh|tls-vpn] [closed|open|unknown]
connection-capability ip-protocol <0-255> port <0-65535> [closed|open|unknown]

Parameters

connection-capability [ftp|http|icmp|ip-protocol|ipsec-vpn|pptp-vpn|sip|ssh|tls-vpn]

connection-capability

Configures the connection capability element in this passpoint policy

ftp

Specifies the protocol type as FTP. Configures TCP port 20.

http

Specifies the protocol type as HTTP. Configures TCP port 80.

icmp

Specifies the protocol type as ICMP

ipsec-vpn

Specifies the protocol type as IPSEC VPN. Configures ESP and UDP ports 500 and 4500.

pptp-vpn

Specifies the protocol type as PPTP VPN. Configures TCP port 1723.

sip

Specifies the protocol type as SIP. Configures TCP port 5060 and UDP port 5060.

ssh

Specifies the protocol type as SSH. Configures TCP port 20

tls-vpn

Specifies the protocol type as TLS VPN. Configures TCP port 443.
port <0-65535> [closed|open|unknown After specifying the protocol type, specify the port (associated with the selected protocol) and its status.
  • closed – Specifies that the port(s) is/are closed
  • open – Specifies that the port(s) is/are open
  • unknown – Specifies that the port(s) status is not known
Note: When the connection capability element is not configured, the hotspot does not return the element in an ANQP capability request and ignores any ANQP query for the element.
connection-capability ip-protocol <0-255> port <0-65535> [closed|open|unknown]

connection-capability

Configures the connection capability element in this passpoint policy

ip-protocol <0-255>

Identifies the IP protocol by the protocol‘s number. For example, for simple message protocol (SMP) specify 121.

port <0-65535> [closed|open|unknown]

After specifying the IP protocol type, specify the port number.

  • port <0-65535> – Select a port for the IP protocol identified.

After specifying the port number, specify the port status.

  • closed – Specifies that the port(s) is/are closed

  • open – Specifies that the port(s) is/are open

  • unknown – Specifies that the port(s) status is not known

Note: When the connection capability element is not configured, the hotspot does not return the element in an ANQP capability request and ignores any ANQP query for the element.

Examples

nx9500-6C8809(config-passpoint-policy-test)#connection-capability 1 ip-protocol 2 port 10 closed
nx9500-6C8809(config-passpoint-policy-test)#show context
hotspot2-policy test
 access-network-type chargeable-public
 connection-capability ip-protocol 2 port 10 closed
 3gpp mcc 310 mnc 970
 3gpp mcc 505 mnc 14
nx9500-6C8809(config-passpoint-policy-test)#

Related Commands

no

Removes the configured connection capability element on the passpoint policy