Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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

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

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

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

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 REPLY
Cisco Employee

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

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

505
Views
5
Helpful
1
Replies