Brocade Communications Systems FastIron SX 800 Configuration Manual page 305

Hide thumbs Also See for FastIron SX 800:
Table of Contents

Advertisement

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 examples in this section assume the following routes are in the OSPFv3 route table.
device# show ipv6 ospf route
Current Route count: 5
Intra: 3 Inter: 0 External: 2 (Type1 0/Type2 2)
Equal-cost multi-path: 0
Destination
Next Hop Router
*IA 2001:db8:1::/64
::
*E2 2001:db8:2::/64
fe80::2e0:52ff:fe00:10
*IA 2001:db8:3::/64
fe80::2e0:52ff:fe00:10
*IA 2001:db8:4::/64
::
*E2 2001:db8:5::/64
fe80::2e0:52ff:fe00:10
Configuring an OSPFv3 distribution list using an IPv6 prefix list as input
The following example illustrates how to use an IPv6 prefix list to filter OSPFv3 routes.
To specify an IPv6 prefix list called filterOspfRoutes that denies route 2001:db8:2::/64, enter the following commands.
device(config)# ipv6 prefix-list filterOspfRoutes seq 5 deny 2001:db8:2::/64
device(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.
device(config)# ipv6 router ospf
device(config-ospf6-router)# distribute-list prefix-list filterOspfRoutes in
Syntax: [no] distribute-list prefix-list name in [ethernet unit/slot/port | ve num | loopback num]
After this distribution list is configured, route 2001:db8:2::/64 would be omitted from the OSPFv3 route table.
device# show ipv6 ospf route
Current Route count: 4
Intra: 3 Inter: 0 External: 1 (Type1 0/Type2 1)
Equal-cost multi-path: 0
Destination
Next Hop Router
*IA 2001:db8:1::/64
::
*IA 2001:db8:3::/64
fe80::2e0:52ff:fe00:10
*IA 2001:db8:4::/64
::
*E2 2001:db8:5::/64
fe80::2e0:52ff:fe00:10
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
Options
Area
Outgoing Interface
--------- 10.0.0.1
ve 10
--------- 0.0.0.0
ve 10
V6E---R-- 0.0.0.0
ve 10
--------- 0.0.0.0
ve 11
--------- 0.0.0.0
ve 10
Options
Area
Outgoing Interface
--------- 10.0.0.1
ve 10
V6E---R-- 0.0.0.0
ve 10
--------- 0.0.0.0
ve 11
--------- 0.0.0.0
ve 10
Cost Type2 Cost
0 0
10 0
11 0
10 0
10 0
Cost Type2 Cost
0 0
11 0
10 0
10 0
Configuring OSPFv3
305

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents