< Home

peer static-npe

Function

The peer static-npe command configures the static NPE peer of the VSI in the Hierarchical Virtual Private LAN Service (HVPLS).

The undo peer static-npe command deletes the static NPE peer of the VSI in the HVPLS.

By default, the HVPLS has no static NPE peer of the VSI.

Format

peer peer-address [ negotiation-vc-id vc-id ] [ tnl-policy policy-name ] static-npe trans transmit-label recv receive-label

undo peer peer-address [ negotiation-vc-id vc-id ]

Parameters

Parameter Description Value

peer-address

Specifies the IPv4 address of the static NPE peer. It is generally specified as the loopback address of the peer.

-

negotiation-vc-id vc-id

Indicates the unique ID of a VC. Generally, this parameter is used when the VSI IDs of two ends are inconsistent and the two ends are required to communicate.

vc-id cannot be the same as the IDs of other local VSIs. The negotiated VC IDs to the same peer must be different. The value is an integer ranging from 1 to 4294967295.

tnl-policy policy-name

Specifies the tunnel-policy name of the static NPE peer.

The value is a string of 1 to 39 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

static-npe

Indicates whether the peer of the static VSI is the PE at the network side.

-

trans transmit-label

Indicates the outer label that is manually configured and sent from the local device to its peer. It is the outgoing label of the static Layer 2 VC.

The value is an integer ranging from 0 to 1048575.

recv receive-label

Indicates the outer label that is manually configured and sent from the peer to the local device. It is the incoming label of the static Layer 2 VC.

The value is an integer that ranges from 16 to 1023.

Views

VSI-LDP view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

On the HVPLS network, you can run the peer static-upe command on the local device to configure a static UPE peer.

Prerequisites

The VSI ID has been configured using the vsi-id vsi-id command.

Precautions

If you specify negotiation-vc-id vc-id when you configure the peer of the VSI, and the specified vc-id and that in the configured vsi-id command are inconsistent, to delete the peer of the VSI, you must use the undo peer command with negotiation-vc-id vc-id. Otherwise, the peer cannot be deleted.

Example

# Configure the static NPE peer of the current VSI. Configure the received and sent outer labels are 100.

<HUAWEI> system-view
[HUAWEI] vsi company1
[HUAWEI-vsi-company1] pwsignal ldp
[HUAWEI-vsi-company1-ldp] vsi-id 1
[HUAWEI-vsi-company1-ldp] peer 3.3.3.3 static-npe trans 100 recv 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >