1 .. _bgp-user-guide-config-concepts:
3 Basic Configuration & Concepts
4 ==============================
5 The following section shows how to configure BGP basics, how to verify functionality and presents essential components of the plugin.
6 Next samples demonstrate the plugin's runtime configuration capability.
7 It shows the way to configure the plugin via REST, using standardized OpenConfig BGP APIs.
18 bgp-user-guide-protocol-configuration
19 bgp-user-guide-rib-config-policies
20 bgp-user-guide-bgp-server
21 bgp-user-guide-bgp-peering
22 bgp-user-guide-bgp-application-peer
23 bgp-user-guide-protocol-configuration-loader
27 This tree illustrates the BGP RIBs organization in datastore.
29 .. code-block:: console
35 | +--ro peer-id peer-id
36 | +--ro peer-role peer-role
37 | +--ro simple-routing-policy? simple-routing-policy
38 | +--ro supported-tables* [afi safi]
39 | | +--ro afi identityref
40 | | +--ro safi identityref
41 | | +--ro send-receive? send-receive
43 | | +--ro tables* [afi safi]
44 | | +--ro afi identityref
45 | | +--ro safi identityref
47 | | | +--ro uptodate? boolean
49 | +--ro effective-rib-in
50 | | +--ro tables* [afi safi]
51 | | +--ro afi identityref
52 | | +--ro safi identityref
54 | | | +--ro uptodate? boolean
57 | +--ro tables* [afi safi]
58 | +--ro afi identityref
59 | +--ro safi identityref
61 | | +--ro uptodate? boolean
64 +--ro tables* [afi safi]
66 +--ro safi identityref
68 | +--ro uptodate? boolean
73 .. figure:: ./images/bgp-pipeline.png
76 BGP pipeline - routes re-advertisement.
78 .. figure:: ./images/bgp-app-pipeline.png
79 :alt: BGP Application Peer pipeline.
81 BGP applcaition peer pipeline - routes injection.
85 * `A Border Gateway Protocol 4 (BGP-4) <https://tools.ietf.org/html/rfc4271>`_
86 * `BGP Route Reflection <https://tools.ietf.org/html/rfc4456>`_
87 * `BGP Communities Attribute <https://tools.ietf.org/html/rfc1997>`_
88 * `BGP Support for Four-Octet Autonomous System (AS) Number Space <https://tools.ietf.org/html/rfc6793>`_
89 * `The Accumulated IGP Metric Attribute for BGP <https://tools.ietf.org/html/rfc7311>`_
90 * `4-Octet AS Specific BGP Extended Community <https://tools.ietf.org/html/rfc5668>`_
91 * `BGP Link Bandwidth Extended Community <https://tools.ietf.org/html/draft-ietf-idr-link-bandwidth-06>`_
92 * `Use of BGP for Routing in Large-Scale Data Centers <https://tools.ietf.org/html/rfc7938>`_