WLAN Command Reference

HomeSupportWLANH3C WA2200 Series WLAN Access PointsReference GuidesCommand ReferencesH3C WA Series WLAN Access Points Command Reference-6W100WLAN Command Reference
02-WLAN Interface Commands
Title Size Download
02-WLAN Interface Commands 53.55 KB

l          The models listed in this document are not applicable to all regions. Please consult your local sales office for the models applicable to your region.

l          Support of the H3C WA series WLAN access points (APs) for commands may vary by AP model. For more information, see Feature Matrix.

l          The interface types and the number of interfaces vary by AP model.

 

WLAN Interface Configuration Commands

WLAN Interface Configuration Commands

description

Syntax

description text

undo description

View

WLAN-BSS interface view, WLAN-Radio interface view, WLAN mesh interface view

Default Level

2: System level

Parameters

text: Description of an interface, a string of 1 to 80 characters. Currently, the AP 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.

 

l          An interface description can be the mixture of English characters and other Unicode characters. The mixed description cannot exceed the specified length.

l          To use a type of Unicode characters or symbols in an interface description, install the corresponding Input Method Editor (IME) and log in to the AP through remote login software that supports this character type.

l          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 the description command to set the description of the current interface.

Use the undo description command to restore the default.

By default, the description of an interface is interface-name + interface.

Examples

# Set the description of WLAN-Radio 1/0/1 to WLAN-Radio1.

<Sysname> system-view

[Sysname] interface wlan-radio 1/0/1

[Sysname-WLAN-Radio1/0/1] description WLAN-Radio1

display interface wlan-bss

Syntax

