5-33
IS-IS takes all the redistributed routes as external routes to destinations outside the IS-IS routing
domain.
Related commands:
import-route isis level-2 into level-1
.
z
Using the
import-route bgp
command redistributes only EBGP routes. Using the
import-route
bgp allow-ibgp
command redistributes both EBGP and IBGP routes, but this may cause routing
loops; be cautious with this command.
z
Only active routes can be redistributed. You can use the
display ip routing-table
protocol
command to display route state information.
Examples
# Redistribute static routes and set the cost to 15.
<Sysname> system-view
[Sysname] isis 1
[Sysname-isis-1] import-route static cost 15
import-route isis level-2 into level-1
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
View
IS-IS view
Default Level
2: System level
Parameters
acl-number
: Specifies the number of an ACL that is used to filter routes from Level-2 to Level-1,
ranging from 2000 to 3999. For ACL configuration information, see
ACL Configuration Commands
in
the
ACL and QoS Command Reference
.
ip-prefix
ip-prefix-name
: Specifies the name of an IP prefix list that is used to filter routes from Level-2
to Level-1, a string of 1 to 19 characters. For IP prefix list configuration information, see
Route Policy
Configuration Commands
in the
Layer 3 - IP Routing Command Reference
.
route-policy
route-policy-name
: Specifies the name of a route policy that is used to filter routes from
Level-2 to Level-1, a string of 1 to 19 characters. For route policy configuration information, see
Route
Policy Configuration Commands
in the
Layer 3 - IP Routing Command Reference
.
tag tag
: Specifies a tag value from 1 to 4294967295 for redistributed routes.