Reference Guide

Open Shortest Path First (OSPFv2) | 839
Defaults
Disabled.
Command Modes
ROUTER OSPF
Command
History
Related
Commands
default-metric
c e s z
Change the metrics of redistributed routes to a value useful to OSPF. Use this command with the
redistribute command.
Syntax
default-metric number
To return to the default values, enter no default-metric [number].
Parameters
Defaults
Disabled.
Command Modes
ROUTER OSPF
Command
History
Related
Commands
metric-type type-value (OPTIONAL) Enter the keyword metric-type followed by an OSPF link
state type of 1 or 2 for default routes. The values are:
1 = Type 1 external route
2 = Type 2 external route.
route-map map-name (OPTIONAL) Enter the keyword route-map followed by the name of an
established route map.
Version 8.3.11.1 Introduced on Z9000
Version 7.8.1.0 Introduced support for Multi-Process OSPF.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series
redistribute Redistribute routes from other routing protocols into OSPF.
number
Enter a number as the metric.
Range: 1 to 16777214.
Version 8.3.11.1 Introduced on Z9000
Version 7.8.1.0 Introduced support for Multi-Process OSPF.
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version 6.1.1.1 Introduced on E-Series
redistribute Redistribute routes from other routing protocols into OSPF.