The peer command configures a static UPE peer in an H-VPLS VSI.
The undo peer command deletes a static UPE peer from an H-VPLS VSI.
By default, no static UPE peer is configured in an H-VPLS VSI.
peer peer-address [ negotiation-vc-id pwIdValue ] [ encapsulation { vlan | ethernet } ] [ tnl-policy policy-name ] { static-npe | static-upe } trans transmit-label recv receive-label
peer peer-address [ negotiation-vc-id pwIdValue ] [ encapsulation { vlan | ethernet } ] [ tnl-policy policy-name ] { static-npe | static-upe } trans transmit-label recv receive-label hard-pipe bandwidth bandwidth [ burst-time burst-time ]
undo peer peer-address [ negotiation-vc-id pwIdValue ] [ encapsulation { vlan | ethernet } ] [ tnl-policy policy-name ] { static-npe | static-upe } trans transmit-label recv receive-label
undo peer peer-address [ negotiation-vc-id pwIdValue ] [ encapsulation { vlan | ethernet } ] [ tnl-policy policy-name ] { static-npe | static-upe } trans transmit-label recv receive-label hard-pipe bandwidth bandwidth [ burst-time burst-time ]
Parameter | Description | Value |
---|---|---|
peer-address |
Specifies the IPv4 address of a static peer. The loopback address of the peer is usually used as its IPv4 address. |
This value is in dotted decimal notation. |
negotiation-vc-id pwIdValue |
Specifies the unique VC ID. This parameter is used when two ends with different VSI IDs need to communicate with each other. The vc-id value must be different from the IDs of other local VSIs. The VC IDs specified using negotiate-vc-id must be different on a peer. |
The value is an integer ranging from 1 to 4294967295. |
encapsulation |
Specifies the encapsulation type of a PW. |
The PW encapsulation type can be:
|
vlan |
Specifies the encapsulation type of the VSI instance is VLAN. |
- |
ethernet |
Specifies the encapsulation type of the VSI instance is Ethernet. |
- |
tnl-policy policy-name |
Specifies the name of the tunnel policy used by the static remote 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 a static NPE peer. |
- |
static-upe |
Indicates a static UPE peer. |
- |
trans transmit-label |
Specifies the outgoing static L2VC label used by the local device to send packets to a remote peer. |
The value is an integer ranging from 0 to 1048575. |
recv receive-label |
Specifies the incoming static L2VC label used by the remote peer to send packets to the local device. |
The value is an integer ranging from 16 to 32783. |
hard-pipe |
Indicates an IP hard pipe. Only the NetEngine 8000 F1A supports this parameter. |
- |
bandwidth bandwidth |
Specifies the bandwidth for a hard pipe. Only the NetEngine 8000 F1A supports this parameter. |
The value is an integer ranging from 16 to 4294967294, in kbit/s. |
burst-time burst-time |
Specifies the burst time for a hard pipe. Only the NetEngine 8000 F1A supports this parameter. |
The value is an integer ranging from 100 to 5000, in microseconds. The default value is 100 microseconds. |
Usage Scenario
If devices are unable to support large numbers of LDP sessions or you want to manually manage and allocate VC labels, run the peer static-upe command to configure static VPLS PWs. When VPLS PWs are created using manually configured VC labels, Layer 2 VC or link information does not need to be transmitted using LDP.
Prerequisites
The VSI ID has been configured using the vsi-id vsi-id command.
Precautions
If you specify negotiation-vc-id vc-id during the configuration of a static VPLS PW and the specified vc-id value is different from the vsi-id value configured using the vsi-id command, you must specify negotiation-vc-id vc-id when using the undo peer command to delete a VPLS PW from the VSI.
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*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
<HUAWEI> system-view [~HUAWEI] mpls [*HUAWEI-mpls] quit [*HUAWEI] mpls l2vpn [*HUAWEI-l2vpn] quit [*HUAWEI] vsi vsi1 [*HUAWEI-vsi-vsi1] pwsignal ldp [*HUAWEI-vsi-vsi1-ldp] vsi-id 1 [*HUAWEI-vsi-vsi1-ldp] peer 3.3.3.3 static-upe trans 200 recv 200