Specifying a list of networks to advertise – Brocade BigIron RX Series Configuration Guide User Manual

Page 935

Advertising
background image

BigIron RX Series Configuration Guide

857

53-1002484-04

Specifying a list of networks to advertise

27

NOTE

The software also contains an option to end the session with a BGP4 neighbor and thus clear the
routes learned from the neighbor. Unlike this clear option, the option for shutting down the neighbor
can be saved in the startup configuration file and thus can prevent the device from establishing a
BGP4 session with the neighbor even after reloading the software.

NOTE

If you notice that a particular BGP4 neighbor never establishes a session with the device, check the
device’s running configuration and startup configuration files to see whether the configuration
contains a command that is shutting down the neighbor. The neighbor may have been shut down
previously by an administrator.

To shut down a BGP4 neighbor, enter commands such as the following.

BigIron RX(config)# router bgp

BigIron RX(config-bgp)# neighbor 209.157.22.26 shutdown

BigIron RX(config-bgp)# write memory

Syntax: [no] neighbor <ip-addr> shutdown

The <ip-addr> parameter specifies the IP address of the neighbor.

Specifying a list of networks to advertise

By default, the router sends BGP4 routes only for the networks you either identify with the network
command or are redistributed into BGP from OSPF, ISIS, RIP, or connected routes.

NOTE

The exact route must exist in the IP route table before the device can create a local BGP route.

To configure the device to advertise network 209.157.22.0/24, enter the following command.

BigIron RX(config-bgp)# network 209.157.22.0 255.255.255.0

Syntax: network <ip-addr> <ip-mask> [route-map <map-name>] | [weight <num>] | [backdoor]

The <ip-addr> is the network number and the <ip-mask> specifies the network mask.

The route-map <map-name> parameter specifies the name of the route map you want to use to set
or change BGP4 attributes for the network you are advertising. The route map must already be
configured; otherwise, the default action is to deny redistribution.

The weight <num> parameter specifies a weight to be added to routes to this network.

The backdoor parameter changes the administrative distance of the route to this network from the
EBGP administrative distance (20 by default) to the Local BGP weight (200 by default), thus tagging
the route as a backdoor route. Use this parameter when you want the router to prefer IGP routes
such as RIP or OSPF routes over the EBGP route for the network.

Specifying a route map name when configuring BGP4 network information

You can specify a route map as one of the parameters when you configure a BGP4 network to be
advertised. The device can use the route map to set or change BGP4 attributes when creating a
local BGP4 route.

Advertising