debugging twamp-client

Function

The debugging twamp-client command enables debugging for the TWAMP Light Control-Client.

The undo debugging twamp-client command disables debugging for the TWAMP Light Control-Client.

By default, debugging is disabled for the TWAMP Light Control-Client.

Format

debugging twamp-client { global | test-session sessionId } { error | process | event | all }

undo debugging twamp-client { global | test-session sessionId } { error | process | event | all }

Parameters

Parameter Description Value
global

Indicates session-independent debugging.

-

test-session sessionId

Indicates the ID of a test session.

The value is an integer ranging from 1 to 2048.

error

Indicates error debugging.

-

process

Indicates process debugging.

-

event

Indicates event debugging.

-

all

Indicates debugging for all test sessions.

-

Views

User view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
twampclient debug

Usage Guidelines

Usage Scenario

To enable debugging for TWAMP Light, run the debugging twamp-client command. The system supports debugging for a maximum of 16 test sessions. If you enable debugging for more than 16 test sessions, debugging functions are automatically disabled for the previously associated test sessions in the same order as they are enabled. To disable debugging for TWAMP Light, run the undo debugging twamp-client command.

Example

# Enable debugging for a specific TWAMP Light test session.
<HUAWEI> debugging twamp-client test-session 1 all
<HUAWEI> display debugging
twamp-client test-session 1 process debugging switch is on 
twamp-client test-session 1 error debugging switch is on 
twamp-client test-session 1 event debugging switch is on
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.