< Home

peer static-upe

Function

The peer static-upe command configures the static UPE peer of the VSI in the HVPLS.

The undo peer static-upe command deletes the static UPE peer of the VSI in the HVPLS.

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

Format

peer peer-address [ negotiation-vc-id vc-id ] [ tnl-policy policy-name ] static-upe 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 UPE peer. Generally, it is specified as the loopback address of the peer. -
negotiation-vc-id vc-id Specifies the ID of a VC, which uniquely identifies the VC. Generally, this parameter is specified when the two ends with different VSI IDs need to interconnect. 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 UPE 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-upe Indicates whether the static UPE is a client PE device. This parameter applies to HVPLS. -
trans transmit-label Specifies the outer label that sent from the local device to its peer. It is the outgoing label of the static Layer 2 VC. The value is an integer that ranges from 0 to 1048575.
recv receive-label Specifies the outer label 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 negotiation-vc-id vc-id is used when configuring the VSI peer, and specified vc-id is different from vsi-id configured using the vsi-id command, you must configure negotiation-vc-id vc-id when running the undo peer command to delete the VSI peer. Otherwise, the VSI peer cannot be deleted.

Example

# Configure the static UPE peer of the current VSI. The sent and received 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-upe trans 100 recv 100
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >