< Home

local-pw-type

Function

Using the local-pw-type command, you can configure the PW type of the local end.

Using the undo local-pw-type command, you can cancel setting the PW type of the local end.

By default, the PW type of the local end is Ethernet.

Format

local-pw-type local-pw-type

undo local-pw-type

Parameters

Parameter Description Value
local-pw-type Specifies the PW type of the local end. Currently, encapsulation types ethernet, ip-interworking and vlanare supported. By the default, the value is ethernet.

Views

NQA view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

The local-pw-type command is used to configure a PW encapsulation type for the local PE. The PW encapsulation type configured for the local PE must be the same as the PW encapsulation type for the remote PE.

Prerequisites

Before configuring the local-pw-type command, configure the test type of NQA test instances as PWE3 trace or PWE3 ping in the NQA view.

Precautions

The local-pw-type value must be the same as the VC type value in the display mpls l2vc command output; otherwise, the test may fail.

Example

# In the NQA view, configure the local pw-type as VLAN.

<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 >