Adding Specified IS-IS Routes to the IP Routing Table
Context
Only routes in an IP routing table can be used to forward IP packets. An IS-IS route can take effect only after this IS-IS route has been successfully added to an IP routing table.
If an IS-IS route does not need to be added to a routing table, specify conditions, such as a basic ACL, IP prefix, and routing policy, to filter routes so that only IS-IS routes that meet the specified conditions can be added to an IP routing table. IS-IS routes that do not meet the specified conditions cannot be added to the IP routing table and cannot be selected to forward IP packets.
Procedure
- Run system-view
The system view is displayed.
- Run isis [ process-id ]
The IS-IS view is displayed.
- Run filter-policy { acl-number | acl-name acl-name | ip-prefix ip-prefix-name | route-policy route-policy-name } import
Conditions for filtering IS-IS routes are configured.
- Run commit
The configuration is committed.