02-WLAN Command Reference

HomeSupportReference GuidesCommand ReferencesH3C WX Series Access Controllers Command References(R3308 R2308)-6W10702-WLAN Command Reference
01-WLAN Interface Commands
Title Size Download
01-WLAN Interface Commands 86.76 KB

WLAN interface configuration commands

default

Syntax

default

View

WLAN-ESS interface view, WLAN mesh interface view

Default level

2: System level

Parameters

None

Description

Use default to restore the default settings for a WLAN-ESS or WLAN-MESH interface.

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

Syntax

description text

undo description

View

WLAN-ESS interface view, WLAN mesh interface view

Default level

2: System level

Parameters

text: 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.

 

 

NOTE:

·     An interface description can be the 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 Input Method Editor (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.

 

Description

Use description to set the description of the current interface.

Use undo description to restore the default.

By default, the description for an interface is interface-name + interface, for example WLAN-ESS1 Interface.

Examples

# Set the description for WLAN-ESS 1 to WLAN-ESS Interface.

<Sysname> system-view

[Sysname] interface WLAN-ESS 1

[Sysname-WLAN-ESS1] description WLAN-ESS Interface

display interface wlan-dbss

Syntax

display interface [ wlan-dbss ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]

display interface wlan-dbss interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

interface-number: Specifies the number of a WLAN-DBSS interface.

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.

Description

Use display interface wlan-dbss to display information about a WLAN-DBSS interface.

·     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, the command displays information about all WLAN-DBSS interfaces.

Examples

# Display information about all WLAN-DBSS interfaces.

<Sysname> display interface wlan-dbss

 WLAN-DBSS1:0 current state: UP

 IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e212-ff01

 Description: WLAN-DBSS1:0 Interface

 PVID: 2

 Port link-type: access

  Tagged   VLAN ID : none

  Untagged VLAN ID : 2

 Port priority: 0

Last clearing of counters:  Never

 Maximum client number: 64

 Clients: 0 associating, 1 associated

 Input (total): 18 packets, 1830 bytes 15 unicasts, 1500 bytes

        3 multicasts/broadcasts, 330 bytes

 Output (total): 5 packets, 384 bytes 2 unicasts, 102 bytes

        3 multicasts/broadcasts, 282 bytes

Table 1 Command output

Field

Description

WLAN-DBSS1:0 current state

Physical link state of a WLAN-DBSS interface.

IP Packet Frame Type

Output frame encapsulation type.

Hardware Address

MAC address of output frames.

IMPORTANT IMPORTANT:

WLAN-DBSS is dynamically generated, so the displayed information is meaningless.

Description

Description of the interface.

PVID

Default VLAN ID of the interface.

Port link-type

Port link type, which can be access only.

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 counts interface command was last used to clear statistics on the interface. Never indicates that the reset counts interface command was never used since the device was started.

Maximum client number

Maximum number of clients allowed to access.

Clients: 0 associating, 0 associated

Number of clients being associating, number of clients associated.

Input (total) : 18 packets, 1830 bytes

           : 15 unicasts, 1500 bytes

           : 3 multicasts/broadcasts, 282 bytes

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): 5 packets, 384 bytes

            : 2 unicasts, 102 bytes

            : 3 multicasts/broadcasts, 282 bytes

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

Syntax

display interface [ wlan-ess ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]

display interface wlan-ess interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

interface-number: Specifies the number of a WLAN-ESS interface. The value range for this argument varies by device model.

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.

Description

Use display interface wlan-ess to display information about a WLAN-ESS interface.

·     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 specify the interface-number argument, the command displays information about all WLAN-ESS interfaces.

Examples

# Display information about 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

Syntax

display interface [ wlan-mesh ] [ brief [ down ] ] [ | { begin | exclude | include } regular-expression ]

display interface wlan-mesh interface-number [ brief ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1. Monitor level

Parameters

interface-number: Specifies a WLAN mesh interface by its interface 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.

Description

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.

·     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 the fields in the output, see Table 1.

interface wlan-ess

Syntax

interface wlan-ess interface-number

undo interface wlan-ess interface-number

View

System view

Default level

2: System level

Parameters

interface-number: Number of a WLAN-ESS interface. The value range for this argument varies by device model.

Description

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.

Examples

# Create the WLAN-ESS interface numbered 1.

<Sysname> system-view

[Sysname] interface wlan-ess 1

[Sysname-WLAN-ESS1]

interface wlan-mesh

Syntax

interface wlan-mesh interface-number

undo interface wlan-mesh interface-number

View

System view

Default level

1. System level

Parameters

interface-number: Specifies a WLAN mesh interface by its number, in the range of 1 to 32.

Description

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.

Examples

# Create WLAN mesh interface 2.

<Sysname> system-view

[Sysname] interface wlan-mesh 2

[Sysname-WLAN-MESH2]

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网