Redistributing static routes, Redistributing ibgp routes into rip and ospf – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 350

Advertising
background image

332

Brocade ICX 6650 Layer 3 Routing Configuration Guide

53-1002603-01

Modifying redistribution parameters

Redistributing static routes

To configure the Layer 3 switch to redistribute static routes, enter the following command.

Brocade(config-bgp-router)#redistribute static

Syntax: redistribute static [metric num] [route-map map-name]

The static parameter indicates that you are redistributing static 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
static 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.

Disabling or re-enabling re-advertisement of all learned
BGP4 routes to all BGP4 neighbors

By default, the Layer 3 switch re-advertises all learned best BGP4 routes to BGP4 neighbors,
unless the routes are discarded or blocked by route maps or other filters.

If you want to prevent the Layer 3 switch from re-advertising a learned best BGP4 route unless that
route also is installed in the IP route table, use the following CLI method.

To disable re-advertisement of BGP4 routes to BGP4 neighbors except for routes that the software
also installs in the route table, enter the following command.

Brocade(config-bgp-router)#no readvertise

Syntax: [no] readvertise

To re-enable re-advertisement, enter the following command.

Brocade(config-bgp-router)#readvertise

Redistributing IBGP routes into RIP and OSPF

By default, the Layer 3 switch does not redistribute IBGP routes from BGP4 into RIP or OSPF. This
behavior helps eliminate routing loops. However, if your network can benefit from redistributing the
IBGP routes from BGP4 into OSPF or RIP, you can enable the Layer 3 switch to redistribute the
routes. To do so, use the following CLI method.

To enable the Layer 3 switch to redistribute BGP4 routes into OSPF and RIP, enter the following
command.

Brocade(config-bgp-router)#bgp-redistribute-internal

Syntax: [no] bgp-redistribute-internal

To disable redistribution of IBGP routes into RIP and OSPF, enter the following command.

Brocade(config-bgp-router)#no bgp-redistribute-internal

Advertising