Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 248

Advertising
background image

234

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Configuring BGP4 neighbors

8

To override the summary-only parameter and allow a specific route to be advertised to a neighbor,
enter commands such as the following

The ip prefix-list command configures an IP prefix list for network 10.1.44.0/24, which is the route
you want to unsuppress. The next two commands configure a route map that uses the prefix list as
input. The neighbor command enables the device to advertise the routes specified in the route
map to neighbor 10.1.0.2. The clear command performs a soft reset of the session with the
neighbor so that the device can advertise the unsuppressed route.

Syntax: [no] neighbor ip-addr unsuppress-map map-name

The show ip bgp route command verifies that the route has been unsuppressed.

Administratively shutting down a session
with a BGP4 neighbor

You can prevent the device from starting a BGP4 session with a neighbor by administratively
shutting down the neighbor. This option is very useful for situations in which you want to configure
parameters for a neighbor, but are not ready to use the neighbor. You can shut the neighbor down
as soon as you have added it the device, configure the neighbor parameters, then allow the device
to reestablish a session with the neighbor by removing the shutdown option from the neighbor.

When you apply the option to shut down a neighbor, the option takes place immediately and
remains in effect until you remove it. If you save the configuration to the startup configuration file,
the shutdown option remains in effect even after a software reload.

Virtual ADX(config-bgp-router)# show ip bgp routes 10.1.44.0/24

Number of BGP Routes matching display condition : 1

Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED

E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH S:SUPPRESSED F:FILTERED

Prefix Next Hop Metric LocPrf Weight Status

1

10.1.44.0/24 10.2.0.1 1 101 32768 BLS

AS_PATH:

Route is not advertised to any peers

Virtual ADX(config)# ip prefix-list Unsuppress1 permit 10.1.44.0/24

Virtual ADX(config)# route-map RouteMap1 permit 1

Virtual ADX(config-routemap RouteMap1)# match ip address prefix-list Unsuppress1

Virtual ADX(config-routemap RouteMap1)# exit

Virtual ADX(config)# router bgp

Virtual ADX(config-bgp-router)# neighbor 10.1.0.2 unsuppress-map RouteMap1

Virtual ADX(config-bgp-router)# clear ip bgp neighbor 10.1.0.2 soft-out

Virtual ADX(config-bgp)# show ip bgp routes 10.1.44.0/24

Number of BGP Routes matching display condition : 1

Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED

E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH S:SUPPRESSED F:FILTERED

Prefix Next Hop Metric LocPrf Weight Status

1

10.1.44.0/24 10.2.0.1 1 101 32768 BLS

AS_PATH:

Route is advertised to 1 peers:

10.1.0.2(4)

Advertising