Download as pdf or txt
Download as pdf or txt
You are on page 1of 72

Fat AP and Cloud AP 17 Hotspot2.

0 Configuration Commands (Common


Command Reference AP)

17 Hotspot2.0 Configuration
Commands (Common AP)

About This Chapter

17.1 cellular-network-profile
17.2 cellular-network-profile (Hotspot2.0 profile view)
17.3 connection-capability-profile
17.4 connection-capability-profile (Hotspot2.0 profile view)
17.5 connection-capability
17.6 display cellular-network-profile
17.7 display connection-capability-profile
17.8 display hotspot2-profile
17.9 display nai-realm-profile
17.10 display operating-class-profile
17.11 display operator-domain-profile
17.12 display operator-name-profile
17.13 display references cellular-network-profile
17.14 display references connection-capability-profile
17.15 display references hotspot2-profile
17.16 display references nai-realm-profile
17.17 display references operating-class-profile
17.18 display references operator-domain-profile
17.19 display references operator-name-profile
17.20 display references roaming-consortium-profile

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1722


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

17.21 display references venue-name-profile


17.22 display roaming-consortium-profile
17.23 display venue-name-profile
17.24 domain-name
17.25 hessid
17.26 hotspot2-profile
17.27 hotspot2-profile (VAP profile view)
17.28 ipv4-address-avail
17.29 nai-realm-profile
17.30 nai-realm-profile (Hotspot2.0 profile view)
17.31 nai-realm
17.32 network-authen-type
17.33 network-type
17.34 operating-class-indication
17.35 operating-class-profile
17.36 operating-class-profile (Hotspot2.0 profile view)
17.37 operator-domain-profile
17.38 operator-domain-profile (Hotspot2.0 profile view)
17.39 operator-friendly-name
17.40 operator-name-profile
17.41 operator-name-profile (Hotspot2.0 profile view)
17.42 p2p-cross-connect disable
17.43 plmn-id
17.44 roaming-consortium-oi
17.45 roaming-consortium-profile
17.46 roaming-consortium-profile (Hotspot2.0 profile view)
17.47 venue-name-profile
17.48 venue-name-profile (Hotspot2.0 profile view)
17.49 venue-name
17.50 venue-type

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1723


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

17.1 cellular-network-profile
Function
The cellular-network-profile command creates a cellular network profile or
displays the view of an existing cellular network profile.

The undo cellular-network-profile command deletes a cellular network profile.

By default, no cellular network profile exists in the system.

Format
cellular-network-profile name profile-name

undo cellular-network-profile { name profile-name | all }

Parameters
Parameter Description Value

name profile- Specifies the name of a cellular network The value is a string
name profile. of 1 to 35 case-
insensitive
characters. It does
not contain
question marks (?)
or spaces, and
cannot start or end
with double
quotation marks ("
").

all Delete all cellular network profiles. -

Views
WLAN view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario

You can configure Hotspot 2.0 services on cellular networks. When connecting to
the networks, user terminals can obtain network information from APs, which
helps them to select desired networks.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1724


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Follow-up Procedure

Run the plmn-id command to configure the PLMN identifier and run the cellular-
network-profile (Hotspot2.0 profile view) command to bind the cellular
network profile to a Hotspot2.0 profile to make the cellular network profile take
effect.

Precautions

The device supports a maximum of 32 cellular network profiles.

Example
# Create the cellular network profile cellular-network-profile1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] cellular-network-profile name cellular-network-profile1
[HUAWEI-wlan-cellular-network-prof-cellular-network-profile1]

17.2 cellular-network-profile (Hotspot2.0 profile view)


Function
The cellular-network-profile command binds a cellular network profile to a
Hotspot2.0 profile.

The undo cellular-network-profile command unbinds a cellular network profile


from a Hotspot2.0 profile.

By default, no cellular network profile is bound to a Hotspot2.0 profile.

Format
cellular-network-profile profile-name

undo cellular-network-profile

Parameters
Parameter Description Value

profile-name Specifies the name of a cellular network The cellular network


profile. profile must exist.

Views
Hotspot2.0 profile view

Default Level
2: Configuration level

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1725


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Usage Guidelines
Usage Scenario
You can configure Hotspot 2.0 services on a cellular network. When connecting to
the network, user terminals need to obtain the cellular network identifier (3GPP
Cellular PLMN) from APs to select desired networks. You can run the cellular-
network-profile command to create a cellular network profile and the plmn-id
command to configure the Public Land Mobile Network (PLMN) identifier of the
network operator, and then bind the cellular network profile to a Hotspot 2.0
profile to make the configuration take effect.

Example
# Bind cellular network profile cellular-network-profile1 to the Hotspot 2.0
profile hotspot.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] cellular-network-profile cellular-network-profile1

17.3 connection-capability-profile
Function
The connection-capability-profile command creates a connection capability
profile or displays the view of an existing connection capability profile.
The undo connection-capability-profile command deletes a connection
capability profile.
By default, no connection capability profile exists in the system.

Format
connection-capability-profile name profile-name
undo connection-capability-profile { name profile-name | all }

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1726


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameters
Parameter Description Value

name profile- Specifies the name of a connection The value is a string


name capability profile. of 1 to 35 case-
insensitive
characters. It does
not contain
question marks (?)
or spaces, and
cannot start or end
with double
quotation marks ("
").

all Deletes all connection capability profiles. -

Views
WLAN view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario

You can configure Hotspot2.0 services for networks. When user terminals connect
to the networks, they can obtain network connection capability information from
APs, including allowed protocols and ports, which helps them to select desired
networks.

Follow-up Procedure

Run the connection-capability-profile (Hotspot2.0 profile view) command to


bind the connection capability profile to a Hotspot2.0 profile so that the
connection capability profile can take effect.

Precautions

The device supports a maximum of 32 connection capability profiles.

Example
# Create the connection capability profile connection-capability-profile1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] connection-capability-profile name connection-capability-profile1
[HUAWEI-wlan-co-cap-prof-connection-capability-profile1]

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1727


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

17.4 connection-capability-profile (Hotspot2.0 profile


view)
Function
The connection-capability-profile command binds a connection capability profile
to a Hotspot2.0 profile.

The undo connection-capability-profile command unbinds a connection


capability profile from a Hotspot2.0 profile.

By default, no connection capability profile is bound to a Hotspot2.0 profile.

Format
connection-capability-profile profile-name

undo connection-capability-profile

Parameters
Parameter Description Value

profile-name Specifies the name of a connection The connection


capability profile. capability profile
must exist.

Views
Hotspot2.0 profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario

You can configure Hotspot2.0 services for networks. When user terminals connect
to the networks, they can obtain network connection capability information from
APs, including allowed protocols and ports, which helps them to select desired
networks. You can run the connection-capability-profile command to create a
connection capability profile and run the connection-capability command to set
whether networks support specific IP protocols and ports. After that, you bind the
connection capability profile to a Hotspot2.0 profile.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1728


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Example
# Bind the connection capability profile connection-capability-profile1 to the
Hotspot2.0 profile hotspot.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] connection-capability-profile connection-capability-profile1

17.5 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.
FTP is not a secure protocol, and it is not
recommended.

tcp-http Sets the supported protocol to HTTP and -


port number to 80.
HTTP is not a secure protocol, and it is
not recommended.

tcp-pptp-vpn Sets the protocol for VPN services to -


PPTP and port number to 1723.

tcp-ssh Sets the supported protocol to SSH. -

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1729


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameter Description Value

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- Sets the supported protocol to the IKEv2 -


ike2-4500 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

17.6 display cellular-network-profile


Function
The display cellular-network-profile command displays information about a
cellular network profile.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1730


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Format
display cellular-network-profile { all | name profile-name }

Parameters
Parameter Description Value
all Displays information about all -
cellular network profiles.

name profile-name Displays information about a The cellular network


specified cellular network profile. profile must exist.

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
You can run the display cellular-network-profile command to view information
about cellular network profiles.

Example
# Display information about all cellular network profiles.
<HUAWEI> display cellular-network-profile all
-------------------------------------------------------------------------------
Profile name Reference
-------------------------------------------------------------------------------
cellular-network-profile1 1
-------------------------------------------------------------------------------
Total: 1

Table 17-1 Description of the display cellular-network-profile all command


output
Item Description

Profile name Name of a cellular network profile.

Reference Number of times a cellular network


profile is referenced.

# Display information about the cellular network profile cellular-network-


profile1.
<HUAWEI> display cellular-network-profile name cellular-network-profile1
-------------------------------------------------------------------------------

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1731


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Index PLMN ID
-------------------------------------------------------------------------------
0 10001
-------------------------------------------------------------------------------
Total: 1

Table 17-2 Description of the display cellular-network-profile name profile-


name command output
Item Description

Index Index.

PLMN ID Public land mobile network (PLMN)


ID.
To configure this parameter, run the
plmn-id command.

17.7 display connection-capability-profile


Function
The display connection-capability-profile command displays information about
a connection capability profile.

Format
display connection-capability-profile { all | name profile-name }

Parameters

Parameter Description Value


all Displays information about all -
connection capability profiles.

name profile-name Displays information about a The connection


specified connection capability capability profile must
profile. exist.

Views
All views

Default Level
1: Monitoring level

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1732


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Usage Guidelines
You can run the display connection-capability-profile command to view
information about connection capability profiles.

Example
# Display information about all connection capability profiles.
<HUAWEI> display connection-capability-profile all
-------------------------------------------------------------------------------
Profile name Reference
-------------------------------------------------------------------------------
connection-capability-profile1 1
-------------------------------------------------------------------------------
Total: 1

Table 17-3 Description of the display connection-capability-profile all


command output

Item Description

Profile name Name of a connection capability


profile.

Reference Number of times a connection


capability profile is referenced.

# Display information about the connection capability profile connection-


capability-profile1.
<HUAWEI> display connection-capability-profile name connection-capability-profile1
-------------------------------------------------------------------------------
ESP :-
ICMP : on
TCP-FTP :-
TCP-HTTP :-
TCP-PPTP-VPN :-
TCP-SSH :-
TCP-TLS-VPN :-
TCP-VoIP :-
UDP-IKEv2 port 4500 : -
UDP-IKEv2 port 500 :-
UDP-VoIP :-
-------------------------------------------------------------------------------

Table 17-4 Description of the display connection-capability-profile name


profile-name command output
Item Description

ESP Whether ESP (port number 0) is


supported.
To configure this parameter, run the
connection-capability command.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1733


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Item Description

ICMP Whether ICMP (port number 0) is


supported.
To configure this parameter, run the
connection-capability command.

TCP-FTP Whether FTP (port number 20) is


supported.
To configure this parameter, run the
connection-capability command.

TCP-HTTP Whether HTTP (port number 80) is


supported.
To configure this parameter, run the
connection-capability command.

TCP-PPTP-VPN Whether PPTP for VPN services (port


number 1723) is supported.
To configure this parameter, run the
connection-capability command.

TCP-SSH Whether SSH is supported.


To configure this parameter, run the
connection-capability command.

TCP-TLS-VPN Whether TLS VPN (port number 443)


is supported.
To configure this parameter, run the
connection-capability command.

TCP-VoIP Whether TCP VoIP (port number 5060)


is supported.
To configure this parameter, run the
connection-capability command.

UDP-IKEv2 port 4500 Whether IKEv2 (port number 4500) is


supported.
To configure this parameter, run the
connection-capability command.

UDP-IKEv2 port 500 Whether IKEv2 (port number 500) is


supported.
To configure this parameter, run the
connection-capability command.

UDP-VoIP Whether UDP VoIP (port number


5060) is supported.
To configure this parameter, run the
connection-capability command.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1734


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

17.8 display hotspot2-profile


Function
The display hotspot2-profile command displays the configuration of a
Hotspot2.0 profile.

Format
display hotspot2-profile { name profile-name | all }

Parameters
Parameter Description Value

name profile- Specifies the name of a Hotspot2.0 The Hotspot2.0


name profile. profile must exist.

all Displays all Hotspot2.0 profiles. -

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
Usage Scenario

When configuring Hotspot2.0 services, you can run this command to view the
configuration of Hotspot2.0 profiles.

Example
# Display all Hotspot2.0 profiles on a device.
<HUAWEI> display hotspot2-profile all
--------------------------------------------------------------------------------
Profile name Reference
--------------------------------------------------------------------------------
hotspot 1
--------------------------------------------------------------------------------
Total: 1

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1735


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Table 17-5 Description of the display hotspot2-profile all command output


Item Description

Profile name Name of a Hotspot2.0 profile.

Reference Number of times a Hotspot2.0 profile


is referenced.

# Display the configuration of the Hotspot2.0 profile hotspot.


<HUAWEI> display hotspot2-profile name hotspot
--------------------------------------------------------------------------------
Network type : public-free
Internet access : enable
Venue group code :3
Venue type code :3
HESSID : 00e0-fc50-89e0
IPv4 address availability : available
Network authentication type : online-enroll
Redirect URL :
P2P information element : disable
cellular-network-profile : cellular-network-profile1
connection-capability-profile : connection-capability-profile1
operator-name-profile : operator-name-profile1
operating-class-profile : operating-class-profile1
operator-domain-profile : operator-domain-profile1
NAI-realm-profile : nai-realm-profile1
venue-name-profile : venue-name-profile1
roaming-consortium-profile : roaming-consortium-profile1
--------------------------------------------------------------------------------

Table 17-6 Description of the display hotspot2-profile name profile-name


command output
Item Description

Network type Type of a Hotspot2.0 network.


To configure this parameter, run the
network-authen-type command.

Internet access Whether Hotspot2.0 networks support


Internet access.
To configure this parameter, run the
network-authen-type command.

Venue group code Venue group code of a Hotspot2.0


network.
To configure this parameter, run the
venue-type command.

Venue type code Venue type code of a Hotspot2.0


network.
To configure this parameter, run the
venue-type command.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1736


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Item Description

HESSID HESSID of a Hotspot2.0 network.


To configure this parameter, run the
hessid command.

IPv4 address availability Types of IPv4 addresses on a


Hotspot2.0 network.
To configure this parameter, run the
ipv4-address-avail command.

Network authentication type Hotspot2.0 network authentication


type.
To configure this parameter, run the
network-authen-type command.

Redirect URL Redirect URL if the Hotspot2.0


network authentication type is set to
Portal authentication.
To configure this parameter, run the
network-authen-type command.

P2P information element Whether a Hotspot2.0 network allows


for P2P device cross connections.
To configure this parameter, run the
p2p-cross-connect disable command.

cellular-network-profile Cellular network profile bound to a


Hotspot2.0 profile.
To configure this parameter, run the
cellular-network-profile (Hotspot2.0
profile view) command.

connection-capability-profile Connection capability profile bound to


a Hotspot2.0 profile.
To configure this parameter, run the
connection-capability-profile
(Hotspot2.0 profile view) command.

operator-name-profile Operator name profile bound to a


Hotspot2.0 profile.
To configure this parameter, run the
operator-name-profile (Hotspot2.0
profile view) command.

operating-class-profile Operating class profile bound to a


Hotspot2.0 profile.
To configure this parameter, run the
operating-class-profile (Hotspot2.0
profile view) command.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1737


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Item Description

operator-domain-profile Operator domain profile bound to a


Hotspot2.0 profile.
To configure this parameter, run the
operator-domain-profile (Hotspot2.0
profile view) command.

NAI-realm-profile NAI realm profile bound to a


Hotspot2.0 profile.
To configure this parameter, run the
nai-realm-profile (Hotspot2.0 profile
view) command.

venue-name-profile Venue name profile bound to a


Hotspot2.0 profile.
To configure this parameter, run the
venue-name-profile (Hotspot2.0
profile view) command.

roaming-consortium-profile Roaming consortium profile bound to


a Hotspot2.0 profile.
To configure this parameter, run the
roaming-consortium-profile
(Hotspot2.0 profile view) command.

17.9 display nai-realm-profile


Function
The display nai-realm-profile command displays the configuration of a NAI
realm profile.

Format
display nai-realm-profile { all | name profile-name }

Parameters
Parameter Description Value

all Displays all NAI realm profiles. -

name profile- Displays the configuration of a specified The NAI realm


name NAI realm profile. profile must exist.

Views
All views

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1738


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Default Level
1: Monitoring level

Usage Guidelines
You can run the command to view the configuration of NAI realm profiles.

Example
# Display the configuration of all NAI realm profiles.
<HUAWEI> display nai-realm-profile all
------------------------------------------------------------
Profile name Reference
------------------------------------------------------------
nai-realm-profile1 1
------------------------------------------------------------
Total: 1

Table 17-7 Description of the display nai-realm-profile all command output

Item Description

Profile name Name of a NAI realm profile.

Reference Number of times a NAI realm profile is


referenced.

# Display the configuration of the NAI realm profile nai-realm-profile1.


<HUAWEI> display nai-realm-profile name nai-realm-profile1
--------------------------------------------------------------------------------
Index Method ID/Parameter Realm-name
--------------------------------------------------------------------------------
0 All -/- attwireless.com
--------------------------------------------------------------------------------

Table 17-8 Description of the display nai-realm-profile name profile-name


command output

Item Description

Index Index of a NAI realm member.

