3Com Switch 7750 Series
Command Reference Guide – Routing Protocol
Chapter 2 RIP Configuration Commands
2-2
System View: return to User View with Ctrl+Z.
[3Com] rip
[3Com-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.
<3Com> system-view
System View: return to User View with Ctrl+Z.
[3Com] rip
[3Com-rip] default cost 3
2.1.3 display rip
Syntax
display rip
View
Any view
Parameter
None