beautypg.com

Configure default route origination – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 219

background image

Multi-Service IronWare Routing Configuration Guide

191

53-1003033-02

Configuring OSPF

The ip-addr parameter specifies the network address.

The ip-mask parameter specifies the network mask.

To display the configured summary addresses, enter the following command at any level of the CLI.

Brocade)# show ip ospf config

OSPF Redistribution Address Ranges currently defined:

Range-Address Subnetmask

10.0.0.0 255.0.0.0

10.0.1.0 255.255.255.0

10.0.2.0 255.255.255.0

Syntax: show ip ospf config

Configure default route origination

When the device is an OSPF Autonomous System Boundary Router (ASBR), you can configure it to
automatically generate a default external route into an OSPF routing domain. This feature is called
“default route origination” or “default information origination”.

By default, the device does not advertise the default route into the OSPF domain. If you want the
device to advertise the OSPF default route, you must explicitly enable default route origination.

When you enable OSPF default route origination, the device advertises a type 5 default route that is
flooded throughout the AS (except stub areas and NSSAs). In addition, internal NSSA ASBRs
advertise their default routes as translatable type 7 default routes.

The device advertises the default route into OSPF even if OSPF route redistribution is not enabled,
and even if the default route is learned through an IBGP neighbor. The router will not, however,
originate default if the active default route is learned from an OSPF router in the same domain.

NOTE

The device never advertises the OSPF default route, regardless of other configuration parameters,
unless you explicitly enable default route origination using the following method.

If the device is an ASBR, you can use the “always” option when you enable the default route
origination. The always option causes the ASBR to create and advertise a default route if it does not
already have one configured.

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 num | ip-addr nssa default-information-originate
command. Refer to

“Assign a Not-So-Stubby Area (NSSA)”

on page 170.

To enable default route origination, enter the following command.

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

To disable the feature, enter the following command.

Brocade(config-ospf-router)# no default-information-originate

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