Configuring is-is route filtering, Filtering routes calculated from received lsps, Filtering redistributed routes – H3C Technologies H3C S10500 Series Switches User Manual
Page 169

154
To do…
Use the command…
Remarks
Redistribute routes from
another routing protocol
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 ] *
Required
No route is redistributed by
default.
If no level is specified, routes are
redistributed into the Level-2
routing table by default.
Configure the maximum
number of redistributed
Level 1/Level 2 IPv4
routes
import-route limit number
Optional
The default varies with devices.
NOTE:
Only active routes can be redistributed. Use the display ip routing-table protocol command to display
route state information.
Configuring IS-IS route filtering
You can reference a configured ACL, IP prefix list, or routing policy to filter routes calculated from the
received LSPs and the routes redistributed from other routing protocols.
Filtering routes calculated from received LSPs
IS-IS saves the LSPs received from neighbors in the LSDB, uses the SPF algorithm to calculate the shortest
path tree with itself as the root, and installs the routes into the IS-IS routing table.
By referencing a configured ACL, IP prefix list, or routing policy, you can filter the calculated routes. Only
the routes matching the filter can be added into the IS-IS routing table.
Follow these steps to filter routes calculated from received LSPs:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter IS-IS view
isis [ process-id ] [ vpn-instance
vpn-instance-name ]
—
Filter routes calculated from
received LSPs
filter-policy { acl-number | ip-prefix
ip-prefix-name | route-policy route-policy-name }
import
Required
No filtering is configured by
default.
Filtering redistributed routes
IS-IS can redistribute routes from other routing protocols (or other IS-IS processes), add them into the IS-IS
routing table, and advertise them in LSPs.
By reference a configured ACL, IP prefix list, or routing policy, you can filter redistributed routes and only
the routes matching the filter can be added into the IS-IS routing table and advertised to neighbors.
Follow these steps to configure the filtering of redistributed routes:
To do…
Use the command…
Remarks
Enter system view
system-view
—