Usage Scenario
To configure an NQA test instance to send packets without searching the routing table, run the sendpacket passroute command.
The
sendpacket passroute command is applicable to the following scenarios:
No source IP address is set.
- If no outbound interface is configured for an NQA test instance, after the sendpacket passroute command is run, the source IP address of packets to be sent in the test is obtained using an internal algorithm.
- If an outbound interface is configured for an NQA test instance, after the sendpacket passroute command is run, the IP address of the outbound interface is used as the source IP address of packets to be sent in the test.
A source IP address is set.
- If no outbound interface is configured for an NQA test instance, after the sendpacket passroute command is run, the specified source IP address is used as the source IP address of packets to be sent in the test.
- If an outbound interface is configured for an NQA test instance, after the sendpacket passroute command is run, the specified source IP address is used as the source IP address of packets to be sent in the test.
Precautions
If parameters need to be changed during the running of the test instance, the system prompts you whether to terminate the test instance. Press "Y" or "N" as required.
- If you press "Y", the test instance is terminated and parameters changed. The settings take effect after being committed. To restart the test instance, run the start command.
- If you press "N", the test instance keeps running, and the parameters fail to be modified.