< Home

pw

Function

The pw command displays the PW view.

The undo pw command deletes the PW view.

By default, the PW view is not displayed.

Format

pw pw-name

undo pw pw-name

Parameters

Parameter Description Value
pw-name Specifies the name of a PW. The value is a string of 1 to 15 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

VSI-LDP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

After a PW is created, you can run the pw pw-name command to enter the PW view.

Prerequisites

A PW has been created using the peer peer-address [ negotiation-vc-id vc-id ] pw pw-name command.

Precautions

The PW name must be unique in a VSI, and the PW name can be the same in different VSIs.

Example

# Enter the PW view.

<HUAWEI> system-view
[HUAWEI] vsi aa static
[HUAWEI-vsi-aa] pwsignal ldp
[HUAWEI-vsi-aa-ldp] vsi-id 1
[HUAWEI-vsi-aa-ldp] peer 10.1.1.1
[HUAWEI-vsi-aa-ldp] peer 10.1.1.1 pw pw1
[HUAWEI-vsi-aa-ldp-pw-pw1] quit
[HUAWEI-vsi-aa-ldp] pw pw1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >