pw (VSI-LDP view)

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

Specifies the name of a PW.

The value is a string of 1 to 15 case-sensitive characters, spaces not supported.

The string can contain spaces if it is enclosed in double quotation marks (").

Views

VSI-LDP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

The pw command displays 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, but can be the same as a PW name in other VSIs.

Example

# Display the PW view.
<HUAWEI> system-view
[~HUAWEI] mpls
[*HUAWEI-mpls] quit
[*HUAWEI] mpls l2vpn
[*HUAWEI-l2vpn] quit
[*HUAWEI] vsi aa static
[*HUAWEI-vsi-aa] pwsignal ldp
[*HUAWEI-vsi-aa-ldp] vsi-id 1
[*HUAWEI-vsi-aa-ldp] peer 1.1.1.1
[*HUAWEI-vsi-aa-ldp] peer 1.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 >