< Home

traffic-optimize (AP wired port profile view)

Function

The traffic-optimize command sets the maximum volume of broadcast, multicast, or unknown unicast traffic on an AP's wired interface.

The undo traffic-optimize command restores the default maximum volume of broadcast, multicast, or unknown unicast traffic on an AP's wired interface.

By default, the volume of broadcast, multicast, or unknown unicast traffic is not suppressed on an AP's wired interface.

Format

traffic-optimize { broadcast-suppression | multicast-suppression | unicast-suppression } packets packets-rate

undo traffic-optimize { broadcast-suppression | multicast-suppression | unicast-suppression }

Parameters

Parameter

Description

Value

broadcast-suppression

Specifies the maximum broadcast traffic volume that can be received on an AP's wired interface.

-
multicast-suppression

Specifies the maximum multicast traffic volume that can be received on an AP's wired interface.

-
unicast-suppression

Specifies the maximum unknown unicast traffic volume that can be received on an AP's wired interface.

-

packets packets-rate

Specifies the maximum number of packets that can pass every second.

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

Views

AP wired port profile view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

When a large number of broadcast, multicast, and unknown unicast packets are transmitted on a network, a lot of network resources are occupied, and services on the network are affected. When the traffic volume of broadcast, multicast, and unknown unicast packets reaches the maximum on an AP's wired interface, the system discards excess packets to control the traffic volume in a proper range and prevent flooding attacks.

Follow-up Procedure

Bind the AP wired port profile to an AP group or AP.

Precautions

The uplink interfaces of RUs do not support this command.

Example

# Set the maximum broadcast traffic volume that can be received on an AP's wired interface to 21600 pps.

<HUAWEI> system-view
[HUAWEI] wlan
[HUAWEI-wlan-view] wired-port-profile name wire1
[HUAWEI-wlan-wired-port-wire1] traffic-optimize broadcast-suppression packets 21600
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >