Modifying redistribution parameters, Redistributing connected routes – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual
Page 348
330
Brocade ICX 6650 Layer 3 Routing Configuration Guide
53-1002603-01
Modifying redistribution parameters
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.
Brocade(config)#router bgp
Brocade(config-bgp-router)#redistribute ospf
Brocade(config-bgp-router)#redistribute connected
Brocade(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”
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”
•
•
“Redistributing OSPF external routes”
•
“Redistributing static routes”
Redistributing connected routes
To configure BGP4 to redistribute directly connected routes, enter the following command.
Brocade(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.
The metric num parameter changes the metric. You can specify a value from 0 through
4294967295. The default is 0.
The route-map map-name parameter specifies a route map to be consulted before adding the RIP
route to the BGP4 route table.
NOTE
The route map you specify must already be configured on the switch. Refer to
on page 342 for information about defining route maps.