How to change Holdtime & Keep alive interval of an individual BGP neighbor?

Description

In this article, we explained how to manually change Holdtime & Keep alive intervalfor for individual BGP neighbors. By default, all BGP configuration inherits the default Hold & Keep alive timers if they are not manually configured. 


By default, the Hold Timer is 90 seconds & Keep Alive timer is 30 seconds. 

In this scenario, we already configure basic BGP between SonicWall and the ISPs router using CLI(Command Line Interface) to advertise our network (with a public IP address) to the ISP. It is necessary to have the AS(Autonomous System) numbers and public IP addresses of both devices. This information should be provided by ISP.

 

Image

 

To know how we configured BGP, please refer How can I configure BGP (Border Gateway Protocol) with single ISP and advertise your public network?


Please refer below command to change the timers.

Syntax:  neighbor <public IP of neighborr> timers <Keepalive value> <Holdtime value>

Values as below

 <0-65535>  Keepalive interval   connect    BGP connect timer

<0-65535>  Holdtime

EXAMPLE: neighbor 1.1.1.1 timers 90 180 90 is Keepalive & 180 is Holdtime.


In this article, we explained the procedure to change the Hold time to 180 seconds & Keep alive interval to 60 seconds.

 

admin@2CB8ED829100> conf t
config(2CB8ED829100)# routing
(config-routing)# bgp
 
ZebOS version 7.7.0 IPIRouter 7/2009
ARS BGP>conf t
ARS BGP(config)>router bgp 100
ARS BGP(config-router)>neighbor 1.1.1.1 timers 60 180
ARS BGP(config-router)>end
ARS BGP>write
Configuration saved to BGP
ARS BGP>

Related Articles

  • How to block ICMP (Ping ) using Application control
    Read More
  • SonicWall GEN8 TZ and NSa Firewalls FAQ
    Read More
  • How to configure Link Aggregation
    Read More
not finding your answers?