Command Manual â Routing Protocol 
Quidway S8500 Series Routing Switches  Chapter 3  OSPF Configuration Commands
 
Huawei Technologies Proprietary 
3-35 
type value: Specifies the cost type of imported external routes. The value ranges from 
1 to 2.  
tag value: Specifies the value of tag for imported external routes.  
route-policy route-policy-name: Configures only to import the routes matching the 
specified Route-policy. 
Description 
Use the import-route command to import routes from another routing protocol. Use 
the undo import-route command to disable OSPF to import routes from the specified 
routing protocol.  
By default, the routing information of other protocols is not imported. 
 
î  Note: 
You are recommended to configure the route type, cost and tag together in one 
command. Otherwise, the new configuration overwrites the old one. 
 
Example 
# Specify an imported RIP route as the route of type 2, with the route tag as 33 and the 
route cost as 50. 
[Quidway-ospf-1] import-route rip type 2 tag 33 cost 50 
3.1.33  import-route-limit 
Syntax 
import-route-limit num 
undo import-route-limit 
View 
OSPF view 
Parameter 
num: Specifies the maximum number of exterior routes allowed to be imported.  
Description 
Use the import-route-limit command to set the maximum number of exterior routes 
allowed to be imported.  
Use the undo import-route command to restore the default value of the maximum of 
exterior routes allowed to be imported.