- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
08-WDS Commands | 136.39 KB |
bind wlan-mesh
Use bind wlan-mesh to bind the specified mesh interface to the mesh profile.
Use undo bind wlan-mesh to unbind the interface to the mesh profile.
Syntax
bind wlan-mesh interface-index
undo bind wlan-mesh
Default
No mesh interface is bound to the mesh profile.
Views
Mesh profile view
Default command level
2: System level
Parameters
interface-index: Index of the WLAN mesh interface. The value range is 1 to 32.
Usage guidelines
One mesh interface can be bound to only one mesh profile.
Examples
# Bind interface WLAN-mesh 1 to mesh profile 1.
<Sysname> system-view
[Sysname] wlan mesh-profile 1
[Sysname-wlan-mshp-1] bind wlan-mesh 1
display wlan mesh-link
Use display wlan mesh-link to display WDS link information.
Syntax
display wlan mesh-link { mesh-profile mesh-profile-number | radio radio-number | peer-mac-address mac-address | all } [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
mesh-profile mesh-profile-number: Mesh profile number, in the range of 1 to 32.
radio radio-number: Radio number, in the range of 1 to the number of maximum radios supported by the device.
peer-mac-address mac-address: MAC address of a peer MP.
all: All the links formed by the device.
|: 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
This command is used on an MP.
Examples
# Display information about all WDS links.
<Sysname> display wlan mesh-link all
Peer Link Information
--------------------------------------------------------------------------
Nbr-Mac BSSID Interface Link-state Uptime(hh:mm:ss)
--------------------------------------------------------------------------
000f-e274-3840 000f-e276-3240 WLAN-MESHLINK621 Active 0:5:16
000f-e274-3841 000f-e276-3240 WLAN-MESHLINK622 Active 1 Day,0:1:16
000f-e274-3842 000f-e276-3240 WLAN-MESHLINK623 Active 2 Days,0:0:16
--------------------------------------------------------------------------
Table 1 Command output
Field |
Description |
Nbr-Mac |
MAC address of the neighbor on the link. |
Interface |
WLAN mesh interface on the link. |
Link-state |
State of the link. |
Uptime(hh:mm:ss) |
Up time of the link. |
display wlan mesh-profile
Use display wlan mesh-profile to display mesh profile information.
Syntax
display wlan mesh-profile { mesh-profile-number | all } [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
mesh-profile-number: Mesh profile number, in the range of 1 to 32.
all: All mesh profiles.
|: 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.
Examples
# Display the mesh profile information about mesh profile 1.
<Sysname> display wlan mesh-profile 1
Mesh Profile Parameters
--------------------------------------------------------------------------
Mesh Profile Number : 1
Mesh ID : sys_mesh
Binding Interface : WLAN-MESH1
Link Keep Alive Interval (s) : 2 (Default)
Link Backhaul Rate (Mbps) : 18 (Default)
Mesh Profile Status : Enable
--------------------------------------------------------------------------
Table 2 Command output
Field |
Description |
Mesh Profile Number |
Mesh profile number. |
Mesh ID |
Mesh ID of the mesh profile. |
Binding Interface |
Mesh interface bound to the mesh profile (the interface has security parameters configured). |
Link Keep Alive Interval |
Keep-alive interval to be used by devices bound to the mesh profile. |
Link Backhaul Rate |
Backhaul rate to be used by devices bound to the mesh profile. |
Mesh Profile Status |
Mesh profile status, enabled or disabled. |
display wlan mp-policy
Use display wlan mp-policy to display MP policy information.
Syntax
display wlan mp-policy { mp-policy-name | all } [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
2: System level
Parameters
mp-policy-name: MP policy name, a string of 1 to 15 alphanumeric characters with underscores. It should not have any space characters.
all: All MP policies.
|: 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.
Examples
# Display information about all MP policies.
<Sysname> display wlan mp-policy all
Mesh Policy Parameters
--------------------------------------------------------------------------
MP Policy Name : default_mp_plcy
Mesh Link Initiation : Enable
Mlsp : Disable
Authenticator Role : Enable
Max Links : 2 (Default)
Probe Request Interval (ms) : 1000 (Default)
Link Hold RSSI : 15 (Default)
Link Hold Time (ms) : 4000 (Default)
Link Switch Margin : 10 (Default)
Link saturation RSSI : 150 (Default)
Link rate-mode : fixed (Default)
--------------------------------------------------------------------------
Table 3 Command output
Field |
Description |
MP Policy Name |
Name of the MP policy. |
Mesh Link Initiation |
Whether link initiation is enabled or not. |
Mlsp |
Whether the mobile link switch protocol is enabled or not. |
Authenticator Role |
Whether role authenticator is enabled or not. |
Max Links |
Maximum number of links on a device using this MP policy. |
Probe Request Interval |
Interval between probe requests sent by a device using this MP policy. |
Link Hold RSSI |
Default link hold RSSI. |
Link Hold Time |
Default link hold time. |
Link Switch Margin |
Default link switch margin. |
Link saturation RSSI |
Default link saturation RSSI. |
Link rate-mode |
Link rate mode: · fixed—Use the maximum fixed rate of the current radio to calculate the cost of a WDS link. · real-time—Use the real-time RSSI to calculate the cost of a WDS link. |
link-backhaul-rate
Use link-backhaul-rate to configure the link backhaul rate.
Use undo link-backhaul-rate to restore the default.
Syntax
link-backhaul-rate rate-value
undo link-backhaul-rate
Default
The link backhaul rate is 18 Mbps.
Views
Mesh profile view
Default command level
2: System level
Parameters
rate-value: Rate value in Mbps, which can be set to one of the following values: 1, 2, 5.5, 6, 9, 11, 12, 18, 24, 36, 48, 54.
Examples
# Set the link backhaul rate to 6 Mbps for mesh profile 1.
<Sysname> system-view
[Sysname] wlan mesh-profile 1
[Sysname-wlan-mshp-1] link-backhaul-rate 6
link-hold-rssi
Use link-hold-rssi to configure the minimum signal strength to allow a WDS link to be formed and held.
Use undo link-hold-rssi to restore the system default.
Syntax
link-hold-rssi value
undo link-hold-rssi
Default
The minimum signal strength to allow a link to be formed and held is 15.
Views
MP policy view
Default command level
2: System level
Parameters
value: Link formation/Link hold RSSI (received signal strength indicator), or, the minimum signal strength to allow a WDS link to be formed and held. The argument is in the range of 5 to 100, in dBm.
Examples
# Set the minimum signal strength to allow a link to be formed and held for MP policy sys_mp to 10 dBm.
<Sysname> system-view
[Sysname] wlan mp-policy sys_mp
[Sysname-wlan-mp-policy-sys_mp] link-hold-rssi 10
link-hold-time
Use link-hold-time to configure the link hold time.
Use undo link-hold-time to restore the system default.
Syntax
link-hold-time value
undo link-hold-time
Default
The link hold time is 4000 milliseconds.
Views
MP policy view
Default command level
2: System level
Parameters
value: Link hold time, or, the minimum time for keeping an active link up. It is in the range of 1000 to 20000, in milliseconds.
Examples
# Set the link hold time for MP policy sys_mp to 2000 milliseconds.
<Sysname> system-view
[Sysname] wlan mp-policy sys_mp
[Sysname-wlan-mp-policy-sys_mp] link-hold-time 2000
link-initiation enable
Use link-initiation enable to enable link initiation for the MP policy. An MP using the MP policy will perform link initiation with a peer.
Use undo link-initiation enable to disable link initiation for the MP policy.
Syntax
link-initiation enable
undo link-initiation enable
Default
Link initiation is enabled.
Views
MP policy view
Default command level
2: System level
Usage guidelines
This feature is used for train MPs in a subway WLAN mesh network to create links initiatively. When you configure MP policies for rail APs, disable this function.
Examples
# Disable link initiation for MP policy sys_mp.
<Sysname> system-view
[Sysname] wlan mp-policy sys_mp
[Sysname-wlan-mp-policy-sys_mp] undo link-initiation enable
link-keep-alive
Use link-keep-alive to configure the WDS link keep alive interval.
Use undo link-keep-alive to restore the system default.
Syntax
link-keep-alive keep-alive-interval
undo link-keep-alive
Default
The WDS link keep alive interval is 2 seconds.
Views
Mesh profile view
Default command level
2: System level
Parameters
keep-alive-interval: Link keep alive interval in seconds, in the range of 1 to 1800.
Examples
# Set the WDS link keep alive interval to 60 seconds.
<Sysname> system-view
[Sysname] wlan mesh-profile 1
[Sysname-wlan-mshp-1] link-keep-alive 60
link-maximum-number
Use link-maximum-number to configure the maximum number of links that an MP can form in a mesh network.
Use undo link-maximum-number to restore the system default.
Syntax
link-maximum-number max-link-number
undo link-maximum-number
Default
The maximum link number is 2.
Views
MP policy view
Default command level
2: System level
Parameters
max-link-number: Maximum link number, in the range of 1 to 8.
Examples
# Set the maximum number of links to 5 for MP policy sys_mp.
<Sysname> system-view
[Sysname] wlan mp-policy sys_mp
[Sysname-wlan-mp-policy-sys_mp] link-maximum-number 5
link rate-mode
Use link rate-mode to set the method to calculate the cost of a WDS link.
Use undo link rate-mode to restore the system default.
Syntax
link rate-mode { fixed | real-time }
undo link rate-mode
Default
The cost of a WDS link is calculated with the fixed method.
Views
MP policy view
Default command level
2: System level
Parameters
fixed: Uses the maximum fixed rate of the current radio to calculate the cost of a WDS link.
real-time: Uses the real-time RSSI to calculate the cost of a WDS link.
Examples
# Calculate the cost of a WDS link according to the real-time RSSI.
<Sysname> system-view
[Sysname] wlan mp-policy sys_mp
[Sysname-wlan-mp-policy-sys_mp] link rate-mode real-time
link-saturation-rssi
Use link-saturation-rssi to configure the link saturation RSSI.
Use undo link-saturation-rssi to restore the system default. If the value is reached, the chipset is saturated and link switch will happen.
Syntax
link-saturation-rssi value
undo link-saturation-rssi
Default
The link saturation RSSI is 150 dBm.
Views
MP policy view
Default command level
2: System level
Parameters
value: Link saturation RSSI, in the range of 30 to 150, in dBm.
Examples
# Set the link saturation RSSI for MP policy sys_mp to 44 dBm.
<Sysname> system-view
[Sysname] wlan mp-policy sys_mp
[Sysname-wlan-mp-policy-sys_mp] link-saturation-rssi 44
link-switch-margin
Use link-switch-margin to configure the link switch margin.
Use undo link-saturation-rssi to restore the system default.
Syntax
link-switch-margin value
undo link-switch-margin
Default
The link switch margin is 10 dBm.
Views
MP policy view
Default command level
2: System level
Parameters
value: Link switch margin. If the RSSI of the new link is greater than that of the current active link by the link switch margin, active link switch happens. This argument is in the range of 1 to 100, in dBm.
Examples
# Set the link switch margin for MP policy sys_mp to 11 dBm.
<Sysname> system-view
[Sysname] wlan mp-policy sys_mp
[Sysname-wlan-mp-policy-sys_mp] link-switch-margin 11
mesh-id
Use mesh-id to configure the mesh ID for the current mesh profile.
Use undo mesh-id to remove the mesh ID.
Syntax
mesh-id mesh-id-name
undo mesh-id
Default
No mesh ID is set for the mesh profile.
Views
Mesh profile view
Default command level
2: System level
Parameters
mesh-id-name: Specifies a mesh ID, a case-sensitive string of 1 to 32 characters.
Usage guidelines
A mesh ID can be assigned to only one mesh profile.
Examples
# Set the mesh ID to sys_mesh for mesh profile 1.
<Sysname> system-view
[Sysname] wlan mesh-profile 1
[Sysname-wlan-mshp-1] mesh-id sys_mesh
mesh peer-mac-address
Use mesh peer-mac-address to specify the MAC address of a peer, and specify the cost of the WDS link to the peer.
Use undo mesh peer-mac-address to remove the configuration.
Syntax
mesh peer-mac-address mac-address
undo mesh peer-mac-address { mac-address | all }
Default
No peer MAC address is specified. All peers are permitted for link formation.
Views
WLAN-Radio interface view
Default command level
2: System level
Parameters
mac-address: MAC address of a peer MP.
all: Removes all peer MAC addresses.
Usage guidelines
You can specify up to 8 peer MAC addresses.
Examples
# Configure the MAC address of a peer.
<Sysname> system-view
[Sysname] interface WLAN-Radio 1/0/2
[Sysname-WLAN-Radio1/0/2] radio-type dot11b
[Sysname-WLAN-Radio1/0/2] mesh peer-mac-address 01aa-0eaa-aa00
mesh-profile
Use mesh-profile to map the mesh profile to the current radio interface.
Use undo mesh-profile to unmap the specified mesh profile from the radio interface.
Syntax
mesh-profile mesh-profile-number
undo mesh-profile mesh-profile-number
Default
No mesh profile is mapped to the radio interface.
Views
WLAN-Radio interface view
Default command level
2: System level
Parameters
mesh-profile-number: Mesh profile number, in the range of 1 to 32.
Usage guidelines
Only one mesh profile can be mapped to the radio interface.
Examples
# Map the mesh profile 1 to WLAN-Radio 1/0/1.
<Sysname> system-view
[Sysname] interface WLAN-Radio 1/0/1
[Sysname-WLAN-Radio1/0/1] mesh-profile 1
mesh-profile enable
Use mesh-profile enable to enable the mesh profile.
Use undo mesh-profile enable to disable the mesh profile.
Syntax
mesh-profile enable
undo mesh-profile enable
Default
The mesh profile is disabled.
Views
Mesh profile view
Default command level
2: System level
Usage guidelines
· A mesh profile can be enabled only when it has been bound to a mesh interface and has had a mesh ID configured.
· A mesh profile cannot be deleted if it has been mapped to a radio interface.
Examples
# Enable the mesh profile 1.
<Sysname> system-view
[Sysname] interface wlan-mesh 1
[Sysname-wlan-mesh1] port-security tx-key-type 11key
[Sysname-wlan-mesh1] port-security preshared-key pass-phrase 12345678
[Sysname-wlan-mesh1] port-security port-mode psk
[Sysname-wlan-mesh1] quit
[Sysname] wlan mesh-profile 1
[Sysname-wlan-mshp-1] mesh-id outdoor
[Sysname-wlan-mshp-1] bind wlan-mesh 1
[Sysname-wlan-mshp-1] mesh-profile enable
Related commands
· bind wlan-mesh
· mesh-id
· mesh-profile
mlsp enable
Use mlsp enable to enable mesh link switch protocol (MLSP) on the radio.
Use undo mlsp enable to disable MLSP on the radio.
Syntax
mlsp enable
undo mlsp enable
Default
MLSP is disabled.
Views
MP policy view
Default command level
2: System level
Usage guidelines
· MLSP is used for switching between the active and dormant links.
· This command is used for subway WLAN mesh deployment.
· When MLSP is disabled on the radio, the MLSP proxy MAC address configured under the current MP policy is removed.
Examples
# Enable MLSP for MP policy sys_mp.
<Sysname> system-view
[Sysname] wlan mp-policy sys_mp
[Sysname-wlan-mp-policy-sys_mp] mlsp enable
mlsp-proxy
Use mlsp-proxy to configure MLSP proxy for a connected device on an MP.
Use undo mlsp-proxy to remove the configuration.
Syntax
mlsp-proxy mac-address mac-address [ vlan vlan-id ] [ ip ip-address ]
undo mlsp-proxy mac-address { all | mac-address }
Default
No MLSP proxy is configured.
Views
MP policy view
Default command level
2: System level
Parameters
mac-address mac-address: Specifies the MAC address of the device connected to the MP.
vlan vlan-id: Specifies the VLAN where the device connected to the MP resides by VLAN ID, which is in the range of 1 to 1094 and defaults to 1.
ip ip-address: Specifies the IP address of the device connected to the MP.
all: Removes MLSP proxy configuration for all devices.
Usage guidelines
This command is available only when MLSP is enabled.
Examples
# Configure MLSP proxy for the device with MAC address 000f-e287-8700 and IP address 1.1.2.4 in VLAN 10.
<Sysname> system-view
[Sysname] wlan mp-policy sys_mp
[Sysname-wlan-mp-policy-sys_mp] mlsp enable
[Sysname-wlan-mp-policy-sys_mp] mlsp-proxy mac-address 000f-e287-8700 vlan 10 ip 1.1.2.4
mp-policy
Use mp-policy to bind the MP policy to the current radio.
Use undo mp-policy to restore the default.
Syntax
mp-policy policy-name
undo mp-policy
Default
The radio adopts the default MP policy default_mp_plcy
Views
WLAN radio interface view
Default command level
2: System level
Parameters
policy-name: Specifies the name of the MP policy bound to the current radio. MP policy name is a case-insensitive string of 1 to 15 characters, which can contain letters, digits, and underlines.
Usage guidelines
· Only one MP policy can be bound to the radio.
· To remove an MP policy-radio binding, disable the radio first. After you unbind an MP policy to a radio, the default MP policy is bound to the radio automatically.
· You cannot map the default MP policy.
Examples
# Bind the MP policy sys_mp to WLAN-Radio 1/0/2.
<Sysname> system-view
[Sysname] interface WLAN-Radio 1/0/2
[Sysname-WLAN-Radio1/0/2] mp-policy sys_mp
probe-request-interval
Use probe-request-interval to configure the probe request interval.
Use undo probe-request-interval to restore the system default.
Syntax
probe-request-interval interval-value
undo probe-request-interval
Default
The probe request interval is 1000 ms.
Views
Mesh policy view
Default command level
2: System level
Parameters
interval-value: Probe request interval in ms, in the range of 100 to 8191.
Examples
# Set the probe request interval to 500 ms for MP policy sys_mp.
<Sysname> system-view
[Sysname] wlan mp-policy sys_mp
[Sysname-wlan-mp-policy-sys_mp] probe-request-interval 500
wave-guide enable
Use wave-guide enable to enable waveguide.
Use undo wave-guide enable to disable waveguide.
Syntax
wave-guide enable
undo wave-guide enable
Default
Waveguide is disabled.
Views
MP policy view
Default command level
2: System level
Usage guidelines
Waveguide must be used with the MLSP feature.
Examples
# Enable waveguide for MP policy 1.
<Sysname> system-view
[Sysname] wlan mp-policy 1
[Sysname-wlan-mp-policy-1]mlsp enable
[Sysname-wlan-mp-policy-1]wave-guide enable
wlan mesh-profile
Use wlan mesh-profile to create a mesh profile and enter mesh profile view.
Use undo wlan mesh-profile to delete the specified mesh profile.
Syntax
wlan mesh-profile mesh-profile-number
undo wlan mesh-profile mesh-profile-number
Views
System view
Default command level
2: System level
Parameters
mesh-profile-number: Mesh profile number, in the range of 1 to 32.
Usage guidelines
The properties of a mesh profile can be changed only when it is disabled.
Examples
# Create mesh profile 1 and enter mesh profile 1 view.
<Sysname> system-view
[Sysname] wlan mesh-profile 1
[Sysname-wlan-mshp-1]
Related commands
· bind wlan-mesh
· link-backhaul-rate
· link-keep-alive
· mesh-id
· mesh-profile enable
wlan mp-policy
Use wlan mp-policy to create an MP policy and enter MP policy view.
Use undo wlan mp-policy to delete the specified MP policy.
Syntax
wlan mp-policy policy-name
undo wlan mp-policy policy-name
Default
The radio adopts the default MP policy default_mp_plcy.
Views
System view
Default command level
2: System level
Parameters
policy-name: MP policy name, a case-insensitive string of 1 to 15 characters, which can contain letters, digits, and underlines.
Usage guidelines
· The name of an MP policy must be unique.
· The name of an MP policy cannot be "a", "all", or "default_mp_plcy".
· Modification or deletion of default MP policy named "default_mp_plcy" is not allowed.
· An MP policy cannot be deleted if it has been mapped to a radio.
Examples
# Create an MP policy named sys_mp and enter MP policy view.
<Sysname> system-view
[Sysname] wlan mp-policy sys_mp
[Sysname-wlan-mp-policy-sys_mp]
Related commands
· link-initiation enable
· link-maximum-number
· mlsp enable
· probe-request-interval
· role-authenticator enable