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 Traffic Optimization Commands

WLAN Traffic Optimization Commands

Command Support

Only the S5720HI supports WLAN-AC commands.

display wlan igmp-snooping vap-cac

Function

The display wlan igmp-snooping vap-cac command displays the multicast CAC configuration and statistics on a VAP.

Format

display wlan igmp-snooping vap-cac { ap-id ap-id | ap-name ap-name }

Parameters

Parameter

Description

Value

ap-id ap-id

Specifies an AP ID.

The AP ID must exist.

ap-name ap-name

Specifies an AP name.

The AP name must exist.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

You can run this command to check the multicast CAC configuration and statistics on a VAP, including the bandwidth and user statistics.

Example

# Display the multicast CAC configuration and statistics on VAPs of the AP with ID 0.

<HUAWEI> display wlan igmp-snooping vap-cac ap-id 0
Info: This operation may take a few seconds, please wait.done.
Rf            : Radio ID                  WID             : WLAN ID
CurBw         : Current bandwidth(kbps)   MaxBw           : Max bandwidth(kbps)
CurUser       : Current user number       MaxUser         : Max user number
BwUtilization : Bandwidth utilization     UserUtilization : User utilization
--------------------------------------------------------------------------------
Rf  WID  CurBw/MaxBw        BwUtilization  CurUser/MaxUser  UserUtilization
--------------------------------------------------------------------------------
0   1    0/11               0%             0/6              0%
--------------------------------------------------------------------------------
Total: 1

Table 11-229  Description of the display wlan igmp-snooping vap-cac command output

Item

Description

Rf

Radio ID.

WID

WLAN ID.

CurBw/MaxBw

Current multicast bandwidth/Maximum multicast bandwidth of a VAP.

BwUtilization

Multicast bandwidth utilization.

CurUser/MaxUser

Current number of multicast users/Maximum number of multicast users on a VAP.

UserUtilization

Percentage of current multicast users against the maximum number of multicast users that is configured globally.

igmp-snooping group-bandwidth (AP system profile view)

Function

The igmp-snooping group-bandwidth command configures the bandwidth of global multicast groups on an AP.

The undo igmp-snooping group-bandwidth command deletes the bandwidth of global multicast groups on an AP.

By default, the bandwidth of global multicast groups is not configured on an AP.

Format

igmp-snooping group-bandwidth start-group-address start-group-address end-group-address end-group-address bandwidth bandwidth-value

undo igmp-snooping group-bandwidth start-group-address start-group-address end-group-address end-group-address

Parameters

Parameter Description Value

start-group-address start-group-address

Specifies the start multicast group address.

The value is in dotted decimal notation.

end-group-address end-group-address

Specifies the end multicast group address.

The value is in dotted decimal notation.

bandwidth bandwidth-value

Specifies the bandwidth of multicast groups.

The value is an integer that ranges from 1 to 100000, in kbps.

Views

AP system profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can configure the bandwidth of multicast groups in an AP system profile according to the actual bandwidth of a multicast program. This configuration takes effect for the APs or AP groups to which this AP system profile is bound. When users request to order this multicast program, the AC collects statistics on the current multicast bandwidth of the VAP according to the bandwidth of global multicast groups configured for the AP, and compares the current bandwidth with the configured maximum bandwidth to determine whether to allow users to order this multicast program.

Precautions

You can configure the bandwidth for a maximum of 32 multicast group address segments. Addresses in one address segment must be different from those in another address segment. The configured address segments must contain valid multicast program addresses.

Example

# Set the bandwidth to 100 kbps for multicast group address segment from 224.0.1.0 to 224.255.255.255.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] ap-system-profile name ap-system1
[HUAWEI-wlan-ap-system-prof-ap-system1] igmp-snooping group-bandwidth start-group-address 224.0.1.0 end-group-address 224.255.255.255 bandwidth 100

igmp-snooping max-bandwidth (traffic profile view)

Function

The igmp-snooping max-bandwidth command configures the maximum multicast bandwidth for a VAP.

The undo igmp-snooping max-bandwidth command deletes the maximum multicast bandwidth of a VAP.

