HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Routing Command Referenc - Page 113
Syntax, Default, Views, Predefined user roles, Parameters, Usage guidelines, import-route
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 113 highlights
Syntax import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | [ cost cost | route-policy route-policy-name | tag tag | type type ] * undo import-route protocol [ process-id | all-processes ] Default OSPF does not redistribute AS-external routes from any other routing protocol. Views OSPF view Predefined user roles network-admin Parameters protocol: Redistributes routes from the specified protocol, which can be bgp, direct, isis, ospf, rip, or static. process-id: Specifies an process by its ID in the range of 1 to 65535. The default is 1. It is available only when the protocol is rip, ospf, or isis. all-processes: Redistributes routes from all the processes of the specified routing protocol. This keyword takes effect only when the protocol is rip, ospf, or isis. allow-ibgp: Allows redistribution of IBGP routes. It is available only when the protocol is bgp. cost cost: Specifies a route cost in the range of 0 to 16777214. The default is 1. route-policy route-policy-name: Uses the specified routing policy to filter redistributed routes. The route-policy-name argument is a case-sensitive string of 1 to 63 characters. tag tag: Specifies a tag for marking external LSAs, in the range of 0 to 4294967295. The default is 1. type type: Specifies a cost type, 1 or 2. The default is 2. Usage guidelines This command redistributes routes destined for other ASs from another protocol. AS external routes include the following types: • Type-1 external route • Type-2 external route A Type-1 external route has high reliability. Its cost is comparable with the cost of OSPF internal routes. The cost from an OSPF router to a Type-1 external route's destination equals the cost from the router to the ASBR plus the cost from the ASBR to the external route's destination. A Type-2 external route has low credibility. OSPF considers the cost from the ASBR to the destination of a Type-2 external route is much bigger than the cost from the ASBR to an OSPF internal router. The cost from an internal router to a Type-2 external route's destination equals the cost from the ASBR to the Type-2 external route's destination. The import-route command cannot redistribute default external routes. The import-route bgp command redistributes only EBGP routes. Because the import-route bgp allow-ibgp command redistributes both EBGP and IBGP routes and might cause routing loops, use it with caution. 102