The twoway-loss threshold command configures a two-way packet loss alarm threshold.
The undo twoway-loss threshold command cancels the two-way packet loss alarm threshold.
By default, the two-way packet loss alarm threshold is set to 0.1000%, and the alarm clearance threshold is set to 0.0500%.
Parameter | Description | Value |
---|---|---|
upper-limit upper-limit |
Specifies a two-way packet loss alarm threshold. |
The value is a floating number ranging from 0.0002% to 99.9999%. The default value is 0.1000%. |
lower-limit lower-limit |
Specifies a two-way packet loss clear alarm threshold. |
The value is a floating number ranging from 0.0001% to 99.9998%. The default value is 0.0500%. |
test-session session-id |
Specifies the ID of a test session. |
The value is an integer ranging from 1 to 2048. |
Usage Scenario
To configure the two-way packet loss alarm threshold, run the twoway-loss threshold command. After a two-way packet loss alarm threshold is configured, an alarm is generated if the two-way packet loss rate within one minute exceeds the threshold. The alarm instructs network administrators to adjust link bandwidth in time for service quality guarantee.
Prerequisites
A TWAMP Light test session has been created on the Control-Client.
<HUAWEI> system-view [~HUAWEI] nqa twamp-light [~HUAWEI-twamp-light] client [~HUAWEI-twamp-light-client] test-session 1 sender-ip 1.1.1.1 reflector-ip 2.2.2.2 sender-port 3000 reflector-port 3000 [~HUAWEI-twamp-light-client] quit [~HUAWEI-twamp-light] twoway-loss threshold test-session 1 upper-limit 0.2 lower-limit 0.03