destination-address (Generalflow test instance)

Function

The destination-address command configures a destination IP or MAC address for an NQA test instance of Generalflow test type.

The undo destination-address command deletes a destination IP or MAC address.

By default, the destination address of an NQA test is not configured.

Format

destination-address ipv4 destAddress

destination-address mac macAddress

destination-address ipv4 destAddress mac macAddress

undo destination-address

Parameters

Parameter Description Value
mac macAddress

Specify the destination MAC address of test packets.

The value is a 12-digit hexadecimal number, in the format of H-H-H. Each H is 4 digits.

ipv4 destAddress

Specifies the destination IPv4 address for an NQA test instance.

The address is in dotted decimal notation.

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

NQA monitors 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. After test instances are configured on the client, NQA places different types of test instances into various test queues. After the test starts, a response packet is returned. You can then check the operating status about protocols by analyzing the received response packet.

For a test instance, the server is specified using the destination IP address configured using the destination-address command.

For example, to monitor 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 check whether the peer device is reachable.

Configuration Impact

If a destination IP address has been configured for a test instance, running the destination-address command overrides the previous configuration.

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.

Example

# Assign a destination IPv4 address to the test instance named user test.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] test-type generalflow
[*HUAWEI-nqa-user-test] destination-address ipv4 1.1.1.1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >