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

A question on Router-IDs of BGP VRFs

ruiminamzn
Level 1
Level 1

Hi there,

Currently, we're using BGP vrf feature on Switch 3750x and we have created many vrfs for different connections. Our current settings look like,

***************************************************

router bgp 65000

bgp log-neighbor-changes

timers bgp 5 20

!

address-family ipv4 vrf first-connection

  bgp router-id auto-assign

  network 192.168.1.0

  neighbor 192.168.254.1 remote-as 9059

  neighbor 192.168.254.1 password ***password***

  neighbor 192.168.254.1 activate

  neighbor 192.168.254.5 remote-as 9059

  neighbor 192.168.254.5 password ***password***

  neighbor 192.168.254.5 activate

exit-address-family

!

address-family ipv4 vrf second-connection

  bgp router-id auto-assign

  network 192.168.2.0

  neighbor 192.168.254.254.9 remote-as 9059

  neighbor 192.168.254.9 password ***password***

  neighbor 192.168.254.9 activate

  neighbor 192.168.254.13 remote-as 9059

  neighbor 192.168.254.13 password ***password***

  neighbor 192.168.254.13 activate

exit-address-family

!

...

****************************************************

As you see, we duplicated "bgp router-id auto-assign" in each BGP vrf setting, now we're proposing to use "bgp router-id vrf auto-assign" for all vrfs instead of above each individual settings, the commands we will enter are,

***************************************************

conf t

router bgp 65000

bpg router-id vrf auto-assign

address-family ipv4 vrf first-connection

no bgp router-id auto-assign

exit

address-family ipv4 vrf second-connection

no bgp router-id auto-assign

exit

end

***************************************************

The result would be as,

***************************************************

router bgp 65000

bgp router-id vrf auto-assign

bgp log-neighbor-changes

timers bgp 5 20

!

address-family ipv4 vrf first-connection

  network 192.168.1.0

  neighbor 192.168.254.1 remote-as 9059

  neighbor 192.168.254.1 password ***password***

  neighbor 192.168.254.1 activate

  neighbor 192.168.254.5 remote-as 9059

  neighbor 192.168.254.5 password ***password***

  neighbor 192.168.254.5 activate

exit-address-family

!

address-family ipv4 vrf second-connection

  network 192.168.2.0

  neighbor 192.168.254.254.9 remote-as 9059

  neighbor 192.168.254.9 password ***password***

  neighbor 192.168.254.9 activate

  neighbor 192.168.254.13 remote-as 9059

  neighbor 192.168.254.13 password ***password***

  neighbor 192.168.254.13 activate

exit-address-family

!

***************************************************

Here is my question, because the Router IDs may be affected by the above commands, so will the above commands result in some vrfstemporarily down for a while (for example, 30 seconds offline)? I'm not quite sure on whether Router ID will be reset because every VRF has its own Router ID now.

Thanks for the help.

Ray

0 Replies 0