R3303-HP 6600/HSR6600 Routers MPLS Command Reference Guide
342
<Sysname> reset bgp vpnv4 all
route-distinguisher (VPN instance view)
Use route-distinguisher to configure an RD for a VPN instance.
Syntax
route-distinguisher route-distinguisher
Views
VPN instance view
Default command level
2: System level
Parameters
route-distinguisher: RD for the VPN instance, a string of 3 to 21 characters in one of these formats:
• 16 - bi t AS nu mb er :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 minimum value of the AS number is 65536.
For example, 65536:1.
Usage guidelines
An RD is used to create the routing and FIB of a VPN. By prefixing an RD to an IPv4 prefix, you get a VPN
IPv4 prefix unique globally.
No RD is configured by default; you must configure an RD for each VPN instance.
A VPN instance takes effect only after you configure an RD for it.
Once you configure an RD for a VPN, you cannot remove the association.
You cannot change an RD directly; you can only delete the VPN instance, and then re-create the VPN
instance and re-configure a new RD.
Examples
# Configure the RD of VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] route-distinguisher 22:1
route-tag
Use route-tag to configure an external route tag for imported VPN routes.
Use undo route-tag to restore the default.
Syntax
route-tag tag-value
undo route-tag










