< Home

sendpacket passroute

Function

The sendpacket passroute command sets the packet to be sent without searching the routing table.

The undo sendpacket passroute command restores the default setting.

Format

sendpacket passroute

undo sendpacket passroute

Parameters

None

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

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

Usage Scenario

Before running the sendpacket passroute command, run the test-type command to specify the type of a test instance, which may be one of the following:
  • ICMP
  • FTP
  • HTTP
  • UDP-tracert
  • TCP
  • UDP
  • UDP-jitter

Configuration Impact

After the sendpacket passroute command is run, the FW does not search for routes when sending packets. Instead, it directly sends packets to destination addresses in the directly connected network. If the destination of a packet is not in the directly connected network, the test fails.

After the sendpacket passroute command is run, the TTL value of packets is set to 1. The TTL value is still 1 even if the ttl command is used to set another TTL value.

Precautions

You cannot change this parameter when the test is being performed.

Example

# Set the test packet sent without searching the routing table.

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