neighbor timers
Syntax
neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} timers <KEEPALIVE> <HOLDTIME>
no neighbor {<IP-ADDRESS>|<PEER-GROUP-NAME>} timers <KEEPALIVE> <HOLDTIME>
Description
This command sets the timers for a specific BGP neighbor or peer group. When the timer is applied to peer-group then all the neighbors that are part of peer-group will inherit the value configured.
The neighbor connection must be reset using
clear ip bgp
<NEIGHBOR-IP-ADDRESS>
to allow this configuration to take effect.
The
no
form of this command clears the timers for a specific BGP neighbor or peer group.
Command context
config-bgp
Parameters
<IP-ADDRESS>
Specifies an IP address.
<PEER-GROUP-NAME>
Specifies a peer group.
<KEEPALIVE>
Specifies the Keep-Alive timer value for the neighbor. Default: 60 seconds. Range: 0-65535.
<HOLDTIME>
Specifies the Hold-timer value. Default: 180 seconds. Range: 0-65535.
Authority
Administrators
Examples
switch(config-bgp)# neighbor 1.1.1.1 timers 120 360 switch(config-bgp)# no neighbor 1.1.1.1 timers
switch(config-bgp)# neighbor pg timers 120 360 switch(config-bgp)# no neighbor pg timers