beautypg.com

Filtering ospfv3 routes, Configuration examples – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 177

background image

Brocade Virtual ADX Switch and Router Guide

163

53-1003246-01

Enabling OSPFv3

7

To configure the summary address 2001:db8:2201::/24 for routes redistributed into OSPFv3, enter
the following command:

Virtual ADX(config-ospf6-router)#summary-address 2001:db8:2201::/24

In this example, the summary prefix 2001:db8:2201::/24 includes addresses 2001:db8:2201::/1
through 2001:db8:2201::/24. Only the address fc00::/7 is advertised in an external link-state
advertisement.

Syntax: summary-address ipv6-prefix/prefix-length

You must specify the ipv6-prefix parameter in hexadecimal using 16-bit values between colons as
documented in RFC 2373.

You must specify the prefix-length parameter as a decimal value. A slash mark (/) must follow the
ipv6-prefix parameter and precede the prefix-length parameter.

Filtering OSPFv3 routes

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

The functionality of OSPFv3 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), OSPFv3 distribution lists can filter routes using information specified in an IPv6 prefix list
or a route map.

Configuration examples

The following sections show examples of filtering OSPFv3 routes using prefix lists globally and for a
specific interface, as well as filtering OSPFv3 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 OSPFv3 route table:

Virtual ADX#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:3001::/64 --------- 0.0.0.1 0 0

:: ve 10

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

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

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

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