×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

address-family ipv4 under BGP

Answered Question
Oct 19th, 2005
User Badges:

Hi All,


I needed to configure address-family ipv4 under my bgp process in order to try and get unequal cost load-balancing up and running.


I noticed that this has changed the look of my bgp configuration quite a bit.


I still have all my bgp peers defined, described, and version 4 above the line; but then... below the address-family ipv4 i have all of the individual attributes for each peer.


Can anyone tell me what the differences are for running bgp with and without the ipv4-family command?


thanks ver much for your help

Correct Answer by Harold Ritter about 11 years 10 months ago

You don't necesseraly need to configure an address-family ipv4 as this is the default address family when you configure a neighbor in global BGP configuration mode. The address-family statement is only required when you need to run multiple address families.


If you only run ipv4 then you can configure everything in BGP global configuration mode.


Hope this helps,


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (2 ratings)
Loading.
Correct Answer
Harold Ritter Thu, 10/20/2005 - 13:29
User Badges:
  • Cisco Employee,

You don't necesseraly need to configure an address-family ipv4 as this is the default address family when you configure a neighbor in global BGP configuration mode. The address-family statement is only required when you need to run multiple address families.


If you only run ipv4 then you can configure everything in BGP global configuration mode.


Hope this helps,


alalli Fri, 10/21/2005 - 15:34
User Badges:

Hi and thank you very much. I was hoping that you would say that.


As it turns out... the whole unequal BGP load balancing exercise got scrapped and I have removed both the multipath config and the link bandwidth commands.


I still have the ipv4 family command in the config though and it makes my configuration look a little different than it did before; but is doing no harm so i will leave alone for now.


I ended up load balancing the old fashioned way by dividing up my advertised address space and sending more specific advertisements towards my preferred provider.


thanks again for all of your help!!

Actions

This Discussion