< Home

firewall defend udp-flood base-session

Function

The firewall defend udp-flood base-session command configures the UDP rate limit based on sessions.

The undo firewall defend udp-flood base-session command cancels the above configuration.

Format

firewall defend udp-flood base-session max-rate max-rate-number

undo firewall defend udp-flood base-session max-rate

Parameters

Parameter Description Value
max-rate-number Specifies the maximum rate. It is an integer that ranges from 1 to 65535, in packets/s.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

After this command is executed, the FW collects statistics on the UDP packet rate of each session. If the UDP packet rate of a session exceeds the maximum rate, the FW discards the excess packets.

Example

# Configure the UDP rate limit based on sessions. The maximum rate is 1000 packets/s.

<sysname> system-view
[sysname] firewall defend udp-flood base-session max-rate 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >