tcp listen-mode

Function

The tcp listen-mode any-ip command sets the TCP listening mode to any IP on a TWAMP server.

The tcp listen-mode assign-ip command sets the TCP listening mode to assigned IP on a TWAMP server.

By default, the TCP listening mode is assigned IP.

Format

tcp listen-mode any-ip

tcp listen-mode assign-ip

Parameters

None

Views

TWAMP server view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
twamp write

Usage Guidelines

Usage Scenario

After TWAMP is enabled, you can configure a TCP listening mode for the TWAMP server to respond to TCP connections initiated by the TWAMP client. If the TCP listening mode is set to any IP, no listening address needs to be configured. If the TCP listening mode is set to assigned IP, you must specify a TCP listening address.

Example

# Set the TCP listen-mode to any-ip.
<HUAWEI> system-view
[~HUAWEI] nqa twamp
[*HUAWEI-twamp] server
[*HUAWEI-twamp-srv] tcp listen-mode any-ip
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >