beautypg.com

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

Page 680

background image

652

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Configuring OSPFv3

Configuring 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 OSPFv3 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 OSPFv3 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).

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 does not advertise the OSPF default route, regardless of other configuration parameters,
unless you explicitly enable default route origination.

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.

For example, to create and advertise a default route with a metric of 2 and as a type 1 external
route, enter the following command.

Brocade(config-ospf6-router)# default-information-originate always metric 2

metric-type type1

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

The always keyword originates a default route regardless of whether the device has learned a
default route. This option is disabled by default.

The metric value parameter specifies a metric for the default route. If this option is not used, the
value of the default-metric command is used for the route. For information about this command,
refer to

“Modifying default metric for routes redistributed into OSPF Version 3”

on page 647.

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:

1 – Type 1 external route

Brocade# show ipv6 ospf route

Current Route count: 3

Intra: 3 Inter: 0 External: 0 (Type1 0/Type2 0)

Equal-cost multi-path: 0

Destination Options Area Cost Type2 Cost

Next Hop Router Outgoing Interface

*IA 2001:db8:3001::/64 --------- 10.0.0.1 0 0

:: ve 10

*IA 2001:db8:3015::/64 V6E---R-- 0.0.0.0 11 0

fe80::2e0:52ff:fe00:10 ve 10

*IA 2001:db8:3020::/64 --------- 0.0.0.0 10 0

:: ve 11