neighbor timers
Sets the hold-timer timer for the specified neighbor or peer group.
Syntax: neighbor {ip-address | peer-group-name} timers time
no neighbor {ip-address | peer-group-name} timers
ip-address
IP address of the BGP neighbor.
peer-group-name
Name of a BGP peer group.
time
Number of seconds this router waits after not receiving a keepalive message, before BGP closes the connection to a peer or peer-group. Valid values are integers from 1 - 4294967295. Default: 180 seconds.
Description: Holdtime is the interval in seconds BGP waits after not receiving a keepalive message from a peer or peer-group, before shutting the connection down.
There is a second timer associated with this command. The keepalive timer specifies the interval to wait between keepalive messages sent by this router to a peer or peer group. The keepalive timer is generally calculated as the value of the hold timer divided by 3
Use the neighbor timers command to adjust the number of seconds this router will wait between keepalive messages before declaring the connection to a peer or peer-group dead.
Use the ip-address parameter to set the holdtime for the specified peer.
Use the peer-group parameter to set the holdtime for all members of the specified peer-group.
Use the no neighbor timers command to set the holdtime interval at the defaults.
Factory Default: 180 seconds.
Command Mode: Router configuration.
Example 1: In the following example, the neighbor ip-address timers command sets the hold-down-time interval to neighbor 121.80.100.4 to 90 seconds, and the show ip bgp neighbor command displays the setting:
router#router bgp 101
router(config-router)#neighbor 121.80.100.4 remote-as 101
router(config-router)#neighbor 121.80.100.4 timers 90
router(config-router)#end
router#show ip bgp neighbor 121.80.100.4
BGP neighbor 121.80.100.4 using remote AS 101
router ID: 0.0.0.0 version: 4
state: Active time: 0:00:00
def orignat: False ebgp multihop: False
n hop self: False route ref client: False
send comm: False soft reconfig: False
hold time: 90 sec keepalive time: 60 sec
.
.
.
Example 2: In the following example, the neighbor peer-group timers command sets the hold-down-time interval for all members of a peer group named techpubs to 150 seconds:
router#router bgp 101
router(config-router)#neighbor techpubs timers 150
Example 3: In the following example, the no neighbor ip-address timers command removes the configured hold-down-time interval of a neighbor and resets the interval to the default:
router(config-router)#router bgp 101
router(config-router)#neighbor 121.80.100.4 remote-as 101
router(config-router)#neighbor 121.80.100.4 no timers
Related Commands: router bgp
show ip bgp
show ip bgp neighbors
timers bgp
Copyright © 2004
Avici Systems Inc.
Avici® and TSR®
is a registered trademark of Avici Systems Inc.
IPriori, Composite Links, SSR, QSR, and NSR® are
trademarks of Avici Systems Inc.
Source
File Name: BGP_Nd.fm
HTML File Name: BGP_Nd44.html
Last Updated: 05/10/04 at 16:36:55