Command Manual – Routing Protocol
Quidway S3900 Series Ethernet Switches-Release 1510
Chapter 2 RIP Configuration Commands
Huawei Technologies Proprietary
2-2
System View: return to User View with Ctrl+Z.
[Quidway] rip
[Quidway-rip] undo checkzero
2.1.2 default cost
Syntax
default cost value
undo default cost
View
RIP view
Parameter
value
: Default routing cost to be set, ranging from 1 to 16. It is 1 by default.
Description
Use the
default cost
command to set the default routing cost of imported routes.
Use the
undo default cost
command to restore the default value.
If no routing cost is specified when you use the
import-route
command to import
routes from another routing protocol, the routes will be imported with the default routing
cost specified with the
default cost
command.
Related command:
import-route
.
Example
# Set the default routing cost of the routes imported from other routing protocols to 3.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] rip
[Quidway-rip] default cost 3
2.1.3 display rip
Syntax
display rip
View
Any view
Parameter
None