R0106-HP MSR Router Series MPLS Command Reference(V7)
293
Examples
# Specify the switchover wait time as 120 seconds for the cross-connect ac2pw in the cross-connect
group vpn1.
<Sysname> system-view
[Sysname] xconnect-group vpn1
[Sysname-xcg-vpn1] connection ac2pw
[Sysname-xcg-vpn1-ac2pw] revertive wtr 120
Related commands
display l2vpn pw
route-distinguisher
Use route-distinguisher to configure a route distinguisher (RD) for a BGP cross-connect group.
Use undo route-distinguisher to remove the RD.
Syntax
route-distinguisher route-distinguisher
undo route-distinguisher
Default
No RD is configured in auto-discovery cross-connect group view.
Views
Auto-discovery cross-connect group view
Predefined user roles
network-admin
Parameters
route-distinguisher: Specifies an RD, a string of 3 to 21 characters. An RD can be in one of these formats:
• 16 - b i t AS n u m b e r :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
MPLS L2VPN uses RDs to differentiate the sites that reside in different VPNs and have the same site ID.
BGP adds the configured RD before the site ID. The RD and the site ID uniquely identify a VPN site.
You cannot configure the same RD for different BGP cross-connect groups.
To change the RD, you must use the undo route-distinguisher to remove the old RD. Then use the
route-distinguisher command to configure the new RD.
Examples
# Configure the RD 22:2 for the BGP cross-connect group bbb.
<Sysname> system-view
[Sysname] xconnect-group bbb
[Sysname-xcg-bbb] auto-discovery bgp
[Sysname-xcg-bbb-auto] route-distinguisher 22:2