The import-route limit command restricts the number of routes of other routing protocols imported in the IS-IS view.
The undo import-route limit command cancels the restriction.
By default, if the space for storing LSP packets is enough, IS-IS can import routes of other routing protocols without limitations.
import-route limit limit-number [ threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value ] { level-1 | level-2 | level-1-2 }
undo import-route limit [ limit-number ] [ threshold-alarm upper-limit upper-limit-value lower-limit lower-limit-value ] { level-1 | level-2 | level-1-2 }
| Parameter | Description | Value |
|---|---|---|
| limit-number | Specifies the maximum number of external routes allowed to be imported to the IS-IS area. |
The value is an integer ranging from 1 to 10000000. |
| threshold-alarm | Indicates the alarm threshold for imported routes. |
- |
| upper-limit upper-limit-value | Indicates the upper limit that triggers an alarm. If the proportion of the number of imported external routes in the maximum number of routes exceeds upper-limit-value, an alarm is generated. |
The value is an integer ranging from 1 to 100. The default value is 80. |
| lower-limit lower-limit-value | Indicates the lower limit that triggers a clear alarm. If the proportion of the number of imported external routes in the maximum number of routes falls below lower-limit-value, a clear alarm is generated. |
The value is an integer ranging from 1 to 100. The default value is 70. |
| level-1 | Indicates the maximum number of external routes allowed to be imported to a Level-1 area. |
- |
| level-2 | Indicates the maximum number of external routes allowed to be imported to a Level-2 area. |
- |
| level-1-2 | Indicates the maximum number of external routes allowed to be imported to both Level-1 and Level-2 areas. |
- |
Usage Scenario
To implement the communication between an IS-IS routing domain and other routing protocol domains or other IS-IS domains, you can run the import-route command to import external routes. Importing routes may cause a problem. If the routing table capacity of an IS-IS device is small, importing a large number of external routes may cause the router to reset because the number of routes exceeds the capacity. Therefore, you need to run the import-route limit command to restrict the number of imported routes to prevent the preceding problem.
Prerequisites
An IS-IS process has been created and the IS-IS view has been displayed using the isis command.
Precautions
The value of upper-limit-value must be greater than or equal to the value of lower-limit-value.