Usage Scenario
When multiple Level-1-2 devices in an IS-IS Level-1 area are connected to a Level-2 area, information about all the routes except the default route in the Level-1 area leak to the Level-2 area. The routes in the Level-1 area destined for one device in the Level-2 area may be forwarded by the same Level-1-2 device, causing traffic imbalance.
You can run the
import-route isis level-1 into level-2 command on one Level-1-2 device to enable some Level-1 routes to leak to the Level-2 area and run the command on other Level-1-2 devices to enable the rest Level-1 routes to leak to the Level-2 area. Then, traffic that is sent from the Level-2 area and destined for different network segments in the Level-1 area will be forwarded to different Level-1-2 routers.
Prerequisites
An IS-IS process has been created using the isis command.
Configuration Impact
After the undo import-route isis level-1 into level-2 command is run, the IS-IS backbone area cannot obtain the routes in the Level-1 area, causing area disconnection.
Precautions
In the route-policy specified in this command, if-match clauses can be configured to set matching rules, but apply clauses cannot be configured to set route attributes.