Method Extensible Authentication Protocol


(EAP) authentication method of a NAI
realm.
To configure this parameter, run the
nai-realm command.

ID/Parameter EAP authentication ID and parameters


of a NAI realm.
To configure this parameter, run the
nai-realm command.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1739


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Item Description

Realm-name Name of a NAI realm.


To configure this parameter, run the
nai-realm command.

17.10 display operating-class-profile


Function
The display operating-class-profile command displays the configuration of an
operating class profile.

Format
display operating-class-profile { all | name profile-name }

Parameters
Parameter Description Value

all Displays the configuration of all -


operating class profiles.

name profile- Displays the configuration of a specified The operating class


name operating class profile. profile must exist.

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
You can run the command to view the configuration of operating class profiles.

Example
# Display the configuration of all operating class profiles.
<HUAWEI> display operating-class-profile all
-------------------------------------------------------------------------------
Profile name Reference
-------------------------------------------------------------------------------
operating-class-profile1 1
-------------------------------------------------------------------------------
Total: 1

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1740


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Table 17-9 Description of the display operating-class-profile all command


output

Item Description

Profile name Name of an operating class profile.

Reference Number of times an operating class


profile is referenced.

# Display the configuration of the operating class profile operating-class-


profile1.
<HUAWEI> display operating-class-profile name operating-class-profile1
-------------------------------------------------------------------------------
Operating class indication:
95
-------------------------------------------------------------------------------
Total: 1

Table 17-10 Description of the display operating-class-profile name profile-


name command output
Item Description

Operating class indication Operating class indication configured


in the profile.
To configure this parameter, run the
operating-class-indication command.

17.11 display operator-domain-profile


Function
The display operator-domain-profile command displays the configuration of an
operator domain profile.

Format
display operator-domain-profile { all | name profile-name }

Parameters
Parameter Description Value

all Displays the configuration of all operator -


domain profiles.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1741


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameter Description Value

name profile- Displays the configuration of a specified The operator


name operator domain profile. domain profile must
exist.

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
You can run the command to view the configuration of operator domain profiles.

Example
# Display the configuration of all operator domain profiles.
<HUAWEI> display operator-domain-profile all
------------------------------------------------------------
Profile name Reference
------------------------------------------------------------
operator-domain-profile1 1
------------------------------------------------------------
Total: 1

Table 17-11 Description of the display operator-domain-profile all command


output

Item Description

Profile name Name of an operator domain profile

Reference Number of times an operator domain


profile is referenced.

# Display the configuration of the operator domain profile operator-domain-


profile1.
<HUAWEI> display operator-domain-profile name operator-domain-profile1
------------------------------------------------------------
Index Domain name
------------------------------------------------------------
0 attwireless.com
------------------------------------------------------------

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1742


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Table 17-12 Description of the display operator-domain-profile name profile-


name command output
Item Description

Index Index of an operator domain

Domain name Name of an operator domain.


To configure this parameter, run the
domain-name command.

17.12 display operator-name-profile


Function
The display operator-name-profile command displays information about an
operator name profile.

Format
display operator-name-profile { all | name profile-name }

Parameters
Parameter Description Value
all Displays information about all -
operator name profiles.

name profile-name Displays information about a The operator name


specified operator name profile. profile must exist.

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
You can run the display operator-name-profile command to view information
about an operator name profile.

Example
# Display information about all operator name profiles.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1743


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

<HUAWEI> display operator-name-profile all


--------------------------------------------------------------------------------
Profile name Reference
--------------------------------------------------------------------------------
operator-name-profile1 1
--------------------------------------------------------------------------------
Total: 1

Table 17-13 Description of the display operator-name-profile all command


output

Item Description

Profile name Name of an operator name profile.

Reference Number of times an operator name


profile is referenced.

# Display information about the operator name profile operator-name-profile1.


<HUAWEI> display operator-name-profile name operator-name-profile1
--------------------------------------------------------------------------------
Index Language-code Name
--------------------------------------------------------------------------------
0 en att
--------------------------------------------------------------------------------

Table 17-14 Description of the display operator-name-profile name profile-


name command output
Item Description

Index Index of a friendly operator name.

Language-code Language type.


To configure this parameter, run the
operator-friendly-name command.

Name Friendly operator name.


To configure this parameter, run the
operator-friendly-name command.

17.13 display references cellular-network-profile


Function
The display references cellular-network-profile command displays reference
information about a cellular network profile.

Format
display references cellular-network-profile name profile-name

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1744


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameters
Parameter Description Value
name profile-name Displays reference information The cellular network
about a specified cellular network profile must exist.
profile.

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
You can run the display references cellular-network-profile command to view
reference information about a cellular network profile.

Example
# Display reference information about the cellular network profile cellular-
network-profile1.
<HUAWEI> display references cellular-network-profile name cellular-network-profile1
-------------------------------------------------------------------------------
Reference type Reference name
-------------------------------------------------------------------------------
hotspot2-profile hotspot
-------------------------------------------------------------------------------
Total: 1

Table 17-15 Description of the display references cellular-network-profile


command output

Item Description

Reference type Type of the profile to which the


cellular network profile is bound.

Reference name Name of the profile to which the


cellular network profile is bound.

17.14 display references connection-capability-profile


Function
The display references connection-capability-profile command displays
reference information about a connection capability profile.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1745


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Format
display references connection-capability-profile name profile-name

Parameters

Parameter Description Value


name profile-name Displays reference information The connection capability
about a specified connection profile must exist.
capability profile.

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
You can run the display references connection-capability-profile command to
view reference information about a connection capability profile.

Example
# Display reference information about the connection capability profile
connection-capability-profile1.
<HUAWEI> display references connection-capability-profile name connection-capability-profile1
-------------------------------------------------------------------------------
Reference type Reference name
-------------------------------------------------------------------------------
hotspot2-profile hotspot
-------------------------------------------------------------------------------
Total: 1

Table 17-16 Description of the display references connection-capability-profile


command output

Item Description

Reference type Type of the profile to which the


connection capability profile is bound.

Reference name Name of the profile to which the


connection capability profile is bound.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1746


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

17.15 display references hotspot2-profile


Function
The display references hotspot2-profile command displays reference information
about a Hotspot2.0 profile.

Format
display references hotspot2-profile name profile-name

Parameters
Parameter Description Value

name profile- Specifies the name of a Hotspot2.0 The Hotspot2.0


name profile. profile must exist.

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
Usage Scenario
When configuring Hotspot2.0 services, you can run this command to view
reference information about a Hotspot2.0 profile.

Example
# Display reference information about the Hotspot2.0 profile hotspot.
<HUAWEI> display references hotspot2-profile name hotspot
-------------------------------------------------------------------
Reference type Reference name
-------------------------------------------------------------------
VAP profile vap-profile1
-------------------------------------------------------------------
Total:1

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1747


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Table 17-17 Description of the display references hotspot2-profile name profile-


name command output
Item Description

Reference type Type of the profile to which the


Hotspot2.0 profile is bound.
● VAP profile. To configure it, run the
hotspot2-profile (VAP profile
view) command.

Reference name Name of the profile to which the


Hotspot2.0 profile is bound.
To configure it, run the hotspot2-
profile (VAP profile view) command.

17.16 display references nai-realm-profile


Function
The display references nai-realm-profile command displays reference
information about a NAI realm profile.

Format
display references nai-realm-profile name profile-name

Parameters
Parameter Description Value

name profile- Displays reference information about a The NAI realm


name specified NAI realm profile. profile must exist.

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
You can run the command to view reference information about a NAI realm
profile.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1748


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Example
# Display reference information about the NAI realm profile nai-realm-profile1.
<HUAWEI> display references nai-realm-profile name nai-realm-profile1
-------------------------------------------------------------------------------
Reference type Reference name
-------------------------------------------------------------------------------
hotspot2-profile hotspot
-------------------------------------------------------------------------------
Total: 1

Table 17-18 Description of the display references nai-realm-profile command


output

Item Description

Reference type Type of the profile to which the NAI


realm profile is bound.

Reference name Name of the profile to which the NAI


realm profile is bound.

17.17 display references operating-class-profile


Function
The display references operating-class-profile command displays reference
information about an operating class profile.

Format
display references operating-class-profile name profile-name

Parameters
Parameter Description Value

name profile- # Display reference information about a The operating class


name specified operating class profile. profile must exist.

Views
All views

Default Level
1: Monitoring level

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1749


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Usage Guidelines
You can run the command to view reference information about an operating class
profile.

Example
# Display reference information about the operating class profile operating-class-
profile1.
<HUAWEI> display references operating-class-profile name operating-class-profile1
-------------------------------------------------------------------------------
Reference type Reference name
-------------------------------------------------------------------------------
hotspot2-profile hotspot
-------------------------------------------------------------------------------
Total: 1

