No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Command Reference

S1720, S2700, S5700, and S6720 V200R011C10

This document describes all the configuration commands of the device, including the command function, syntax, parameters, views, default level, usage guidelines, examples, and related commands.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
WLAN Spectrum Analysis Configuration Commands

WLAN Spectrum Analysis Configuration Commands

Command Support

  • Only the S5720HI supports WLAN-AC commands.

  • The AP3010DN-AGN and AP9330DN do not support spectrum analysis.

display spectrum-analysis server-reporter

Function

The display spectrum-analysis server-reporter command displays a list of APs that report spectrum packets to the spectrum server.

Format

display spectrum-analysis server-reporter

Parameters

None

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

The display spectrum-analysis server-reporter command displays a list of APs that report spectrum packets to the spectrum server.

Example

# Display all APs that report spectrum packets to the spectrum server.

<HUAWEI> display spectrum-analysis server-reporter
------------------------------------------------------------
ID    AP name                          Radio ID
------------------------------------------------------------
1     AP_1                             0
------------------------------------------------------------
Total: 1
Table 11-118  Description of the display spectrum-analysis server-reporter command output

Item

Description

ID

ID of the AP that reports spectrum data.

To configure the AP name, run the spectrum-report command.

AP name

Name of the AP that reports spectrum data.

To configure the AP name, run the spectrum-report command.

Radio ID

ID of the radio on which the function of reporting spectrum data is enabled.

To set the radio ID, run the spectrum-report command.

Related Topics

display wlan non-wifi-device

Function

The display wlan non-wifi-device command displays information about detected non-Wi-Fi devices.

Format

display wlan non-wifi-device { all | { ap-name ap-name | ap-id ap-id } radio radio-id }

Parameters

Parameter

Description

Value

all

Displays information about the non-Wi-Fi devices detected by all APs.

-

ap-name ap-name

Displays information about the non-Wi-Fi devices detected by a specified AP name.

The AP name must exist.

ap-id ap-id

Displays information about the non-Wi-Fi devices detected by a specified AP ID.

The AP ID must exist.

radio radio-id

Displays information about the non-Wi-Fi devices detected by a specified AP radio.

The value is an integer that ranges from 0 to 2.

Only the AP4030TN, AP4051TN, and AP8050TN-HD supports three radios.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the function of reporting spectrum data is enabled on an AP radio using the spectrum-report command, you can run the display wlan non-wifi-device command to check information about the detected non-Wi-Fi devices.

Example

# Display information about the non-Wi-Fi devices detected by all APs.

<HUAWEI> display wlan non-wifi-device all
Info: This operation may take a few seconds. Please wait for a moment.done.
----------------------------------------------------------------
Detect AP ID                           : 0
Detect AP name                         : 1000-0000-0011
Detect AP radio ID                     : 1
Detect AP channel                      : 149
Non-Wi-Fi device type                  : 7
Non-Wi-Fi device name                  : 5G WirelessTransmitter
Non-Wi-Fi device frequency type        : Narrow bandwidth
Non-Wi-Fi device channel               : 
Non-Wi-Fi device RSSI                  : 
Non-Wi-Fi device detect time last      : 1983-08-11/06:45:45
Non-Wi-Fi device center frequency(MHz) : 2422
Non-Wi-Fi device bandwidth(KHz)        : 20
Non-Wi-Fi device duty(%)               : 70
Non-Wi-Fi device interfere level       : 3
----------------------------------------------------------------
----------------------------------------------------------------
Detect AP ID                           : 1
Detect AP name                         : 1000-0000-0010
Detect AP radio ID                     : 0
Detect AP channel                      : 11
Non-Wi-Fi device type                  : 6
Non-Wi-Fi device name                  : 2.4G WirelessTransmitter
Non-Wi-Fi device frequency type        : Narrow bandwidth
Non-Wi-Fi device channel               : 
Non-Wi-Fi device RSSI                  : 
Non-Wi-Fi device detect time last      : 1983-08-11/01:12:25
Non-Wi-Fi device center frequency(MHz) : 2412
Non-Wi-Fi device bandwidth(KHz)        : 12
Non-Wi-Fi device duty(%)               : 94
Non-Wi-Fi device interfere level       : 3
----------------------------------------------------------------
Total: 2
Table 11-119  Description of the display wlan non-wifi-device command output

Item

Description

Detect AP ID

ID of the AP that has detected a non-Wi-Fi device.

Detect AP name

Name of the AP that has detected a non-Wi-Fi device.

Detect AP radio ID

ID of the AP radio on which a non-Wi-Fi device is detected.

Detect AP channel

ID of the AP channel on which a non-Wi-Fi device is detected.

Non-Wi-Fi device type

Type of the detected non-Wi-Fi device.
  • 0: Cordless phone
  • 1: Cordless phone base
  • 2: ZigBee device
  • 3: Microwave oven
  • 4: Bluetooth
  • 5: Game controller
  • 6: 2.4G wireless video and audio device
  • 7: 5G wireless video and audio device
  • 8: Baby monitor
  • 9: Fixed-frequency device

Non-Wi-Fi device name

Name of the non-Wi-Fi device.

Non-Wi-Fi device frequency type

Frequency type of the non-Wi-Fi device.

Non-Wi-Fi device channel

Channel of the non-Wi-Fi device.

Non-Wi-Fi device RSSI

RSSI of the non-Wi-Fi device.

Non-Wi-Fi device detect time last

Detection time for the non-Wi-Fi device.

Non-Wi-Fi device center frequency(MHz)

Center frequency of the non-Wi-Fi device.

Non-Wi-Fi device bandwidth(KHz)

Bandwidth of the non-Wi-Fi device.

Non-Wi-Fi device duty(%)

Duty cycle of the non-Wi-Fi device.

Non-Wi-Fi device interfere level

Interference level of the non-Wi-Fi device. The value ranges from 0 to 3. A larger value indicates stronger interference.

Related Topics

display wlan non-wifi-device history

Function

The display wlan non-wifi-device history command displays information about non-Wi-Fi devices in the historical list.

Format

display wlan non-wifi-device history { all | { ap-name ap-name | ap-id ap-id } radio radio-id }

Parameters

Parameter

Description

Value

all

Display information about all the non-Wi-Fi devices in the historical list.

-

ap-name ap-name

Display information about the non-Wi-Fi devices detected by a specified AP name in the historical list.

The AP name must exist.

ap-id ap-id

Display information about the non-Wi-Fi devices detected by a specified AP ID in the historical list.

The AP ID must exist.

radio radio-id

Display information about the non-Wi-Fi devices detected by a specified AP radio in the historical list.

The value is an integer that ranges from 0 to 2.

Only the AP4030TN, AP4051TN, and AP8050TN-HD supports three radios.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After the aging time of non-Wi-Fi devices is set on the AC using the spectrum-analysis non-wifi-device aging-time command, the AC adds a non-Wi-Fi device to the historical list if an AP does not send information about the non-Wi-Fi device to the AC again.

Example

# Display information about the non-Wi-Fi devices detected by all APs in the historical list.

<HUAWEI> display wlan non-wifi-device history all
----------------------------------------------------------------
S/No.                                  : 0
Detect AP name                         : huawei
Detect AP radio ID                     : 1
Detect AP channel                      : 44
Non-Wi-Fi device type                  : 9
Non-Wi-Fi device name                  : Unknown fix freq device
Non-Wi-Fi device frequency type        : Narrow bandwidth
Non-Wi-Fi device channel               : 147,148
Non-Wi-Fi device RSSI                  : -59,-66
Non-Wi-Fi device detect time last      : 2014-11-19/17:05:05
Non-Wi-Fi device center frequency(MHz) : 5739
Non-Wi-Fi device bandwidth(KHz)        : 2708
Non-Wi-Fi device duty(%)               : 79
Non-Wi-Fi device interfere level       : 3
----------------------------------------------------------------
Total: 1
Table 11-120  Description of the display wlan non-wifi-device history command output

Item

Description

S/No.

No.of historical records.

Detect AP name

Name of the AP that has detected a non-Wi-Fi device.

Detect AP radio ID

ID of the AP radio on which a non-Wi-Fi device is detected.

Detect AP channel

Type of the detected non-Wi-Fi device.

Non-Wi-Fi device type

ID of the AP channel on which a non-Wi-Fi device is detected.

Non-Wi-Fi device name

Name of the non-Wi-Fi device.

Non-Wi-Fi device frequency type

Frequency type of the non-Wi-Fi device.

Non-Wi-Fi device RSSI

RSSI of the non-Wi-Fi device.

Non-Wi-Fi device channel

Channel of the non-Wi-Fi device.

Non-Wi-Fi device detect time last

Detection time for the non-Wi-Fi device.

Non-Wi-Fi device center frequency(MHz)

Center frequency of the non-Wi-Fi device.

Non-Wi-Fi device bandwidth(KHz)

Bandwidth of the non-Wi-Fi device.

Non-Wi-Fi device duty(%)

Duty cycle of the non-Wi-Fi device.

Non-Wi-Fi device interfere level

Interference level of the non-Wi-Fi device. The value ranges from 0 to 3. A larger value indicates stronger interference.

spectrum-analysis enable

Function

(AP group radio view) The spectrum-analysis enable command enables spectrum analysis on a specified radio in an AP group.

(AP group radio view) The undo spectrum-analysis enable command disables spectrum analysis on a specified radio in an AP group.

(AP radio view) The spectrum-analysis enable command enables spectrum analysis on a specified AP radio.

(AP radio view) The undo spectrum-analysis enable command restores the AP radio configuration to that in the AP group radio view.

By default, spectrum analysis is disabled on an AP radio.

Format

spectrum-analysis enable

undo spectrum-analysis enable

Parameters

None

Views

AP radio view, AP group radio view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

If interference exists on a WLAN, enable spectrum analysis on some APs of the WLAN to implement spectrum scanning, sampling, and analysis on the wireless signals. The spectrum analysis function helps identify non-Wi-Fi interference on the WLAN and locate non-Wi-Fi devices so that radio calibration can be implemented.

Precautions

If the WDS or Mesh service is configured on a radio, the command cannot be executed in the radio view.

Example

# Enable spectrum analysis on radio 0 of the AP with ID 1.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap-id 1 
[HUAWEI-wlan-ap-1] radio 0
[HUAWEI-wlan-radio-1/0]spectrum-analysis enable

spectrum-analysis non-wifi-device aging-time

Function

The spectrum-analysis non-wifi-device aging-time command configures the aging time of non-Wi-Fi devices on the AC during spectrum analysis.

The undo spectrum-analysis non-wifi-device aging-time command restores the default aging time of non-Wi-Fi devices on the AC during spectrum analysis.

By default, the aging time of non-Wi-Fi devices on the AC is 3 minutes.

Format

spectrum-analysis non-wifi-device aging-time aging-time

undo spectrum-analysis non-wifi-device aging-time

Parameters

Parameter

Description

Value

aging-time

Specifies the aging time of non-Wi-Fi devices on the AC.

The value is an integer that ranges from 1 to 30, in minutes.

Views

AP system profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When the AC is configured as the spectrum analysis server using the spectrum-analysis server command, the AC stores information about analyzed non-Wi-Fi devices. If an AP does not report information about a non-Wi-Fi device to the AC again within the aging time configured using the spectrum-analysis non-wifi-device aging-time command, the AC adds the non-Wi-Fi device to the historical list. You can run the display wlan non-wifi-device history command to check information about non-Wi-Fi devices in the historical list.

Precautions

Currently, the AC cannot identify different devices of the same type. For example, when the AC detects two bluetooth devices: A and B, the AC can only record the devices as a bluetooth device and update the detection time of the bluetooth device.

Example

# Set the aging time of non-Wi-Fi devices on the AC to 5 minutes.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] ap-system-profile name ap-system1
[HUAWEI-wlan-ap-system-prof-ap-system1] spectrum-analysis non-wifi-device aging-time 5

spectrum-analysis server

Function

The spectrum-analysis server command specifies the IP address and port number of a spectrum server.

The undo spectrum-analysis server command deletes the specified IP address and port number of a spectrum server.

By default, no spectrum server is configured.

Format

spectrum-analysis server ip-address ip-address port port-number [ via-ac ac-port ac-port-number ]

undo spectrum-analysis server

Parameters

Parameter

Description

Value

ip-address ip-address

Specifies the IPv4 address of a spectrum server.

The value is in dotted decimal notation.

port port-number

Specifies the port number (UDP port number) of a spectrum server.

The value is an integer that ranges from 5000 to 65535.

NOTE:

The port number of eSight is 32181.

via-ac

Configures the AP to report spectrum data to the spectrum server via the AC.

-

ac-port ac-port-number

Specifies the port number used by the AC to receive spectrum data (in UDP packets) from the AP.

The value is an integer that ranges from 5000 to 65535.

Views

AP system profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After collecting the spectrum data, an AP encapsulates the collected data into UDP packets and sends the packets to the spectrum server. The spectrum server draws a spectrum and displays the spectrum information of the detected non-Wi-Fi devices to users through images.

  • If the AP uploads the collected data directly to the spectrum server, you do not need to configure the via-ac ac-port ac-port-number command.
  • If the AP uploads the collected data to the spectrum server via the AC, configure the via-ac ac-port ac-port-number command.
  • If no spectrum server is available, to view the spectrum in the web system, specify a valid IP address and port number for the spectrum server (The specified values do not take effect.) and configure the via-ac ac-port ac-port-number command.

Example

# Set the IP address and port number of a spectrum server to 10.137.43.4 and 32181.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ap-system-profile name ap-system1
[HUAWEI-wlan-ap-system-prof-ap-system1] spectrum-analysis server ip-address 10.137.43.4 port 32181

spectrum-analysis source

Function

The spectrum-analysis source command configures the source IP address of packets sent by an AC to a spectrum server.

The undo spectrum-analysis source command deletes the configured source IP address of packets sent by an AC to a spectrum server.

By default, an AC uses the IP address of the outbound interface on the matched route as the source IP address of packets sent to a spectrum server.

Format

spectrum-analysis source ip-address ip-address

undo spectrum-analysis source

Parameters

Parameter

Description

Value

ip-address ip-address

Specifies the source IPv4 address of packets sent by an AC to a spectrum server.

The value is in dotted decimal notation.

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

By default, when sending data packets to a spectrum server, an AC uses the IP address of the outbound interface on the matched route between them to communicate with the spectrum server.

After the source IP address is configured using the spectrum-analysis source command, the AC uses this IP address to communicate with the spectrum server.

Precautions

  • Ensure that the AC IP address manually configured on the spectrum server is the same as that configured using the spectrum-analysis source command.
  • The source IP address must exist on the AC; otherwise, the configuration does not take effect.
  • The configured source IP address and the IP address of the spectrum server must be routable to each other.

Example

# Configure 10.102.25.23 as the source IP address of packets sent by the AC to a spectrum server.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] spectrum-analysis source ip-address 10.102.25.23

spectrum-report

Function

The spectrum-report command enables the function of reporting spectrum data on an AP radio.

The undo spectrum-report command disables the function of reporting spectrum data on an AP radio.

By default, the function of reporting spectrum data is disabled on an AP radio.

Format

spectrum-report { ap-name ap-name | ap-id ap-id } radio radio-id

undo spectrum-report { { ap-name ap-name | ap-id ap-id } [ radio radio-id ] | all }

Parameters

Parameter

Description

Value

ap-name ap-name

Specifies an AP name. The AP name and radio ID identify a radio.

The AP name must already exist.
ap-id ap-id

Specifies an AP ID. The AP ID and radio ID identify a radio.

The AP ID must already exist.

radio radio-id

Specifies a radio ID.

The value is an integer that ranges from 0 to 2.

Only the AP4030TN, AP4051TN, and AP8050TN-HD supports three radios.

all

Specifies all APs.

-

Views

WLAN view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After the function of reporting spectrum data is enabled on an AP radio, the AP encapsulates collected data into UDP packets and sends the packets to the spectrum server. After receiving the data, the spectrum server analyzes the data and then displays radio information of non-Wi-Fi devices to users through images or tables.

Prerequisites

The spectrum analysis function has been enabled on a radio using the spectrum-analysis enable command.

Follow-up Procedure

Run the spectrum-analysis server command in the spectrum profile view to specify the IP address and port number of the spectrum server.

Precautions

The spectrum-report command becomes invalid after a restart and needs to be configured again.

Example

# Enable the function of reporting spectrum data on radio 0 of AP ap-huawei.

<HUAWEI> system-view
[HUAWEI] wlan 
[HUAWEI-wlan-view] spectrum-report ap-name ap-huawei radio 0

reset wlan non-wifi-device

Function

The reset wlan non-wifi-device command clears information about detected non-Wi-Fi devices.

Format

reset wlan non-wifi-device { all | { ap-name ap-name | ap-id ap-id } radio radio-id }

Parameters

Parameter

Description

Value

all

Clears information about the non-Wi-Fi devices detected by all APs.

-

ap-name ap-name

Clears information about the non-Wi-Fi devices detected by a specified AP name.

The AP name must already exist.
ap-id ap-id

Clears information about the non-Wi-Fi devices detected by a specified AP ID.

The AP ID must already exist.

radio radio-id

Clears information about the non-Wi-Fi devices detected by a specified AP radio.

The value is an integer that ranges from 0 to 2.

Only the AP4030TN, AP4051TN, and AP8050TN-HD supports three radios.

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

Before recollecting information about detected non-Wi-Fi devices in a period, you can run the reset command to clear existing information so that the AC can recollect information.

Prerequisites

The spectrum analysis function has been enabled on a radio.

Impact

The cleared non-Wi-Fi device information cannot be restored. Exercise caution when you use the reset command. After the command is run, you can run the display wlan non-wifi-device history command to view related information.

Example

# Clear information about the non-Wi-Fi devices detected by all APs.

<HUAWEI> reset wlan non-wifi-device all

reset wlan non-wifi-device history

Function

The reset wlan non-wifi-device history command clears information about non-Wi-Fi devices in the historical list.

Format

reset wlan non-wifi-device history { all | { ap-name ap-name | ap-id ap-id } radio radio-id }

Parameters

Parameter

Description

Value

all

Clears information about all the non-Wi-Fi devices in the historical list.

-

ap-name ap-name

Clears information about the non-Wi-Fi devices detected by a specified AP name in the historical list.

The AP name must exist.
ap-id ap-id

Clears information about the non-Wi-Fi devices detected by a specified AP ID in the historical list.

The AP ID must exist.

radio radio-id

Clears information about the non-Wi-Fi devices detected by a specified AP radio in the historical list.

The value is an integer that ranges from 0 to 2.

Only the AP4030TN, AP4051TN, and AP8050TN-HD supports three radios.

Views

All views

Default Level

3: Management level

Usage Guidelines

The reset wlan non-wifi-device history command clears information about non-Wi-Fi devices in the historical list.

Example

# Clear information about the non-Wi-Fi devices detected by all APs in the historical list.

<HUAWEI> reset wlan non-wifi-device history all
Translation
Download
Updated: 2019-10-09

Document ID: EDOC1000178165

Views: 48541

Downloads: 1163

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next