tcp listen-address

Function

The tcp listen-address command configures a TCP listening address on a TWAMP server.

The undo tcp listen-address command deletes a TCP listening address from a TWAMP server.

By default, no TCP listening address is configured.

Format

tcp listen-address ip-address

undo tcp listen-address [ ip-address ]

Parameters

Parameter Description Value
ip-address

Specifies an IPv4 address.

This value is in dotted decimal notation.

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 and the TCP listening mode is set to the assigned IP mode, you need to configure a TCP listening address on the TWAMP server for TCP connections initiated by the client. By default, the TCP listening mode is set to the assigned IP mode. In assigned IP mode, the TWAMP server function takes effect only after a TCP listening address is configured.

Example

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