The ce command creates a CE in an MPLS VPN instance and displays the MPLS-L2VPN-CE view.
The undo ce command deletes a CE from an MPLS L2VPN instance.
By default, no CE is configured in an MPLS VPN instance.
Parameter | Description | Value |
---|---|---|
ce-Name |
Specifies a CE name. |
The value is a string of 1 to 20 case-sensitive characters, spaces not supported. The string can contain spaces if it is enclosed in double quotation marks ("). |
id ce-id |
Specifies a CE ID. A CE ID uniquely identifies a CE in an MPLS VPN instance. It is recommended that CE IDs be numbered with consecutive numbers starting from 1. |
The value is an integer ranging from 0 to 65534. |
range ce-range |
Specifies a CE range. |
The value is an integer ranging from 1 to 65535. The default value is 10. |
default-offset ce-offset |
Specifies a CE offset, or the difference between the remote and local CE IDs. |
The value is 0 or 1. The default value is 0. |
Usage Scenario
In a BGP VPWS scenario, after an MPLS L2VPN instance is configured, the ce command must be run to create a CE in the L2VPN instance. In the ce command, you can specify ce-name, ce-id, ce-range, and the maximum number of CE connections allowed.
Prerequisites
An RD has been configured using the route-distinguisher <route-distinguisher> command for the MPLS L2VPN instance.
Precautions