- Table of Contents
- Related Documents
-
Title | Size | Download |
---|---|---|
07-WDS Commands | 64.69 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.
bind wlan-mesh
Syntax
bind wlan-mesh interface-index
undo bind wlan-mesh
View
Mesh profile view
Default Level
2: System level
Parameters
interface-index: Index of the WLAN mesh interface, which ranges from 1 to 32.
Description
Use the bind wlan-mesh command to bind the specified mesh interface to the mesh profile.
Use the undo bind wlan-mesh command to unbind the interface to the mesh profile.
By default, no mesh interface is bound to the mesh profile.
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
Syntax
display wlan mesh-link { mesh-profile mesh-profile-number | radio radio-number | peer-mac-address mac-address | all }
View
Any view
Default Level
2: System level
Parameters
mesh-profile mesh-profile-number: Mesh profile number, which ranges from 1 to 32.
radio radio-number: Radio number, which ranges from 1 to the number of maximum radios supported by the AP.
peer-mac-address mac-address: MAC address of a peer MP.
all: All the links formed by the AP.
Description
Use the display wlan mesh-link command to display WDS link information.
This command is used on an MP.
Examples
# Display the information of 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-1 display wlan mesh-link command output description
Field |
Description |
Nbr-Mac |
MAC address of the neighbor radio on the link |
BSSID |
MAC address of the radio |
Interface |
WLAN mesh interface on the link |
Link-state |
State of the link |
Uptime(hh:mm:ss) |
Time for which the WDS link has been up |
display wlan mesh-profile
Syntax
display wlan mesh-profile { mesh-profile-number | all }
View
Any view
Default Level
2: System level
Parameters
mesh-profile-number: Mesh profile number, which ranges from 1 to 32.
all: All mesh profiles.
Description
Use the display wlan mesh-profile command to display mesh profile information.
Examples
# Display the mesh profile information of mesh profile 1.
<Sysname> display wlan mesh-profile 1
Mesh Profile Parameters
--------------------------------------------------------------------------
Mesh Profile Number : 1
Mesh ID : sys_mesh
Binding Interface : WLAN-MESH1
MKD Service : Enable
Link Keep Alive Interval (s) : 2 (Default)
Link Backhaul Rate (Mbps) : 18 (Default)
Mesh Profile Status : Enable
--------------------------------------------------------------------------
Table 1-2 display wlan mesh-profile command output description
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 |
MKD Service |
Whether the mesh profile has mesh key domain service enabled or not |
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
Syntax
display wlan mp-policy { mp-policy-name | all }
View
Any view
Default 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.
Description
Use the display wlan mp-policy command to display MP policy information.
Examples
# Display the information of all MP policies.
<Sysname> display wlan mp-policy all
Mesh Policy Parameters
--------------------------------------------------------------------------
MP Policy Name : default_mp_plcy
Mesh Link Initiation : Enable
Authenticator Role : Enable
Max Links : 2 (Default)
Probe Request Interval (ms) : 1000 (Default)
Link Hold RSSI : 15 (Default)
Link saturation RSSI : 150 (Default)
Link rate-mode : fixed (Default)
--------------------------------------------------------------------------
Mesh Policy Parameters
--------------------------------------------------------------------------
MP Policy Name : new
Mesh Link Initiation : Enable
Authenticator Role : Enable
Max Links : 5
Probe Request Interval (ms) : 1000 (Default)
Link Hold RSSI : 15 (Default)
Link saturation RSSI : 150 (Default)
Link rate-mode : fixed (Default)
--------------------------------------------------------------------------
Table 1-3 display wlan mp-policy command output description
Field |
Description |
MP Policy Name |
Name of the MP policy |
Mesh Link Initiation |
Whether WDS link initiation 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 rate-mode |
The method to calculate the COST value |
link-hold-rssi
Syntax
link-hold-rssi value
undo link-hold-rssi
View
MP policy view
Default Level
2: System level
Parameters
value: Link formation/Link hold RSSI (received signal strength indicator), namely, the minimum signal strength to allow a WDS link to be formed and held. The argument ranges from 5 to 100, in dBm.
Description
Use the link-hold-rssi command to configure the minimum signal strength to allow a WDS link to be formed and held.
Use the undo link-hold-rssi command to restore the system default.
By default, the minimum signal strength to allow a WDS link to be formed and held is 15.
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-initiation enable
Syntax
link-initiation enable
undo link-initiation enable
View
MP policy view
Default Level
2: System level
Parameters
None
Description
Use the link-initiation enable command to enable link initiation for the MP policy. An MP using the MP policy will perform link initiation with a peer.
Use the undo link-initiation enable command to disable link initiation for the MP policy.
By default, link initiation is enabled.
This feature is used on train MPs in subway WLAN mesh deployment so that train MPs will always start the WDS link formation process while rail MPs will not form WDS links between themselves.
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
Syntax
link-keep-alive keep-alive-interval
undo link-keep-alive
View
Mesh profile view
Default Level
2: System level
Parameters
keep-alive-interval: Link keep alive interval in seconds, with an effective range of 1 to 1800.
Description
Use the link-keep-alive command to configure the WDS link keep alive interval.
Use the undo link-keep-alive command to restore the system default.
By default, the WDS link keep alive interval is 2 seconds.
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
Syntax
link-maximum-number max-link-number
undo link-maximum-number
View
MP policy view
Default Level
2: System level
Parameters
max-link-number: Maximum WDS link number, which ranges from 1 to 8.
Description
Use the link-maximum-number command to configure the value of maximum WDS link that an MP can form in a mesh network.
Use the undo link-maximum-number command to restore the system default.
By default, the value of maximum WDS link is 2.
Examples
# Set the value of maximum WDS link to 5 for an MP policy as sys_mp.
<Sysname> system-view
[Sysname] wlan mp-policy sys_mp
[Sysname-wlan-mp-policy-sys_mp] link-maximum-number 5
link rate-mode
Syntax
link rate-mode { fixed | real-time }
undo link rate-mode
View
MP policy view
Default 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.
Description
Use the link-rate-mode command to set the method to calculate the cost of a WDS link.
Use the undo link-rate-mode command to restore the system default.
By default, the cost of a WDS link is calculated with the fixed method.
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
Syntax
link-saturation-rssi value
undo link-saturation-rssi
View
MP policy view
Default Level
2: System level
Parameters
value: WDS link saturation RSSI, which ranges from 30 to 150, in dBm.
Description
Use the link-saturation-rssi command to configure the link saturation RSSI.
Use the undo link-saturation-rssi command to restore the system default. If the value is reached, the chipset is saturated and link switch will happen.
By default, the link saturation RSSI is 100 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
mesh-id
Syntax
mesh-id mesh-id-name
undo mesh-id
View
Mesh profile view
Default Level
2: System level
Parameters
mesh-id-name: Mesh ID name is a string of length 1 to 32. It is case sensitive and can have all characters except “?”.
Description
Use the mesh-id command to configure the mesh ID for the current mesh profile.
Use the undo mesh-id command to remove the mesh ID.
By default, no mesh ID is set for the mesh profile.
Same mesh ID can not be assigned for two mesh profiles.
Examples
# Set the mesh ID as sys_mesh for mesh profile 1.
<Sysname> system-view
[Sysname] wlan mesh-profile 1
[Sysname-wlan-mshp-1] mesh-id sys_mesh
mesh-profile
Syntax
mesh-profile mesh-profile-number
undo mesh-profile mesh-profile-number
View
Radio-Template view
Default Level
2: System level
Parameters
mesh-profile-number: Mesh profile number, which ranges from 1 to 32.
Description
Use the mesh-profile command to map the mesh profile to the current radio.
Use the undo mesh-profile command to unmap the specified mesh profile from the radio.
By default, no mesh profile is mapped to the radio.
Only one mesh profile can be mapped to the radio.
If a WLAN service template has been mapped to a radio, no mesh profile can be mapped to the radio, and vice versa.
Examples
# Map the mesh profile 1 for radio 1.
<Sysname> system-view
[Sysname] interface WLAN-Radio 1/0/1
[Sysname-WLAN-Radio1/0/1] mesh-profile 1
mesh-profile enable
Syntax
mesh-profile enable
undo mesh-profile enable
View
Mesh profile view
Default Level
2: System level
Parameters
None
Description
Use the mesh-profile enable command to enable the mesh profile.
Use the undo mesh-profile enable command to disable the mesh profile.
By default, the mesh profile is disabled.
Mesh profile can be enabled only if mesh interface is bound and mesh ID is already configured.
Mesh profile can not be deleted if already mapped to a radio.
Related commands: bind wlan-mesh, mesh-id, and mesh-profile.
Examples
# Enable the mesh profile 1.
<Sysname> system-view
[Sysname] wlan mesh-profile 1
[Sysname-wlan-mshp-1] mesh-profile enable
mesh peer-mac-address
Syntax
mesh peer-mac-address mac-address
undo mesh peer-mac-address { mac-address | all }
View
WLAN radio interface view
Default Level
2: System level
Parameters
mac-address: MAC address of a peer MP.
all: Removes all peer MAC addresses.
Description
Use the mesh peer-mac-address command to specify the MAC address of a WDS peer. The radio can only form WDS links with peers specified by using this command.
Use the undo mesh peer-mac-address command to remove one or all configured peer MAC addresses.
By default, no WDS peer MAC address is specified, that is, all peers are permitted for link formation.
Examples
# Configure the MAC address of a peer MP.
<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
mp-policy
Syntax
mp-policy policy-name
undo mp-policy
View
WLAN radio interface view
Default 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.
Description
Use the mp-policy command to bind the MP policy to the current radio.
Use the undo mp-policy command to restore the system default.
By default, the radio adopts the default MP policy default_mp_plcy.
Only one MP policy can be bound to the radio.
To remove an MP policy-radio binding, you need to 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
Syntax
probe-request-interval interval-value
undo probe-request-interval
View
Mesh profile view
Default Level
2: System level
Parameters
interval-value: Probe request interval in ms, with an effective range of 100 to 8191.
Description
Use the probe-request-interval command to configure the probe request interval.
Use the undo probe-request-interval command to restore the system default.
By default, the probe request interval is 1000 ms.
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
wlan mesh-profile
Syntax
wlan mesh-profile mesh-profile-number
undo wlan mesh-profile mesh-profile-number
View
System view
Default Level
2: System level
Parameters
mesh-profile-number: Mesh profile number, which ranges from 1 to 32.
Description
Use the wlan mesh-profile command to create a mesh profile and enter mesh profile view.
Use the undo wlan mesh-profile command to delete the specified mesh profile.
The properties of mesh profile template can be changed only when it is disabled.
Related commands: bind wlan-mesh, mesh-id, link-keep-alive, and mesh-profile enable.
Examples
# Create mesh profile 1 and enter mesh profile view.
<Sysname> system-view
[Sysname] wlan mesh-profile 1
[Sysname-wlan-mshp-1]
wlan mp-policy
Syntax
wlan mp-policy policy-name
undo wlan mp-policy policy-name
View
System view
Default Level
2: System level
Parameters
policy-name: MP policy name. It is a case insensitive string of 1 to 15 characters, which can contain letters, digits and underlines.
Description
Use the wlan mp-policy command to create an MP policy and enter MP policy view.
Use the undo wlan mp-policy command to delete the specified MP policy.
By default, the radio adopts the default MP policy default_mp_plcy.
l MP policy name should be unique to create a new one.
l MP policy cannot be created with name “a”, “al”, “all” and “default_mp_plcy”.
l Modification or deletion of default MP policy named “default_mp_plcy” is not allowed.
l MP policy cannot be deleted if already mapped to radio.
l MP policy properties can not be changed if the radio on which it is mapped is enabled.
Related commands: link-initiation enable, link-maximum-number, probe-request-interval, mlsp enable, and role-authenticator enable.
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]
wlan uplink-interface mesh-link
Syntax
wlan uplink-interface mesh-link interface-type interface-number
undo wlan uplink-interface mesh-link interface-type interface-number
View
System view
Default Level
2: System level
Parameters
interface-type interface-number: Interface type and interface number.
Description
Use the wlan uplink-interface mesh-link command to configure a mesh-link radio interface as the uplink.
Use the undo wlan uplink-interface mesh-link command to remove the configured uplink.
By default, no radio interface is configured as an uplink interface.
l If only mesh-link radios are configured as uplinks and all the links are down, WLAN services on other radios will be stopped.
l If no uplinks are configured, WLAN service will be provided.
l A mesh-link radio interface cannot be configured as an uplink if no mesh profile is mapped to it.
l Unmapping a mesh profile from a radio that is configured as an uplink can be done only after the uplink configuration is removed from that radio.
Examples
# Configure the mesh-link radio interface as an uplink interface.
<Sysname> system-view
[Sysname] wlan uplink-interface mesh-link wlan-radio 1/0/1