Command Reference Guide
Router (RIP) Configuration Command Set
5991-2114 © Copyright 2005 Hewlett-Packard Development Company, L.P. 896
default-metric <value>
Use the default-metric command to set the default metric value for the RIP routing protocol. Use the no
form of this command to return to the default settings.
Syntax Description
<value> Set the default metric value (range: 1-4294967295 Mbps).
Default Values
By default, this value is set at 0.
Command Modes
(config-ospf)# Router (OSPF or RIP) Configuration Mode required
(config-rip)#
Functional Notes
The metric value defined using the redistribute command overrides the default-metric command’s metric
setting. See
redistribute ospf [metric <value>] on page 900 for related information.
Usage Examples
The following example shows a router using both RIP and OSPF routing protocols. The example
advertises OSPF-derived routes using the RIP protocol and assigns the OSPF-derived routes a RIP metric
of 10.
(config)#router rip
(config-rip)#default-metric 10
(config-rip)#redistribute ospf