The ce command creates a CE and displays the MPLS-L2VPN-CE view.
The undo ce command deletes a CE.
By default, no CE is created in a L2VPN instances.
Parameter | Description | Value |
---|---|---|
ce-name |
Specifies the name of a CE. |
The value is a string of 1 to 20 case-sensitive characters, spaces not supported. |
id ce-id |
Specifies the ID of the CE. |
The value is a decimal integer that ranges from 0 to 249. A CE ID uniquely identifies a CE in a L2VPN instances. For convenience, you are advised to set the CE IDs in the sequence of natural number. |
range ce-range |
Specifies the number of CEs in an L2VPN instance. |
The value is a decimal integer that ranges from 1 to 250 and the default is 10. |
default-offset ce-offset |
Indicates the default CE offset. The CE offset refers to the ID of the other local CE or the remote CE that establishes the connection with the local CE. |
It can be either 0 or 1. The default is 0. |
Usage Scenario
In a Kompella VLL networking, you can use the ce command to create a CE in a L2VPN instance and enter the MPLS-L2VPN-CE view.
Prerequisites
An RD has been configured for the L2VPN instance.
Precautions
ce-range can be increased but cannot be decreased. If multiple label blocks exist, the ce-range equals the total size of all label blocks. A device allocates labels to the ranges of Kompella L2VPN instances and VPLS VSIs from the same label block. Therefore, the ranges of Kompella L2VPN instances and VPLS VSIs cannot be larger than the size of the label block. Otherwise, the system displays a message indicating that the number of required labels exceeds the permitted maximum labels. As a result, the system fails to create a CE or fails to allocate a site ID to a VSI.
The constraints between default-offset and ce-range in this command and ce-offset in connection are as follows:
If default-offset in this command is 0, ce-offset in the connection command must be less than ce-range in this command.
If default-offset in this command is 1, ce-offset in the connection command must be not more than ce-range in this command and cannot be 0.