MP_BGP - Multiprotocol BGP ============================= .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **What is MP_BGP?** MP-BGP (Multiprotocol BGP) is an extension of the Border Gateway Protocol (BGP) that allows it to carry routing information for multiple network layer protocols, not just IPv4 unicast. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Why was MP-BGP introduced?** Standard BGP only supports IPv4 unicast. MP-BGP was introduced to support: * IPV6 routing * Multicast routing * MPLS VPNs (VPNv4/VPNv6) * Layer 2 VPNs (L2VPN) * Ethernet VPNs (EVPN) .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **What are Address Families (AFI/SAFI)?** MP-BGP uses AFI (Address Family Identifier) and SAFI (Subsequent Address Family Identifier) to distinguish between different types of routing information, such as: * IPv4 unicast: AFI=1, SAFI=1 * IPv6 unicast: AFI=2, SAFI=1 * VPNv4: AFI=1, SAFI=128 * L2VPN: AFI=25, SAFI=70 .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Is MP-BGP backward compatible with BGP?** Yes. MP-BGP is an extension, so routers that support MP-BGP can still interoperate with routers running standard BGP for IPv4 unicast. .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **Where is MP-BGP commonly used?** * Service Provider Networks: For MPLS Layer 3 VPNs * Data Centers: For EVPN and VXLAN overlays * Multicast Networks: To distribute multicast routing information * IPv6 Deployments: To support IPv6 routing alongside IPv4 .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow **What are the benefits of MP-BGP?** * Flexibility: Supports multiple protocols in a single BGP session * Scalability: Efficient for large-scale VPN and data center deployments * Separation of control planes: Keeps different routing domains logically isolated .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Learnings in this section ` * :ref:`Terminology ` * :ref:`Version Info ` * :ref:`MP_BGP Version&RFC Details ` * :ref:`MP_BGP Basic Setup on Ubuntu using MP_BGP ` * :ref:`MP_BGP Basic Setup on Ubuntu using MP_BGP ` * :ref:`MP_BGP Protocol Packet Details ` * :ref:`MP_BGP Usecases ` * :ref:`MP_BGP Basic Features ` * :ref:`MP_BGP Feature : Multiprotocol Support ` * :ref:`MP_BGP Feature : AFI_SAFI Mechanism ` * :ref:`MP_BGP Feature : MP_REACH_NLRI Attribute ` * :ref:`MP_BGP Feature : MP_UNREACH_NLRI Attribute ` * :ref:`MP_BGP Feature : Backward Compatibility ` * :ref:`MP_BGP Feature : Separate Routing Tables ` * :ref:`MP_BGP Feature : Flexible Transport ` * :ref:`MP_BGP Feature : Scalability ` * :ref:`MP_BGP Feature : Policy Control ` * :ref:`MP_BGP Feature : Extensibility ` * :ref:`Reference links ` .. _MP_BGP_step1: .. tab-set:: .. tab-item:: Learnings in this section * In this section, you are going to learn .. _MP_BGP_step2: .. tab-set:: .. tab-item:: Terminology * Terminology .. _MP_BGP_step3: .. tab-set:: .. tab-item:: Version Info * Version Info .. _MP_BGP_step5: .. tab-set:: .. tab-item:: MP_BGP Version&RFC Details .. csv-table:: :file: ./MP_BGP/MP_BGP_Version_RFC_details.csv :widths: 10,10,10,30 :header-rows: 1 .. _MP_BGP_step20: .. tab-set:: .. tab-item:: MP_BGP Basic Setup on Ubuntu using IPv4 * Setup .. _MP_BGP_step21: .. tab-set:: .. tab-item:: MP_BGP Basic Setup on Ubuntu using IPv6 * Setup .. _MP_BGP_step6: .. tab-set:: .. tab-item:: MP_BGP Protocol Packet Details **MP_BGP OPEN Packet** .. csv-table:: :file: ./MP_BGP/MP_BGP_Packetdetails1.csv :widths: 10,20,30,10 :header-rows: 1 **MP_BGP UPDATE Packet** .. csv-table:: :file: ./MP_BGP/MP_BGP_Packetdetails2.csv :widths: 10,20,30,10 :header-rows: 1 **MP_BGP KEEPALIVE Packet** .. csv-table:: :file: ./MP_BGP/MP_BGP_Packetdetails3.csv :widths: 10,20,30,10 :header-rows: 1 **MP_BGP NOTIFICATION Packet** .. csv-table:: :file: ./MP_BGP/MP_BGP_Packetdetails4.csv :widths: 10,20,30,10 :header-rows: 1 .. _MP_BGP_step7: .. tab-set:: .. tab-item:: MP_BGP Usecases .. csv-table:: :file: ./MP_BGP/MP_BGP_Use_Cases.csv :widths: 10,20,30 :header-rows: 1 .. _MP_BGP_step8: .. tab-set:: .. tab-item:: MP_BGP Basic Features .. csv-table:: :file: ./MP_BGP/MP_BGP_Basic_Features.csv :widths: 10,10,30 :header-rows: 1 .. _MP_BGP_step9: .. tab-set:: .. tab-item:: MP_BGP Feature : Multiprotocol Support **Multiprotocol Support - Testcases** .. csv-table:: :file: ./MP_BGP/MP_BGP_Feature1_Multiprotocol_Support_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _MP_BGP_step10: .. tab-set:: .. tab-item:: MP_BGP Feature : AFI_SAFI Mechanism **AFI_SAFI Mechanism - Testcases** .. csv-table:: :file: ./MP_BGP/MP_BGP_Feature2_AFI_SAFI_Mechanism.csv :widths: 10,10,30,20 :header-rows: 1 .. _MP_BGP_step11: .. tab-set:: .. tab-item:: MP_BGP Feature : MP_REACH_NLRI Attribute **MP_REACH_NLRI Attribute - Testcases** .. csv-table:: :file: ./MP_BGP/MP_BGP_Feature3_MP_REACH_NLRI_Attribute_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _MP_BGP_step12: .. tab-set:: .. tab-item:: MP_BGP Feature : MP_UNREACH_NLRI Attribute **MP_UNREACH_NLRI Attribute - Testcases** .. csv-table:: :file: ./MP_BGP/MP_BGP_Feature4_MP_UNREACH_NLRI_Attribute_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _MP_BGP_step13: .. tab-set:: .. tab-item:: MP_BGP Feature : Backward Compatibility **Backward Compatibility - Testcases** .. csv-table:: :file: ./MP_BGP/MP_BGP_Feature5_Backward_Compatibility_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _MP_BGP_step14: .. tab-set:: .. tab-item:: MP_BGP Feature : Separate Routing Tables **Separate Routing Tables - Testcases** .. csv-table:: :file: ./MP_BGP/MP_BGP_Feature6_Separate_Routing_Tables_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _MP_BGP_step15: .. tab-set:: .. tab-item:: MP_BGP Feature : Flexible Transport **Flexible Transport - Testcases** .. csv-table:: :file: ./MP_BGP/MP_BGP_Feature7_Flexible_Transport_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _MP_BGP_step16: .. tab-set:: .. tab-item:: MP_BGP Feature : Scalability **Scalability - Testcases** .. csv-table:: :file: ./MP_BGP/MP_BGP_Feature8_Scalability_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _MP_BGP_step17: .. tab-set:: .. tab-item:: MP_BGP Feature : Policy Control **Policy Control - Testcases** .. csv-table:: :file: ./MP_BGP/MP_BGP_Feature9_Policy_Control_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _MP_BGP_step18: .. tab-set:: .. tab-item:: MP_BGP Feature : Extensibility **Extensibility - Testcases** .. csv-table:: :file: ./MP_BGP/MP_BGP_Feature10_Extensibility_TestCases.csv :widths: 10,10,30,20 :header-rows: 1 .. _MP_BGP_step19: .. tab-set:: .. tab-item:: Reference links * Reference links