display interface wlan-bss [ interface-number ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-number: Specifies an existing WLAN-BSS interface by its interface number.

Description

Use the display interface wlan-bss command to display information about the specified WLAN-BSS interface or all WLAN-BSS interfaces.

Examples

# Display information about WLAN-BSS 1.

<Sysname> display interface wlan-bss 1

WLAN-BSS1 current state: DOWN

 IP Packet Frame Type: PKTFMT_ETHNT_2, Hardware Address: 000f-e2c0-0110

 Description: WLAN-BSS1 Interface

 PVID: 1

 Port link-type: access

  Tagged   VLAN ID : none

  Untagged VLAN ID : 1

 Port priority: 0

 Maximum client number: 64

 Clients: 0 associating, 0 associated

 Input (total) : 0 packets, 0 bytes

                  : 0 unicasts, 0 bytes

                  : 0 broadcasts, 0 bytes

 Output (total): 0 packets, 0 bytes

                  : 0 unicasts, 0 bytes

                  : 0 broadcasts, 0 bytes

Table 1-1 display interface wlan-bss command output description

Field

Description

WLAN-BSS1 current state

Physical-layer link state of the interface

IP Packet Frame Type

Encapsulation type of the frames that the interface sends out

Hardware Address

MAC address of the frames that the interface sends out

Description

Description of the interface

PVID

Default VLAN ID of the interface

Port link-type

Link type of the interface, which can only be access currently.

Tagged   VLAN ID

VLANs whose packets are sent by the interface with the VLAN tag.

Untagged VLAN ID

VLANs whose packets are sent by the interface with the VLAN tag removed.

Port priority

Priority of the interface.

Maximum client number

Maximum number of clients allowed to access the interface.

Clients: 0 associating, 0 associated

Clients: the number of associating clients, and the number of associated clients.

Input (total) : 0 packets, 0 bytes

           : 0 unicasts, 0 bytes

           : 0 broadcasts, 0 bytes

Statistics on packets received at the physical layer:

l      The total number of packets, and the total number of bytes.

l      The total number of unicast packets, and the total number of unicast bytes.

l      The total number of broadcast packets, and the total number of broadcast bytes.

Output (total): 0 packets, 0 bytes

            : 0 unicasts, 0 bytes

            : 0 broadcasts, 0 bytes

Statistics on packets sent at the physical layer:

l      The total number of packets, and the total number of bytes.

l      The total number of unicast packets, and the total number of unicast bytes.

l      The total number of broadcast packets, and the total number of broadcast bytes.

 

display interface wlan-mesh

Syntax

display interface wlan-mesh [ interface-number ]

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 already created.

Description

Use the display interface wlan-mesh command to display information about the specified WLAN mesh interface or all WLAN mesh interfaces already created if no interface is specified.

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

For more details about the fields in the above output, see Table 1-1.

display interface wlan-radio

Syntax

display interface wlan-radio [ interface-number ]

View

Any view

Default Level

1: Monitor level

Parameters

interface-number: Displays information about the WLAN-Radio interface specified by interface-number, which is an interface number.

Description

Use the display interface wlan-radio command to display information about the specified WLAN-Radio interface or all WLAN-Radio interfaces.

Examples

# Display information about WLAN-Radio 1/0/1.

<Sysname> display interface wlan-radio 1/0/1

WLAN-Radio1/0/1 current state: UP

IP Packet Frame Type: PKTFMT_IEEE_802.11, Hardware Address: 000f-e2c0-0110

Description: WLAN-Radio1/0/1 Interface

Radio-type 11a, channel auto(157), power(dBm) 19 auto (4)

Received: 0 authentication frames, 0 association frames

Sent out: 0 authentication frames, 0 association frames

Stations: 0 associating, 0 associated

 Input : 30007 packets, 1536614 bytes

        : 13565 unicasts, 520774 bytes

        : 16442 broadcasts, 1015840 bytes

        : 0 fragmented

        : 5687 discarded, 263913 bytes

        : 0 duplicates, 3054 FCS errors

        : 2 decryption errors

 Output: 10002 packets, 1154819 bytes

        : 10002 unicasts, 1154819 bytes

        : 0 broadcasts, 0 bytes

        : 0 fragmented

        : 1686 discarded, 195145 bytes

        : 0 failed RTS, 2813 failed ACK

        : 8570 transmit retries, 2200 multiple transmit retries

Table 1-2 display interface wlan-radio command output description

Field

Description

WLAN-Radio1/1 current state

Physical-layer link state of the WLAN-Radio interface

IP Packet Frame Type

Encapsulation type of the frames that the interface sends out

Hardware Address

MAC address of the frames that the interface sends out

Description

Description of the interface

Radio-type 11a

Radio type of the interface

channel auto(157)

Channel used by the interface. The keyword auto means the channel is automatically selected and 157 is the number of the selected channel.

If the channel is manually selected, the field will be displayed in the format of channel configured-channel.

Available channels depend on the country code and radio type.

power(dBm) 19 auto (4)

Transmit power of the interface (in dBm). The value 19 is the transmit power configured by the user; auto indicates that the actual power is different from that configured by the user; the bracketed number, is the current transmission power, 4 dBm in this sample output. (If spectrum management and power constraint have been configured for the 802.11a bands, the actual transmit power on the interface may be different from the configured value, depending on the configuration of two commands: max-power and power-constraint.) For more information about the max-power command and the power-constraint command, see WLAN Service and WLAN RRM in the WLAN Command Reference.

If the protocol being used is not 802.11a or the power constraint function on the 802.11a frequencies is not configured even though 802.11a is used, this field will be displayed as power(dBm) configured-power.

Received: 0 authentication frames, 0 association frames

The number of received authentication frames, and the number of received association frames.

Sent out: 0 authentication frames, 0 association frames

The number of sent authentication frames, and the number of sent association frames.

Stations: 0 associating, 0 associated

The number of associating stations, and the number of associated stations.

Input : 5620 packets, 254801 bytes

       : 0 unicasts, 0 bytes

       : 5620 broadcasts, 254801 bytes

       : 0 fragmented

       : 0 discarded, 0 bytes

       : 0 duplicates, 96 FCS errors

       : 0 decryption errors

Statistics on packets received at the physical layer:

l      The total number of packets, and the total number of bytes.

l      The total number of unicast packets, and the total number of unicast bytes.

l      The total number of broadcast packets, and the total number of broadcast bytes.

l      The number of fragmented packets.

l      The number of dropped packets, and the number of dropped bytes.

l      The number of received duplicate frames, and the number of FCS errors.

l      The number of decryption errors.

 Output: 0 packets, 0 bytes

       : 0 unicasts, 0 bytes

       : 0 broadcasts, 0 bytes

       : 0 fragmented

       : 0 discarded, 0 bytes

       : 0 failed RTS, 0 failed ACK

       : 0 transmit retries, 0 multiple transmit retries

Statistics on packets sent at the physical layer:

l      The total number of packets, and the total number of bytes.

l      The total number of unicast packets, and the total number of unicast bytes.

l      The total number of broadcast packets, and the total number of broadcast bytes.

l      The number of fragmented packets.

l      The number of dropped packets, and the number of dropped bytes.

l      The number of RTS packets failing to be sent, and the number of ACK packets failing to be sent.

l      The number of retransmitted frames, and the number of transmit retries.

 

interface wlan-bss

Syntax

interface wlan-bss interface-number

undo interface wlan-bss interface-number

View

System view

Default Level

2: System level

Parameters

interface-number: WLAN-BSS interface number, which ranges from 0 to 255.

Description

Use the interface wlan-bss command to enter WLAN-BSS interface view. If the WLAN-BSS interface identified by the interface-number argument does not exist, this command creates the WLAN-BSS interface first.

Use the undo interface wlan-bss command to remove a WLAN-BSS interface.

Examples

# Create WLAN-BSS interface 1.

<Sysname> system-view

[Sysname] interface wlan-bss 1

[Sysname-WLAN-BSS1]

interface wlan-mesh

Syntax

interface wlan-mesh interface-number

undo interface wlan-mesh interface-number

View

System view

Default Level

2. System level

Parameters

interface-number: Number of a WLAN mesh interface. The value range for this argument is 1 to 32.

Description

Use the interface wlan-mesh command to enter WLAN mesh interface view. If the specified WLAN mesh interface does not exist, the command creates the WLAN mesh interface first.

Use the undo interface wlan-mesh command to delete the specified WLAN mesh interface.

Examples

# Create WLAN mesh interface 2 in system view.

<Sysname> system-view

[Sysname] interface wlan-mesh 2

[Sysname-WLAN-MESH2]

interface wlan-radio

Syntax

interface wlan-radio interface-number

View

System view

Default Level

2: System level

Parameters

interface-number: WLAN-Radio interface number.

Description

Use the interface wlan-radio command to enter WLAN-Radio interface view.

Examples

# Enter WLAN-Radio 1/0/1 interface view.

<Sysname> system-view

[Sysname] interface wlan-radio 1/0/1

[Sysname-WLAN-Radio1/0/1]

shutdown (WLAN-Radio interface view)

Syntax

shutdown

undo shutdown

View

WLAN-Radio interface view

Default Level

2: System level

Parameters

None

Description

Use the shutdown command to shut down the current WLAN-Radio interface.

Use the undo shutdown command to bring up the current WLAN-Radio interface.

By default, a WLAN-Radio interface is up.

Examples

# Shut down the interface WLAN-Radio 1/0/1.

<Sysname>system-view

[Sysname] interface wlan-radio 1/0/1

[Sysname-WLAN-Radio1/0/1] shutdown

shutdown (WLAN-BSS interface view)

Syntax

shutdown

undo shutdown

View

WLAN-BSS interface view

Default Level

2: System level

Parameters

None

Description

Use the shutdown command to shut down the current WLAN-BSS interface.

Use the undo shutdown command to bring up the current WLAN-BSS interface.

By default, a WLAN-BSS interface is up.

After a WLAN-BSS interface is shut down, the connection between the interface and the wireless device will be torn down.

Examples

# Shut down the interface WLAN-BSS 1.

<Sysname>system-view

[Sysname] interface wlan-bss 1

[Sysname-WLAN-BSS1] shutdown

 

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