3com S7906E 참조 가이드

다운로드
페이지 2327
 
1-56 
[Sysname] ip vpn-instance vpn1 
[Sysname-vpn-instance-vpn1] route-distinguisher 22:1 
route-tag 
Syntax 
route-tag tag-value 
undo route-tag 
View 
OSPF view 
Default Level 
2: System level 
Parameters 
tag-value: Tag for identifying injected VPN routes, in the range 0 to 4294967295.  
Description 
Use the route-tag command to configure the tag for identifying injected VPN routes. 
Use the undo route-tag command to restore the default. 
If the AS number is not greater than 65535, the first two octets of the default 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 tag is 3489661028 in decimal. If the AS number is greater than 65535, the default tag is 0. 
An OSPF instance-related VPN instance on a PE is usually configured with a VPN route tag, which 
must be included in Type 5/7 LSAs. PEs in the same AS are recommended to have the same route tag. 
The route tag is local significant and can be configured and take effect on only PEs receiving BGP 
routes and generating OSPF LSAs; it is not transferred in any BGP extended community attribute. 
Different OSPF processes can have the same route tag. 
Tags configured with different commands have different priorities: 
A tag configured with the import-route command has the highest priority. 
A tag configured with the route-tag command has the second highest priority. 
A tag configured with the default tag command has the lowest priority. 
A received Type 5 or Type 7 LSA is neglected in route calculation if its tag is the same as the local one. 
 
 
A configured route tag takes effect after you issue the reset ospf command. 
 
Related commands: import-route in OSPF Commands of the IP Routing Volume
Examples 
# Configure the route tag for OSPF process 100 as 100.