Brocade BigIron RX Series Configuration Guide User Manual

Page 1391

Advertising
background image

BigIron RX Series Configuration Guide

1313

53-1002484-04

Configuring OSPFv3

49

Configuring an OSPFv3 distribution list using an IPv6 prefix list as input

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

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

BigIron RX(config)# ipv6 prefix-list filterOspfRoutes seq 5 deny 3010::/64

BigIron RX(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.

BigIron RX(config)# ipv6 router ospf

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

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

After this distribution list is configured, route 3010::/64 would be omitted from the OSPFv3 route
table.

BigIron RX# 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 3001::/64 --------- 0.0.0.1 0 0

:: ve 10

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

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

*IA 3015::/64 V6E---R-- 0.0.0.0 11 0

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

*IA 3020::/64 --------- 0.0.0.0 10 0

:: ve 11

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

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

BigIron RX# show ipv6 ospf route

Current Route count: 4

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

Equal-cost multi-path: 0

Destination Options Area Cost Type2 Cost

Next Hop Router Outgoing Interface

*IA 3001::/64 --------- 0.0.0.1 0 0

:: ve 10

*IA 3015::/64 V6E---R-- 0.0.0.0 11 0

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

*IA 3020::/64 --------- 0.0.0.0 10 0

:: ve 11

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

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

Advertising