IOS vs XR: eBGP Multihop, Route Dampening & Max-Prefix

Scenario
Router configured with an eBGP neighbor that is 3 hops away. Maximum prefix is set to 15. Warning will be logged if 90% of that value is reached. Basic route dampening has been enabled as well.

IOS Config

router bgp 100
 bgp log-neighbor-changes
 neighbor 2.2.2.2 remote-as 200
 neighbor 2.2.2.2 ebgp-multihop 3
 neighbor 2.2.2.2 update-source Loopback0
 !
 address-family ipv4
  no synchronization
  bgp dampening
  redistribute connected route-map LOCALS_ONLY
  neighbor 2.2.2.2 activate
  neighbor 2.2.2.2 maximum-prefix 15 90 warning-only
  no auto-summary
  exit-address-family
 !
!

XR Config

router bgp 100
 address-family ipv4 unicast
  bgp dampening
  redistribute connected
 !
 neighbor 2.2.2.2
  remote-as 200
  ebgp-multihop 3
  update-source Loopback0
  address-family ipv4 unicast
   route-policy PASS_ALL in
   maximum-prefix 15 90 warning-only
   route-policy LOCALS_ONLY out
  !
 !
!

Back to top