Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 214

Advertising
background image

196

Brocade ICX 6650 Layer 3 Routing Configuration Guide

53-1002603-01

Configuring OSPF

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 following command syntax.

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

[address ip-addr ip-mask [match-metric value [set-metric value]]]

Example

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

BrocadeASBR(config)#router ospf

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

BrocadeASBR(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 following command syntax.

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

Brocade(config)#router ospf

Brocade(config-ospf-router)#redistribution rip

Brocade(config-ospf-router)#redistribution static

Brocade(config-ospf-router)#write memory

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

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.

Advertising