Table 17-19 Description of the display references operating-class-profile


command output

Item Description

Reference type Type of the profile to which the


operating class profile is bound.

Reference name Name of the profile to which the


operating class profile is bound.

17.18 display references operator-domain-profile


Function
The display references operator-domain-profile command displays reference
information about an operator domain profile.

Format
display references operator-domain-profile name profile-name

Parameters
Parameter Description Value

name profile- Displays reference information about a The operator


name specified operator domain profile. domain profile must
exist.

Views
All views

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1750


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Default Level
1: Monitoring level

Usage Guidelines
You can run the command to view reference information about an operator
domain profile.

Example
# Display reference information about the operator domain profile operator-
domain-profile1.
<HUAWEI> display references operator-domain-profile name operator-domain-profile1
-------------------------------------------------------------------------------
Reference type Reference name
-------------------------------------------------------------------------------
hotspot2-profile hotspot
-------------------------------------------------------------------------------
Total: 1

Table 17-20 Description of the display references operator-domain-profile


command output

Item Description

Reference type Type of the profile to which the


operator domain profile is bound.

Reference name Name of the profile to which the


operator domain profile is bound.

17.19 display references operator-name-profile


Function
The display references operator-name-profile command displays reference
information about an operator name profile.

Format
display references operator-name-profile name profile-name

Parameters
Parameter Description Value
name profile-name Displays reference information The operator name
about a specified operator name profile must exist.
profile.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1751


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
You can run the display references operator-name-profile command to view
reference information about an operator name profile.

Example
# Display reference information about the operator name profile operator-name-
profile1.
<HUAWEI> display references operator-name-profile name operator-name-profile1
-------------------------------------------------------------------
Reference type Reference name
-------------------------------------------------------------------
hotspot2-profile hotspot
-------------------------------------------------------------------
Total:1

Table 17-21 Description of the display references operator-name-profile


command output
Item Description

Reference type Type of the profile to which the


operator name profile is bound.

Reference name Name of the profile to which the


operator name profile is bound.

17.20 display references roaming-consortium-profile


Function
The display references roaming-consortium-profile command displays reference
information about a roaming consortium profile.

Format
display references roaming-consortium-profile name profile-name

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1752


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameters
Parameter Description Value

name profile- Specifies the name of a roaming The roaming


name consortium profile. consortium profile
must exist.

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
Usage Scenario
When configuring Hotspot2.0 services, you can run this command to view
reference information about a roaming consortium profile.

Example
# Display reference information about the roaming consortium profile roaming-
consortium-profile1.
<HUAWEI> display references roaming-consortium-profile name roaming-consortium-profile1
-------------------------------------------------------------------
Reference type Reference name
-------------------------------------------------------------------
hotspot2-profile hotspot
-------------------------------------------------------------------
Total:1

Table 17-22 Description of the display references roaming-consortium-profile


name profile-name command output
Item Description

Reference type Type of the profile to which the


roaming consortium profile is bound.
● hotspot2-profile: Hotspot2.0 profile.
To configure it, run the roaming-
consortium-profile (Hotspot2.0
profile view) command.

Reference name Name of the profile to which the


roaming consortium profile is bound.
To configure it, run the roaming-
consortium-profile (Hotspot2.0
profile view) command.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1753


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

17.21 display references venue-name-profile


Function
The display references venue-name-profile command displays reference
information about a venue name profile.

Format
display references venue-name-profile name profile-name

Parameters
Parameter Description Value

name profile- Specifies the name of a venue name The venue name
name profile. profile must exist.

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
Usage Scenario
When configuring Hotspot2.0 services, you can run this command to view
reference information about a venue name profile.

Example
# Display reference information about the venue name profile venue-name-
profile1.
<HUAWEI> display references venue-name-profile name venue-name-profile1
-------------------------------------------------------------------
Reference type Reference name
-------------------------------------------------------------------
hotspot2-profile hotspot
-------------------------------------------------------------------
Total:1

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1754


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Table 17-23 Description of the display references venue-name-profile name


profile-name command output
Item Description

Reference type Type of the profile to which the venue


name profile is bound.
● hotspot2-profile: Hotspot2.0 profile.
To configure it, run the venue-
name-profile (Hotspot2.0 profile
view) command.

Reference name Name of the profile to which the


venue name profile is bound.
To configure it, run the venue-name-
profile (Hotspot2.0 profile view)
command.

17.22 display roaming-consortium-profile


Function
The display roaming-consortium-profile command displays the configuration of
a roaming consortium profile.

Format
display roaming-consortium-profile { name profile-name | all }

Parameters
Parameter Description Value

name profile- Specifies the name of a roaming The roaming


name consortium profile. consortium profile
must exist.

all Displays the configuration of all roaming -


consortium profiles.

Views
All views

Default Level
1: Monitoring level

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1755


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Usage Guidelines
Usage Scenario
When configuring Hotspot2.0 services, you can run this command to view the
configuration of a roaming consortium profile.

Example
# Display the configuration of all roaming consortium profiles on a device.
<HUAWEI> display roaming-consortium-profile all
--------------------------------------------------------------------------------
Profile name Reference
--------------------------------------------------------------------------------
roaming-consortium-profile1 1
--------------------------------------------------------------------------------
Total: 1

Table 17-24 Description of the display roaming-consortium-profile all


command output
Item Description

Profile name Name of a roaming consortium profile.

Reference Number of times a roaming


consortium profile is referenced.

# Display the configuration of the roaming consortium profile roaming-


consortium-profile1.
<HUAWEI> display roaming-consortium-profile name roaming-consortium-profile1
-------------------------------------------------------------------------------
Index Roaming consortium OI In beacon
-------------------------------------------------------------------------------
0 00-11-22 Y
-------------------------------------------------------------------------------
Total: 1

Table 17-25 Description of the display roaming-consortium-profile name


profile-name command output
Item Description

Index Index of a roaming consortium


member.

Roaming consortium OI OI of a roaming consortium member.


To configure this parameter, run the
roaming-consortium-oi command.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1756


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Item Description

In beacon Whether Beacon and Probe Response


frames sent from APs carry OIs of
roaming consortium members.
● Y: Yes
● N: No
To configure this parameter, run the
roaming-consortium-oi command.

17.23 display venue-name-profile


Function
The display venue-name-profile command displays the configuration of a venue
name profile.

Format
display venue-name-profile { name profile-name | all }

Parameters
Parameter Description Value

name profile- Specifies the name of a venue name The venue name
name profile. profile must exist.

all Displays the configuration of all venue -


name profiles.

Views
All views

Default Level
1: Monitoring level

Usage Guidelines
Usage Scenario

When configuring Hotspot2.0 services, you can run this command to view the
configuration of venue name profiles.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1757


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Example
# Display the configuration of all venue name profiles on a device.
<HUAWEI> display venue-name-profile all
--------------------------------------------------------------------------------
Profile name Reference
--------------------------------------------------------------------------------
venue-name-profile1 1
--------------------------------------------------------------------------------
Total: 1

Table 17-26 Description of the display venue-name-profile all command output

Item Description

Profile name Name of a venue name profile.

Reference Number of times a venue name profile


is referenced.

# Display the configuration of the venue name profile venue-name-profile1.


<HUAWEI> display venue-name-profile name venue-name-profile1
--------------------------------------------------------------------------------
Index Language code Name
--------------------------------------------------------------------------------
0 en CenterStation
--------------------------------------------------------------------------------

Table 17-27 Description of the display venue-name-profile name profile-name


command output

Item Description

Index Index of venue name information.

Language code Language type.


To configure this parameter, run the
venue-name command.

Name Venue name.


To configure this parameter, run the
venue-name command.

17.24 domain-name
Function
The domain-name command configures a domain name for a hotspot operator.

The undo domain-name command deletes the domain name of a hotspot


operator.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1758


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

By default, no domain name is configured for a hotspot operator.

Format
domain-name domain-name

undo domain-name domain-name

Parameters
Parameter Description Value

domain- Specifies the domain name of a hotspot The value is a string


