Command:

default-metric (Rip)


Mode:

Router(config-router)#


Syntax:

default-metric metric-value
no default-metric [number-value]

 

Syntax Description:

number-value Default metric value.

 

Command Description:

To set default metric values for Routing Information Protocol (RIP), use the default-metric command in router configuration mode. To return to the default state, use the no form of this command.

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.


Example:

The following example shows a router running both RIP and OSPF. The example advertises OSPF-derived routes using RIP and assigns the OSPF-derived routes a RIP metric of 10.

Router(config)#router rip
Router(config-router)#default-metric 10
Router(config-router)#redistribute ospf 109


Misconceptions:

None


Related Commands:

redistribute

� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)