destination-address (Mac Ping test instance)

Function

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

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

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

Format

destination-address mac macAddress

destination-address remote-mep mep-id remoteMepID

undo destination-address

Parameters

Parameter Description Value
remote-mep

Indicates the peer MEP.

-

mep-id remoteMepID

Specifies the peer MEP ID.

The value is an integer ranging from 1 to 8191.

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. If an H contains fewer than 4 digits, the left-most digits are padded with zeros. For example, e0 is displayed as 00e0. The MAC address cannot be set to FFFF-FFFF-FFFF or a multicast address starting with 01.

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.

Configuration Impact

If a destination MAC 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 MAC address to the test instance named user test.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance user test
[*HUAWEI-nqa-user-test] test-type macping
[*HUAWEI-nqa-user-test] destination-address mac 00e0-fc12-3456
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >