R3303-HP HSR6800 Routers MPLS Command Reference

223
Views
User view
Default command level
2: System level
Parameters
as-number: Resets L2VPN BGP sessions with the peers in the specified AS. The AS number must be in the
range of 1 to 4294967295.
ip-address: Resets the L2VPN BGP session to the peer with the specified IP address.
all: Resets all L2VPN BGP sessions.
external: Resets L2VPN EBGP sessions.
internal: Resets L2VPN IBGP sessions.
Examples
# Reset all L2VPN BGP sessions.
<Sysname> reset bgp l2vpn all
route-distinguisher (MPLS L2VPN view)
Use route-distinguisher to configure an RD for the VPN.
Syntax
route-distinguisher route-distinguisher
Views
MPLS L2VPN view
Default command level
2: System level
Parameters
route-distinguisher: Specifies the 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 one of these 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.
32-bit AS number:16-bit user-defined number, where the AS number must be equal to or greater
than 65536. For example, 65536:1.
Usage guidelines
Different VPNs on a PE must have different RDs. A VPN can have the same or different RDs on different
PEs.
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.