< Home

connection-capability

Function

The connection-capability command sets whether Hotspot2.0 networks support common IP protocols and ports.

The undo connection-capability command restores the default setting.

By default, no supported protocol is specified in a connection capability profile.

Format

connection-capability { esp | icmp | tcp-ftp | tcp-http | tcp-pptp-vpn | tcp-ssh | tcp-tls-vpn | tcp-voip | udp-ike2-4500 | udp-ike2-500 | udp-voip } { on | off }

undo connection-capability { esp | icmp | tcp-ftp | tcp-http | tcp-pptp-vpn | tcp-ssh | tcp-tls-vpn | tcp-voip | udp-ike2-4500 | udp-ike2-500 | udp-voip }

Parameters

Parameter

Description

Value

esp Sets the supported protocol to ESP and port number to 0. -
icmp Sets the supported protocol to ICMP and port number to 0. -
tcp-ftp Sets the supported protocol to FTP and port number to 20. -
tcp-http Sets the supported protocol to HTTP and port number to 80. -
tcp-pptp-vpn Sets the protocol for VPN services to PPTP and port number to 1723. -
tcp-ssh Sets the supported protocol to SSH. -
tcp-tls-vpn Sets the supported protocol to the TLS VPN protocol and port number to 443. -
tcp-voip Sets the supported protocol to the TCP VoIP protocol and port number to 5060. -
udp-ike2-4500 Sets the supported protocol to the IKEv2 protocol and port number to 4500. -
udp-ike2-500 Sets the supported protocol to the IKEv2 protocol and port number to 500. -
udp-voip Sets the supported protocol to the UDP VoIP protocol and port number to 5060. -
on Supports specified IP protocols and ports. -
off Indicates that specified IP protocols and ports are not supported. -

Views

Connection capability profile view

Default Level

2: Configuration level

Usage Guidelines

You can run the connection-capability command to set whether Hotspot2.0 networks support common IP protocols and ports.

You can use the connection-capability command to set multiple supported protocols at the same time.

Example

# Set the supported protocol to ICMP.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] connection-capability-profile name connection-capability-profile1
[HUAWEI-wlan-co-cap-prof-connection-capability-profile1] connection-capability icmp on
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >