R2511-HP MSR Router Series Layer 3 - IP Routing Command Reference(V5)
167
• For the styles of wide, wide-compatible, the cost is in the range of 0 to 16777215.
cost-type { external | internal }: Specifies the cost type. The internal type indicates internal routes, and
the external type indicates external routes. If external is specified, the cost of a redistributed route to be
advertised is added by 64 to make internal routes take priority over external routes. The type is external
by default. The keywords are available only when the cost type is narrow, narrow-compatible, or
compatible.
level-1: Redistributes routes into the Level-1 routing table.
level-1-2: Redistributes routes into both Level-1 and Level-2 routing tables.
level-2: Redistributes routes into the Level-2 routing table. If no level is specified, the routes are
redistributed into the Level-2 routing table by default.
route-policy route-policy-name: Redistributes only routes satisfying the matching criteria of a routing
policy. The routing policy name is a case-sensitive string of 1 to 63 characters.
tag tag: Specifies a tag value for redistributed routes from 1 to 4294967295.
Usage guidelines
IS-IS takes all the redistributed routes as external routes to destinations outside the IS-IS routing domain.
If no topology is specified, the command redistributes routes from the specified routing protocol or IS-IS
process in the base topology.
The import-route bgp command redistributes only EBGP routes. The import-route bgp allow-ibgp
command redistributes both EBGP and IBGP routes, but this might cause routing loops. Use this
command cautiously.
Only active routes can be redistributed. Use the display ip routing-table protocol command to display
route state information.
The undo import-route protocol all-processes command removes only the configuration made by the
import-route protocol all-processes command, instead of the configuration made by the import-route
protocol process-id command.
Examples
# Redistribute static routes and set the cost to 15.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] import-route static cost 15
Related commands
import-route isis level-2 into level-1
import-route isis level-2 into level-1
Use import-route isis level-2 into level-1 to enable route leaking from Level-2 to Level-1.
Use undo import-route isis level-2 into level-1 to disable routing leaking.
Syntax
import-route isis level-2 into level-1 [ filter-policy { acl-number | ip-prefix ip-prefix-name | route-policy
route-policy-name } | tag tag ] *
undo import-route isis level-2 into level-1










