3com 5500-ei pwr Reference Guide
3-2
default cost
Syntax
default cost value
undo default cost
View
RIP view
Parameters
value
: Default cost, in the range of 1 to 16.
Description
Use the default cost command to set the default cost for redistributed routes.
Use the undo default cost command to restore the default.
By default, the default cost of a redistributed route is 1.
If no cost is specified when you use the import-route command to redistribute routes from another
routing protocol, the routes will be redistributed with the default cost specified with the default cost
command.
routing protocol, the routes will be redistributed with the default cost specified with the default cost
command.
Related commands: import-route.
Examples
# Redistribute static routes and set the default cost of the redistributed routes to 3.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] rip
[Sysname-rip] import-route static
[Sysname-rip] default cost 3
display rip
Syntax
display rip
View
Any view
Parameters
None
Description
Use the display rip command to display the current RIP operation state and RIP configuration.
Examples
# Display the current RIP operation state and configuration.