Command Reference Guide

3Com Router 5000 Family and Router 6000 Family default cost 43
Command Reference
default cost
Purpose Use the default cost command to configure the default cost for OSPF to
redistribute external routes.
Use the undo default cost command to restore the default value of the default
routing cost configured for OSPF to redistribute external routes.
Syntax default cost value
undo default cost
Parameters value
Default routing cost of external route redistributed by
OSPF. Valid values are 0 to 16777214.
If no value is specified, the default value is 1.
Example Specify the default routing cost for OSPF to redistribute external routes as 10.
[3Com -ospf-1] default cost 10
View This command can be used in the following views:
OSPF view
Description Since OSPF can redistribute external routing information and propagate it to the
entire autonomous system, it is necessary to specify the default routing cost for the
protocol to redistribute external routes.
If multiple OSPFs are enabled, the command is valid to this process only.