11 default-metric (ospf) – CANOGA PERKINS 9175 Command Reference User Manual
Page 219
CanogaOS Command Reference
15-10
configuration command, the default metric value is 10. The value
used is specific to the protocol.
metric-type type-value
(Optional) External link type associated with the default route
advertised into the OSPF routing domain. It can be one of the
following values:
1—Type 1 external route
2—Type 2 external route
The default is type 2 external route.
Default
This command is disabled by default.
Command Mode
Router configuration
Usage
Whenever you use the redistribute or the default-information router configuration command to edistribute
routes into an OSPF routing domain, the switch automatically becomes an utonomous System Boundary
Router (ASBR). However, an ASBR does not, by default, generate a default route into the OSPF routing
domain. The software still must have a default route for itself before t generates one, except when you
have specified the always keyword.
Examples
The following example specifies a metric of 100 for the default route redistributed into the OSPF routing
domain and an external metric type of Type 1:
router ospf 109
redistribute rip metric 100
default-information originate metric 100 metric-type 1
Related Commands
redistribute (OSPF)
15.11 default-metric (OSPF)
To set default metric values for the Open Shortest Path First (OSPF) routing protocol, use the
default-metric command in router configuration mode. To return to the default state, use the no form of
this command.
Command Syntax
default-metric metric-value
no default-metric [metric-value]
metric-value
Default metric value appropriate for the specified routing protocol.
Default