Configuring the TCP operation
The TCP operation measures the time for the NQA client to establish a TCP connection to a port on the NQA server.
The TCP operation requires both the NQA server and the NQA client. Before you perform a TCP operation, configure a TCP listening service on the NQA server. For more information about the TCP listening service configuration, see "Configuring the NQA server."
To configure the TCP operation:
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Create an NQA operation and enter NQA operation view. | nqa entry admin-name operation-tag | By default, no NQA operations exist. |
3. Specify the TCP type and enter its view. | type tcp | N/A |
4. Specify the destination address of TCP packets. | destination ip ip-address | By default, no destination IP address is specified. The destination address must be the same as the IP address of the listening service configured on the NQA server. |
5. Specify the destination port of TCP packets. | destination port port-number | By default, no destination port number is configured. The destination port number must be the same as the port number of the listening service on the NQA server. |
6. (Optional.) Specify the source IP address of TCP packets. | source ip ip-address | By default, the packets take the primary IP address of the output interface as their source IP address. The source IP address must be the IP address of a local interface, and the interface must be up. Otherwise, no TCP packets can be sent out. |