1647

View MPLS L2VPN view/MPLS L2VPN CE view

Parameter ce-name: Unique name for a CE in the current VPN of the current PE, a string of 1 to 20 characters that cannot include the character of “-”.

ce-id: ID for the CE in the VPN. For MSR20 series routers, it is in the range of 0 to 199; for MSR30 and MSR50 series routers, it is in the range 0 to 249.

ce-range: Maximum number of CEs that the current PE can support. For MSR20 series routers, it is in the range of 1 to 200; for MSR30 and MSR50 series routers, it is in the range 1 to 250. The default is 10.

ce-offset: Original CE offset. It can be either 0 or 1. The default is 0.

Description Use the ce command in MPLS L2VPN view to create a CE and enter MPLS L2VPN CE view.

Use the ce command in MPLS L2VPN CE view to create another CE.

Use the undo ce command to delete a CE.

Example # Create a CE named ce1 for a VPN.

<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]

# Create a CE named ce2 for a VPN.

<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] ce ce1 id 2 [Sysname-mpls-l2vpn-ce-vpn1-ce2]

connection

Syntax connection [ ce-offsetid ] interface interface-type interface-number [ tunnel-policytunnel-policy-name ]

undo connection { ce-offset id interface interface-typeinterface-number}

View MPLS L2VPN CE view

Parameter id: ID of the peer CE of the L2VPN connection. For MSR20 series routers, it is in the range of 0 to 199; for MSR30 and MSR50 series routers, it is in the range 0 to 249.

interface-typeinterface-number: Specifies the interface connecting the CE by its type and number. The encapsulation type must be same as that of the VPN.

Page 1647
Image 1647
3Com MSR 50, MSR 30 manual Connection, # Create a CE named ce2 for a VPN, View Mpls L2VPN CE view, 1647