RIP Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
28.5
default-metric
Use this command to specify the metrics to be assigned to redistributed routes.
Use the
no
parameter with this command to set the metric back to its default value (1).
Syntax
default-metric METRIC
no default-metric METRIC
no default-metric
Default
By default, the metric value is set to 1.
Mode
Router mode
Usage
This command is used with the redistribute command to make the routing protocol use the
specified metric value for all redistributed routes. Default metric is useful in redistributing routes
with incompatible metrics. Every protocol has different metrics and can not be compared
directly. Default metric provides the standard to compare. All routes that are redistributed will
use the default metric
Examples
This example assigns the cost of 10 to the OSPF routes which are redistributed into RIP.
awplus#configure terminal
awplus(config)#router rip
awplus(config-router)#redistribute ospf
awplus(config-router)#default-metric 10
Parameter
Diagnostic
METRIC
<1-16> Specifies the default metric.