148
Step
Command
Remarks
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 is not
configured.
Configuring IS-IS route filtering
You can use an ACL, IP prefix list, or routing policy to filter routes calculated using received LSPs
and routes redistributed from other routing protocols.
Filtering routes calculated from received LSPs
IS-IS saves LSPs received from neighbors in the LSDB, and uses the SPF algorithm to calculate the
shortest path tree with itself as the root. IS-IS installs the calculated routes to the IS-IS routing table
and the optimal routes to the IP routing table.
Perform this task to filter calculated routes. Only routes that are not filtered can be added to the IP
routing table. The filtered routes retain in the IS-IS routing table and can be advertised to neighbors.
To filter routes calculated using received LSPs:
Step
Command
Remarks
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
cost-style
{
wide
|
wide-compatible
}
c
address-family ipv4
[
unicast
]
N/A
3.
Filter routes calculated using
received LSPs.
filter-policy
{
ipv4-acl-number
|
prefix-list
prefix-list-name
|
route-policy
route-policy-name
}
import
By default, IS-IS route
filtering is not configured.
Filtering redistributed routes
IS-IS can redistribute routes from other routing protocols or other IS-IS processes, add them to the
IS-IS routing table, and advertise them in LSPs.
Perform this task to filter redistributed routes. Only routes that are not filtered can be added to the
IS-IS routing table and advertised to neighbors.
To filter redistributed routes:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
Содержание HPE FlexNetwork 7500 series
Страница 505: ...493 Connector N A ...