Redistributing connected routes, Redistributing rip routes – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 96

Advertising
background image

68

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Modifying redistribution parameters

Brocade(config)# router bgp

Brocade(config-bgp)# redistribute ospf

Brocade(config-bgp)# redistribute connected

Brocade(config-bgp)# write memory

Syntax: [no] redistribute connected | ospf | rip | isis | static

The connected parameter indicates that you are redistributing routes to directly attached devices
into BGP4.

The ospf parameter indicates that you are redistributing OSPF routes into BGP4.

NOTE

Entering redistribute ospf simply redistributes internal OSPF routes. To redistribute external OSPF
routes also, use the redistribute ospf match external... command. Refer to

“Redistributing OSPF

external routes”

on page 69.

The rip parameter indicates that you are redistributing RIP routes into BGP4.

The isis parameter indicates that you are redistributing IS-IS routes into BGP4.

The static parameter indicates that you are redistributing static routes into BGP4.

Redistributing connected routes

To configure BGP4 to redistribute directly connected routes, enter the following command.

Brocade(config-bgp)# redistribute connected

Syntax: [no] 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 – 4294967295.
The default is not assigned.

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 device. Refer to

“Defining route maps”

on page 81 for information about defining route maps.

Redistributing RIP routes

To configure BGP4 to redistribute RIP routes and add a metric of 10 to the redistributed routes,
enter the following command.

Brocade(config-bgp)# redistribute rip metric 10

Syntax: [no] redistribute rip [metric num] [route-map map-name]

The rip parameter indicates that you are redistributing RIP routes into BGP4.

The metric num parameter changes the metric. You can specify a value from 0 – 4294967295.
The default is not assigned.

The route-map map-name parameter specifies a route map to be consulted before adding the RIP
route to the BGP4 route table.

Advertising