Brocade BigIron RX Series Configuration Guide User Manual

Page 1392

Advertising
background image

1314

BigIron RX Series Configuration Guide

53-1002484-04

Configuring OSPFv3

49

The following commands specify an IPv6 prefix list called filterOspfRoutesVe that denies route
3015::/64.

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

BigIron RX(config)# ipv6 prefix-list filterOspfRoutesVe seq 10 permit ::/0 ge 1 le

128

The following commands configure a distribution list that applies the filterOspfRoutesVe prefix list
to routes pointing to virtual interface 10.

BigIron RX(config)# ipv6 router ospf

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

ve 10

After this distribution list is configured, route 3015::/64, pointing to virtual interface 10, would be
omitted from the OSPFv3 route table.

Configuring an OSPFv3 distribution list using a route map as input

The following commands configure a route map that matches internal routes.

BigIron RX(config)# route-map allowInternalRoutes permit 10

BigIron RX(config-routemap allowInternalRoutes)# match route-type internal

Refer to

Chapter 23, “Policy-Based Routing”

for information on configuring route maps.

The following commands configure a distribution list that applies the allowInternalRoutes route
map globally to OSPFv3 routes.

BigIron RX(config)# ipv6 router ospf

BigIron RX(config-ospf6-router)# distribute-list route-map allowinternalroutes in

Syntax: [no] distribute-list route-map <name> in

After this distribution list is configured, the internal routes would be included, and the external
routes would be omitted from the OSPFv3 route table.

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

*E2 3010::/64 --------- 0.0.0.0 10 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