- Table of Contents
-
- 12-WLAN Advanced Features Command Reference
- 00-Preface
- 01-WLAN optimization commands
- 02-Hotspot 2.0 commands
- 03-WLAN probe commands
- 04-WSA commands
- 05-Wireless location commands
- 06-WLAN process maintenance commands
- 07-Bonjour gateway commands
- 08-WLAN mesh commands
- 09-AC hierarchy commands
- 10-WLAN fast forwarding commands
- 11-WLAN forwarding commands
- Related Documents
-
Title | Size | Download |
---|---|---|
02-Hotspot 2.0 commands | 156.66 KB |
Hotspot 2.0 commands
The AP models and serial numbers in this document are used only as examples. Support for AP models and serial numbers depends on the AC model.
3gpp-info
Use 3gpp-info to configure 3GPP information.
Use undo 3gpp-info to remove 3GPP information.
Syntax
3gpp-info country-code mobile-country-code network-code mobile-network-code
undo 3gpp-info country-code mobile-country-code network-code mobile-network-code
Default
No 3GPP information is configured.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
mobile-country-code: Specifies a mobile country code (MCC). An MCC is a three-digit numeric code that uniquely identifies the country to which clients belong.
mobile-network-cod: Specifies a mobile network code (MNC). A mobile network code is a two-digit or three-digit numeric code that uniquely identifies the mobile network to which clients belong.
Usage guidelines
You can specify a maximum of 32 country code and mobile network code combinations in a Hotspot 2.0 policy.
One country code can be combined with multiple mobile network codes.
Examples
# Configure 3GPP information: set the country code to 460 and network code to 01.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] 3gpp-info country-code 460 network-code 01
authentication-type
Use authentication-type to specify a network authentication type.
Use undo authentication-type to delete a network authentication type.
Syntax
authentication-type { 0 [ redirect-url url ] | 1 | 2 redirect-url url | 3 }
undo authentication-type { 0 | 1 | 2 | 3 }
Default
No network authentication type is specified.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
0: Specifies acceptance of terms and conditions.
1: Specifies on-line enrollment.
2: Specifies HTTP/HTTPS redirection.
3: Specifies DNS redirection.
redirect-url url: Specifies a redirected URL address.
Usage guidelines
You can specify a maximum of four network authentication types in a Hotspot 2.0 policy.
Examples
# Specify a network authentication type.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] authentication-type 1
comeback-delay
Use comeback-delay to set the comeback delay for clients to send GAS comeback requests.
Use undo comeback-delay to restore the default.
Syntax
comeback-delay value
undo comeback-delay
Default
The comeback delay is 1 TU.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
value: Specifies the comeback delay in the range of 1 to 1024 TUs. One TU is equal to 1024 μs.
Usage guidelines
This command can prevent clients from sending too many GAS comeback requests.
Examples
# Set the comeback delay to 10 TUs.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] comeback-delay 10
description
Use description to configure a description for an OSU server.
Use undo description to delete an OSU server description.
Syntax
description description lang-code lang-code
undo description description lang-code lang-code
Default
No description is configured for an OSU server.
Views
OSU server view
Predefined user roles
network-admin
Parameters
description: Specifies a description, a case-sensitive string of 1 to 252 characters.
lang-code: Specifies a language code. The device supports the general international standards.
Usage guidelines
This command is available only for version 2 of Hotspot 2.0.
You can configure a maximum of 32 descriptions for an OSU server. A client displays one description that is in the same language as the client system.
Examples
# Configure a description for OSU server 1.
<Sysname> system-view
[Sysname] wlan osu-provider 1
[Sysname-wlan-osu-1] description "Free service for test purpose" lang-code eng
dgaf enable
Use dgaf enable to enable Downstream Group-Addressed Forwarding (DGAF).
Use undo dgaf enable to disable DGAF.
Syntax
dgaf enable
undo dgaf enable
Default
DGAF is enabled.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Usage guidelines
DGAF enables an AP to forward all downstream wireless broadcast ARP packets and wireless multicast packets. To prevent spoofing attacks by using downstream multicasts, you can disable DGAF for the AP.
Before disabling DGAF, make sure all service templates bound to the Hotspot 2.0 policy are disabled.
To avoid packet loss, enable proxy ARP and multicast optimization before disabling DGAF. For more information about proxy ARP, see Layer 3—IP Services Configuration Guide.
Examples
# Disable DGAF.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] undo dgaf enable
display wlan hotspot uploaded-osu-icon
Use display wlan hotspot uploaded-osu-icon to display the list of uploaded OSU server icons.
Syntax
display wlan hotspot uploaded-osu-icon
Views
Any view
Predefined user roles
network-admin
network-operator
Usage guidelines
This command is available only for version 2 of Hotspot 2.0.
Examples
# Display the list of uploaded OSU server icons.
<Sysname> display wlan hotspot uploaded-osu-icon
Total uploaded osu icon count: 1
Icon name Icon type
---------------------------------------------------------
college.png png
Related commands
icon-file
wlan hotspot osu-icon upload
domain-name
Use domain-name to set a domain name.
Use undo domain-name to delete a domain name.
Syntax
domain-name domain-name
undo domain-name domain-name
Default
No domain name is set.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
domain-name: Specifies a domain name, a case-sensitive string of 1 to 255 characters.
Usage guidelines
You can set a maximum of 32 domain names in one Hotspot 2.0 policy.
Examples
# Set the domain name to college in Hotspot 2.0 policy 1.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] domain-name college
friendly-name
Use friendly-name to set a name for an OSU server.
Use undo friendly-name to delete the specified OSU server name.
Syntax
friendly-name friendly-name lang-code lang-code
undo friendly-name friendly-name lang-code lang-code
Default
No name is set for an OSU server.
Views
OSU server view
Predefined user roles
network-admin
Parameters
description: Specifies a description, a case-sensitive string of 1 to 252 characters.
lang-code: Specifies a language code. The device supports the general international standards.
Usage guidelines
This command is available only for version 2 of Hotspot 2.0.
You can configure a maximum of 32 names for an OSU server. A client will display one name that is in the same language as the client system.
If an OSU server is already bound to a Hotspot 2.0 policy, you cannot delete the most recent name specified for the server.
Examples
# Set a name for OSU server 1.
<Sysname> system-view
[Sysname] wlan osu-provider 1
[Sysname-wlan-osu-1] friendly-name osu1 lang-code en
gas-limit
Use gas-limit to set the maximum number of GAS initial requests that the AC can receive within the specified interval.
Use undo gas-limit to restore the default.
Syntax
gas-limit number number interval interval
undo gas-limit
Default
The number of GAS initial requests that the AC can receive is not limited.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
number number: Specifies the maximum number of GAS initial requests that the AC can receive, in the range of 10 to 60.
interval interval: Specifies the interval at which the AC receive GAS initial requests, in the range of 10 to 60 seconds.
Usage guidelines
If the number of GAS initial requests received by the AC exceeds the limit, the exceeded frames will be discarded.
Examples
# Set the maximum number of GAS initial requests that the AC can receive within 15 seconds to 50.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] gas-limit number 50 interval 15
hessid
Use hessid to set a homogenous ESS identifier (HESSID).
Use undo hessid to restore the default.
Syntax
hessid hessid
undo hessid
Default
No HESSID is set.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
hessid: Specifies an HESSID that uniquely identifies a homogeneous ESS, in the H-H-H format. The value cannot be all zeros.
Usage guidelines
Make sure all service templates bound to the Hotspot 2.0 policy are disabled before you set an HESSID.
Examples
# Set the HESSID to 0021-1bea-3660 in Hotspot 2.0 policy 1.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] hessid 0021-1bea-3660
hotspot-policy
Use hotspot-policy to bind a Hotspot 2.0 policy to a service template.
Use undo hotspot-policy to restore the default.
Syntax
hotspot-policy policy-number
undo hotspot-policy
Default
No Hotspot 2.0 policy is bound to a service template.
Views
Service template view
Predefined user roles
network-admin
Parameters
policy-number: Specifies the number of a Hotspot 2.0 policy, in the range of 1 to 32.
Usage guidelines
When you bind a Hotspot 2.0 policy to a service template, follow these guidelines:
· Make sure the Hotspot 2.0 policy exists and the service template is disabled.
· Make sure the following settings are configured for the service template:
¡ 802.1X authentication and key management mode.
¡ RSN IE.
¡ AES-CCMP cipher suite.
Examples
# Bind Hotspot 2.0 policy 1 to service template 1.
<Sysname> system-view
[Sysname] wlan service-template 1
[Sysname-wlan-st-1] hotspot-policy 1
icon-file
Use icon-file to specify an icon for an OSU server.
Use undo icon-file to delete the specified icon for an OSU server.
Syntax
icon-file filename lang-code lang-code icon-type icon-type
undo icon-file filename
Default
No icon is specified for an OSU server.
Views
OSU server view
Predefined user roles
network-admin
Parameters
filename: Specifies an icon file by its name, a case-sensitive string of 1 to 63 characters.
lang-code lang-code: Specifies a language code. The device supports the general international standards.
icon-type icon-type: Specifies the type of the icon file, a case-sensitive string of 1 to 15 characters.
Usage guidelines
This command is available only for version 2 of Hotspot 2.0.
The device loads the specified icon when the command is executed. You can specify a maximum of six icons for an OSU server. A client displays an icon that is in the same language as the client system.
When you specify an icon for an OSU server, follow these restrictions and guidelines:
· Create a directory named icon in the root directory where the version files are saved, and use FTP or TFTP to download icon files to the folder before executing the command.
· If the specified icon file does not exist in the icon directory, the command cannot load the icon file. To load the icon file, save the icon file in the icon directory, and then execute the wlan hotspot osu-icon upload command.
· The file size cannot exceed 64 KB.
· Make sure the file type specified in the command is the same as the actual file type.
· If an OSU server is already bound to a Hotspot 2.0 policy, you cannot delete the most recently specified OSU server icon.
Examples
# Specify an icon for OSU server 1.
<Sysname> system-view
[Sysname] wlan osu-provider 1
[Sysname-wlan-osu-1] icon-file wifi_icon lang-code eng icon-type png
ip-protocol
Use ip-protocol to set the port status for an IP protocol.
Use undo ip-protocol to remove the configuration.
Syntax
ip-protocol { esp | icmp | tcp | udp } port-number port-number { closed | open | unknown }
undo ip-protocol { esp | icmp | tcp | udp } port-number port-number
Default
The port status is not set for an IP protocol.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
esp: Specifies the ESP protocol.
icmp: Specifies the ICMP protocol.
tcp: Specifies the TCP protocol.
udp: Specifies the UDP protocol.
port-number: Specifies a port by its number.
Table 1 Port number and protocol type
Protocol type |
Port number |
Description |
ICMP |
0 |
ICMP, used for diagnostics |
TCP |
20 |
FTP |
TCP |
22 |
SSH |
TCP |
80 |
HTTP |
TCP |
443 |
Used by TLS VPNs |
TCP |
1723 |
Used by Point to Point Tunneling Protocol VPNs |
TCP |
5060 |
VoIP |
UDP |
500 |
Used by IKEv2 (IPSec VPN) |
UDP |
5060 |
VoIP |
UDP |
4500 |
May be used by IKEv2 (IPSec VPN) |
ESP |
0 |
ESP, used by IPSec VPNs |
closed: Specifies the port status as closed.
open: Specifies the port status as open.
unknown: Specifies the port status as unknown.
Examples
# Set the port number to 20 and the port status to open for TCP.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] ip-protocol tcp port-number 20 open
ip-type
Use ip-type to configure IP address availability.
Use undo ip-type to restore the default.
Syntax
ip-type ipv4 ipv4-type ipv6 ipv6-type
undo ip-type
Default
The availability is 1 for IPv4 addresses and 2 for IPv6 addresses.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
ipv4-type: Specifies the availability for an IPv4 address, in the range of 0 to 7.
Table 2 IPv4 address availability
Address value |
Description |
0 |
Address type not available |
1 |
Public IPv4 address available |
2 |
Port-restricted IPv4 address available |
3 |
Single NATed private IPv4 address available |
4 |
Double NATed private IPv4 address available |
5 |
Port-restricted IPv4 address and single NATed IPv4 address available |
6 |
Port-restricted IPv4 address and double NATed IPv4 address available |
7 |
Availability of the address type is not known |
ipv6-type: Specifies the availability for an IPv6 address, in the range of 0 to 2.
Table 3 IPv6 address availability
Address value |
Description |
0 |
Address type not available |
1 |
Address type available |
2 |
Availability of the address type not known |
Examples
# Set the availability to 2 for IPv4 addresses and 1 for IPv6 addresses.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] ip-type ipv4 2 ipv6 1
method
Use method to specify a protocol for clients to communicate with the OSU server.
Use undo method to delete the specified protocol for clients to communicate with the OSU server.
Syntax
method method-id
undo method method-id
Default
No protocol is specified for clients to communicate with an OSU server.
Views
OSU server view
Predefined user roles
network-admin
Parameters
method-id: Specifies the protocol ID:
· 0—Specifies OMA-DM.
· 1—Specifies SOAP-XML SPP.
Usage guidelines
This command is available only for version 2 of Hotspot 2.0.
You can specify both protocols. Clients will choose one protocol to communicate with the OSU server.
If an OSU server is already bound to a Hotspot 2.0 policy, you cannot delete the most recent specified protocol for clients to communicate with the OSU server.
Examples
# Specify a protocol for clients to communicate with the OSU server.
<Sysname> system-view
[Sysname] wlan osu-provider 1
[Sysname-wlan-osu-1] method 0
nai
Use nai to configure a Network Access Identifier (NAI) for an OSU server.
Use undo nai to delete the configured NAI for an OSU server.
Syntax
nai nai
undo nai
Default
No NAI is configured for an OSU server.
Views
OSU server view
Predefined user roles
network-admin
Parameters
nai: Specifies an NAI, a case-sensitive string of 1 to 252 characters.
Usage guidelines
This command is available only for version 2 of Hotspot 2.0.
If an NAI is configured for an OSU server, clients connect to the OSU AP through OSEN OSU. If no NAI is configured for an OSU server, clients connects to the OSU AP through Open OSU.
Examples
# Configure an NAI for OSU server 1.
<Sysname> system-view
[Sysname] wlan osu-provider 1
[Sysname-wlan-osu-1] nai [email protected]
nai-realm
Use nai-realm to create an NAI realm and specify an authentication type for the NAI realm.
Use undo nai-realm to delete an NAI realm.
Syntax
nai-realm realm-name eap-method eap-method-id auth-method auth-method-id authentication authentication
undo nai-realm realm-name [ eap-method eap-method [ auth-method auth-method [ authentication authentication ] ] ]
Default
No NAI realm exists.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
realm-name: Specifies an NAI realm name, a case-sensitive string of 1 to 255 characters.
eap-method eap-method-id: Specifies an EAP authentication method by its ID.
Table 4 EAP authentication method
eap-method-id |
Description |
1 |
EAP-Transport Layer Security (EAP-TLS) |
2 |
Lightweight Extensible Authentication Protocol (LEAP) |
3 |
EAP for GSM Subscriber Identity Module (EAP-SIM) |
4 |
EAP-Tunneled Transport Layer Security (EAP-TTLS) |
5 |
EAP-Authentication and Key Agreement(EAP-AKA) |
6 |
Protected EAP (PEAP) |
auth-method auth-method-id: Specifies an authentication method by its ID.
authentication authentication: Specifies an authentication parameter by its ID.
Table 5 Authentication method and authentication parameter
auth-method-id |
auth-method-type |
authentication |
2 |
Non-EAP Inner Authentication Type |
· 1—PAP. · 2—CHAP. · 3—MSCHAP. · 4—MSCHAPV2. |
5 |
Credential Type |
· 1—SIM. · 2—USIM. · 3—NFC Secure Element. · 4—Hardware Token. · 5—Softoken. · 6—Certificate. · 7—username/password. · 8—none*. |
6 |
Tunneled EAP Method Credential Type |
· 1—SIM. · 2—USIM. · 3—NFC Secure Element. · 4—Hardware Token. · 5—Softoken. · 6—Certificate. · 7—username/password. · 8—Reserved. · 9—Anonymous. |
Usage guidelines
When you use the undo nai-realm command, follow these guidelines:
· The undo nai-realm realm-name command deletes all NAI realms that use the same name.
· The undo nai-realm realm-name eap-method eap-method-id command deletes all NAI realms that use the same name and EAP authentication method.
· The undo nai-realm realm-name eap-method eap-method-id auth-method auth-method-id command deletes all NAI realms that use the same name, EAP authentication method, and authentication method.
· The undo nai-realm realm-name eap-method eap-method-id auth-method auth-method-id authentication authentication command deletes all NAI realms that use the same name, EAP authentication method, authentication method, and authentication parameter.
You can configure a maximum of 32 NAI realm names in a Hotspot 2.0 policy.
Examples
# Specify the authentication type for NAI realm wifi in Hotspot 2.0 policy 1.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] nai-realm wifi eap-method 2 auth-method 5 authentication 1
network-type
Use network-type to set the access network type.
Use undo network-type to restore the default.
Syntax
network-type network-type [ access-internet ]
undo network-type
Default
The access network type is not set.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
network-type: Specifies a network type in the range of 0 to 5, 14, and 15.
Table 6 Access network type
Value |
Description |
0 |
Private network |
1 |
Private network with guest access |
2 |
Chargeable public network |
3 |
Free public network |
4 |
Personal device network |
5 |
Emergency services only network |
14 |
Test or experimental |
15 |
Wildcard |
access-internet: Enables access to the Internet. If you do not specify this keyword, the Internet is not accessible.
Usage guidelines
Make sure all service templates bound to the Hotspot 2.0 policy are disabled before you set the access network type.
Examples
# Set the access network type to 1 and enable access to the Internet.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] network-type 1 access-internet
operator-name
Use operator-name to set service provider information.
Use undo operator-name to delete service provider information.
Syntax
operator-name operator-name lang-code lang-code
undo operator-name operator-name lang-code lang-code
Default
No service provider information is set.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
operator-name: Specifies a service provider name, a case-sensitive string of 1 to 252 characters.
lang-code: Specifies a language code. The device supports both the ISO-639-1 and ISO-639-2 standards.
Usage guidelines
You can configure a maximum of 32 service provider and language code combinations in a Hotspot 2.0 policy.
Examples
# Set the language code to en for service provider cmcc.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] operator-name cmcc lang-code en
osu-provider
Use osu-provider to bind an OSU server to a Hotspot 2.0 policy.
Use undo osu-provider to unbind an OSU server from a Hotspot 2.0 policy.
Syntax
osu-provider osu-provider-number
undo osu-provider osu-provider-number
Default
No OSU server is bound to a Hotspot 2.0 policy.
Views
Hotspot policy view
Predefined user roles
network-admin
Parameters
osu-provider-number: Specifies an OSU server by its number, in the range of 1 to 32. The specified OSU server must exist.
Usage guidelines
This command is available only for version 2 of Hotspot 2.0.
You can bind a maximum of 32 OSU servers to a Hotspot 2.0 policy.
Before binding an OSU server to a Hotspot 2.0 policy, make sure you have finished the following configuration:
· Set a name for the OSU server.
· Specify a URI for the OSU server.
· Specify a protocol for clients to communicate with the OSU server.
· Specify an icon for the OSU server.
Examples
# Bind OSU server 1 to Hotspot 2.0 policy 1.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] osu-provider 1
Related commands
friendly-name
icon-file
method
uri
wlan osu-provider
osu-ssid
Use osu-ssid to set an SSID for online signup services.
Use undo osu-ssid to delete the configured SSID for online signup services.
Syntax
osu-ssid ssid-name
undo osu-ssid
Default
No SSID is set for online signup services.
Views
Hotspot policy view
Predefined user roles
network-admin
Parameters
ssid-name: Specifies an SSID name, a case-sensitive string of 1 to 32 characters.
Usage guidelines
This command is available only for version 2 of Hotspot 2.0.
Make sure the configured SSID for online signup services is the same as the SSID for the online signup service template.
Examples
# Set the SSID for online signup services to osu.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] osu-ssid osu
policy-name
Use policy-name to set a name for a Hotspot 2.0 policy.
Use undo policy-name to restore the default.
Syntax
policy-name name
undo policy-name
Default
A Hotspot 2.0 policy does not have a name.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
name: Specifies a Hotspot 2.0 policy name, a case-insensitive string of 1 to 32 characters.
Examples
# Set the name of Hotspot 2.0 policy 1 to market.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] policy-name market
roam-oi
Use roam-oi to set an organization identifier (OI).
Use undo roam-oi to delete an OI.
Syntax
roam-oi oi [ in-beacon ]
undo roam-oi oi
Default
No OI is set.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
oi: Specifies an OI that can uniquely identify a roaming consortium, a six-digit or ten-digit hexadecimal code.
in-beacon: Adds an OI to beacons. As a best practice, specify this keyword for clients to get OIs.
Usage guidelines
Make sure all service templates bound to the Hotspot 2.0 policy are disabled before you set an OI.
You can configure a maximum of 32 OIs in a Hotspot 2.0 policy, and can add a maximum of three OIs to beacons.
Examples
# Set the OI to 004096 and add the OI to beacons.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] roam-oi 004096 in-beacon
uri
Use uri to specify the URI of an OSU server.
Use undo uri to delete the configured URI of an OSU server.
Syntax
uri uri
undo uri
Default
No URI is specified for an OSU server.
Views
OSU server view
Predefined user roles
network-admin
Parameters
uri: Specifies the URI of an OSU server, a case-sensitive string of 1 to 255 characters.
Usage guidelines
This command is available only for version 2 of Hotspot 2.0.
Clients use the configured URI to visit the OSU server and perform online signup.
If an OSU server is already bound to a Hotspot 2.0 policy, you cannot delete the configured URI of the server.
Examples
# Specify the URI of OSU server 1.
<Sysname> system-view
[Sysname] wlan osu-provider 1
[Sysname-wlan-osu-1] uri https://osu-server.r2-testbed.wi-fi.org/
venue group
Use venue group to set venue group information for an AP.
Use undo venue group to restore the default.
Syntax
venue group venue-group-number type venue-type-number
undo venue group
Default
No venue group information is set for an AP.
Views
AP view
Predefined user roles
network-admin
Parameters
venue-group-number: Specifies a venue group by its number, in the range of 1 to 11.
Table 7 Venue group number and description
Number |
Description |
1 |
Assembly |
2 |
Business |
3 |
Educational |
4 |
Factory |
5 |
Institutional |
6 |
Mercantile |
7 |
Residential |
8 |
Storage |
9 |
Utility |
10 |
Vehicular |
11 |
Outdoor |
venue-type-number: Specifies a venue type by its number. The value depends on the venue group number. For more information, see Table 8.
Table 8 Venue type number and description
Venue group number |
Venue type number |
Venue description |
1 |
0 |
Unspecified |
1 |
1 |
Arena |
1 |
2 |
Stadium |
1 |
3 |
Passenger Terminal |
1 |
4 |
Amphitheater |
1 |
5 |
Amusement Park |
1 |
6 |
Place of Worship |
1 |
7 |
Convention Center |
1 |
8 |
Library |
1 |
9 |
Museum |
1 |
10 |
Restaurant |
1 |
11 |
Theater |
1 |
12 |
Bar |
1 |
13 |
Coffee Shop |
1 |
14 |
Zoo or Aquarium |
1 |
15 |
Emergency Coordination Center |
2 |
0 |
Unspecified |
2 |
1 |
Doctor or Dentist office |
2 |
2 |
Bank |
2 |
3 |
Fire Station |
2 |
4 |
Police Station |
2 |
6 |
Post Office |
2 |
7 |
Professional Office |
2 |
8 |
Research and Development Facility |
2 |
9 |
Attorney Office |
3 |
0 |
Unspecified |
3 |
1 |
School Primary |
3 |
2 |
School Secondary |
3 |
3 |
University or College |
4 |
0 |
Unspecified |
4 |
1 |
Factory |
5 |
0 |
Unspecified |
5 |
1 |
Hospital |
5 |
2 |
Long-Term Care Facility |
5 |
3 |
Alcohol and Drug Rehabilitation Center |
5 |
4 |
Group Home |
5 |
5 |
Prison or Jail |
6 |
0 |
Unspecified |
6 |
1 |
Retail Store |
6 |
2 |
Grocery Market |
6 |
3 |
Automotive Service Station |
6 |
4 |
Shopping Mall |
6 |
5 |
Gas Station |
7 |
0 |
Unspecified |
7 |
1 |
Private Residence |
7 |
2 |
Hotel or Motel |
7 |
3 |
Dormitory |
7 |
4 |
Boarding House |
8 |
0 |
Unspecified |
9 |
0 |
Unspecified |
10 |
0 |
Unspecified |
10 |
1 |
Automobile or Truck |
10 |
2 |
Airplane |
10 |
3 |
Bus |
10 |
4 |
Ferry |
10 |
5 |
Ship or Boat |
10 |
6 |
Train |
10 |
7 |
Motor Bike |
11 |
0 |
Unspecified |
11 |
1 |
Muni-mesh Network |
11 |
2 |
City Park |
11 |
3 |
Rest Area |
11 |
4 |
Traffic Control |
11 |
5 |
Bus Stop |
11 |
6 |
Kiosk |
Examples
# Specify venue group 1 and venue type 1 for AP ap3.
<Sysname> system-view
[Sysname] wlan ap ap3 model WA6320
[Sysname-wlan-ap-ap3] venue group 1 type 1
venue name
Use venue name to set a venue name for an AP.
Use undo venue name to delete a venue name.
Syntax
venue name venue-name lang-code lang-code
undo venue name venue-name lang-code lang-code
Default
No venue name is set for an AP.
Views
AP view
Predefined user roles
network-admin
Parameters
venue-name: Specifies a venue name, a case-sensitive string of 1 to 252 characters.
lang-code: Specifies the language code for a venue. The device supports both the ISO-639-1 and ISO-639-2 standards.
Usage guidelines
One venue can have multiple language codes.
You can configure a maximum of 32 venue name and language code combinations for an AP.
Examples
# Set the venue name to office and language codes to en for AP ap3.
<Sysname> system-view
[Sysname] wlan ap ap3 model WA6320
[Sysname-wlan-ap-ap3] venue name office lang-code en
wan-metrics
Use wan-metrics to set WAN link status parameters.
Use undo wan-metrics to restore the default.
Syntax
wan-metrics { link-down | link-test | link-up } [ asymmetric downlink-speed downlink-speed uplink-speed uplink-speed | symmetric link-speed link-speed ]
undo wan-metrics
Default
No WAN link status parameters are set.
Views
Hotspot 2.0 policy view
Predefined user roles
network-admin
Parameters
link-down: Sets the link status for the WAN to down.
link-test: Sets the link status for the WAN to testing.
link-up: Sets the link status for the WAN to up.
asymmetric: Specifies the asymmetric link.
downlink-speed downlink-speed: Specifies the downlink speed in the range of 1 to 4194304 Kbps.
uplink-speed uplink-speed: Specifies the uplink speed in the range of 1 to 4194304 Kbps.
symmetric: Specifies the symmetric link.
link-speed link-speed: Specifies the symmetric link speed in the range of 1 to 4194304 Kbps.
Examples
# Set the link status to up and the symmetric link rate to 67 Kbps for the WAN.
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1] wan-metrics link-up symmetric link-speed 67
wlan hotspot-policy
Use wlan hotspot-policy to create a Hotspot 2.0 policy and enter its view, or enter the view of an existing Hotspot 2.0 policy.
Use undo wlan hotspot-policy to delete a Hotspot 2.0 policy.
Syntax
wlan hotspot-policy policy-number
undo wlan hotspot-policy policy-number
Default
No Hotspot 2.0 policies exist.
Views
System view
Predefined user roles
network-admin
Parameters
policy-number: Specifies the number of a Hotspot 2.0 policy, in the range of 1 to 32.
Usage guidelines
You cannot delete a Hotspot 2.0 policy that has been bound to a service template.
Examples
# Create Hotspot 2.0 policy 1 and enter its view.
<Sysname> system-view
[Sysname] wlan hotspot-policy 1
[Sysname-wlan-hs-1]
wlan hotspot osu-icon unload
Use wlan hotspot osu-icon unload to unload all OSU server icon files.
Syntax
wlan hotspot osu-icon unload
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command is available only for version 2 of Hotspot 2.0.
This command only unloads OSU server icon files, and does not delete icon files.
Examples
# Unload all OSU server icon files.
<Sysname> system-view
[Sysname] wlan hotspot osu-icon unload
Related commands
icon-file
wlan hotspot osu-icon upload
wlan hotspot osu-icon upload
Use wlan hotspot osu-icon upload to load all the specified OSU server icon files.
Syntax
wlan hotspot osu-icon upload
Views
System view
Predefined user roles
network-admin
Usage guidelines
This command is available only for version 2 of Hotspot 2.0.
Use this command to load all icon files specified for an OSU server to validate the changes when icon file changes occur.
Examples
# Load all the specified OSU server icon files.
<Sysname> system-view
[Sysname] wlan hotspot osu-icon upload
Related commands
icon-file
wlan hotspot osu-icon unload
wlan osu-provider
Use wlan osu-provider to create an OSU server and enter its view, or enter the view of an existing OSU server.
Use undo wlan osu-provider to delete the specified OSU server.
Syntax
wlan osu-provider osu-provider-number
undo wlan osu-provider osu-provider-number
Default
No OSU server exists.
Views
System view
Predefined user roles
network-admin
Parameters
osu-provider-number: Specifies an OSU server by its number, in the range of 1 to 32.
Usage guidelines
This command is available only for version 2 of Hotspot 2.0.
You cannot delete an OSU server that has been bound to a Hotspot 2.0 policy.
Examples
# Create OSU server 1 and enter its view.
<Sysname> system-view
[Sysname] wlan osu-provider 1
[Sysname-wlan-osu-1]