Command Manual – Routing Protocol 
Quidway S3900 Series Ethernet Switches-Release 1510  Chapter 2  RIP Configuration Commands
 
Huawei Technologies Proprietary 
2-9 
value: Cost value of the routes to be imported. 
route-policy  route-policy-name: Specifies to import only the routes matching the 
conditions of the specified route-policy 
Description 
Use the import-route command to import the routes of another protocol into RIP.  
Use the undo import-route command to cancel the routes imported from another 
protocol.  
By default, RIP does not import routes from other protocols. 
The import-route command is used to import the routes of another protocol with a 
specified cost.. RIP regards the imported routes as its own routes and transmits them 
with the specified cost. This command can greatly enhance the capability of RIP to 
obtain routes, thereby improving RIP performance. 
If the cost value is not specified, routes will be imported with the default routing cost 
(set by the default cost command, ranging from 1 to 16). If the cost of an imported 
route is 16, RIP marks the route as HOLD DOWN (however, the route can still be used 
to forward packets), and continues to announce the route with this cost to other routers 
running RIP until the Garbage Collection timer times out (the timeout time defaults to 
120 seconds). 
Related command: default cost. 
Example 
# Import static routes with the cost of 4. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z.  
[Quidway] rip 
[Quidway-rip] import-route static cost 4 
# Set the default cost and import OSPF routes with the default cost. 
<Quidway> system-view 
System View: return to User View with Ctrl+Z.  
[Quidway] rip 
[Quidway-rip] default cost 3 
[Quidway-rip] import-route ospf 
2.1.10  network 
Syntax 
network network-address 
undo network network-address