The source-address command sets the source IP address for a test instance.
The undo source-address command restores the default setting.
By default, the IP address of the interface where packets are sent functions as the source IP address of a test instance.
Parameter | Description | Value |
---|---|---|
ipv4 ipv4-address |
Specifies the IPv4 source address for the NQA test instance. |
The value is in dotted decimal notation. |
Usage Scenario
After the test packets are transmitted to the destination address, the source address of the NQA test instance is used as the destination address. The source-address command is used to configure the source IP address for the NQA test. If no source IP address is configured, the system specifies the IP address that sends test packets as the source IP address.
Prerequisites
The type of a test instance has been specified using the test-type command. However, the test type cannot be PWE3 trace, PWE3 ping, or MAC ping.
Precautions
The configuration of the source IP address of the running test instance cannot be changed.