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

BGP

F Martinez
Level 1
Level 1

Hello,

1. When do we need to use "address-family ipv4" under the BGP process?

2. What is the difference between defining neighbors and putting network statements under "address-family ipv4" and under "router bgp 1" for example?

Thanks!

1 Reply 1

dictat851
Level 1
Level 1

In practice, an address family is associated with a specific network layer protocol, such as IPv4, IPv6, IPX or AppleTalk. There are also Address Family Identifier (AFI) numbers for tunneling mechanisms such as VPNs and MPLS. A Subsequent Address Family Identifier (SAFI) further specifies unicast versus multicast or more tunneling options.

When routers make a BGP connection, they exchange the AFIs and SAFIs they’re prepared to exchange BGP routing information for. If the two routers agree on those, they’ll send UPDATE messages containing the regular path attributes with the prefixes (also known as Network Layer Reachability Information, NLRI) and next hops encoded in an MP_REACH_NLRI attribute. Withdrawn routes are encoded in an MP_UNREACH_NLRI attribute.