R211x-HP Flexfabric 11900 MPLS Command Reference
317
Use undo route-tag to restore the default.
Syntax
route-tag tag-value
undo route-tag
Default
If the AS number is not greater than 65535, the first two octets of the default external route tag are
0xD000 and the last two octets are the local AS number. For example, if the local BGP AS number is 100,
the default value of the external route tag is 3489661028. If the AS number is greater than 65535, the
default external route tag is 0.
Views
OSPF view
Predefined user roles
network-admin
mdc-admin
Parameters
tag-value: Specifies the external route tag for redistributed VPN routes, in the range of 0 to 4294967295.
Usage guidelines
On an MCE device, you can configure a VPN route tag for a VPN instance bound to an OSPF process.
The VPN route tag must be included in Type-5 or Type-7 LSAs. An external route tag can be configured
by different commands and has different priorities. The commands used to configure the external route
tag (in the descending order of tag priority) are as follows:
• import-route
• route-tag
• default tag
If the external route tag in a Type 5 or 7 LSA received by an MCE is the same as the locally configured
external route tag, the MCE ignores the LSA in route calculation to avoid routing loops.
HP recommends configuring the same external route tag for MCEs in the same area.
An external route tag is not transferred in any BGP extended community attribute. It is only locally
significant and takes effect only on the MCEs that receive BGP routes and generate OSPF Type 5 or 7
LSAs.
You can configure the same external route tag for different OSPF processes.
Examples
# In OSPF process 100, set the external route tag for redistributed VPN routes to 100.
<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] route-tag 100
Related commands
import-route










