< 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.

By default, no test type is configured.

Format

test-type { dns | ftp | http | icmp | icmpjitter | jitter | lspjitter | lspping | lsptrace | macping | pathjitter | pwe3ping | pwe3trace | snmp | tcp | trace | udp }

undo test-type

Only the S5720-EI, S5720-HI, S5730-HI, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H support lspjitter, lspping, lsptrace, pwe3ping, and pwe3trace.

Parameters

Parameter Description Value

dns

Specifies a DNS test.

-

ftp

Specifies an FTP service test.

-

http

Specifies an HTTP service test.

-

icmp

Specifies an ICMP test.

-

icmpjitter

Specifies an ICMP jitter test, which can detect the jitter on the network.

-

jitter

Specifies a UDP jitter test, which can detect the jitter during UDP packet transmission.

-

lspjitter

Specifies an LSP jitter test.

-

lspping

Specifies an LSP ping test.

-

lsptrace

Specifies an LSP trace route test.

-

macping

Specifies a MAC ping test.

-

pathjitter

Specifies a path jitter test, which can detect the hop-by-hop jitter during the ICMP packet transmission.

-

pwe3ping

Specifies a PWE3 ping test.

-

pwe3trace

Specifies a PWE3 trace test.

-

snmp

Specifies an SNMP test.

-

tcp

Specifies a TCP test.

-

trace

Specifies a trace test.

-

udp

Specifies 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 delay or other link performance, you are advised to conduct an ICMP jitter or UDP jitter test.

Example

# Configure the test type of an NQA test instance as TCP.

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