04-18-2012
01:07 PM
- last edited on
01-11-2022
01:46 PM
by
Translator
I commonly see BGP configured on a provider (P/PE) router like this (this is a real router snippet just anonymised);
router bgp 12345
neighbour 1.1.1.1 remote-as 12345 ! iBGP peer
address-family ipv4
neighbour 1.1.1.1 remote-as 12345 ! iBGP peer
address-family vpnv4
neighbour 1.1.1.1 remote-as 12345 ! iBGP peer
address-family ipv4 vrf Customer1
neighbour 10.0.0.1 remote-as 67890 ! eBGP peer
What is the need for "address-family ipv4" (without vrf) here, or ever?
What does it provies that "normal" "neighbour" definitions (those directly under "router bgp 12345") and "vpnv4 neighbour" definitions, don't provide?
Solved! Go to Solution.
12-28-2023 08:59 PM
@Peter Paluch Thanks for your brilliant answer, I have some questions about BGP. Would you please answer those for me?
1. How do you tell if a BGP process is an ordinary BGP that doesn't support multiprotocol or an MP-BGP that supports multiprotocol? Does it mean that if there is another address-family other than ipv4 in the configuration is MP-BGP? If there is only address-family ipv4, then it's an ordinary BGP that doesn't support multiprotocol?
2. You said the 'no bgp default-ipv4 unicast' command prevents BGP from automatically assigning new neighbor into 'address-family ipv4' section, but why does this document said
4. You said, 'These routes that are placed into VRFs and can be exchanged with other PEs, along with additional attributes in BGP that allow these routes to be uniquely distinguished and imported into proper VRFs, including MPLS labels, are called "VPNv4 routes" in short for IPv4, and "VPNv6 routes" for IPv6'. But from what I know, the ipv4 prefix plus RD is the vpnv4 route. Does that mean the MPLS labels are on layer 2.5 to let the routers transmit the packet?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide