beautypg.com

Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 80

background image

52

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Configuring BGP4 neighbors

Auto shutdown of BGP4 neighbors on initial
configuration

You can use the global auto-shutdown-new-neighbors command within the router bgp configuration
to disable establishment of the BGP4 connection with a remote peer when the peer is first
configured, as follows.

Brocade(config)# router bgp

Brocade(config-bgp)# auto-shutdown-new-neighbors

Once all of the configuration parameters for the peer are complete, you can start the BGP4 session
establishment process using the no option with the existing peer shutdown option command to
disable the peer shutdown state.

Brocade(config)# router bgp

Brocade(config-bgp)# no neighbor 10.1.1.1 shutdown

Syntax: [no] neighbor ip-address shutdown

If auto shutdown of BGP4 neighbors is enabled and you want to disable it to allow a new BGP4 peer
configured to establish a connection with remote peers, use the no option with the command.

Brocade(config)# router bgp

Brocade(config-bgp)# no auto-shutdown-new-neighbors

Syntax: [no] auto-shutdown-new-neighbors

The default state for auto shutdown of BGP4 neighbors is disabled.

NOTE

When the auto-shutdown-new-neighbors value is changed, the value of the shutdown parameter for
any of the existing configured neighbors is not changed. Any new BGP4 neighbor configured after
the setting of the auto-shutdown-new-neighbors command will have the shutdown state set to the
current value of the auto-shutdown-new-neighbors command. Previously configured peer group
parameters are not affected by the auto-shutdown-new-neighbors command.

When a new peer group is created and new neighbors belonging to this peer group are being
configured, you can use the peer group shutdown parameter to prevent the establishment of
connections with remote peers.

Using the auto shutdown of BGP4 neighbors during a configuration

To control when a newly-configured BGP4 neighbor establishes a BGP4 session, use the
auto-shutdown-new-neighbors command.

Brocade(config)# router bgp

Brocade(config-bgp)# auto-shutdown-new-neighbors

Brocade(config-bgp)# neighbor 10.1.1.1 remote-as 200

Once all of the BGP4 neighbor configuration parameters are configured, use the following
commands to establish the BGP4 session.

Brocade(config)# router bgp

Brocade(config-bgp)# no neighbor 10.1.1.1 shutdown