This section describes how to configure the TWAMP server, which responds to the control-client's request for establishing, starting, or stopping a TWAMP session.
Procedure
- Run system-view
The system view is displayed.
- Run nqa twamp
The TWAMP view is displayed.
- Run server
The server function is enabled, and the server view is displayed.
- Run either of the following commands to set the TCP listening mode for the TWAMP server:
- Run the tcp listen-mode any-ip command to set the TCP listening mode of the TWAMP server to any IP.
- Run the tcp listen-mode assign-ip command to set the TCP listening mode of the TWAMP server to assigned IP. In this mode, you need to run the tcp listen-address ip-address command to set a TCP listening address.
- (Optional) Run tcp port port-number [ all | vpn-instance vpn-instance-name ]
A TCP port is specified.
- (Optional) Run control-session inactive time-out
An inactive interval is configured for a control session.
- (Optional) Run client acl { aclnumBasic | aclnumAdv | aclname }
The ACL rule to be referenced is configured.
- Run commit
The configuration is committed.