Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual
Page 259

Brocade ICX 6650 Layer 3 Routing Configuration Guide
241
53-1002603-01
OSPF V3 configuration
Configuring an OSPF V3 distribution list using a route map as input
The following commands configure a route map that matches internal routes.
Brocade(config)#route-map allowInternalRoutes permit 10
Brocade(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 OSPF V3 routes.
Brocade(config)#ipv6 router ospf
Brocade(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 OSPF V3 route table.
Configuring an OSPF V3 distribution list using a route map that uses a prefix list
When you configure route redistribution into OSPF V3 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.
Brocade(config)#route-map v64 deny 10
Brocade(config-routemap v64)#match ipv6 next-hop prefix-list ospf-filter5
Brocade(config-routemap v64)#route-map v64 deny 11
Brocade(config-routemap v64)#match ipv6 address prefix-list ospf-filter2
Brocade(config-routemap v64)#route-map v64 permit 12
Brocade(config-routemap v64)#exit
Brocade(config)#ipv6 prefix-list ospf-filter2 seq 15 permit
2001:db8:2001:102::/64 ge 65 le 96
Brocade(config)#ipv6 prefix-list ospf-filter5 seq 15 permit
2001:db8: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.
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::/64 --------- 0.0.0.1 0 0
:: ve 10
*IA 2001:db8::/64 V6E---R-- 0.0.0.0 11 0
2001:db8:2e0:52ff:fe00:10 ve 10
*IA 2001:db8::/64 --------- 0.0.0.0 10 0
:: ve 11