< Home

sendpacket passroute

Function

The sendpacket passroute command enables test packets to be sent without searching the routing table.

The undo sendpacket passroute command restores the default setting.

By default, the test packet is sent according to the routing table.

Format

sendpacket passroute

undo sendpacket passroute

Parameters

None

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The type of a test instance has been specified using the test-type command. The type of test instances that are supported is as follows:
  • ICMP
  • TCP
  • UDP
  • HTTP
  • UDP Jitter
  • FTP
  • SNMP
  • Trace

Precautions

You cannot change this configuration of a running test instance.

If you configure both the sendpacket passroute and source-interface commands, the source-interface command takes effect. In this scenario, packets are sent from the interface specified using the source-interface command.

After the sendpacket passroute command is executed, the device sends test packets without searching the routing table. However, the configurations of ttl and ip-forwarding become invalid.

Example

# Enable test packets to be sent without searching the routing table.

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