Configuration Guide Manual

Brocade TurboIron 24X Series Configuration Guide 699
53-1003053-01
Modifying redistribution parameters
The attribute-map <map-name> parameter configures the router to set attributes for the aggregate
routes based on the specified route map.
NOTE
For the suppress-map, advertise-map, and attribute-map parameters, the route map must already
be defined. Refer to “Defining route maps” on page 711 for information on defining a route map.
Modifying redistribution parameters
By default, the Layer 3 Switch does not redistribute route information between BGP4 and the IP
IGPs (RIP and OSPF). You can configure the switch to redistribute OSPF routes, RIP routes, directly
connected routes, or static routes into BGP4 by using the following methods.
To enable redistribution of all OSPF routes and directly attached routes into BGP4, enter the
following commands.
TurboIron(config)#router bgp
TurboIron(config-bgp-router)#redistribute ospf
TurboIron(config-bgp-router)#redistribute connected
TurboIron(config-bgp-router)#write memory
Syntax: [no] redistribute connected | ospf | rip | static
The connected parameter indicates that you are redistributing routes to directly attached devices
into BGP.
The ospf parameter indicates that you are redistributing OSPF routes into BGP4.
NOTE
Entering redistribute ospf simply redistributes internal OSPF routes. If you want to redistribute
external OSPF routes also, you must use the redistribute ospf match external... command.
Refer to “Redistributing OSPF external routes” on page 700.
The rip parameter indicates that you are redistributing RIP routes into BGP4.
The static parameter indicates that you are redistributing static routes into BGP.
Refer to the following sections for details on redistributing specific routes using the CLI:
“Redistributing connected routes” on page 699
“Redistributing RIP routes” on page 700
“Redistributing OSPF external routes” on page 700
“Redistributing static routes” on page 701
Redistributing connected routes
To configure BGP4 to redistribute directly connected routes, enter the following command.
TurboIron(config-bgp-router)#redistribute connected
Syntax: redistribute connected [metric <num>] [route-map <map-name>]
The connected parameter indicates that you are redistributing routes to directly attached devices
into BGP4.