- Table of Contents
-
- 02-WLAN Command Reference
- 00-Preface
- 01-WLAN Interface Commands
- 02-WLAN Access Commands
- 03-WLAN Security Commands
- 04-IACTP Tunnel and WLAN Roaming Commands
- 05-WLAN RRM Commands
- 06-WLAN IDS Commands
- 07-WLAN QoS Commands
- 08-WLAN Mesh Link Commands
- 09-Advanced WLAN Commands
- 10-WLAN High Availability Commands
- 11-WLAN IPS Commands
- 12-WLAN Optimization Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
01-WLAN Interface Commands | 60.28 KB |
WLAN interface configuration commands
default
Use default to restore the default settings for an interface.
Syntax
default
Views
WLAN-ESS interface view, WLAN-mesh interface view
Default command level
2: System level
Usage guidelines
This command might fail to restore the default settings for some commands because of command dependencies and system restrictions. You can use the display this command in interface view to check for these commands, and perform their undo forms or follow the command reference to individually restore their default settings. Follow the instructions in the error message to resolve the problem if the restoration attempt fails.
The default command might interrupt ongoing network services. Be fully aware of the impacts of this command when you perform it on a live network.
Examples
# Restore the default settings of WLAN-ESS interface 1.
<Sysname> system-view
[Sysname] interface wlan-ess 1
[Sysname-WLAN-ESS1] default
This command will restore the default settings. Continue? [Y/N]:y
description
Use description to set a description for the current interface.
Use undo description to restore the default.
Syntax
description text
undo description
Default
The description for an interface is interface-name + Interface.
Views
WLAN-ESS interface view, WLAN-mesh interface view.
Default command level
2: System level
Parameters
text: Sets a description for the current interface, a string of 1 to 80 characters. The device supports the following types of characters or symbols: standard English characters (numbers and case-sensitive letters), special English characters, spaces, and other characters or symbols that conform to the Unicode standard.
Usage guidelines
An interface description can be a mixture of English characters and other Unicode characters. The mixed description cannot exceed the specified length.
To use a type of Unicode characters or symbols in an interface description, you must install the corresponding IME and log in to the device through remote login software that supports this character type.
Each Unicode character or symbol (non-English characters) takes the space of two regular characters. When the length of a description string reaches or exceeds the maximum line width on the terminal software, the software starts a new line, possibly breaking a Unicode character into two parts. As a result, garbled characters may be displayed at the end of a line.
Examples
# Set the description for WLAN-ESS1 to To AP1.
<Sysname> system-view
[Sysname] interface wlan-ess 1
[Sysname-WLAN-ESS1] description To AP1
display interface wlan-dbss
Use display interface wlan-dbss to display information about a WLAN-DBSS interface.
Syntax
display interface [ wlan-dbss ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]
display interface wlan-dbss interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
interface-number: Specifies a WLAN-DBSS interface by its number. The value range for this argument varies by device model. For more information, see About the H3C Access Controllers Command Reference.
brief: Displays brief interface information. If you do not provide this keyword, the command displays detailed interface information.
down: Displays down interface information and the cause. If you do not provide this keyword, the command output is not filtered based on the down interface status.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If you do not specify the wlan-dbss keyword, the command displays information about all interfaces on the device.
If you specify the wlan-dbss keyword and do not provide the interface-number argument, the command displays information about all WLAN-DBSS interfaces.
Examples
# Display information about all WLAN-DBSS interfaces.
WLAN-DBSS0:0 current state: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-1123-0e11
Description: WLAN-DBSS0:0 Interface
PVID: 1
Port link-type: hybrid
Tagged VLAN ID : none
Untagged VLAN ID : 1
Port priority: 0
Last clearing of counters: Never
Maximum client number: 64
Clients: 0 associating, 0 associated
Input :
Total Frames Count : 0
Total Frames Bytes : 0
Ucast Frames Count : 0
Ucast Frames Bytes : 0
Bcast Frames Count : 0
Bcast Frames Bytes : 0
Output :
Total Frames Count : 0
Total Frames Bytes : 0
Ucast Frames Count : 0
Ucast Frames Bytes : 0
Bcast Frames Count : 0
Bcast Frames Bytes : 0
WLAN-DBSS0:1 current state: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-1123-0e11
Description: WLAN-DBSS0:1 Interface
PVID: 1
Port link-type: hybrid
Tagged VLAN ID : none
Untagged VLAN ID : 1
Port priority: 0
Last clearing of counters: Never
Maximum client number: 64
Clients: 0 associating, 0 associated
Input :
Total Frames Count : 1203
Total Frames Bytes : 240156
Ucast Frames Count : 302
Ucast Frames Bytes : 10710
Bcast Frames Count : 901
Bcast Frames Bytes : 229446
Output :
Total Frames Count : 907
Total Frames Bytes : 226552
Ucast Frames Count : 31
Ucast Frames Bytes : 9334
Bcast Frames Count : 876
Bcast Frames Bytes : 217218
Field |
Description |
WLAN-DBSS0:0 current state |
Physical link state of the interface. |
IP Packet Frame Type |
Output frame encapsulation type. |
Hardware Address |
MAC address of output frames. A WLAN-DBSS interface is dynamically created, so this field is meaningless. |
Description |
Description of the interface. |
PVID |
Default VLAN ID of the interface. |
Port link-type |
Port link type, which can be access or hybrid. |
Tagged VLAN ID |
VLANs whose packets are sent through the port with VLAN tag kept. |
Untagged VLAN ID |
VLANs whose packets are sent through the port with VLAN tag stripped off. |
Last clearing of counters: Never |
Time when the reset counters interface command was last used to clear statistics on the interface. Never indicates that the reset counters interface command was never used after the device was started. |
Maximum client number |
Maximum number of clients allowed to access the WLAN. |
Clients: 0 associating, 0 associated |
Number of clients being associated, number of clients associated. |
Input : Total Frames Count : 0 Total Frames Bytes : 0 Ucast Frames Count : 0 Ucast Frames Bytes : 0 Bcast Frames Count : 0 Bcast Frames Bytes : 0 |
Input packet statistics of the interface: · Number of packets, number of bytes. · Number of unicast packets, number of bytes of unicast packets. · Number of multicast/broadcast packets, number of bytes of multicast/broadcast packets. |
Output : Total Frames Count : 0 Total Frames Bytes : 0 Ucast Frames Count : 0 Ucast Frames Bytes : 0 Bcast Frames Count : 0 Bcast Frames Bytes : 0 |
Output packet statistics of the interface: · Number of packets, number of bytes. · Number of unicast packets, number of bytes of unicast packets. · Number of multicast/broadcast packets, number of bytes of multicast/broadcast packets. |
display interface wlan-ess
Use display interface wlan-ess to display information about a WLAN-ESS interface.
Syntax
display interface [ wlan-ess ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]
display interface wlan-ess interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
interface-number: Specifies a WLAN-ESS interface by its number. The specified interface must exist.
brief: Displays brief interface information. If you do not provide this keyword, the command displays detailed interface information.
down: Displays down interface information and the cause. If you do not provide this keyword, the command output is not filtered based on the down interface status.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
If you do not specify the wlan-ess keyword, the command displays information about all interfaces on the device.
If you specify the wlan-ess keyword and do not provide the interface-number argument, the command displays information about all WLAN-ESS interfaces.
Examples
# Display information about the interface WLAN-ESS 1.
<Sysname> display interface wlan-ess 1
WLAN-ESS1 current state: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e212-ff01
Description: WLAN-ESS1 Interface
PVID: 2
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 2
Port priority: 0
Last clearing of counters: Never
For the display interface wlan-ess command output description, see Table 1.
display interface wlan-mesh
Use display interface wlan-mesh to display information about the specified WLAN mesh interface or all WLAN mesh interfaces that already exist if no interface is specified.
Syntax
display interface [ wlan-mesh ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]
display interface wlan-mesh interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1. Monitor level
Parameters
interface-number: Specifies a WLAN mesh interface by its number. The specified interface must be one that already exists.
brief: Displays brief interface information. If you do not provide this keyword, the command displays detailed interface information.
down: Displays down interface information and the cause. If you do not provide this keyword, the command output is not filtered based on the down interface status.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
Support for this command depends on the device model. For more information, see About the H3C Access Controllers Command References.
If you do not specify the wlan-mesh keyword, the command displays information about all interfaces on the device.
If you specify the wlan-mesh keyword and do not specify the interface-number argument, the command displays information about all WLAN mesh interfaces.
Examples
# Display information about WLAN mesh interface 3.
<Sysname> display interface wlan-mesh 3
WLAN-MESH3 current state: DOWN
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e2c0-0110
Description: WLAN-MESH3 Interface
PVID: 1
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 1
Port priority: 0
Last clearing of counters: Never
For more information about command output description, see Table 1.
display interface wlan-meshlink
Use display interface wlan-meshlink to display information about the specified WLAN mesh link interface or all WLAN mesh link interfaces that already exist if no interface is specified.
Syntax
display interface [ wlan-meshlink ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]
display interface wlan-meshlink interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
interface number: Specifies a WLAN mesh link interface by its number. The specified interface must exist.
brief: Displays brief interface information. If you do not provide this keyword, the command displays detailed interface information.
down: Displays down interface information and the cause. If you do not provide this keyword, the command output is not filtered based on the down interface status.
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Usage guidelines
Support for this command depends on the device model. For more information, see About the H3C Access Controllers Command References.
If you do not specify the wlan-meshlink keyword, the command displays information about all interfaces on the device.
If you specify the wlan-meshlink keyword, the command displays information about all WLAN mesh link interfaces.
Examples
# Display information about WLAN mesh link interface 1.
<Sysname> display interface WLAN-MESHLINK 1
WLAN-MESHLINK1 current state: UP
IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 0000-0000-0000
Description: WLAN-MESHLINK1 Interface
PVID: 1
Port link-type: access
Tagged VLAN ID : none
Untagged VLAN ID : 1
Port priority: 0
Last clearing of counters: Never
Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec
9 packets input, 2890 bytes, 0 drops
392 packets output, 63796 bytes, 0 drops
For more information about command output description, see Table 1.
interface wlan-ess
Use interface wlan-ess to enter WLAN-ESS interface view. If the WLAN-ESS interface identified by the interface-number argument does not exist, this command creates the WLAN-ESS interface first.
Use undo interface wlan-ess to remove a WLAN-ESS interface. The operation to remove a WLAN-ESS interface fails if WLAN-DBSS interfaces created on the WLAN-ESS interface exist.
Syntax
interface wlan-ess interface-number
undo interface wlan-ess interface-number
Views
System view
Default command level
2: System level
Parameters
interface-number: Specifies a WLAN-ESS interface by its number. The value range for this argument varies by device model. For more information, see About the H3C Access Controllers Command Reference.
Examples
# Create the WLAN-ESS interface numbered 1.
<Sysname> system-view
[Sysname] interface WLAN-ESS 1
[Sysname-WLAN-ESS1]
interface wlan-mesh
Use interface wlan-mesh to enter WLAN mesh interface view. If the specified WLAN mesh interface does not exist, the command creates the WLAN mesh interface first.
Use undo interface wlan-mesh to delete the specified WLAN mesh interface.
Syntax
interface wlan-mesh interface-number
undo interface wlan-mesh interface-number
Views
System view
Default command level
2: System level
Parameters
interface-number: Specifies a WLAN mesh interface by its number in the range of 1 to 32.
Usage guidelines
Support for this command depends on the device model. For more information, see About the H3C Access Controllers Command References.
Examples
# Create WLAN mesh interface 2.
<Sysname> system-view
[Sysname] interface WLAN-MESH 2
[Sysname-WLAN-MESH2]