Redistributing rip routes, Redistributing ospf external routes – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 349

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

331

53-1002603-01

Modifying redistribution parameters

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-router)#redistribute rip metric 10

Syntax: 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. 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

“Defining route maps”

on page 342 for information about defining route maps.

Redistributing OSPF external routes

To configure the Layer 3 switch to redistribute OSPF external type 1 routes, enter the following
command.

Brocade(config-bgp-router)#redistribute ospf match external1

Syntax: redistribute ospf [match internal | external1 | external2] [metric num] [route-map

map-name]

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

The match internal | external1 | external2 parameter applies only to OSPF. This parameter
specifies the types of OSPF routes to be redistributed into BGP4. The default is internal.

NOTE

If you do not enter a value for the match parameter, (for example, you enter redistribute ospf only)
then only internal OSPF routes will be redistributed.

The metric num parameter changes the metric. 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
OSPF route to the BGP4 route table.

NOTE

The route map you specify must already be configured on the switch. Refer to

“Defining route maps”

on page 342 for information about defining route maps.

NOTE

If you use both the redistribute ospf route-map map-name command and the redistribute ospf
match internal | external1 | external2 command, the software uses only the route map for filtering.

Advertising