name operator. of 1 to 63
characters in
compliance with
RFC1035. It does
not contain
question marks (?)
or spaces, and
cannot begin or end
with double
quotation marks ("
").

Views
Operator domain profile view

Default Level
2: Configuration level

Usage Guidelines
After a domain name is configured for a hotspot operator, terminals can query the
domain name through ANQP to select desired networks.

A maximum of 32 hotspot operator domain names can be configured using the


domain-name command.

Example
# Configure domain name attwireless.com for a hotspot operator.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] operator-domain-profile name operator-domain-profile1
[HUAWEI-wlan-op-domain-prof-operator-domain-profile1] domain-name attwireless.com

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1759


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

17.25 hessid
Function
The hessid command configures a Homogenous Extended Service Set Identifier
(HESSID) for a Hotspot2.0 network.

The undo hessid command deletes an HESSID.

By default, no HESSID is configured.

Format
hessid mac-address

undo hessid

Parameters
Parameter Description Value

mac-address Specifies an HESSID. The value is in H-H-


H format. An H is a
hexadecimal
number of 4 digits.

Views
Hotspot2.0 profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario

When multiple Hotspot2.0 networks are available, user terminals need to identify
service providers of the connected networks. An SSID is not as unique as an
HESSID, which can uniquely identify APs of the same service provider. Among the
APs, the BSSID of one AP is used as the HESSID. The HESSID is an optional
parameter in a Hotspot2.0 profile. Beacon and Probe Response frames sent from
Hotspot2.0-capable APs carry network parameter information, which helps user
terminals to determine whether network parameters need to be renewed.

Precautions

If the HESSID is configured repeatedly, only the latest HESSID takes effect.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1760


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Example
# Set the HESSID to 00e0-fc12-3456 in Hotspot2.0 profile hotspot.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] hessid 00e0-fc12-3456

17.26 hotspot2-profile
Function
The hotspot2-profile command creates a Hotspot2.0 profile or displays the view
of an existing Hotspot2.0 profile.

The undo hotspot2-profile command deletes a Hotspot2.0 profile.

By default, no Hotspot2.0 profile is available.

Format
hotspot2-profile name profile-name

undo hotspot2-profile { name profile-name | all }

Parameters
Parameter Description Value

name profile- Specifies the name of a Hotspot2.0 The value is a string


name profile. of 1 to 35 case-
insensitive
characters. It does
not contain
question marks (?)
or spaces, and
cannot start or end
with double
quotation marks ("
").

all Deletes all Hotspot2.0 profiles. -

Views
WLAN view

Default Level
2: Configuration level

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1761


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Usage Guidelines
Usage Scenario

To configure Hotspot2.0 services, create a Hotspot2.0 profile, configure network


parameters in the Hotspot2.0 profile view, and bind the Hotspot2.0 profile to a
VAP profile.

Follow-up Procedure

Configure the network type, roaming consortium list, and NAI realm list in the
Hotspot2.0 profile and bind the Hotspot2.0 profile to a VAP profile to make the
configuration take effect.

Precautions

The device supports a maximum of 32 Hotspot2.0 profiles.

● In a Hotspot2.0 profile, network parameters and Internet access status are


mandatory and can be configured using the network-type command.
● Ensure that at least one of the following ANQP parameters is configured in a
Hotspot2.0 profile.
– Roaming consortium list: Run the roaming-consortium-profile
(Hotspot2.0 profile view) command to bind a roaming consortium
profile to the Hotspot2.0 profile.
– NAI realm list: Run the nai-realm-profile (Hotspot2.0 profile view)
command to bind a NAI realm profile to the Hotspot2.0 profile.
– 3GPP cellular network: Run the cellular-network-profile (Hotspot2.0
profile view) command to bind a cellular network profile to the
Hotspot2.0 profile.
● The following ANQP parameters are recommended.
– Roaming consortium list: Run the roaming-consortium-profile
(Hotspot2.0 profile view) command to bind a roaming consortium
profile to the Hotspot2.0 profile.
– Domain name list: Run the operator-domain-profile (Hotspot2.0
profile view) command to bind an operator domain profile to the
Hotspot2.0 profile.

Example
# Create Hotspot2.0 profile hotspot.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot]

17.27 hotspot2-profile (VAP profile view)


Function
The hotspot2-profile command binds a Hotspot2.0 profile to a VAP profile.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1762


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

The undo hotspot2-profile command unbinds a Hotspot2.0 profile from a VAP


profile.

By default, no Hotspot2.0 profile is bound to a VAP profile.

Format
hotspot2-profile profile-name

undo hotspot2-profile

Parameters
Parameter Description Value

profile-name Specifies the name of a Hotspot2.0 The Hotspot2.0


profile. profile must exist.

Views
VAP profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario

You can configure network parameters through Hotspot2.0 profiles. After


Hotspot2.0 profiles are applied, user terminals can obtain network information
from APs and access the networks. After the configuration is complete, bind the
Hotspot2.0 profile to a VAP profile to make the configuration take effect.

Precautions

Hotspot2.0 services require WPA2–802.1X authentication (WPA2 enterprise


edition). Ensure that the security policy is set to WPA2–802.1X in the security
profile bound to the VAP profile.

When a VAP profile has been bound to a radio, services will be interrupted when a
Hotspot2.0 profile is bound to or unbound from the VAP profile, or parameters in
the bound Hotspot2.0 profile are modified. Exercise caution when performing this
operation.

Example
# Bind Hotspot2.0 profile hotspot to VAP profile vap-profile1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] vap-profile name vap-profile1
[HUAWEI-wlan-vap-prof-vap-profile1] hotspot2-profile hotspot

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1763


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

17.28 ipv4-address-avail
Function
The ipv4-address-avail command configures available types of IPv4 addresses on
a Hotspot2.0 network.

The undo ipv4-address-avail command deletes available types of IPv4 addresses


on a Hotspot2.0 network.

By default, no available type of IPv4 addresses is configured.

Format
ipv4-address-avail { not-available | available | port-restricted [ single-nat |
double-nat ] | private { single-nat | double-nat } | unknown }

undo ipv4-address-avail

Parameters
Parameter Description Value

not-available Indicates that IPv4 addresses are not -


available.

available Indicates that IPv4 addresses are -


available.

port- Indicates port restricted IPv4 addresses -


restricted are available.
[ single-nat | ● single-nat: Single-NATed and port-
double-nat ] restricted IPv4 addresses are available.
● single-nat: Double-NATed and port-
restricted IPv4 addresses are available.

private Indicates that private IPv4 addresses are -


{ single-nat | available.
double-nat } ● single-nat: Single-NATed private IPv4
addresses are available.
● double-nat: Double-NATed private
IPv4 addresses are available.

unknown Indicates that availability of the IPv4 -


address type is not known.

Views
Hotspot2.0 profile view

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1764


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
When user terminals connect to a Hotspot2.0 network, Hotspot2.0 can transfer
available IPv4 address types as ANQP parameters to the user terminals through
APs. In this way, the user terminals can know the IP address types they can obtain
after connecting to the network.

Example
# Set IPv4 addresses to available in hotspot2.0 profile hotspot.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] ipv4-address-avail available

17.29 nai-realm-profile
Function
The nai-realm-profile command creates a NAI realm profile or displays the view
of an existing NAI realm profile.
The undo nai-realm-profile command deletes a NAI realm profile.
By default, no NAI realm profile is available in the system.

Format
nai-realm-profile name profile-name
undo nai-realm-profile { name profile-name | all }

Parameters
Parameter Description Value

name profile- Specifies the name of a NAI realm The value is a string
name profile. of 1 to 35 case-
insensitive
characters. It does
not contain
question marks (?)
or spaces, and
cannot start or end
with double
quotation marks ("
").

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1765


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameter Description Value

all Deletes all NAI realm profiles. -

Views
WLAN view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario

A NAI realm profile is used to configure the network access identifier (NAI) realm
name, authentication mode, and authentication parameters for networks
accessible to users.

Precautions

The device supports a maximum of 32 NAI realm profiles.

Example
# Create NAI realm profile nai-realm-profile1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] nai-realm-profile name nai-realm-profile1
[HUAWEI-wlan-nai-realm-prof-nai-realm-profile1]

17.30 nai-realm-profile (Hotspot2.0 profile view)


Function
The nai-realm-profile command binds a NAI realm profile to a Hotspot2.0 profile.

The undo nai-realm-profile command unbinds a NAI realm profile from a


Hotspot2.0 profile.

By default, no NAI realm profile is bound to a Hotspot2.0 profile.

Format
nai-realm-profile profile-name

undo nai-realm-profile

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1766


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameters
Parameter Description Value

profile-name Specifies the name of a NAI realm The NAI realm


profile. profile must exist.

Views
Hotspot2.0 profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
You can configure Hotspot2.0 services on a non-cellular network. When
connecting to the non-cellular network, user terminals can obtain service provider
information of the network, including the NAI realm name and authentication
mode. This facilitates terminal access. You can run the nai-realm-profile
command to create a NAI realm profile and the nai-realm command in the NAI
realm profile view to configure NAI realms, and then bind the NAI realm profile to
a Hotspot2.0 profile to make the configuration take effect.

Example
# Bind NAI realm profile nai-realm-profile1 to Hotspot2.0 profile hotspot.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] nai-realm-profile nai-realm-profile1

17.31 nai-realm
Function
The nai-realm command configures a network access identifier (NAI) realm.
The undo nai-realm command deletes a NAI realm.
By default, no NAI realm is configured.

Format
nai-realm realm-name realm-name [ eap-method-type eap-method-type [ eap-
authen-id eap-authen-id eap-authen-para eap-authen-para ] ]
undo nai-realm realm-name realm-name [ eap-method-type eap-method-type
[ eap-authen-id eap-authen-id ] ]

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1767


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameters
Parameter Description Value

realm-name Specifies a NAI realm name. The value is a string


realm-name of 1 to 63
characters. It does
not contain
question marks (?)
or spaces, and
cannot begin or end
with double
quotation marks ("
").

eap-method- Specifies an EAP authentication mode for Enumerated value:


type eap- a NAI realm. ● eap-aka: EAP-
method-type AKA
authentication
● eap-sim: GSM
Subscriber
Identity Modules
● eap-tls: EAP-TLS
● eap-ttls: EAP-
TTLS

eap-authen- Specifies an EAP authentication ID for a The value is an


id eap- NAI realm. integer that ranges
authen-id from 0 to 255.

eap-authen- Specifies the EAP authentication The value is an


para eap- parameter of a NAI realm. integer that ranges
authen-para from 0 to 255.

Views
NAI realm profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
After you configure a NAI realm, terminals can access the configured operator
network.
A maximum of 32 NAI realms can be configured using the nai-realm command.
Precautions

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1768


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

● If you configure the same name for NAI realms, the NAI realm with fuzzy
command configuration will overwrite the NAI realm with exact command
configuration.
For example, the nai-realm realm-name attwireless.com command
configuration will overwrite the nai-realm realm-name attwireless.com
eap-method-type eap-aka command configuration, and the nai-realm
realm-name attwireless.com eap-method-type eap-aka command
configuration will overwrite the nai-realm realm-name attwireless.com
eap-method-type eap-aka eap-authen-id 1 eap-authen-para 1 command
configuration.
● NAI realms are deleted according to the longest matching rule.
For example, the NAI realm configured using the nai-realm realm-name
attwireless.com command cannot be deleted using the undo nai-realm
realm-name attwireless.com eap-method-type eap-aka command.

Example
# Configure NAI realm attwireless.com.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] nai-realm-profile name nai-realm-profile1
[HUAWEI-wlan-nai-realm-prof-nai-realm-profile1] nai-realm realm-name attwireless.com

17.32 network-authen-type
Function
The network-authen-type command sets a network authentication type for a
Hotspot2.0 profile.

The undo network-authen-type command deletes a network authentication


type.

By default, no network authentication type is configured.

Format
network-authen-type { acceptance [ redirect-url url ] | dns-redirection | http-
https-redirection redirect-url url | online-enroll }

undo network-authen-type

Parameters
Parameter Description Value

acceptance Indicates acceptance of terms and -


conditions.

redirect-url Specifies the redirected URL address. -


url

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1769


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameter Description Value

dns- Indicates DNS redirection. -


redirection

http-https- Indicates HTTP and HTTPS redirection. -


redirection

online-enroll Indicates online enrollment. -

Views
Hotspot2.0 profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
Beacon and Probe Response frames sent from Hotspot2.0-capable APs carry
network parameter information, which helps user terminals to discover and select
proper networks. If the network operator requests user terminals to execute
specified actions, for example, opening a web page for Portal authentication, the
Additional Steps Required for Access (ASRA) field must be set to 1, indicating that
user terminals must implement extra authentication when connecting to a
network. You can run the network-authen-type command to specify a network
authentication type.

Example
# Set the network authentication type to online enrollment in Hotspot2.0 profile
hotspot.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] network-authen-type online-enroll

17.33 network-type
Function
The network-type command sets a network type and Internet access status in a
Hotspot2.0 profile.
The undo network-type command restores the default network type and Internet
access status.
By default, the network type is set to wildcard, and Internet access is not
supported.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1770


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Format
network-type { emergency-service | personal-device | private | private-guest |
public-chargeable | public-free | test | wildcard } [ internet-access ]
undo network-type

Parameters
Parameter Description Value

emergency- Indicates an emergency service network. -


service

personal- Indicates a personal device network. -


device

private Indicates a private network. -

private- Indicates a private network with guest -


guest access.

public- Indicates a chargeable public network. -


chargeable

public-free Indicates a free public network. -

test Indicates a test network. -

wildcard Indicates a wildcard network. -

internet- Indicates that Internet access is -


access supported.

Views
Hotspot2.0 profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
When multiple Hotspot2.0 networks are available, user terminals need to obtain
information of each network to select the network to access. The network type
and Internet access status are mandatory in a Hotspot2.0 profile. Beacon and
Probe Response frames sent from Hotspot2.0-capable APs carry network
parameter information, which helps user terminals to discover and select proper
networks.
Precautions
If the command is executed repeatedly, only the latest configuration takes effect.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1771


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Example
# Set the network type to free public network and configure the network to
provide Internet access in Hotspot2.0 profile hotspot.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] network-type public-free internet-access

17.34 operating-class-indication
Function
The operating-class-indication command configures an operating class
indication.

The undo operating-class-indication command deletes an operating class


indication.

By default, no operating class indication is configured in the system.

Format
operating-class-indication operating-class-value

undo operating-class-indication operating-class-value

Parameters
Parameter Description Value

operating- Indicates the operating class indication. The value is an


class-value integer that ranges
from 1 to 255.

Views
Operating class profile view

Default Level
2: Configuration level

Usage Guidelines
After an operating class indication is configured, users can obtain the indication
through ANQP for network selection.

You can configure a maximum of 32 operating class indications using this


command.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1772


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Example
# Set the operating class indication to 95.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] operating-class-profile name operating-class-profile1
[HUAWEI-wlan-op-class-prof-operating-class-profile1] operating-class-indication 95

17.35 operating-class-profile
Function
The operating-class-profile command creates an operating class profile or
displays the view of an existing operating class profile.

The undo operating-class-profile command deletes an operating class profile.

By default, no operating class profile is configured in the system.

Format
operating-class-profile name profile-name

undo operating-class-profile { name profile-name | all }

Parameters
Parameter Description Value

name profile- Indicates the name of the operating class The value is a string
name profile. of 1 to 35 case-
insensitive
characters. It does
not contain
question marks (?)
or spaces, and
cannot start or end
with double
quotation marks ("
").

all Indicates to delete all operating class -


profiles.

Views
WLAN view

Default Level
2: Configuration level

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1773


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Usage Guidelines
Usage Scenario

The operating class profile is used to configure the operating class indication of AP
in on the hotspot2.0 network. When a STA accesses the network, it can obtain
channel information used to access a Wi-Fi frequency from AP so that the STA can
set up a connection.

Precautions

The device supports a maximum of 32 operating class profiles.

Example
# Create an operating class profile named operating-class-profile1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] operating-class-profile name operating-class-profile1
[HUAWEI-wlan-op-class-prof-operating-class-profile1]

17.36 operating-class-profile (Hotspot2.0 profile view)


Function
The operating-class-profile command binds the specified operating class profile
to a Hotspot2.0 profile view.

The undo operating-class-profile command unbinds the specified operating class


profile from a Hotspot2.0 profile view.

By default, no operating class profile is bound to a Hotspot2.0 profile view.

Format
operating-class-profile profile-name

undo operating-class-profile

Parameters
Parameter Description Value

profile-name Indicates the name of the operating class The value must be
profile. the name of an
existing operating
class profile.

Views
Hotspot2.0 profile view

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1774


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
When a STA accesses a Hotspot2.0 network, it can obtain channel information
used to access a Wi-Fi frequency from the AP so that the STA can set up a
connection. Before binding an operating class profile to a Hotspot2.0 profile, you
need to run the operating-class-profile command to create an operating class
profile and run the operating-class-indication command in the profile view to
configure an operating class indication.

Example
# Bind the operating class profile operating-class-profile1 to the hotspot profile.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] operating-class-profile operating-class-profile1

17.37 operator-domain-profile
Function
The operator-domain-profile command creates a network domain name profile
or displays the view of an existing network domain name profile.
The undo operator-domain-profile command deletes a network domain name
profile.
By default, no network domain name profile is available in the system.

Format
operator-domain-profile name profile-name
undo operator-domain-profile { name profile-name | all }

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1775


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameters
Parameter Description Value

name profile- Indicates the network domain name The value is a string
name profile. of 1 to 35 case-
insensitive
characters. It does
not contain
question marks (?)
or spaces, and
cannot start or end
with double
quotation marks ("
").

all Indicates to delete all network domain -


name profiles.

Views
WLAN view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
A network domain name profile is used to configure the operator domain profile.
STAs can obtain the domain name information through ANQP, which is used as a
basis for network selection.
Precautions
The device supports a maximum of 32 operator domain profiles.

Example
# Create a network domain name profile named operator-domain-profile1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] operator-domain-profile name operator-domain-profile1
[HUAWEI-wlan-op-domain-prof-operator-domain-profile1]

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1776


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

17.38 operator-domain-profile (Hotspot2.0 profile


view)
Function
The operator-domain-profile command binds the specified operator domain
profile to a Hotspot2.0 profile view.
The undo operator-domain-profile command unbinds the specified operator
domain profile from a Hotspot2.0 profile view.
By default, no operator domain profile is bound to a Hotspot2.0 profile.

Format
operator-domain-profile profile-name
undo operator-domain-profile

Parameters
Parameter Description Value

profile-name Indicates the name of the operator The value must be


domain profile. the name of an
existing operator
domain profile.

Views
Hotspot2.0 profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
When a STA accesses the Hotspot2.0 network, it can obtain the network operator
domain name information from the AP so that the STA can select a network.
Before binding an operator domain profile to a Hotspot2.0 profile, run the
operator-domain-profile command to create an operator domain profile and run
the domain-name command in the profile view to configure the operator name.

Example
# Bind the operator domain profile operator-domain-profile1 to the hotspot
profile.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1777


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] operator-domain-profile operator-domain-profile1

17.39 operator-friendly-name
Function
The operator-friendly-name command configures the operator friendly name.
The undo operator-friendly-name command deletes the operator friendly name.
By default, no operator friendly name is configured in an operator name profile
view.

Format
operator-friendly-name language-code language-code name name
undo operator-friendly-name language-code language-code name name

Parameters
Parameter Description Value

language- Indicates the language. The value is a string


code of 2 to 3 characters.
language- For the value of
code each language, see
the definition in
ISO639-2 Codes for
the Representation
of Names of
Languages. For
example, the value
is chi, zho, or zh for
Chinese, and eng
for English.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1778


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameter Description Value

name name Indicates the operator friendly name. The value is a string
of 1 to 64 case-
sensitive characters.
● English venue
name: The value
is a string of
visible characters
without question
marks (?) and
spaces. It cannot
begin or end
with double
quotation marks
(" ").
● Non-English
venue name: It
cannot contain
half-width
question marks
(?).
To enter a non-
English venue name,
ensure that the
remote login
terminal supports
the UTF-8 encoding
format; otherwise,
the name cannot be
displayed.

Views
Operator name profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
When a STA accesses the Hotspot2.0 network, it can obtain the operator name
from the AP. This command configures the language environment names so that
users can select a proper language.
If you need to enter a non-English name, you must use a tool to convert it into
hexadecimal UTF-8 code.
Precautions

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1779


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

If you run the operator-friendly-name multiple times, multiple operator friendly


names are configured. A maximum of 32 names can be configured.

Example
# Set the operator friendly name to operator-name-profile1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] operator-name-profile name operator-name-profile1
[HUAWEI-wlan-op-name-prof-operator-name-profile1] operator-friendly-name language-code eng
name att

17.40 operator-name-profile
Function
The operator-name-profile command creates an operator name profile or
displays the view of an existing operator name profile.

The undo operator-name-profile command deletes the operator name profile.

By default, no operator name profile is available in the system.

Format
operator-name-profile name profile-name

undo operator-name-profile { name profile-name | all }

Parameters
Parameter Description Value

name profile- Indicates the name of the operator name The value is a string
name profile. of 1 to 35 case-
insensitive
characters. It does
not contain
question marks (?)
or spaces, and
cannot start or end
with double
quotation marks ("
").

all Indicates to delete all operator name -


profiles.

Views
WLAN view

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1780


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
You can specify different friendly names for different languages so that users can
select networks.
Follow-up Procedure
Run the operator-name-profile (Hotspot2.0 profile view) command to apply
the created operator name profile to a Hotspot2.0 profile.
Precautions
The device supports a maximum of 32 operator name profiles.

Example
# Create an operator name profile named operator-name-profile1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] operator-name-profile name operator-name-profile1
[HUAWEI-wlan-op-name-prof-operator-name-profile1]

17.41 operator-name-profile (Hotspot2.0 profile view)


Function
The operator-name-profile command binds the specified operator name profile
to a Hotspot2.0 profile view.
The undo operator-name-profile command unbinds the specified operator name
profile from a Hotspot2.0 profile view.
By default, no operator name profile is bound to a Hotspot2.0 profile.

Format
operator-name-profile profile-name
undo operator-name-profile

Parameters
Parameter Description Value

profile-name Indicates the name of the operator name The value must be
profile. the name of an
existing operator
name profile.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1781


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Views
Hotspot2.0 profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario

When a STA accesses the Hotspot2.0 network, it can obtain the operator name
from the AP. Before binding an operator name profile to a Hotspot2.0 profile, run
the operator-name-profile command to create an operator name profile and run
the operating-class-indication command in the profile view to configure the
operator name.

Example
# Bind the operator name profile operator-name-profile1 to the hotspot profile.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] operator-name-profile operator-name-profile1

17.42 p2p-cross-connect disable


Function
The p2p-cross-connect disable command configures P2P management
information to prevent cross connections of P2P devices.

The undo p2p-cross-connect disable command deletes P2P management


information.

By default, P2P management information is not configured.

Format
p2p-cross-connect disable

undo p2p-cross-connect disable

Parameters
None.

Views
Hotspot2.0 profile view

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1782


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
Hotspot2.0 provides security measures for STAs. It prevents direct access between
STAs to reduce the STA attack possibility. The P2P protocol allows direct
communication between STAs; therefore, a Hotspot2.0-supported AP can add P2P
management information into Beacon. In the management information, STAs are
not allowed to set up P2P connections with each other.
Precautions
The p2p-cross-connect disable command is not recommended. An AP does not
support the P2P protocol or process P2P packets; therefore, it is unnecessary to
remove P2P management information from packets.

Example
# Configure P2P management information in the hotspot profile.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] p2p-cross-connect disable

17.43 plmn-id
Function
The plmn-id command configures the Public Land Mobile Network (PLMN)
identifier.
The undo plmn-id command deletes the PLMN identifier.
By default, no PLMN identifier is configured in the cellular network profile.

Format
plmn-id plmn-id
undo plmn-id plmn-id

Parameters
Parameter Description Value

plmn-id Indicates the PLMN identifier. The value is an


integer that ranges
from 10000 to
999999.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1783


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Views
Cellular network profile view

Default Level
2: Configuration level

Usage Guidelines
After the plmn-id command is executed, the AP notifies STAs of the operator
information on the Hotspot2.0 network. The STAs can obtain the PLMN identifier
to determine whether to select the cellular network according to the Hotspot2.0
network.

If you run the plmn-id multiple times, multiple PLMN identifiers are configured. A
maximum of 32 PLMN identifiers can be configured.

Example
# Set the PLMN identifier to 10001.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] cellular-network-profile name cellular-network-profile1
[HUAWEI-wlan-cellular-network-prof-cellular-network-profile1] plmn-id 10001

17.44 roaming-consortium-oi
Function
The roaming-consortium-oi command configures the roaming consortium
identifier of the Hotspot2.0 network.

The undo roaming-consortium-oi command deletes the roaming consortium


identifier of the Hotspot2.0 network.

By default, no roaming consortium identifier is configured for the Hotspot2.0


network.

Format
roaming-consortium-oi oi-value [ in-beacon ]

undo roaming-consortium-oi oi-value

Parameters
Parameter Description Value

oi-value Indicates the roaming The format is HH-HH-HH or


consortium identifier, which HH-HH-HH-HH-HH, in which H
is used to identify operators. is in the hexadecimal format.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1784


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameter Description Value

in-beacon Indicates that the Beacon -


and probe-response frames
sent by the AP contain the
roaming consortium
identifier.

Views
Roaming consortium profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario

If STAs may roam between the Hotspot2.0 network and a network of another
operator, you can configure the OI of the operator that provides the roaming
service so that STAs can select networks.

Precautions

If you run this command multiple times, multiple OIs are configured. A maximum
of 32 OIs can be configured in a roaming consortium profile. To configure OIs in
the roaming consortium profile, the first OI must carry the in-beacon parameter.
A maximum of three OIs can be configured to carry the in-beacon parameter.

Example
# Add an OI 00-11-22 to the profile roaming-consortium-profile1 and add the
OI to the Beacon and probe-response frames sent by the AP.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] roaming-consortium-profile name roaming-consortium-profile1
[HUAWEI-wlan-ro-co-prof-roaming-consortium-profile1] roaming-consortium-oi 00-11-22 in-beacon

17.45 roaming-consortium-profile
Function
The roaming-consortium-profile command creates a roaming consortium profile
or displays the view of an existing roaming consortium profile.

The undo roaming-consortium-profile command deletes a roaming consortium


profile.

By default, no roaming consortium profile is created.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1785


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Format
roaming-consortium-profile name profile-name

undo roaming-consortium-profile { name profile-name | all }

Parameters
Parameter Description Value

name profile- Specifies the name of a roaming The value is a string


name consortium profile. of 1 to 35 case-
insensitive
characters. It does
not contain
question marks (?)
or spaces, and
cannot start or end
with double
quotation marks ("
").

all Deletes all roaming consortium profiles. -

Views
WLAN view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario

When configuring Hotspot2.0 services, configure network parameters according to


operator requirements. When connecting to networks, user terminals can obtain
the network parameters to select desired networks. If the user terminals need to
roam among Hotspot2.0 networks of different operators, configure a roaming
consortium profile and add the organization identifiers (OIs) of the operators to
the roaming consortium profile. In this way, after the user terminals connect to a
network of an operator in the profile, they can roam to networks of the other
operators while maintaining online.

Follow-up Procedure

Run the roaming-consortium-oi command to configure the roaming consortium


OI in the roaming consortium profile.

Precautions

The device supports a maximum of 32 roaming consortium profiles.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1786


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Example
# Create the roaming consortium profile roaming-consortium-profile1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] roaming-consortium-profile name roaming-consortium-profile1
[HUAWEI-wlan-ro-co-prof-roaming-consortium-profile1]

17.46 roaming-consortium-profile (Hotspot2.0 profile


view)
Function
The roaming-consortium-profile command binds a roaming consortium profile
to a Hotspot2.0 profile.
The undo roaming-consortium-profile command unbinds a roaming consortium
profile from a Hotspot2.0 profile.
By default, no roaming consortium profile is bound to a Hotspot2.0 profile.

Format
roaming-consortium-profile profile-name
undo roaming-consortium-profile

Parameters
Parameter Description Value

profile-name Specifies the name of a roaming The roaming


consortium profile. consortium profile
must exist.

Views
Hotspot2.0 profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
You can configure Hotspot2.0 services for networks. When user terminals connect
to the networks, they can obtain OIs of the operators used for STA roaming, which
helps them select desired networks. You can run the roaming-consortium-profile
command to create a roaming consortium profile and the roaming-consortium-oi

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1787


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

command in the roaming consortium profile view to configure operator OIs, and
then bind the roaming consortium profile to a Hotspot2.0 profile to make the
configuration take effect.

Example
# Bind roaming consortium profile roaming-consortium-profile1 to the Hotspot
2.0 profile hotspot.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] roaming-consortium-profile roaming-consortium-profile1

17.47 venue-name-profile
Function
The venue-name-profile command creates a venue name profile or displays the
view of an existing venue name profile.

The undo venue-name-profile command deletes a venue name profile.

By default, no venue name profile is created.

Format
venue-name-profile name profile-name

undo venue-name-profile { name profile-name | all }

Parameters
Parameter Description Value

name profile- Specifies the name of a venue name The value is a string
name profile. of 1 to 35 case-
insensitive
characters. It does
not contain
question marks (?)
or spaces, and
cannot start or end
with double
quotation marks ("
").

all Deletes all venue name profiles. -

Views
WLAN view

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1788


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
When configuring Hotspot2.0 services, configure network parameters according to
operator requirements. When connecting to networks, user terminals can obtain
the network parameters to select desired networks. The venue name describes
physical locations of a network and is an optional parameter.
Follow-up Procedure
Run the venue-name command in the venue name profile view to configure the
venue name. After creating a venue name profile, bind it to a Hotspot2.0 profile.
Precautions
The device supports a maximum of 32 venue name profiles.

Example
# Create the venue name profile venue-name-profile1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] venue-name-profile name venue-name-profile1
[HUAWEI-wlan-ve-na-prof-venue-name-profile1]

17.48 venue-name-profile (Hotspot2.0 profile view)


Function
The venue-name-profile command binds a venue name profile to a Hotspot2.0
profile.
The undo venue-name-profile command unbinds a venue name profile from a
Hotspot2.0 profile.
By default, no venue name profile is bound to a Hotspot2.0 profile.

Format
venue-name-profile profile-name
undo venue-name-profile

Parameters
Parameter Description Value

profile-name Specifies the name of a venue name The venue name


profile. profile must exist.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1789


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Views
Hotspot2.0 profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
You can configure Hotspot2.0 services for networks. When connecting to the
networks, user terminals can obtain location information of the networks from
APs, which helps them to select desired networks. You can run the venue-name-
profile command to create a venue name profile and the venue-name command
in the venue name profile view to configure venue names, and then bind the
venue name profile to a Hotspot2.0 profile to make the configuration take effect.

Example
# Bind venue name profile venue-name-profile1 to Hotspot2.0 profile hotspot.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] venue-name-profile venue-name-profile1

17.49 venue-name
Function
The venue-name command configures a venue name for a Hotspot 2.0 network.
The undo venue-name command deletes the configured venue name.
By default, no venue name is configured.

Format
venue-name language-code language-code name venue-name
undo venue-name language-code language-code name venue-name

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1790


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Parameters
Parameter Description Value

language- Specifies the language type. The value is a string of 2 to 3


code characters.
language- For the value of each language,
code see the definition in ISO639-2
Codes for the Representation of
Names of Languages. For
example, the value is chi, zho,
or zh for Chinese, and eng for
English.

name venue- Specifies the venue name. The value is a string of 1 to 64


name case-sensitive characters.
● English venue name: The
value is a string of visible
characters without question
marks (?) and spaces. It
cannot begin or end with
double quotation marks (" ").
● Non-English venue name: It
cannot contain half-width
question marks (?).
To enter a non-English venue
name, ensure that the remote
login terminal supports the
UTF-8 encoding format;
otherwise, the name cannot be
displayed.

Views
Venue name profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario

You can use the command to configure venue names for Hotspot 2.0 networks to
identify physical locations of the networks, which helps user terminals select
desired networks. You can set the venue names in multiple languages for user
groups of different languages.

Precautions

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1791


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

This command can be configured repeatedly. A maximum of 32 venue names can


be configured in a venue name profile.

Example
# Set the language to English and configure the venue name CenterStation in
venue name profile venue-name-profile1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] venue-name-profile name venue-name-profile1
[HUAWEI-wlan-ve-na-prof-venue-name-profile1] venue-name language-code eng name CenterStation

17.50 venue-type
Function
The venue-type command configures the venue type of a Hotspot2.0 network.

The undo venue-type command deletes the configured venue type.

By default, no venue type information is configured for a Hotspot2.0 network.

Format
venue-type group-code venue-group type-code type-code-value

undo venue-type

Parameters
Parameter Description Value

group-code Specifies the venue group type. The value is an


venue-group integer that ranges
from 0 to 255.
For meanings of
different venue
group values, see
7.3.1.34 Venue Info
field defined in IEEE
Std 802.11u-2011.

type-code Specifies the venue subtype. The value is an


type-code- integer that ranges
value from 0 to 255.
For meanings of
different venue
subtype values, see
7.3.1.34 Venue Info
field defined in IEEE
Std 802.11u-2011.

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1792


Fat AP and Cloud AP 17 Hotspot2.0 Configuration Commands (Common
Command Reference AP)

Views
Hotspot2.0 profile view

Default Level
2: Configuration level

Usage Guidelines
Usage Scenario
When multiple Hotspot2.0 networks are available, user terminals need to obtain
information of each network to select the network to access. The venue type
information is optional in a Hotspot2.0 profile. Beacon and Probe Response frames
sent from Hotspot2.0-capable APs carry network parameter information, which
helps user terminals to discover and select proper networks.
group-code and type-code determine the venue type and identify the network
location. As predefined in the 802.11u protocol:
● If group-code is set to 2 (Business) and type-code to 3, the venue type
indicates Fire Station.
● If group-code is set to 3 (Educational) and type-code to 3, the venue type
indicates University or College.
Precautions
If the command is executed repeatedly, only the latest configuration takes effect.

Example
# Set the venue type to University or College in Hotspot2.0 profile hotspot.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] hotspot2-profile name hotspot
[HUAWEI-wlan-hotspot2-prof-hotspot] venue-type group-code 3 type-code 3

Issue 08 (2021-11-15) Copyright © Huawei Technologies Co., Ltd. 1793

You might also like