Configuring default route origination – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual
Page 178
164
Brocade Virtual ADX Switch and Router Guide
53-1003246-01
Enabling OSPFv3
7
Configuring an OSPFv3 distribution list using a route map as input
The following commands configure a route map that matches internal routes:
Virtual ADX(config)# route-map allowInternalRoutes permit 10
Virtual ADX(config-routemap allowInternalRoutes)# match route-type internal
Refer to “Policy-Based Routing” for information on configuring route maps.
The following commands configure a distribution list that applies the allowInternalRoutes route
map globally to OSPFv3 routes:
Virtual ADX(config)# ipv6 router ospf
Virtual ADX(config-ospf6-router)# distribute-list route-map allowinternalroutes
in
Syntax: [no] distribute-list route-map name in
After this distribution list is configured, the internal routes would be included, and the external
routes would be omitted from the OSPFv3 route table:
Configuring default route origination
When the Brocade 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 Brocade 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.
NOTE
The Brocade 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.
Virtual ADX# 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 --------- 0.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