peer pw

Function

The peer pw command creates PWs in a VSI.

The undo peer pw command deletes PWs in a VSI.

By default, no PW is created in a VSI.

Format

peer peer-address pw pw-name

undo peer peer-address pw [ pw-name ]

Parameters

Parameter Description Value
peer-address

Specifies a peer IPv4 address.

The value is in dotted decimal notation.

pw pw-name

Specifies the name of a PW.

The value is a string of 1 to 15 case-sensitive characters without spaces.

Views

VSI-BGPAD view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
l2vpn write

Usage Guidelines

Usage Scenario

To create PWs in the BGP-AD view of a VSI, run the peer pw command.

Example

# Create a PW in the BGP-AD view of a VSI.
<HUAWEI> system-view
[~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]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >