What is the "address-family ipv4" doing here?

Answered Question
Jul 13th, 2010

I am working at a client site today, and I may have to adjust the way some routes are propogated to the rest of the network.  While examining the client config on this router which connects to the main MPLS circuit, I noticed the following in the bgp section:

router bgp 65002

bgp log-neighbor-changes

neighbor 12.115.94.165 remote-as 7018

neighbor 12.115.94.165 timers 60 180

!

address-family ipv4

  redistribute eigrp 13 metric 100 route-map eigrp-bgp-rm

  neighbor 12.115.94.165 activate

  no auto-summary

  no synchronization

  network 172.16.132.8 mask 255.255.255.252

  network 172.31.200.0 mask 255.255.255.0

  network 192.168.36.0

  network 192.168.38.0

  network 192.168.38.1 mask 255.255.255.255

  network 192.168.105.0

exit-address-family

Why is this command used under BGP and what is its purpose?

Thanks

Kevin

I have this problem too.
0 votes
Correct Answer by Robert Taylor about 3 years 9 months ago

There are many address-family types in bgp.

This "ipv4" address family just means that these configurations apply to ipv4 peering (which is the same as your legacy, basic, bgp peering).

This is where you would expect to see a configuration for peering to your internet ISP for the global, ipv4, routing table.

This newer format was added some time ago, and offers some simplicity in configuration for what would be more complex configuration scenarios.

HTH,


Rob

  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (2 ratings)
Correct Answer
Robert Taylor Tue, 07/13/2010 - 10:01

There are many address-family types in bgp.

This "ipv4" address family just means that these configurations apply to ipv4 peering (which is the same as your legacy, basic, bgp peering).

This is where you would expect to see a configuration for peering to your internet ISP for the global, ipv4, routing table.

This newer format was added some time ago, and offers some simplicity in configuration for what would be more complex configuration scenarios.

HTH,


Rob

Actions

Login or Register to take actions

This Discussion

Posted July 13, 2010 at 9:26 AM
Stats:
Replies:1 Avg. Rating:5
Views:500 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard