< Home

test-type

Function

The test-type command configures the test type for an NQA test instance.

The undo test-type command cancels the test type configured for an NQA test instance.

Format

test-type { dhcp | dns | ftp | http | icmp | jitter | tcp | trace | udp }

undo test-type

Parameters

Parameter Description Value
dhcp Indicates the DHCP test. -
dns Indicates the DNS test. -
ftp Indicates the FTP service test. -
http Indicates the HTTP service test. -
icmp Indicates the ICMP test. -
jitter Indicates the jitter test, which can detect the jitter during UDP packet transmission. -
tcp Indicates a TCP test. -
trace Indicates a trace test. -
udp Indicates a UDP test. -

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

After an NQA test instance is created, a test type needs to be specified for it as other parameters are configured based on the test instance type. To configure the test type for an NQA test instance, run the test-type command.

You cannot change the type of a running test instance.

An ICMP test is usually conducted to check the connectivity. However, it cannot accurately test the link delay. Therefore, to test link performance, you are advised to conduct an NQA jitter or ICMP jitter test with hardware-based packet sending enabled.

Example

# Set the test type of an NQA test instance to TCP.

<sysname> system-view
[sysname] nqa test-instance admin tcp
[sysname-nqa-admin-tcp] test-type tcp
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >