OSPF Commands
©2008 Allied Telesis Inc. All rights reserved.
30.22
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
default-metric
This command sets default metric values for the OSPF routing protocol.
A default metric facilitates redistributing routes even with incompatible metrics. If the metrics
do not convert, the default metric provides an alternative and enables the redistribution to
continue. The effect of this command is that OSPF will use the same metric value for
all
redistributed routes. Use this command in conjunction with the
redistribute
command.
The
no
form of this command returns OSPF to using built-in, automatic metric translations, as
appropriate for each routing protocol.
Syntax
default-metric <0-16777214>
no default-metric
Mode
Router mode
Examples
awplus#
configure terminal
awplus(config)#
router ospf 100
awplus(config-router)#
default-metric 100
Related commands
redistribute
Parameter
Description
<0-16777214>
Default metric value appropriate for the specified routing protocol.