1668 CHAPTER 97: MPLS L2VPN CONFIGURATION COMMANDS

View User view

Parameter as-number: Resets L2VPN BGP connections with the peers in the AS with this number. The AS number must be in the range 1 to 65535.

ip-address: Resets the L2VPN BGP connection to the peer with this IP address.

all: Resets all L2VPN BGP connections.

external: Resets L2VPN EBGP sessions.

internal: Resets L2VPN IBGP sessions.

Description Use the reset bgp l2vpn command to reset L2VPN BGP connections.

Example # Reset all L2VPN BGP connections.

<Sysname> reset bgp l2vpn all

route-distinguisher (MPLS L2VPN view)

Syntax

route-distinguisher route-distinguisher

View

MPLS L2VPN view

Parameter

route-distinguisher: Specifies the route distinguisher (RD) in the format of nn:nn or

 

IP-address:nn. It can be a string of 3 to 21 characters.

 

An RD can be in either of the following formats:

 

16-bit AS number:32-bit user-defined number. For example, 101:3.

 

32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1.

Description

Use the route-distinguishercommand to configure an RD for the VPN.

 

Different VPNs on a PE must have different RDs, while a VPN can have the same or

 

different RDs on different PEs.

n

You cannot change an RD directly; you can only delete the VPN and then

re-create the VPN using the new RD.

 

No RD is configured by default; you must configure an RD for each VPN. A VPN

 

takes effect only when it is configured with an RD.

 

Once you configure an RD for a VPN, you cannot remove the association

 

between the RD and the VPN.

Example

# Configure the RD of a VPN.

 

<Sysname> system-view

 

[Sysname] mpls l2vpn vpn1 encapsulation ppp

 

[Sysname-mpls-l2vpn-vpn1] route-distinguisher 300:1

Page 1668
Image 1668
3Com MSR 30 manual Route-distinguisher Mpls L2VPN view, Route-distinguisher route-distinguisher, Between the RD and the VPN