twoway-loss threshold

Function

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%.

Format

twoway-loss threshold test-session session-id upper-limit upper-limit lower-limit lower-limit

undo twoway-loss threshold test-session session-id [ upper-limit upper-limit lower-limit lower-limit ]

Parameters

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.

Views

TWAMP-light view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
twampclient write

Usage Guidelines

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.

Example

# Configure the two-way packet loss alarm threshold.
<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
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic