< Home

bandwidth-limit destination-ip

Function

The bandwidth-limit destination-ip command configures the traffic limiting policy for ICMP/UDP packets destined for a specified IP address.

The undo bandwidth-limit destination-ip command deletes traffic limiting policy for ICMP/UDP packets destined for a specified IP address.

Format

bandwidth-limit destination-ip type { icmp max-speed max-speed | udp max-speed max-speed }

undo bandwidth-limit destination-ip [ type { icmp | udp } ]

Parameters

Parameter Description Value

icmp max-speed max-speed

Specifies the maximum ICMP packet rate. When the packet rate exceeds the maximum value, the device discards excess packets.

The value is an integer ranging from 1 to 2000000, in pps.

udp max-speed max-speed

Specifies the maximum UDP packet rate. When the packet rate exceeds the maximum value, the device discards excess packets.

The value is an integer ranging from 1 to 2000000, in Mbit/s.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After the function is configured, the FW collects statistics on the UDP or ICMP packets destined for each IP address. If the rate of UDP or ICMP packets destined for a specific IP address exceeds the maximum rate, the FW discards the excess packets.

Example

# Configure a traffic limiting policy for ICMP packets destined for the specified IP address. Set the maximum rate of the ICMP packet to 2000 pps.

<sysname> system-view
[sysname] bandwidth-limit destination-ip type icmp max-speed 2000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >