Brocade TurboIron 24X Series Configuration Guide User Manual

Page 665

Advertising
background image

Brocade TurboIron 24X Series Configuration Guide

631

53-1003053-01

Configuring OSPF

Example

To redistribute RIP, static, and BGP4 routes into OSPF, enter the following commands on the Layer 3
Switch acting as an ASBR.

TurboIronASBR(config)#router ospf

TurboIronASBR(config-ospf-router)#permit redistribute 1 all

TurboIronASBR(config-ospf-router)#write memory

Syntax: deny | permit redistribute <filter-num> all | bgp | connected | rip | static

address <ip-addr> <ip-mask>
[match-metric <value> | set-metric <value>]

NOTE

Redistribution is permitted for all routes by default, so the permit redistribute 1 all command in the
example above is shown for clarity but is not required.

You also have the option of specifying import of just OSPF, BGP4, or static routes, as well as
specifying that only routes for a specific network or with a specific cost (metric) be imported, as
shown in the command syntax below.

Syntax: [no] redistribution bgp | connected | rip | static [route-map <map-name>]

For example, to enable redistribution of RIP and static IP routes into OSPF, enter the following
commands.

TurboIron(config)#router ospf

TurboIron(config-ospf-router)#redistribution rip

TurboIron(config-ospf-router)#redistribution static

TurboIron(config-ospf-router)#write memory

NOTE

The redistribution command does not perform the same function as the permit redistribute and
deny redistribute commands. The redistribute commands allow you to control redistribution of
routes by filtering on the IP address and network mask of a route. The redistribution commands
enable redistribution for routes of specific types (static, directly connected, and so on). Configure
all your redistribution filters before enabling redistribution.

NOTE

Do not enable redistribution until you have configured the redistribution filters. If you enable
redistribution before you configure the redistribution filters, the filters will not take affect and all
routes will be distributed.

Prevent specific OSPF routes from being installed in the
IP route table

By default, all OSPF routes in the OSPF route table are eligible for installation in the IP route table.
You can configure a distribution list to explicitly deny specific routes from being eligible for
installation in the IP route table.

NOTE

This feature does not block receipt of LSAs for the denied routes. The Layer 3 Switch still receives
the routes and installs them in the OSPF database. The feature only prevents the software from
installing the denied OSPF routes into the IP route table.

Advertising