R3102-R3103-HP 6600/HSR6600 Routers MPLS Command Reference Guide
338
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
Default
If BGP is running in the MPLS backbone and the BGP's AS number is not greater than 65535, the first two
octets of the default external route tag is always 0xD000 and the last two octets is the AS number of the
local BGP. For example, if the local BGP AS number is 100, the default value of the external route tag is
3489661028, which equals the decimal value of 0xD0000000 (3489660928) + 100. If the BGP's AS
number is greater than 65535 or the MPLS backbone does not use BGP, the default external route tag is
0.
Views
OSPF view
Default command level
2: System level
Parameters
tag-value: External route tag for imported VPN routes, in the range of 0 to 4294967295.
Usage guidelines
If PE-CE routing protocol is OSPF, the local PE redistributes the BGP VPNv4 routes received from the peer
PE into the OSPF routing table, and advertises these routes to the locally connected CE through OSPF. If
the routes are advertised to the CE through Type 5 or 7 LSAs, Type 5/7 LSAs must contain the external
route tag. An external route tag can be configured by different commands and has different priorities.
The following lists the commands used to configure the external route tag (in the descending order of tag
priority):
• import-route
• route-tag
• default tag










