cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
697
Views
5
Helpful
1
Replies

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

Kevin Melton
Level 2
Level 2

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

Robert Taylor
Cisco Employee
Cisco Employee

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

View solution in original post

1 Reply 1

Robert Taylor
Cisco Employee
Cisco Employee

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: