Configuring an OSPFv3 distribution list using a route map that uses a prefix list
When you configure route redistribution into OSPFv3 using a route map that uses a prefix list, the device supports both
permit
and
deny
statements in the route map and
permit
statements only in the prefix list. Therefore, the action to permit or deny is determined by the
route map, and the conditions for the action are contained in the prefix list. The following shows an example configuration.
device(config)# route-map v64 deny 10
device(config-routemap v64)# match ipv6 next-hop prefix-list ospf-filter5
device(config-routemap v64)# route-map v64 deny 11
device(config-routemap v64)# match ipv6 address prefix-list ospf-filter2
device(config-routemap v64)# route-map v64 permit 12
device(config-routemap v64)# exit
device(config)# ipv6 prefix-list ospf-filter2 seq 15 permit 2001:DB8:2001:102::/64 ge 65 le 96
device(config)# ipv6 prefix-list ospf-filter5 seq 15 permit fe80::2e0:52ff:fe00:100/128
In this example the prefix lists, ospf-filter2 and ospf-filter5 , contain a range of IPv6 routes and one host route to be denied, and the route
map v64 defines the deny action.
NOTE
The default action rule for
route-map
is to deny all routes that are not explicitly permitted. If you configure a "deny" route map
but want to permit other routes that do not match the rule, configure an "empty" permit route map. For example.
device(config)# route-map abc deny 10
device(config-routemap abc)# match metric 20
device(config-routemap abc)# route-map abc permit 20
Without the last line in the above example, all routes would be denied.
Configuring default route origination
When the Brocade device is an OSPFv3 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 OSPFv3 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 Brocade device does not advertise the OSPFv3 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 OSPFv3 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.
device(config-ospf6-router)# default-information-originate always metric 2 metric-type type1
Syntax:
[no] default-information-originate
[
always
] [
metric
value
] [
metric-type
type
]
Configuring OSPFv3
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
307
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...