3com 8807 Reference Guide

Page of 1099
402
C
HAPTER
 24: RIP C
ONFIGURATION
 C
OMMANDS
By default, RIP does not import any other route.
The import-route command is used to import the route of another protocol by 
using a certain cost value. RIP regards the imported route as its own route and 
transmits it with the specified cost value. This command can greatly enhance the 
RIP capability of obtaining routes, thus increasing the RIP performance.
If the cost value is not specified, routes will be imported according to the default 
cost
 ranging from 1 to 16. If the cost value of the imported route is 16, then RIP 
continues to advertise this cost to other routers running RIP, and marks this route 
"Hold Down". However, this router can still forward packets until the Garbage 
Collection timer times out (defaults to 120 seconds).
Related command: default cost.
Example
# Import a static route with the cost value of 4.
[3Com-rip] import-route static cost 4 
# Set the default cost and import an OSPF route with the default cost.
[3Com-rip] default cost 3
 
[3Com-rip] import-route ospf 
network
Syntax
network network-address
undo network network-address
View
RIP view
Parameter
network-address: IP address of the RIP interface. It can be the IP network address 
of any interface.
Description
Use the network command to enable Routing Information Protocol (RIP) for the 
specified network connected to the router.
Use the undo network command to disable the RIP on the interface.
By default, all RIP interfaces are disabled.
RIP route processes are disabled on all interfaces by default. To enable a RIP route 
process on an interface, use the network command.
The undo network command is similar to the undo rip work command in terms 
of function. But they are not identical. Their similarity is that the interface using 
either command will not receive/transmit RIP routes. The difference between them 
is that, in the case of undo rip work, other interfaces will still forward the routes 
of the interface using the undo rip work command. In the case of undo