cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1325
Views
0
Helpful
3
Replies

BGP Timers with VRF

Peter Valdes
Level 3
Level 3

Hi,

Just a quick one with regards to BGP Timers. As we all know its default Keepalives: 60 and Holdtime: 180 seconds.

I have the following config below setup on my network:

router bgp YYY
 bgp router-id 10.79.250.141
 bgp log-neighbor-changes
 neighbor 10.79.5.2 remote-as XXX
 neighbor 10.79.5.2 transport path-mtu-discovery
 neighbor 10.79.252.74 remote-as YYY
 neighbor 10.79.252.74 transport path-mtu-discovery
 !
 address-family ipv4
  redistribute connected
  neighbor 10.79.5.2 activate
  neighbor 10.79.5.2 send-community
  neighbor 10.79.5.2 soft-reconfiguration inbound
  neighbor 10.79.252.74 activate
  neighbor 10.79.252.74 send-community
  neighbor 10.79.252.74 soft-reconfiguration inbound
 exit-address-family
 !
 address-family ipv4 vrf admin
  redistribute connected
  neighbor 10.65.5.2 remote-as XXX
  neighbor 10.65.5.2 transport path-mtu-discovery
  neighbor 10.65.5.2 activate
  neighbor 10.65.5.2 send-community
  neighbor 10.65.5.2 soft-reconfiguration inbound
  neighbor 10.65.252.74 remote-as YYY
  neighbor 10.65.252.74 transport path-mtu-discovery
  neighbor 10.65.252.74 activate
  neighbor 10.65.252.74 send-community
  neighbor 10.65.252.74 soft-reconfiguration inbound
 exit-address-family
!
address-family ipv4 vrf av
  redistribute connected
  neighbor 10.78.5.2 remote-as XXX
  neighbor 10.78.5.2 transport path-mtu-discovery
  neighbor 10.78.5.2 activate
  neighbor 10.78.5.2 send-community
  neighbor 10.78.5.2 soft-reconfiguration inbound
  neighbor 10.78.252.74 remote-as YYY
  neighbor 10.78.252.74 transport path-mtu-discovery
  neighbor 10.78.252.74 activate
  neighbor 10.78.252.74 send-community
  neighbor 10.78.252.74 soft-reconfiguration inbound
 exit-address-family

 

Instead of me adding "neighbor x.x.x.x timer 30 90" on each peering neighbors, can I use "timers bgp 30 90" under the "router bgp 65258" to reflect to all address-family VRFs peering BGP neighbors?

If not, is there a global command to use to set the timers for all BGP session within the router?

 

Thanks

 

 

 

1 Accepted Solution

Accepted Solutions

Hi again,

 

Yes you have understood the concept.

 

Just set the timers after the bgp

!
router bgp 100
timers bgp 5 15 (Your own values)
!

 

This will set all neighbors to 5 15 unless you specifically set them in the neighbor statements

 

 

Hope this helps

Please grade useful posts

Regards

Alex

Regards, Alex. Please rate useful posts.

View solution in original post

3 Replies 3

acampbell
VIP Alumni
VIP Alumni

Hi,

The command 

!
router bgp 100 
neighbor 192.168.100.254 timers 30 90
!

This overides the command set under the timers bgp

!
router bgp 100
timers bgp 5 15
!
address-family ipv4 vrf av
  redistribute connected
  neighbor 10.78.5.2 timers 30 90
  neighbor 10.78.5.2 remote-as XXX
 et etc etc
 exit-address-family

The result will be 30 90 for the vrf av neighbor but 5 15 for any others

See this link for more info
http://www.cisco.com/c/en/us/td/docs/ios/iproute_bgp/command/reference/irg_book.html

Regards
Alex

Regards, Alex. Please rate useful posts.

Thanks Alex. So if I left it as using "timer bgp 5 15" and no neighbor x.x.x.x timers setup, this should take affect to all vrf/neighbors globally for that router?

Much appreciate your reply and link.

Hi again,

 

Yes you have understood the concept.

 

Just set the timers after the bgp

!
router bgp 100
timers bgp 5 15 (Your own values)
!

 

This will set all neighbors to 5 15 unless you specifically set them in the neighbor statements

 

 

Hope this helps

Please grade useful posts

Regards

Alex

Regards, Alex. Please rate useful posts.
Review Cisco Networking for a $25 gift card