pw

Function

The pw command displays the view of a specified PW.

The undo pw command deletes all the configurations of a specified PW.

By default, no PW is configured. The view of a specified PW can be displayed only after the PW is created.

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.

Views

VSI-BGPAD view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

To display the view of a specified PW and set related parameters, run the pw command.

Precautions

This command displays the PW view only and cannot be used to create PWs.

Example

# Display the view of a specified PW.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi aa
[*HUAWEI-vsi-aa] bgp-ad
[*HUAWEI-vsi-aa-bgpad] vpls-id 100:1
[*HUAWEI-vsi-aa-bgpad] peer 1.1.1.1 pw pw1
[*HUAWEI-vsi-aa-bgpad-pw1] quit
[*HUAWEI-vsi-aa-bgpad] pw pw1
[*HUAWEI-vsi-aa-bgpad-pw1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >