R2511-HP MSR Router Series MPLS Command Reference(V5)
70
Examples
# CE 1 and CE 2 are connected to the same PE. On the PE, create a local CCC connection for the two
CEs.
<Sysname> system-view
[Sysname] ccc ccc-connect-1 interface ethernet 1/1 out-interface ethernet 1/2
ce
Use ce to create a CE, specify the CE name, CE ID, CE range, and the initial CE ID, and enter MPLS
L2VPN CE view.
Use undo ce to delete a CE.
Syntax
ce ce-name [ id ce-id [ range ce-range ] [ default-offset default-offset ] ]
undo ce ce-name
Views
MPLS L2VPN view, MPLS L2VPN CE view
Default command level
2: System level
Parameters
ce-name: Specifies the name that uniquely identifies a CE in the current VPN of the current PE, a
case-insensitive string of 1 to 20 characters that cannot include hyphens (-).
id ce-id: Specifies an ID for the CE in the VPN.
range ce-range: Specifies the maximum number of CEs to which the specified CE can connect. The
default is 10.
default-offset default-offset: Specifies the initial CE ID in the VPN. It can be either 0 or 1. The default is
0.
Usage guidelines
All MSR routers support the command, but they have different value ranges for the following parameters:
Parameter MSR900 MSR93
X
MSR20-1
X
MSR20
MSR30
MSR50 MSR1000
ce-id 0 to 299 0 to 299 0 to 299 0 to 199 0 to 299 0 to 499 0 to 299
ce-range 1 to 300 1 to 300 1 to 300 1 to 200 1 to 300 1 to 500 1 to 300
Examples
# Create a CE for a VPN, and configure the CE name as ce1 and set the CE ID to 1.
<Sysname> system-view
[Sysname] mpls l2vpn vpn1 encapsulation ethernet
[Sysname-mpls-l2vpn-vpn1] route-distinguisher 100:1
[Sysname-mpls-l2vpn-vpn1] ce ce1 id 1
[Sysname-mpls-l2vpn-ce-vpn1-ce1]










