Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands
Huawei Technologies Proprietary
2-7
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.
[Quidway-rip] import-route static cost 4
# Set the default cost and import an OSPF route with the default cost.
[Quidway-rip] default cost 3
[Quidway-rip] import-route ospf
2.1.8 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 network, other interfaces will