Filtering ospf v3 routes – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 257

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

239

53-1002603-01

OSPF V3 configuration

Filtering OSPF V3 routes

You can filter the routes to be placed in the OSPF V3 route table by configuring distribution lists.
OSPF V3 distribution lists can be applied globally or to an interface.

The functionality of OSPF V3 distribution lists is similar to that of OSPFv2 distribution lists.
However, unlike OSPFv2 distribution lists, which filter routes based on criteria specified in an
Access Control List (ACL), OSPF V3 distribution lists can filter routes using information specified in
an IPv6 prefix list or a route map.

Configuration examples for filtering OSPF V3 routes

The following sections show examples of filtering OSPF V3 routes using prefix lists globally and for a
specific interface, as well as filtering OSPF V3 routes using a route map.

You can configure the device to use all three types of filtering. When you do this, filtering using
route maps has higher priority over filtering using global prefix lists. Filtering using prefix lists for a
specific interface has lower priority than the other two filtering methods.

The example in this section assume the following routes are in the OSPF V3 route table.

Configuring an OSPF V3 distribution list using an IPv6 prefix list as input

The following example illustrates how to use an IPv6 prefix list is used to filter OSPF V3 routes.

To specify an IPv6 prefix list called filterOspfRoutes that denies route 2001:db8::/64, enter the
following commands.

Brocade(config)#ipv6 prefix-list filterOspfRoutes seq 5 deny 2001:db8::/64

Brocade(config)#ipv6 prefix-list filterOspfRoutes seq 7 permit ::/0 ge 1 le 128

Syntax: ipv6 prefix-list name [seq seq-value] [description string] deny | permit

ipv6-addr/mask-bits [ge ge-value] [le le-value]

To configure a distribution list that applies the filterOspfRoutes prefix list globally.

Brocade(config)#ipv6 router ospf

Brocade(config-ospf6-router)#distribute-list prefix-list filterOspfRoutes in

Syntax: [no] distribute-list prefix-list name in [interface]

Brocade#show ipv6 ospf route

Current Route count: 5

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

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

*E2 2001:db8::/64 --------- 0.0.0.0 10 0

2001:db8:2e0:52ff:fe00:10 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

*E2 2001:db8::/64 --------- 0.0.0.0 10 0

2001:db8:2e0:52ff:fe00:10 ve 10

Advertising