By default, the maximum multicast bandwidth is not configured for a VAP.

Format

igmp-snooping max-bandwidth max-bandwidth

undo igmp-snooping max-bandwidth

Parameters

Parameter Description Value

max-bandwidth

Specifies the maximum multicast bandwidth of a VAP. The value is an integer that ranges from 1 to 10000000, in kbps.

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The maximum multicast bandwidth is configured for a VAP in a traffic profile to limit the multicast traffic forwarding capacity of the VAP to which this traffic profile is bound. When the available multicast bandwidth of a VAP is insufficient, new users are prevented from joining multicast groups.

Precautions

After configuring the maximum multicast bandwidth for a VAP, run the igmp-snooping group-bandwidth (AP system profile view) command to configure the bandwidth of global multicast groups on the AP.

Example

# Set the maximum multicast bandwidth to 500 kbps in traffic profile p1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] igmp-snooping max-bandwidth 500

igmp-snooping max-user (traffic profile view)

Function

The igmp-snooping max-user command configures the maximum number of multicast group memberships for a VAP.

The undo igmp-snooping max-user command deletes the maximum number of multicast group memberships for a VAP.

By default, the maximum number of multicast group memberships is not configured for a VAP.

Format

igmp-snooping max-user max-user

undo igmp-snooping max-user

Parameters

Parameter Description Value

max-user

Specifies the maximum number of multicast group memberships on a VAP. The value is an integer that ranges from 1 to 1000.

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

The maximum number of multicast group memberships on a VAP is configured in a traffic profile to limit access of multicast users on the VAP to which this traffic profile is bound. When the number of multicast group memberships on a VAP reaches the maximum value, new users are prevented from joining multicast groups.

Example

# Set the maximum number of multicast group memberships to 10 on the VAP to which traffic profile p1 is bound.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] igmp-snooping max-user 10

igmp-snooping enable (traffic profile view)

Function

The igmp-snooping enable command enables IGMP snooping in a traffic profile.

The undo igmp-snooping enable command disables IGMP snooping in a traffic profile.

By default, IGMP snooping is disabled in a traffic profile.

Format

igmp-snooping enable

undo igmp-snooping enable

Parameters

None

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

IGMP snooping is a basic Layer 2 multicast function that forwards and controls multicast traffic at the data link layer. IGMP snooping runs on a Layer 2 device and analyzes IGMP messages exchanged between a Layer 3 device and hosts to set up and maintain a Layer 2 multicast forwarding table. The Layer 2 device forwards multicast packets based on the Layer 2 multicast forwarding table.

After you disable IGMP snooping in a traffic profile using the undo igmp-snooping enable command, all IGMP snooping configurations on the device are deleted. When you run the igmp-snooping enable command to enable IGMP snooping again, all IGMP snooping configurations are restored to the default settings on the device.

Prerequisites

The traffic profile has been created using the traffic-profile (WLAN view) command.

Example

# Enable IGMP snooping in traffic profile p1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] igmp-snooping enable

igmp-snooping report-suppress (Traffic profile view)

Function

The igmp-snooping report-suppress command enables suppression of IGMP Report and Leave message in a traffic profile.

The undo igmp-snooping report-suppress command cancels configuration of IGMP Report and Leave message suppression in a traffic profile.

By default, IGMP Report and Leave message suppression is disabled in a traffic profile.

Format

igmp-snooping report-suppress

undo igmp-snooping report-suppress

Parameters

None

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a Layer 2 device receives an IGMP Membership Report message (Report or Leave message) from a group member, the Layer 2 device forwards the message to the directly connected Layer 3 device. A group member host sends a Membership Report message in the following situations:
  • When joining a multicast group, a host sends a Report message. When a multicast group has multiple members in a VLAN, the Layer 3 device receives duplicate Report messages from the member hosts.
  • When receiving an IGMP General Query message, a host sends a Report message. Hosts use a timer to suppress duplicate Report messages in the same network segment. However, if the timer values on hosts are the same, the Layer 3 device can still receive duplicate Report messages.
  • A host running IGMPv2 or IGMPv3 sends a Leave message when leaving a multicast group. When a multicast group has multiple members in a VLAN, the Layer 3 device receives duplicate Leave messages from the member hosts.

After this function is configured, a Layer 2 device forwards only one IGMP Membership Report message to the upstream device in the following scenarios: When the first member joins a multicast group or a host sends a Report message in response to an IGMP Query message, the Layer 2 device forwards a Report message to the upstream device. The upstream device then creates or maintains the matching forwarding entry based on the Report message. When the last member of a group leaves the group, the Layer 2 device forwards a Leave message to the upstream device. The upstream device then deletes the matching forwarding entry. This reduces the number of IGMP messages on the network.

Prerequisites

IGMP snooping has been enabled using the igmp-snooping enable (traffic profile view) command.

Example

# Enable suppression of IGMP Report and Leave message in traffic profile p1.
<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] igmp-snooping enable
[HUAWEI-wlan-traffic-prof-p1] igmp-snooping report-suppress

traffic-optimize broadcast-suppression

Function

The traffic-optimize broadcast-suppression command sets the maximum traffic volume of broadcast packets that can pass through a traffic profile.

The undo traffic-optimize broadcast-suppression command cancels the limit on the maximum traffic volume of broadcast packets that can pass through a traffic profile.

By default, broadcast packets are not suppressed on a traffic profile.

Format

traffic-optimize broadcast-suppression packets packets-rate

undo traffic-optimize broadcast-suppression

Parameters

Parameter

Description

Value

packets packets-rate

Specifies the number of packets transmitted per second.

The value is an integer that ranges from 0 to 14881000, in pps.

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

When a large number of broadcast packets are transmitted on a network, a lot of network resources are occupied, and services on the network are affected.

To prevent broadcast storms, you can run the traffic-optimize broadcast-suppression command to configure the maximum traffic volume of broadcast packets that can pass through a traffic profile. When the traffic volume of broadcast packets reaches the maximum in a traffic profile, the system discards excess broadcast packets to control the traffic volume in a proper range.

Example

# Set the maximum traffic volume of broadcast packets that can pass through 21600 pps in traffic profile p1.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] traffic-optimize broadcast-suppression packets 21600

traffic-optimize multicast-suppression

Function

The traffic-optimize multicast-suppression command sets the maximum traffic volume of multicast packets in a traffic profile.

The undo traffic-optimize multicast-suppression command cancels the limit on the maximum traffic volume of multicast packets in a traffic profile.

By default, multicast packets are not suppressed in a traffic profile.

Format

traffic-optimize multicast-suppression packets packets-rate

undo traffic-optimize multicast-suppression

Parameters

Parameter

Description

Value

packets packets-rate

Specifies the number of packets transmitted per second.

The value ranges from 0 to 14881000, in pps.

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

When a large number of multicast packets are transmitted on a network, a lot of network resources are occupied, and services on the network are affected.

To ensure normal service transmission on a network, you can run the traffic-optimize multicast-suppression command to configure the maximum multicast traffic volume in a traffic profile. When the traffic volume of multicast packets reaches the maximum, the system discards excess multicast packets to control the traffic volume in a proper range.

Example

# Set the maximum traffic volume of multicast packets to 21600 pps in the traffic profile p1.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] traffic-optimize multicast-suppression packets 21600

traffic-optimize multicast-unicast enable

Function

The traffic-optimize multicast-unicast enable command enables the function of converting multicast packets to unicast packets in a traffic profile.

The undo traffic-optimize multicast-unicast enable command disables the function of converting multicast packets to unicast packets in a traffic profile.

By default, the function of converting multicast packets to unicast packets is disabled in a traffic profile.

Format

traffic-optimize multicast-unicast enable

undo traffic-optimize multicast-unicast enable

Parameters

None

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can enable the function of converting multicast packets to unicast packets in scenarios that have high requirements on multicast stream transmission, such as a high-definition video on-demand scenario.

After the function is enabled, an AP listens on Report and Leave packets to maintain multicast-to-unicast entries. When sending multicast packets to the client, the AP converts the multicast packets to unicast packets based on the multicast-to-unicast entries to improve multicast stream transmission efficiency.

Example

# Enable the function of converting multicast packets to unicast packets in the traffic profile p1.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] traffic-optimize multicast-unicast enable

traffic-optimize multicast-unicast dynamic-adaptive disable

Function

The traffic-optimize multicast-unicast dynamic-adaptive disable command disables adaptive multicast-to-unicast conversion in a traffic profile.

The undo traffic-optimize multicast-unicast dynamic-adaptive disable command enables adaptive multicast-to-unicast conversion in a traffic profile.

By default, adaptive multicast-to-unicast conversion is enabled in a traffic profile.

Format

traffic-optimize multicast-unicast dynamic-adaptive disable

undo traffic-optimize multicast-unicast dynamic-adaptive disable

Parameters

None

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After adaptive multicast-to-unicast conversion is enabled, when the air interface performance becomes a bottleneck during multicast-to-unicast conversion, an AP automatically switches the multicast group containing the minimum number of STAs to the multicast mode. After the air interface performance is improved and keeps being improved for a period of time, the AP automatically switches the multicast group containing the maximum number of STAs to the unicast mode. In this way, the air interface performance is automatically adjusted without manual intervention, improving wireless user experience.

Pre-configuration Tasks

The multicast-to-unicast conversion function has been enabled in the traffic profile using the traffic-optimize multicast-unicast enable command.

Example

# Disable adaptive multicast-to-unicast conversion in traffic profile p1.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] traffic-optimize multicast-unicast enable
[HUAWEI-wlan-traffic-prof-p1] traffic-optimize multicast-unicast dynamic-adaptive disable

traffic-optimize sta-bridge-forward disable

Function

The traffic-optimize sta-bridge-forward disable command forbids an air interface to forward packets to bridging terminals.

The undo traffic-optimize sta-bridge-forward disable command cancels of the configuration of forbidding an air interface to forward packets to bridging terminals.

By default, an air interface is allowed to forward packets to bridging terminals.

Format

traffic-optimize sta-bridge-forward disable

undo traffic-optimize sta-bridge-forward disable

Parameters

None

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

Some terminals on the wireless network can provide bridging functions. The terminals associate with APs with their MAC addresses and connect to multiple Layer 3 wired devices in the downlink direction. The connected Layer 3 wired devices can also obtain IP addresses and forward traffic through the APs. The APs consider that the associated terminals have multiple IP addresses. You can run the command to forbid air interfaces to forward packets to bridging terminals. This can reduce the number of packets transmitted on the air interfaces and improve the air interface performance.

Example

# Forbid an air interface to forward packets to bridging terminals in the traffic profile p1.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] traffic-optimize sta-bridge-forward disable

traffic-optimize unicast-suppression

Function

The traffic-optimize unicast-suppression command sets the maximum traffic volume of unknown unicast packets in a traffic profile.

The undo traffic-optimize unicast-suppression command cancels the limit on the maximum traffic volume of unknown unicast packets in a traffic profile.

By default, unknown unicast packets are not suppressed in a traffic profile.

Format

traffic-optimize unicast-suppression packets packets-rate

undo traffic-optimize unicast-suppression

Parameters

Parameter

Description

Value

packets packets-rate

Specifies the number of packets transmitted per second.

The value ranges from 0 to 14881000, in pps.

Views

Traffic profile view

Default Level

2: Configuration level

Usage Guidelines

When a large number of unknown unicast packets are transmitted on a network, a lot of network resources are occupied, and services on the network are affected.

To prevent broadcast storms, you can run the traffic-optimize unicast-suppression command to configure the maximum traffic volume of unknown unicast packets that can pass through an interface. When the traffic volume of unknown unicast packets reaches the maximum on an interface, the system discards excess unknown unicast packets to control the traffic volume in a proper range.

Example

# Set the maximum traffic volume of unknown unicast packets to 21600 pps in the traffic profile p1.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] traffic-profile name p1
[HUAWEI-wlan-traffic-prof-p1] traffic-optimize unicast-suppression packets 21600
Translation
Download
Updated: 2019-10-21

Document ID: EDOC1000178165

Views: 48776

Downloads: 1171

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