beautypg.com

Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 278

background image

If default route origination is enabled and you disable it, the default route originated by the device is
flushed. Default routes generated by other OSPF routers are not affected. If you re-enable the feature,
the feature takes effect immediately and thus does not require you to reload the software.

NOTE
The ABR (device) will not inject the default route into an NSSA by default and the command described
in this section will not cause the device to inject the default route into the NSSA. To inject the default
route into an NSSA, use the area nssa default-information-originate command.

To enable default route origination, enter the following command.

device(config-ospf-router)# default-information-originate

-ospf-router)# default-information-originate

To disable the feature, enter the following command.

device(config

-ospf-router)# no default-information-originate

Syntax: [no] default-information-originate [ always ] [ metric value ] [ metric-type type ]

The always parameter advertises the default route regardless of whether or not the router has a
default route. This option is disabled by default.

NOTE
The always parameter is not necessary pre-FastIron 8.0 releases.

The metric value parameter specifies a metric for the default route. If this option is not used, the
default metric is used for the route.

The metric-type type parameter specifies the external link type associated with the default route
advertised into the OSPF routing domain. The type can be one of the following:

• type1 - Type 1 external route
• type2 - Type 2 external route

If you do not use this option, the default redistribution metric type is used for the route type.

The route-map parameter overrides other options. If set commands for metric and metric-type are
specified in the route-map, the command-line values of metric and metric-type if specified, are
“ignored” for clarification.

The route-map rmap parameter specifies the route map reference.

The corresponding route-map should be created before configuring the route-map option along with
the default-information-originate command . If the corresponding route-map was not been created
beforehand, then the an error message will be displayed stating that the route-map must be created.

NOTE
The route-map option cannot be used with a non-default address in the match conditions. The default-
route LSA shall not be generated if a default route is not present in the routing table and a match ip
address
condition for an existing non-default route is configured in the route-map. The match ip-
address
command in the route-map is a no-op operation for the default information originate
command.

OSPFv2

278

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

53-1003087-04