< Home

twamp-light base-session max-rate

Function

The twamp-light base-session max-rate command sets the maximum packet rate of a TWAMP light measurement session.

The undo twamp-light base-session max-rate command restores the default maximum packet rate of a TWAMP light measurement session, namely, 256 pps.

Format

twamp-light base-session max-rate max-rate

undo twamp-light base-session max-rate

Parameters

Parameter Description Value
max-rate Specifies the maximum packet rate of a TWAMP light measurement session.

The value is an integer ranging from 1 to 65535, in packet per second (pps).

Views

System view

Default Level

2: Configuration level

Usage Guidelines

TWAMP light measurement packets are UDP packets. The firewall supports the reflector function and carries out per-packet reflection for measurement packets from the sender. You can run the twamp-light base-session max-rate command to set a suitable maximum packet rate to prevent the firewall from being overburdened by massive UDP packets.

The maximum packet rate does not take effect for the entire device. Instead, the device limits the maximum packet rate for each measurement session.

Example

# Set the maximum packet rate of a TWAMP light measurement session to 1000 pps.

<sysname> system-view
[sysname] twamp-light base-session max-rate 1000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic