5-32
import-route (IS-IS view)
Syntax
import-route
protocol
[
process-id | all-processes
|
allow-ibgp
] [
cost
cost
|
cost-type
{
external
|
internal
} |
[
level-1
|
level-1-2
|
level-2
] |
route-policy
route-policy-name | tag tag
] *
undo import-route
protocol
[
process-id | all-processes
]
View
IS-IS view
Default Level
2: System level
Parameters
protocol
: Redistributes routes from a routing protocol, which can be BGP, direct, IS-IS, OSPF, RIP or
static.
process-id
: Process ID, in the range of 1 to 65535. It is available only when the protocol is IS-IS, OSPF
or RIP.
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 when the protocol is BGP.
cost
: Specifies a cost for redistributed routes.
The range of the cost depends on its style:
z
For the styles of narrow, narrow-compatible and compatible, the cost ranges from 0 to 63.
z
For the styles of wide, wide-compatible, the cost ranges from 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 conditions of a
route policy, the name of which is a string of 1 to 19 characters.
tag tag
: Specifies a tag value for redistributed routes from 1 to 4294967295.
Description
Use the
import-route
command to redistribute routes from another routing protocol or another IS-IS
process.
Use the
undo import-route
command to disable route redistribution from another routing protocol or
another IS-IS process.
No route redistribution is configured by default.