146
Advertising a default route
IS-IS cannot redistribute a default route to its neighbors. This task enables IS-IS to advertise a
default route of 0.0.0.0/0 in an LSP to the same-level neighbors. Upon receiving the default route, the
neighbors add it into their routing table.
To advertise a default route:
1. Enter system view.
system-view
N/A
2. Enter IS-IS IPv4
unicast address family
view.
a isis [ process-id ] [ vpn-instance
vpn-instance-name ]
b address-family ipv4 [ unicast ]
N/A
3. Advertise a Level-1 or
Level-2 default route.
default-route-advertise
[ [
level-1
|
level-1-2
|
level-2
] |
route-policy
route-policy-name ] *
By default, IS-IS does not
advertise a Level-1 or Level-2
default route.
Configuring IS-IS route redistribution
Perform this task to redistribute routes from other routing protocols into IS-IS. You can specify a cost
for redistributed routes and specify the maximum number of redistributed routes.
To configure IS-IS route redistribution from other routing protocols:
1. Enter system view.
system-view
N/A
2. Enter IS-IS IPv4 unicast
address family view.
a isis [ process-id ] [ vpn-instance
vpn-instance-name ]
b address-family ipv4 [ unicast ]
N/A
3. Redistribute routes
from other routing
protocols or other IS-IS
processes.
import-route
protocol [ as-number ]
[ process-id |
all-processes
|
allow-ibgp
] [
allow-direct
|
cost
cost-value |
cost-type
{
external
|
internal
} | [
level-1
|
level-1-2
|
level-2
] |
route-policy
route-policy-name |
tag
tag ] *
By default, no route is
redistributed.
By default, if no level is specified,
this command redistributes routes
into the Level-2 routing table.
This command redistributes only
active routes. To display active
routes, use the
display ip
routing-table
protocol
command.
4. (Optional.) Configure
the maximum number
of redistributed Level
1/Level 2 IPv4 routes.
import-route limit
number
By default, the maximum number
of redistributed Level 1/Level 2
IPv4 routes equals the maximum
number of routes allowed in the
IPv4 routing table. To set the
maximum number of routes
allowed in the IPv4 routing table,
use the
switch-routing-mode
ipv6-128
command.