Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 678

Advertising
background image

650

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Configuring OSPFv3

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 2001:db8:2::/64, enter the
following commands.

Brocade(config)# ipv6 prefix-list filterOspfRoutes seq 5 deny 2001:db8:2::/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 [ ethernet 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.

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:1::/64 --------- 10.0.0.1 0 0

:: ve 10

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

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

*IA 2001:db8:3::/64 V6E---R-- 0.0.0.0 11 0

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

*IA 2001:db8:4::/64 --------- 0.0.0.0 10 0

:: ve 11

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

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

Brocade# 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 2001:db8:1::/64 --------- 10.0.0.1 0 0

:: ve 10

*IA 2001:db8:3::/64 V6E---R-- 0.0.0.0 11 0

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

*IA 2001:db8:4::/64 --------- 0.0.0.0 10 0

:: ve 11

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

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

Advertising