Configuring BGP Peer Flap Dampening

To configure BGP Peer Dampening:
  1. Navigate to the Global Configuration mode.
    SLX #configure terminal
    SLX (config) # 
  2. Navigate to the router bgp context.
    SLX (config)# router bgp 
    SLX (config-bgp-router)#
  3. Perform one of the following configurations:
    • Configure the global BGP peer dampening parameters

      SLX (config-bgp-router)# peer-dampening delay-hold 10 penalty 300 max-penalty 3600 stability-interval 1800
      SLX (config-bgp-router)#
    • Configure the BGP peer dampening configuration for a single neighbor.

      SLX (config-bgp-router)# neighbor 10.9.9.10 peer-dampening delay-hold 10 penalty 300 max-penalty 3600 stability-interval 1800
      SLX (config-bgp-router)#
    • Configure the BGP peer dampening configuration for a pre-defined peer group. In this example, the peer group name is pg-level-1.

      SLX (config-bgp-router)# neighbor pg-level-1 peer-dampening delay-hold 10 penalty 300 max-penalty 3600 stability-interval 1800
      SLX (config-bgp-router)#
  4. Exit out of the router bgp context.
    SLX (config-bgp-router)# exit
    SLX (config)# exit
    SLX# 

The following example consolidates the commands shown above to configure global BGP peer dampening:

SLX# configure terminal
SLX (config)# router bgp
SLX (config-bgp-router)# peer-dampening delay-hold 10 penalty 300 max-penalty 3600 stability-interval 1800
SLX (config-bgp-router)# exit
SLX (config)# exit
SLX#