12-WLAN Advanced Features Command Reference

HomeSupportResource CenterWirelessH3C WBC Series Multiservice Access ControllersH3C WBC Series Multiservice Access ControllersTechnical DocumentsCommandCommand ReferencesH3C WBC Series Multservice Access Controllers Command References(E5448)-6W10012-WLAN Advanced Features Command Reference
08-WLAN mesh commands
Title Size Download
08-WLAN mesh commands 152.04 KB

WLAN mesh commands

active-link keepalive-transmit-level

Use active-link keepalive-transmit-level to set the level of interval for sending keepalive requests.

Use undo active-link keepalive-transmit-level to restore the default.

Syntax

active-link keepalive-transmit-level value

undo active-link keepalive-transmit-level

Default

The level of interval for sending keepalive requests is 0.

Views

Mesh policy view

Predefined user roles

network-admin

Parameters

value: Specifies the level of interval for sending keepalive requests in the range of 0 to 4. Levels 0, 1, 2, 3, and 4 represent intervals 100 ms, 200 ms, 400 ms, 600 ms, and 1000 ms, respectively.

Usage guidelines

Onboard MPs determine whether a train has entered the garage based on the information carried in the probe responses from trackside MPs. If the train has entered the garage, onboard MPs will reduce the keepalive request sending interval based on the configured level of interval to prevent keepalive requests from consuming channel resources. A higher interval level indicates a longer interval to send keepalive requests.

Set the level on the AC that manages trackside MPs. Trackside MPs inform onboard MPs of the level to control the keepalive requests sent by onboard MPs.

Examples

# Set the level of interval for sending keepalive requests to 2.

<Sysname> system-view

[Sysname] wlan mesh-policy abc

[Sysname-wlan-mesh-policy-abc] active-link keepalive-transmit-level 2

Related commands

display wlan mesh-policy

akm mode sae

Use akm mode sae to set the authentication and key management mode to simultaneous authentication of equals (SAE).

Use undo akm mode to restore the default.

Syntax

akm mode sae

undo akm mode

Default

The authentication and key management mode is not set.

Views

Mesh profile view

Predefined user roles

network-admin

Usage guidelines

Make sure the mesh profile is disabled before you configure or remove its authentication and key management mode setting.

Examples

# Set the authentication and key management mode to SAE in mesh profile 1.

<Sysname> system-view

[Sysname] wlan mesh-profile 1

[Sysname-wlan-mesh-profile-1] akm mode sae

Related commands

display wlan mesh-profile

display wlan mesh-link ap

Use display wlan mesh-link ap to display mesh link information for APs.

Syntax

display wlan mesh-link ap [ name ap-name ] [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

name ap-name: Specifies an AP by its name, a case-sensitive string of 1 to 64 characters. The string can contain alphanumeric characters, underscores (_), dots (.), brackets ([]), slashes (/), and hyphens (-). If you do not specify an AP, this command displays mesh link information for all APs.

verbose: Displays detailed mesh link information. If you do not specify this keyword, the command displays brief mesh link information.

Examples

# Display brief mesh link information for AP ap1.

<Sysname> display wlan mesh-link ap name ap1

 AP name: ap1

 Peer            Local           Status      RSSI  Packets(Rx/Tx)

 4ab7-c78a-22ff  75bb-c36d-4ef8  Forwarding  22    0/0

Table 1 Command output

Field

Description

Peer

MAC address of the peer MP.

Local

MAC address of the local AP.

Status

Status of the link. This field displays Forwarding if the mesh link is forwarding traffic.

RSSI

RSSI on the mesh link.

Packets(Rx/Tx)

Packet statistics for the mesh link:

·     Rx—Number of received packets.

·     Tx—Number of sent packets.

# Display detailed mesh link information for AP ap1.

<Sysname> display wlan mesh-link ap name ap1 verbose

AP name: ap1

 Peer MAC                  : 4ab7-c78a-22ff

 Local MAC                 : 75bb-c36d-4ef8

 Status                    : Forwarding

 Link mode                 : dot11an

 RSSI                      : 67

 SNR                       : 76

 Noise                     : 0 dBm

 Cost                      : 0

 Incorrect packets         : 0.00 %

 Packets

   Received                : 170

   Sent                    : 157

   Resent                  : 0

   Lost                    : 0

# Display detailed mesh link information for all APs.

<Sysname> display wlan mesh-link ap verbose

AP name: ap1

 Peer MAC                  : 84d9-317d-9710

 Local MAC                 : 70f9-6dd7-cf00

 Status                    : Forwarding

 Link mode                 : dot11an

 RSSI                      : 67

 SNR                       : 67

 Noise                     : 0 dBm

 Cost                      : 0

 Incorrect packet          : 0.00 %

 Packets

   Received                : 1508

   Sent                    : 14617

   Resent                  : 162

   Lost                    : 0

 

AP name: ap2

 Peer MAC                  : 84d9-317d-9710

 Local MAC                 : 0606-e203-1111

 Status                    : Forwarding

 Link mode                 : dot11an

 RSSI                      : 62

 SNR                       : 62

 Noise                     : 0 dBm

 Cost                      : 0

 Incorrect packet          : 0.03 %

 Packets

   Received                : 2921

   Sent                    : 2877

   Resent                  : 178

   Lost                    : 1

Table 2 Command output

Field

Description

Peer MAC

MAC address of the peer MP.

Local MAC

MAC address of the local AP.

Status

Status of the link. This field displays Forwarding if the mesh link is forwarding traffic.

Link mode

Radio mode.

RSSI

RSSI on the mesh link.

SNR

Signal to noise ratio.

Cost

Link cost.

Incorrect packets

Percentage of sent packets that encountered transmission errors.

Received

Total number of received packets.

Sent

Total number of sent packets.

Resent

Number of retransmitted packets.

Lost

Number of lost packets.

display wlan mesh-policy

Use display wlan mesh-policy to display mesh policy information.

Syntax

display wlan mesh-policy [ mesh-policy-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

mesh-policy-name: Specifies a mesh policy by its name, a case-insensitive string of 1 to 31 characters. If you do not specify a policy name, this command displays information about all mesh policies.

Examples

# Display information about all mesh policies.

<Sysname> display wlan mesh-policy

Mesh policy name                     : default_mesh_policy

Mesh link initiation                 : Enabled

Max links                            : 2

Probe request interval               : 1000 ms

Link hold RSSI                       : 15

Link saturation RSSI                 : 150

Link establish threshold             : 5

Temporary link establish             : Enabled

Transmission method                  : Air

Active link keepalive transmit level : 0

Table 3 Command output

Field

Description

Mesh link initiation

Status of the mesh link initiation feature:

·     Enabled.

·     Disabled.

Max links

Maximum number of links.

Link hold RSSI

Mesh link hold RSSI.

Link saturation RSSI

Link saturation RSSI.

Temporary link establish

Temporary link establishment:

·     Enabled.

·     Disabled.

Transmission method

Mesh signal transmission method:

·     Air.

·     Waveguide—Waveguides or LCX cables.

Active link keepalive transmit level

Level of interval for sending keepalive requests:

·     0—An interval of 100 ms.

·     1—An interval of 200 ms.

·     2—An interval of 400 ms.

·     3—An interval of 600 ms.

·     4—An interval of 1000 ms.

display wlan mesh-profile

Use display wlan mesh-profile to display mesh profile information.

Syntax

display wlan mesh-profile [ mesh-profile-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

mesh-profile-number: Specifies a mesh profile by its number in the range of 1 to 32. If you do not specify a mesh profile, this command displays information about all mesh profiles.

Examples

# Display information about all mesh profiles.

<Sysname> display wlan mesh-profile

Mesh profile number          : 1

Mesh ID                      : 11

Link keepalive interval      : 2 s

Link backhaul rate           : 18 Mbps

Mesh profile status          : Enabled

Link metric type             : Not Configured

AKM mode                     : None

PSK status                   : Disabled

 

Mesh profile number          : 2

Mesh ID                      : 22

Link keepalive interval      : 2 s

Link backhaul rate           : 18 Mbps

Mesh profile status          : Enabled

Link metric type             : Not Configured

AKM mode                     : None

PSK status                   : Disabled

Table 4 Command output

Field

Description

Mesh profile status

Status of the mesh profile:

·     Enabled.

·     Disabled.

AKM mode

Authentication and key management mode:

·     None—No authentication and key management mode is specified.

·     SAE—SAE mode is specified.

PSK status

Preshared key configuration status:

·     Enabled—A preshared key is configured.

·     Disabled—No preshared key is configured.

interface wlan-mesh

Use interface wlan-mesh to create a mesh interface and enter its view, or enter the view of an existing mesh interface.

Use undo interface wlan-mesh to remove a mesh interface.

Syntax

interface wlan-mesh interface-number

undo interface wlan-mesh interface-number

Default

No mesh interface exists.

Views

AP view

AP group view

Predefined user roles

network-admin

Parameters

interface-number: Specifies the number of the mesh interface in the range of 0 to 1023.

Usage guidelines

Make sure the mesh interfaces created in AP view and AP group view have different interface numbers.

Examples

# Create mesh interface 1 for AP ap1 and enter WLAN-mesh interface view.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] interface wlan-mesh 1

[Sysname-wlan-ap-ap1-wlan-mesh-1]

# Create mesh interface 2 for APs in AP group g1 and enter AP group's WLAN-mesh interface view.

<Sysname> system-view

[Sysname] wlan ap-group g1

[Sysname-wlan-ap-group-g1] interface wlan-mesh 2

[Sysname-wlan-ap-group-g1-wlan-mesh-2]

Related commands

mesh-interface

link-establish-threshold

Use link-establish-threshold to set the mesh link establishment threshold.

Use undo link-establish-threshold to restore the default.

Syntax

link-establish-threshold threshold-value

undo link-establish-threshold

Default

The mesh link establishment threshold is 5.

Views

Mesh policy view

Predefined user roles

network-admin

Parameters

threshold-value: Specifies the mesh link establishment threshold in the range of 1 to 100.

Usage guidelines

An onboard MP establishes a mesh link with a trackside MP only when the link RSSI reaches or exceeds the sum of the link establishment threshold and link hold RSSI. This prevents link flapping caused by frequent mesh link establishment.

By fine adjustment of the link establishment threshold, you can control mesh link establishment without changing the link hold RSSI.

Examples

# Set the mesh link establishment threshold to 3 for mesh policy abc.

<Sysname> system-view

[Sysname] wlan mesh-policy abc

[Sysname-wlan-mesh-policy-abc] link-establish-threshold 3

Related commands

display wlan mesh-policy

link-hold-rssi

link-hold-rssi

Use link-hold-rssi to set the mesh link hold RSSI, the minimum signal strength for a mesh link to be retained.

Use undo link-hold-rssi to restore the default.

Syntax

link-hold-rssi value

undo link-hold-rssi

Default

The mesh link hold RSSI is 15.

Views

Mesh policy view

Predefined user roles

network-admin

Parameters

value: Specifies the mesh link hold RSSI in the range of 5 to 100.

Examples

# Set the mesh link hold RSSI to 24 for mesh policy abc.

<Sysname> system-view

[Sysname] wlan mesh-policy abc

[Sysname-wlan-mesh-policy-abc] link-hold-rssi 24

Related commands

display wlan mesh-policy

link-initiation enable

Use link-initiation enable to enable mesh link initiation.

Use undo link-initiation enable to disable mesh link initiation.

Syntax

link-initiation enable

undo link-initiation enable

Default

Mesh link initiation is enabled.

Views

Mesh policy view

Predefined user roles

network-admin

Usage guidelines

Mesh link initiation enables the MP to send Link Open requests to a peer without having received a Link Open request from that peer. If this feature is disabled, the MP must wait for a Link Open request from its peer before it can send one.

Examples

# Disable mesh link initiation.

<Sysname> system-view

[Sysname] wlan mesh-policy abc

[Sysname-wlan-mesh-policy-abc] undo link-initiation enable

Related commands

display wlan mesh-policy

mlsp enable

link-keepalive

Use link-keepalive to set the mesh link keepalive interval.

Use undo link-keepalive to restore the default.

Syntax

link-keepalive keepalive-interval

undo link-keepalive

Default

The mesh link keepalive interval is 2 seconds.

Views

Mesh profile view

Predefined user roles

network-admin

Parameters

keepalive-interval: Specifies a keepalive interval in the range of 1 to 1800 seconds.

Usage guidelines

MPs on a mesh link use keepalive packets to detect mesh link status. The MP with a higher MAC address sends keepalive packets at the keepalive interval to the peer end. The sending MP disconnects the mesh link if it has not received a reply before three consecutive keepalive intervals expire. The receiving MP disconnects the mesh link if it has not received keepalive packets before three consecutive keepalive intervals expire. For correct link status detection, the keepalive interval at the sending end must be equal to or less than three times the keepalive interval at the receiving end.

Examples

# Set the mesh link keepalive interval to 6 seconds in mesh profile 1.

<Sysname> system-view

[Sysname] wlan mesh-profile 1

[Sysname-wlan-mesh-profile-1] link-keepalive 6

Related commands

display wlan mesh-profile

link-maximum-number

Use link-maximum-number to set the maximum number of mesh links on a radio.

Use undo link-maximum-number to restore the default.

Syntax

link-maximum-number max-link-number

undo link-maximum-number

Default

A maximum of two mesh links can be established on a radio.

Views

Mesh policy view

Predefined user roles

network-admin

Parameters

max-link-number: Specifies a limit in the range of 1 to 8.

Usage guidelines

The MP will stop establishing new mesh links on a radio after the maximum number of mesh links is reached.

Examples

# Set the maximum number of mesh links to 5 for mesh policy abc.

<Sysname> system-view

[Sysname] wlan mesh-policy abc

[Sysname-wlan-mesh-policy-abc] link-maximum-number 5

Related commands

display wlan mesh-policy

link-saturation-rssi

Use link-saturation-rssi to set the link saturation RSSI.

Use undo link-saturation-rssi to restore the default.

Syntax

link-saturation-rssi value

undo link-saturation-rssi

Default

The link saturation RSSI is 150.

Views

Mesh policy view

Predefined user roles

network-admin

Parameters

value: Specifies a link saturation RSSI value in the range of 30 to 150.

Usage guidelines

To prevent strong signal strength from affecting chip performance, an MP terminates the active link when the link's RSSI exceeds the link saturation RSSI. If MLSP is enabled, the onboard MP will try to establish an active mesh link with another mesh peer.

Examples

# Set the link saturation RSSI to 50 for mesh policy abc.

<Sysname> system-view

[Sysname] wlan mesh-policy abc

[Sysname-wlan-mesh-policy-abc] link-saturation-rssi 50

Related commands

display wlan mesh-policy

mesh-id

Use mesh-id to assign a mesh ID to a mesh profile.

Use undo mesh-id to restore the default.

Syntax

mesh-id mesh-id

undo mesh-id

Default

A mesh profile does not contain a mesh ID.

Views

Mesh profile view

Predefined user roles

network-admin

Parameters

mesh-id: Specifies a mesh ID, a case-sensitive string of 1 to 32 characters.

Usage guidelines

The mesh ID in each mesh profile must be unique.

MPs on the same mesh network must use the same mesh ID.

Examples

# Assign mesh ID mesh to mesh profile 1.

<Sysname> system-view

[Sysname] wlan mesh-profile 1

[Sysname-wlan-mesh-profile-1] mesh-id mesh

Related commands

display wlan mesh-profile

mesh-interface

Use mesh-interface to bind a mesh interface to a radio.

Use mesh-interface disable to unbind a mesh interface from a radio and configure the AP to not inherit the configuration in AP group's radio views.

Use undo mesh-interface to restore the default.

Syntax

Radio view:

mesh-interface { interface-number | disable }

undo mesh-interface

AP group's radio view:

mesh-interface interface-number

undo mesh-interface

Default

In radio view, an AP uses the configuration in an AP group's radio view.

In an AP group's radio view, no mesh interface is bound to a radio.

Views

Radio view

AP group's radio view

Predefined user roles

network-admin

Parameters

interface-number: Specifies the number of a mesh interface in the range of 0 to 1023.

Usage guidelines

You can bind only one mesh interface to a radio. If you execute this command multiple times, the most recent binding takes effect.

Mesh interfaces created in AP view can be bound to a radio only in radio view. Mesh interfaces created in AP group view can be bound to a radio in both radio view and AP group's radio view.

Examples

# Bind mesh interface 1 to radio 1 of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] radio 1

[Sysname-wlan-ap-ap1-radio-1] mesh-interface 1

# Bind mesh interface 2 to radio 1 of APs in AP group g1.

<Sysname> system-view

[Sysname]wlan ap-group g1

[Sysname-wlan-ap-group-g1] ap-model WA6320

[Sysname-wlan-ap-group-g1-ap-model-WA6320] radio 1

[Sysname-wlan-ap-group-g1-ap-model-WA6320-radio-1] mesh-interface 2

Related commands

interface wlan-mesh

mesh peer-mac-address

Use mesh peer-mac-address to add an MP to the mesh peer blacklist or whitelist.

Use mesh peer-mac-address disable to remove all MPs from the mesh peer blacklist or whitelist and configure the AP to not inherit the configuration in an AP group's radio views.

Use undo mesh peer-mac-address to remove MPs from the mesh peer blacklist or whitelist.

Syntax

Radio view:

mesh peer-mac-address [ blacklist ] { mac-address | disable }

undo mesh peer-mac-address [ blacklist ] [ mac-address ]

AP group's radio view:

mesh peer-mac-address [ blacklist ] mac-address

undo mesh peer-mac-address [ blacklist ] [ mac-address ]

Default

In radio view, an AP uses the configuration in an AP group's radio view.

In an AP group's radio view, no mesh peer blacklist or whitelist exists.

Views

Radio view

AP group's radio view

Predefined user roles

network-admin

Parameters

blacklist: Adds the MAC address of an MP to the mesh peer blacklist. If you do not specify this keyword, the command adds the MAC address to the mesh peer whitelist.

mac-address: Specifies the MAC address of a radio on an MP in H-H-H format.

Usage guidelines

If you configure both the blacklist and whitelist, only the whitelist takes effect.

If you execute the command multiple times to add the same MAC address to the whitelist or blacklist, the most recent configuration takes effect.

The configuration in radio view takes precedence over the configuration in an AP group's radio views.

Examples

# Add the MAC address of a radio on an MP to the mesh peer whitelist for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] radio 1

[Sysname-wlan-ap-ap1-radio-1] mesh peer-mac-address 4ab7-c78a-22ff

# Add the MAC address of radio on an MP to the mesh peer blacklist for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] radio 1

[Sysname-wlan-ap-ap1-radio-1] mesh peer-mac-address blacklist 4ab7-c78a-22ff

# Add the MAC address of a radio on an MP to the mesh peer whitelist for APs in AP group g1.

<Sysname> system-view

[Sysname] wlan ap-group g1

[Sysname-wlan-ap-group-g1] ap-model WA6320

[Sysname-wlan-ap-group-g1-ap-model-WA6320] radio 1

[Sysname-wlan-ap-group-g1-ap-model-WA6320-radio-1] mesh peer-mac-address 4ab7-c78a-33ff

mesh-peer intra-ac-mpp enable

Use mesh-peer intra-ac-mpp enable to enable MPPs associated with the same AC to become mesh peers.

Use undo mesh-peer intra-ac-mpp enable to restore the default.

Syntax

mesh-peer intra-ac-mpp enable

undo mesh-peer intra-ac-mpp enable

Default

To avoid loops, MPPs associated with the same AC cannot become mesh peers.

Views

Global configuration view

Predefined user roles

network-admin

Usage guidelines

Make sure the mesh links established between MPPs associated with the same AC are not in VLAN 1.

Examples

# Enable MPPs associated with the same AC to become mesh peers.

<Sysname> system-view

[Sysname] wlan global-configuration

[Sysname-wlan-global-configuration] mesh-peer intra-ac-mpp enable

mesh-policy

Use mesh-policy to bind a mesh policy to a radio.

Use undo mesh-policy to restore the default.

Syntax

Radio view:

mesh-policy { default | name policy-name }

undo mesh-policy

AP group's radio view:

mesh-policy name policy-name

undo mesh-policy

Default

In radio view, an AP uses the configuration in an AP group's radio view.

In an AP group's radio view, default mesh policy default_mesh_policy is bound to a radio.

Views

Radio view

AP group's radio view

Predefined user roles

network-admin

Parameters

policy-name: Specifies a mesh policy by its name, a case-insensitive string of 1 to 31 characters.

default: Specifies default mesh policy default_mesh_policy.

Usage guidelines

You can bind only one mesh policy to a radio. If you execute this command multiple times, the most recent binding takes effect.

The configuration in radio view takes precedence over the configuration in AP group's radio views.

Examples

# Bind mesh policy policy1 to radio 1 of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] radio 1

[Sysname-wlan-ap-ap1-radio-1] mesh-policy name policy1

# Bind mesh policy policy2 to radio 1 of APs in AP group g1.

<Sysname> system-view

[Sysname] wlan ap-group g1

[Sysname-wlan-ap-group-g1] ap-model WA6320

[Sysname-wlan-ap-group-g1-ap-model-WA6320] radio 1

[Sysname-wlan-ap-group-g1-ap-model-WA6320-radio-1] mesh-policy name policy2

# Bind the default mesh policy to radio 1 of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1

[Sysname-wlan-ap-ap1] radio 1

[Sysname-wlan-ap-ap1-radio-1] mesh-policy default

Related commands

wlan mesh-policy

mesh-port access vlan

Use mesh-port access vlan to assign an access-type mesh interface to a VLAN.

Use undo mesh-port access vlan to restore the default.

Syntax

mesh-port access vlan vlan-id

undo mesh-port access vlan

Default

An access port belongs to VLAN 1.

Views

WLAN-mesh interface view

AP group's WLAN-mesh interface view

Predefined user roles

network-admin

Parameters

vlan-id: Specifies a VLAN ID in the range of 1 to 4094.

Usage guidelines

Make sure the VLAN exists before you execute this command.

Examples

# Assign WLAN-mesh 1 of AP ap1 to VLAN 2.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] interface wlan-mesh 1

[Sysname-wlan-ap-ap1-wlan-mesh-1] mesh-port access vlan 2

# Assign WLAN-mesh 2 of APs in AP group g1 to VLAN 2.

<Sysname> system-view

[Sysname] wlan ap-group g1

[Sysname-wlan-ap-group-g1] interface wlan-mesh 2

[Sysname-wlan-ap-group-g1-wlan-mesh-2] mesh-port access vlan 2

Related commands

interface wlan-mesh

remote-configuration enable

mesh-port hybrid pvid

Use mesh-port hybrid pvid to set the PVID for a hybrid-type mesh interface.

Use undo mesh-port hybrid pvid to set the PVID for a hybrid-type mesh interface to VLAN 1.

Syntax

mesh-port hybrid pvid vlan vlan-id

undo mesh-port hybrid pvid

Default

The PVID of a hybrid port is the ID of the VLAN to which the port belongs when its link type is access.

Views

WLAN-mesh interface view

AP group's WLAN-mesh interface view

Predefined user roles

network-admin

Parameters

vlan-id: Specifies a VLAN ID in the range of 1 to 4094.

Usage guidelines

You can specify a non-existent VLAN as the port VLAN for a hybrid port.

Make sure the mesh interfaces used by two MPs to establish mesh links with each other have the same PVID.

To enable a hybrid port to transmit packets from its port VLAN, you must assign the hybrid port to the port VLAN.

Examples

# Set the PVID of WLAN-mesh 1 to VLAN 100, and assign WLAN-mesh 1 to VLAN 100 as an untagged member for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] interface wlan-mesh 1

[Sysname-wlan-ap-ap1-wlan-mesh-1] mesh-port link-type hybrid

[Sysname-wlan-ap-ap1-wlan-mesh-1] mesh-port hybrid pvid vlan 100

[Sysname-wlan-ap-ap1-wlan-mesh-1] mesh-port hybrid vlan 100 untagged

# Set the PVID of WLAN-mesh 2 to VLAN 100, and assign WLAN-mesh 2 to VLAN 100 as an untagged member for APs in AP group g1.

<Sysname> system-view

[Sysname] wlan ap-group g1

[Sysname-wlan-ap-group-g1] interface wlan-mesh 2

[Sysname-wlan-ap-group-g1-wlan-mesh-2] mesh-port link-type hybrid

[Sysname-wlan-ap-group-g1-wlan-mesh-2] mesh-port hybrid pvid vlan 100

[Sysname-wlan-ap-group-g1-wlan-mesh-2] mesh-port hybrid vlan 100 untagged

Related commands

mesh-port hybrid vlan

mesh-port link-type

mesh-port hybrid vlan

Use mesh-port hybrid vlan to assign a hybrid-type mesh interface to the specified VLANs.

Use undo mesh-port hybrid vlan to remove a hybrid-type mesh interface from the specified VLANs.

Syntax

mesh-port hybrid vlan vlan-id-list { tagged | untagged }

undo mesh-port hybrid vlan vlan-id-list

Default

A hybrid port is an untagged member of the VLAN to which the port belongs when its link type is access.

Views

WLAN-mesh interface view

AP group's WLAN-mesh interface view

Predefined user roles

network-admin

Parameters

vlan-id-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN ID or a range of VLAN IDs in the form of vlan-id1 to vlan-id2. The value range for VLAN IDs is 1 to 4094. The value for the vlan-id2 argument must be equal to or greater than the value for the vlan-id1 argument. The specified VLANs must already exist on the device.

tagged: Configures the port as a tagged member of the specified VLANs. A tagged member of a VLAN sends packets from the VLAN without removing VLAN tags.

untagged: Configures the port as an untagged member of the specified VLANs. An untagged member of a VLAN sends packets from the VLAN after removing VLAN tags.

Usage guidelines

A hybrid port can allow multiple VLANs. If you execute this command multiple times on a hybrid port, the hybrid port allows all the specified VLANs.

Examples

# Configure WLAN-mesh 1 as a hybrid port, and assign it to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100 as a tagged member for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] interface wlan-mesh 1

[Sysname-wlan-ap-ap1-wlan-mesh-1] mesh-port link-type hybrid

[Sysname-wlan-ap-ap1-wlan-mesh-1] mesh-port hybrid vlan 2 4 50 to 100 tagged

# Configure WLAN-mesh 2 as a hybrid port, and assign it to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100 as a tagged member for APs in AP group g1.

<Sysname> system-view

[Sysname] wlan ap-group g1

[Sysname-wlan-ap-group-g1] interface wlan-mesh 2

[Sysname-wlan-ap-group-g1-wlan-mesh-2] mesh-port link-type hybrid

[Sysname-wlan-ap-group-g1-wlan-mesh-2] mesh-port hybrid vlan 2 4 50 to 100 tagged

Related commands

mesh-port hybrid pvid

mesh-port link-type

mesh-port link-type

Use mesh-port link-type to set the link type for a mesh interface.

Use undo mesh-port link-type to restore the default.

Syntax

mesh-port link-type { access | hybrid | trunk }

undo mesh-port link-type

Default

A mesh interface is an access port.

Views

WLAN-mesh interface view

AP group's WLAN-mesh interface view

Predefined user roles

network-admin

Parameters

access: Sets the port link type to access.

hybrid: Sets the port link type to hybrid.

trunk: Sets the port link type to trunk.

Usage guidelines

To change the link type of a port between trunk and hybrid, first set the link type to access.

Examples

# Configure WLAN-mesh 1 as a trunk port for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] interface wlan-mesh 1

[Sysname-wlan-ap-ap1-wlan-mesh-1] mesh-port link-type trunk

# Configure WLAN-mesh 2 as a trunk port for APs in AP group g1.

<Sysname> system-view

[Sysname] wlan ap-group g1

[Sysname-wlan-ap-group-g1] interface wlan-mesh 2

[Sysname-wlan-ap-group-g1-wlan-mesh-2] mesh-port link-type hybrid

mesh-port trunk permit vlan

Use mesh-port trunk permit vlan to assign a trunk-type mesh interface to the specified VLANs.

Use undo mesh-port trunk permit vlan to remove a trunk-type mesh interface from the specified VLANs.

Syntax

mesh-port trunk permit vlan { vlan-id-list | all }

undo mesh-port trunk permit vlan { vlan-id-list | all }

Default

A trunk port allows packets only from VLAN 1 to pass through.

Views

WLAN-mesh interface view

AP group's WLAN-mesh interface view

Predefined user roles

network-admin

Parameters

vlan-id-list: Specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN ID or a range of VLAN IDs in the form of vlan-id1 to vlan-id2. The value range for VLAN IDs is 1 to 4094. The value for the vlan-id2 argument must be equal to or greater than the value for the vlan-id1 argument.

all: Specifies all VLANs.

Usage guidelines

A trunk port can allow multiple VLANs. If you execute this command multiple times on a trunk port, the trunk port allows all the specified VLANs.

On a trunk port, only packets from the PVID can pass through untagged.

Examples

# Configure WLAN-mesh 1 as a trunk port, and assign it to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100 for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] interface wlan-mesh 1

[Sysname-wlan-ap-ap1-wlan-mesh-1] mesh-port link-type trunk

[Sysname-wlan-ap-ap1-wlan-mesh-1] mesh-port trunk permit vlan 2 4 50 to 100

# Configure WLAN-mesh 2 as a trunk port, and assign it to VLAN 2, VLAN 4, and VLAN 50 through VLAN 100 for APs in AP group g1.

<Sysname> system-view

[Sysname] wlan ap-group g1

[Sysname-wlan-ap-group-g1] interface wlan-mesh 2

[Sysname-wlan-ap-group-g1-wlan-mesh-2] mesh-port link-type trunk

[Sysname-wlan-ap-group-g1-wlan-mesh-2] mesh-port trunk permit vlan 2 4 50 to 100

Related commands

mesh-port link-type

mesh-port trunk pvid

mesh-port trunk pvid

Use mesh-port trunk pvid to set the PVID for a trunk-type mesh interface.

Use undo mesh-port trunk pvid to restore the default.

Syntax

mesh-port trunk pvid vlan vlan-id

undo mesh-port trunk pvid

Default

The PVID of a trunk port is VLAN 1.

Views

WLAN-mesh interface view

AP group's WLAN-mesh interface view

Predefined user roles

network-admin

Parameters

vlan-id: Specifies a VLAN ID in the range of 1 to 4094.

Usage guidelines

You can specify a non-existent VLAN as the port VLAN for a hybrid port.

Make sure the mesh interfaces used by two MPs to establish mesh links with each other have the same PVID.

To enable a trunk port to transmit packets from its port VLAN, you must assign the trunk port to the port VLAN.

Examples

# Set the PVID of WLAN-mesh 1 to VLAN 100, and assign WLAN-mesh 1 to VLAN 100 as an untagged member for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] interface wlan-mesh 1

[Sysname-wlan-ap-ap1-wlan-mesh-1] mesh-port trunk pvid vlan 100

[Sysname-wlan-ap-ap1-wlan-mesh-1] mesh-port trunk permit vlan 100

# Set the PVID of WLAN-mesh 2 to VLAN 100, and assign WLAN-mesh 2 to VLAN 100 as an untagged member for APs in AP group g1.

<Sysname> system-view

[Sysname] wlan ap-group g1

[Sysname-wlan-ap-group-g1] interface wlan-mesh 2

[Sysname-wlan-ap-group-g1-wlan-mesh-2] mesh-port trunk pvid vlan 100

[Sysname-wlan-ap-group-g1-wlan-mesh-2] mesh-port trunk permit vlan 100

Related commands

mesh-port link-type

mesh-port trunk permit vlan

mesh-profile

Use mesh-profile to bind a mesh profile to a radio.

Use mesh-profile disable to unbind a mesh profile from a radio and configure the AP to not inherit the configuration in an AP group's radio views.

Use undo mesh-profile to restore the default.

Syntax

Radio view:

mesh-profile { mesh-profile-number | disable }

undo mesh-profile

AP group's radio view:

mesh-profile mesh-profile-number

undo mesh-profile

Default

In radio view, an AP uses the configuration in an AP group's radio view.

In an AP group's radio view, no mesh profile is bound to a radio.

Views

Radio view

AP group's radio view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

The configuration in radio view takes precedence over the configuration in an AP group's radio views.

Examples

# Bind mesh profile 1 to radio 1 of AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] radio 1

[Sysname-wlan-ap-ap1-radio-1] mesh-profile 1

# Bind mesh profile 2 to radio 1 of APs in AP group g1.

<Sysname> system-view

[Sysname] wlan ap-group g1

[Sysname-wlan-ap-group-g1] ap-model WA6320

[Sysname-wlan-ap-group-g1-ap-model-WA6320] radio 1

[Sysname-wlan-ap-group-g1-ap-model-WA6320-radio-1] mesh-profile 2

Related commands

mesh-profile enable

wlan mesh-profile

mesh-profile enable

Use mesh-profile enable to enable a mesh profile.

Use undo mesh-profile enable to disable a mesh profile.

Syntax

mesh-profile enable

undo mesh-profile enable

Default

A mesh profile is disabled.

Views

Mesh profile view

Predefined user roles

network-admin

Usage guidelines

Before you enable a mesh profile, you must assign it a mesh ID.

Examples

# Enable mesh profile 1.

<Sysname> system-view

[Sysname] wlan mesh-profile 1

[Sysname-wlan-mesh-profile-1] mesh-profile enable

Related commands

mesh-id

preshared-key

Use preshared-key to add a preshared key to a mesh profile.

Use undo preshared-key to restore the default.

Syntax

preshared-key { pass-phrase | raw-key } { cipher | simple } string

undo preshared-key

Default

A mesh profile does not contain a preshared key.

Views

Mesh profile view

Predefined user roles

network-admin

Parameters

pass-phrase: Sets the key in character string form.

raw-key: Sets the key in hexadecimal form.

cipher: Specifies the key in encrypted form.

simple: Specifies the key in plaintext form. For security purposes, the key specified in plaintext form will be stored in encrypted form.

string: Specifies a case-sensitive key string. The following are the key length ranges:

·     pass-phrase plaintext—8 to 63 characters.

·     pass-phrase ciphertext—41 to 117 characters.

·     raw-key plaintext—64 hexadecimal digits.

·     raw-key ciphertext—117 characters.

Usage guidelines

Make sure the mesh profile is disabled before you use this command.

You can configure only one preshared key in a mesh profile. If you execute this command multiple times, the most recent configuration takes effect.

Examples

# Add preshared key abcdefghig in plain text to mesh profile 1.

<Sysname> system-view

[Sysname] wlan mesh-profile 1

[Sysname-wlan-mesh-profile-1] preshared-key pass-phrase simple abcdefghig

Related commands

display wlan mesh-profile

probe-request-interval

Use probe-request-interval to set the probe request interval.

Use undo probe-request-interval to restore the default.

Syntax

probe-request-interval interval-value

undo probe-request-interval

Default

The probe request interval is 1000 milliseconds.

Views

Mesh policy view

Predefined user roles

network-admin

Parameters

interval-value: Specifies an interval in the range of 100 to 8191 milliseconds. As a best practice, set the value to a multiple of 100.

Examples

# Set the probe request interval to 500 milliseconds for mesh policy abc.

<Sysname> system-view

[Sysname] wlan mesh-policy abc

[Sysname-wlan-mesh-policy-abc] probe-request-interval 500

Related commands

display wlan mesh-policy

portal-service enable

Use portal-service enable to disable an MPP from sending probe requests.

Use portal-service disable to enable an MPP to send probe requests and configure the AP to not inherit the configuration in AP group view or global configuration view.

Use undo portal-service to restore the default.

Syntax

AP view or AP group view:

portal-service { disable | enable }

undo portal-service

Global configuration view:

portal-service enable

undo portal-service

Default

In AP view, an AP uses the configuration in AP group view. If no configuration exists in AP group view, the AP uses the configuration in global configuration view.

In AP group view, an AP uses the configuration global configuration view.

In global configuration view, MPPs can send probe requests.

Views

AP view

AP group view

Global configuration view

Predefined user roles

network-admin

Usage guidelines

As the mesh point that connects the WLAN mesh network to a wired network, an MPP might need to establish a large number of mesh links. To maintain its performance, you can disable the MPP from sending probe requests for neighbor discovery. The MPP will only respond to the probe requests from other MPs.

Examples

# Disable an MPP from sending probe requests for AP ap1.

<Sysname> system-view

[Sysname] wlan ap ap1 model WA6320

[Sysname-wlan-ap-ap1] portal-service enable

# Disable an MPP from sending probe requests for APs in AP group group1.

<Sysname> system-view

[Sysname] wlan ap-group group1

[Sysname-wlan-ap-group-group1] portal-service enable

# Disable the MPPs from sending probe requests globally.

<Sysname> system-view

[Sysname] wlan global-configuration

[Sysname-wlan-global-configuration] portal-service enable

temporary-link enable

Use temporary-link enable to enable temporary mesh link establishment.

Use undo temporary-link enable to restore the default.

Syntax

temporary-link enable

undo temporary-link enable

Default

Temporary mesh link establishment is enabled.

Views

Mesh policy view

Predefined user roles

network-admin

Usage guidelines

In subway application, you can disable this feature to prevent frequent temporary mesh link establishment from affecting trackside MP performance.

Examples

# Disable temporary mesh link establishment.

<Sysname> system-view

[Sysname] wlan mesh-policy 1

[Sysname-wlan-mesh-policy-1] undo temporary-link enable

transmission-method

Use transmission-method to specify the mesh signal transmission method.

Use undo transmission-method to restore the default.

Syntax

transmission-method { air | waveguide }

undo transmission-method

Default

The mesh signal transmission method is air.

Views

Mesh policy view

Predefined user roles

network-admin

Parameters

air: Specifies transmission over the air.

waveguide: Specifies transmission in waveguides or LCX cables.

Usage guidelines

In subway applications, signals can be transmitted over the air, in waveguides, or in linking coaxial (LCX) cables. Execute this command to specify the signal transmission method carried in packets sent by trackside MPs for onboard MPs to obtain the signal transmission method after receiving the packets.

Examples

# Specify the mesh signal transmission method as waveguide.

<Sysname> system-view

[Sysname] wlan mesh-policy abc

[Sysname-wlan-mesh-policy-abc] transmission-method waveguide

Related commands

display wlan mesh-policy

wlan mesh-policy

Use wlan mesh-policy to create a mesh policy and enter its view, or enter the view of an existing mesh policy.

Use undo wlan mesh-policy to delete a mesh policy.

Syntax

wlan mesh-policy policy-name

undo wlan mesh-policy policy-name

Default

A system-defined mesh policy exists. The policy name is default_mesh_policy.

Views

System view

Predefined user roles

network-admin

Parameters

policy-name: Specifies a mesh policy by its name, a case-insensitive string of 1 to 31 characters.

Usage guidelines

Before you can modify or delete attribute settings in the mesh policy that is used on a radio, you must disable the mesh profile that is bound to that radio.

You cannot delete or modify the system-defined mesh policy.

Examples

# Create mesh policy abc and enter mesh policy view.

<Sysname> system-view

[Sysname] wlan mesh-policy abc

[Sysname-wlan-mesh-policy-abc]

wlan mesh-profile

Use wlan mesh-profile to create a mesh profile and enter its view, or enter the view of an existing mesh profile.

Use undo wlan mesh-profile to delete a mesh profile.

Syntax

wlan mesh-profile mesh-profile-number

undo wlan mesh-profile mesh-profile-number

Default

No mesh profiles exist.

Views

System view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

To modify attribute settings in a mesh profile, you must first disable the mesh profile.

Examples

# Create mesh profile 1 and enter its view.

<Sysname> system-view

[Sysname] wlan mesh-profile 1

[Sysname-wlan-mesh-profile-1]

Related commands

mesh-profile enable