10 default-information originate (ospf) – CANOGA PERKINS CanogaOS Command Reference User Manual
Page 249

CanogaOS Command Line Reference
Revision 1.02
Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches
Page 249 of 855
Related Commands
15.10 default-information originate (OSPF)
To generate a default external route into an Open Shortest Path First (OSPF) routing domain, use the
Default
-information originate command in router configuration mode. To disable this feature, use the
no form of this command.
Command Syntax
default-information originate [always] [metric metric-value] [metric-type type-value]
no default-information originate [always] [metric] [metric-type]
always
(Optional) Always advertises the default route regardless of
whether the software has a default route.
metric metric-value
(Optional) Metric used for generating the default route. If you
omit a value and do not specify a value using the default-metric
router 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