227
route-policy
route-policy-name
: Redistributes only routes matching the specified routing policy. The
route-policy-name
argument is a case-sensitive string of 1 to 63 characters.
tag
tag
: Specifies a tag value for marking redistributed routes, in the range of 1 to 4294967295.
Usage guidelines
IS-IS takes all the redistributed routes as external routes to destinations outside the IS-IS routing domain.
The effective cost depends on the cost style. For the styles of
narrow
,
narrow-compatible
, and
compatible
,
the cost is in the range of 0 to 63. If the cost is more than 63, 63 is used. For the style of wide or
wide-compatible, the configured value is the effective value.
This
import-route
command cannot redistribute default routes. The command redistributes only active
routes. To display route state information, use the
display ip routing-table
protocol
command.
The
import-route bgp
command redistributes only EBGP routes.
The
import-route bgp allow-ibgp
command redistributes both EBGP and IBGP routes. Because this
command might cause routing loops, use it with caution.
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 into IS-IS, and set the cost for redistributed routes to 15.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] import-route static cost 15
Related commands
import-route limit
import-route isis level-1 into level-2
Use
import-route isis level-1 into level-2
to enable route advertisement from Level-1 to Level-2.
Use
undo import-route isis level-1 into level-2
to disable route advertisement from Level-1 to Level-2.
Syntax
import-route isis level-1 into level-2
[
filter-policy
{
acl-number
|
prefix-list
prefix-list-name
|
route-policy
route-policy-name
} |
tag
tag
] *
undo import-route isis level-1 into level-2
Default
Route advertisement from Level-1 to Level-2 is enabled.
Views
IS-IS view
Predefined user roles
network-admin
Parameters
filter-policy
: Specifies a filtering policy.