The destination-address command specifies the destination address of an NQA test instance.
The undo destination-address command deletes the destination address of an NQA test instance.
By default, destination address is not configured for an NQA test instance.
destination-address ipv4 ipv4-address [ lsp-masklen masklen | lsp-loopback loopback-address ] * [ vpn-frr-path ]
destination-address mac mac-address
destination-address remote-mep mep-id rmep-id
destination-address url urlstring
undo destination-address
Parameter | Description | Value |
---|---|---|
ipv4 ipv4-address |
Specifies an IPv4 destination address. |
The IPv4 address is in dotted decimal notation. |
lsp-masklen masklen |
Specifies the mask length of an LSP's IPv4 address prefix. |
The value is an integer that ranges from 0 to 32. |
lsp-loopback loopback-address |
Specifies a 127/8 IP address in the MPLS echo request packet header. |
- |
vpn-frr-path |
Indicates that the connectivity of the backup VPN FRR LSP will be checked. |
- |
mac mac-address |
Specifies a unicast MAC address. |
The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits. |
remote-mep mep-id rmep-id |
Specifies the ID of a remote MEP. |
The value is an integer that ranges from 1 to 8191. |
url urlstring |
Specifies a destination URL address. |
The value is a string of 1 to 230 case-insensitive characters without spaces. When quotation marks are used around the string, spaces are allowed in the string. |
Usage Scenario
NQA detects service features by creating test instances. In NQA, two test ends are called an NQA client and an NQA server. An NQA test is initiated by the NQA client. For a test instance, the server is specified using the destination IP address configured with the destination-address command.
For example, to detect whether the peer device is reachable, run the nqa command to create an NQA test instance, set the test type to ICMP, and then run the destination-address command to configure the IP address of the peer device as the destination IP address. After that, you can start the test instance. Based on the response packet, you can know whether the peer device is reachable.
Precautions