local-pw-type (PWE3 Trace test instance)

Function

The local-pw-type command configures a PW encapsulation type for a local PE in the NQA view.

The undo local-pw-type command restores the default PW encapsulation type.

The default PW encapsulation type is Ethernet for a local PE.

The default PW encapsulation type is Ethernet for a local PE.

Format

local-pw-type pwTypeValue

undo local-pw-type

Parameters

Parameter Description Value
pwTypeValue

Sets the local PW encapsulation type to VLAN.

-

Views

NQA view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
sla write

Usage Guidelines

Usage Scenario

To specify a PW encapsulation type for a local PE, run the local-pw-type command. The PW encapsulation type configured for a local PE must be the same as the PW encapsulation type for a remote PE.

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

# Set the PW encapsulation type to vlan for a local PE.
<HUAWEI> system-view
[~HUAWEI] nqa test-instance admin pwe3
[*HUAWEI-nqa-admin-pwe3] test-type pwe3trace
[*HUAWEI-nqa-admin-pwe3] local-pw-type vlan
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >