beautypg.com

Optional bgp4 configuration tasks, Changing the keep alive time and hold time – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual

Page 411

background image

The software also contains an option to end the session with a BGP4 neighbor and 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 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
running configuration and startup configuration files for that device 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.

device(config)# router bgp

device(config-bgp-router)# neighbor 10.157.22.26 shutdown

device(config-bgp-router)# write memory

Syntax: [no] neighbor ip-addr shutdown [ generate-rib-out ]

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

Optional BGP4 configuration tasks

The following sections describe how to perform optional BGP4 configuration tasks.

Changing the Keep Alive Time and Hold Time

The Keep Alive Time specifies how frequently the device will send KEEPALIVE messages to its BGP4
neighbors. The Hold Time specifies how long the device will wait for a KEEPALIVE or UPDATE
message from a neighbor before concluding that the neighbor is dead. When the device concludes that
a BGP4 neighbor is dead, the device ends the BGP4 session and closes the TCP connection to the
neighbor.

The default Keep Alive time is 60 seconds. The default Hold Time is 180 seconds.

NOTE
Generally, you should set the Hold Time to three times the value of the Keep Alive Time.

NOTE
You can override the global Keep Alive Time and Hold Time on individual neighbors.

To change the Keep Alive Time to 30 and Hold Time to 90, enter the following command.

device(config-bgp-router)# timers keep-alive 30 hold-time 90

Syntax: [no] timers keep-alive num hold-time num

For each keyword, num indicates the number of seconds. The Keep Alive Time can be 0 - 65535. The
Hold Time can be 0 or 3 - 65535 (1 and 2 are not allowed). If you set the Hold Time to 0, the device
waits indefinitely for messages from a neighbor without concluding that the neighbor is dead.

Optional BGP4 configuration tasks

FastIron Ethernet Switch Layer 3 Routing Configuration Guide

411

53-1003087-04