11 default-metric (ospf) – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 250

CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 250 of 855
default-information originate metric 100 metric-type 1
 
Related Commands 
redistribute (OSPF)
15.11 default-metric (OSPF)
To set default metric values for the Open Shortest Path First (OSPF) routing protocol, use the 
default-metric command in router configuration mode. To return to the default state, use the no form of 
this command. 
 
Command Syntax 
default-metric metric-value 
no default-metric [metric-value] 
metric-value
Default metric value appropriate for the specified routing protocol.
 
Default 
Built-in, automatic metric translations, as appropriate for each routing protocol. The metric of 
redistributed connected and static routes is set to 0. 
 
Command Mode 
Router configuration
 
Usage 
The
Default
-metric command is used in conjunction with the redistribute router configuration
command to cause the current routing protocol to use the same metric value for all redistributed routes. 
A default metric helps solve the problem of redistributing routes with incompatible metrics. Whenever 
metrics do not convert, using a default metric provides a reasonable substitute and enables the 
redistribution to proceed. 
 
Examples 
The following example shows a router in autonomous system using both the Routing Information 
Protocol (RIP) and the OSPF routing protocols. The example advertises OSPF-derived routes using 
RIP and assigns the Internal Gateway Protocol (IGP)-derived routes a RIP metric of 10. 
router rip 
 default-metric 10 
 redistribute ospf 
 
Related Commands 
redistribute (OSPF)
