< Home

destination-address

Function

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.

Format

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

Parameters

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.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

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

  • The Label Switched Path (LSP) parameters can be configured only for the LSP test instances.
  • The mac and remote-mep mep-id parameters can be configured only for MAC ping test instances.
  • Only the destination addresses of HTTP, trace, and DNS test instances can be URL addresses. For the HTTP test instances, only absolute URL addresses are supported.
  • The destination addresses of DNS test instances cannot be IPv4 addresses, and the destination URL addresses must contain dots (.); otherwise, the test will fail.
  • You cannot change the destination address of a running test instance.

Example

# Configure the destination address for test instance user test.

<HUAWEI> system-view
[HUAWEI] nqa test-instance user test
[HUAWEI-nqa-user-test] test-type icmp
[HUAWEI-nqa-user-test] destination-address ipv4 10.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >