< Home

import-route limit

Function

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.

Format

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 }

Parameters

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.

-

Views

IS-IS view

Default Level

2: Configuration level

Usage Guidelines

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.

Example

# Set the maximum number of external routes allowed to be imported to the IS-IS Level-1 area to 1000 with the upper limit 85 and lower limit 75.

<sysname> system-view
[sysname] isis
[sysname-isis-1] import-route limit 1000 threshold-alarm upper-limit 85 lower-limit 75 level-1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >