{"id":247,"date":"2024-07-18T16:55:02","date_gmt":"2024-07-18T16:55:02","guid":{"rendered":"https:\/\/www.zframez.com\/articles\/?p=247"},"modified":"2024-09-24T13:43:39","modified_gmt":"2024-09-24T13:43:39","slug":"bgp-configuration-examples","status":"publish","type":"post","link":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples","title":{"rendered":"BGP Configuration Example 1: EBGP Peering"},"content":{"rendered":"<body>\n<h1 class=\"wp-block-heading has-x-large-font-size\"><strong>BGP Configuration Example<\/strong>:<\/h1>\n\n\n\n<p>In the previous chapter, you learned about <a href=\"https:\/\/www.zframez.com\/articles\/routing\/bgp-protocol-peering-and-states\">BGP\u2019s peering process and states<\/a>. In this BGP configuration example , you will learn <strong>how to configure BGP with two Cisco routers, check the BGP peering status<\/strong>, and <strong>understand different BGP show commands<\/strong>. We\u2019ll provide step-by-step instructions to set up an EBGP peering, verify the peering connection, and use show commands to monitor and troubleshoot the BGP session. By the end of this tutorial, you\u2019ll have the foundational knowledge needed to start configuring BGP Protocol in real-world scenarios using Cisco devices, serving as a strong base for building more complex BGP topologies in your network.<\/p>\n\n\n\n<div style=\"background: linear-gradient(to right, #ADD8E6, #8A2BE2); padding: 10px; border-radius: 10px; font-weight: 600; color: black;\">\n  <h3 style=\"text-align: center; margin-top: 0;\">Table of Contents<\/h3>\n  <ul style=\"padding-left: 20px;\">\n    <li><a href=\"#BGP-Configuration-Example-1-EBGP-Peering\" style=\"color: black;\">BGP Configuration Example 1: Configuring EBGP Peering on Cisco routers.<\/a><\/li>\n    <li><a href=\"#Router-Configurations\" style=\"color: black;\">Router Configurations<\/a><\/li>\n    <li><a href=\"#Verifying-the-BGP-Peering\" style=\"color: black;\">Verifying the BGP Peering<\/a><\/li>\n    <li><a href=\"#show-ip-bgp-summary\" style=\"color: black;\">show ip bgp summary<\/a><\/li>\n    <li><a href=\"#show-ip-bgp\" style=\"color: black;\">show ip bgp<\/a><\/li>\n    <li><a href=\"#show-ip-bgp-network-address\" style=\"color: black;\">show ip bgp &lt;network address&gt;<\/a><\/li>\n  <\/ul>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"BGP-Configuration-Example-1-EBGP-Peering\"><strong>BGP Configuration<\/strong> <strong>Example 1:<\/strong> <strong>Configuring<\/strong> <strong>EBGP Peering<\/strong> <strong>on Cisco routers<\/strong>. <\/h2>\n\n\n\n<p>In this example, your objective is to establish an <strong>EBGP peering<\/strong> between two routers, <strong>R1<\/strong> and <strong>R2<\/strong>, located in different autonomous systems as shown in the topology given below. You\u2019ll configure the <strong>EBGP peering<\/strong> using the IP addresses of the physical interfaces connecting these routers and advertise the loopback networks from both routers.<\/p>\n\n\n\n<p class=\"has-medium-font-size\"><strong>Topology: <\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"386\" src=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-configuration-topology.png?resize=1024%2C386&#038;ssl=1\" alt=\"A network topology showing two routers used in bgp configuration example for ebgp.\" class=\"wp-image-249\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-configuration-topology.png?resize=1024%2C386&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-configuration-topology.png?resize=300%2C113&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-configuration-topology.png?resize=768%2C289&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-configuration-topology.png?w=1224&amp;ssl=1 1224w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">EBGP configuration topology<\/figcaption><\/figure>\n\n\n\n<p>As you can see in the topology, router R1 is in AS 1000, and R2 is in AS 2000. R1 has a loopback interface with the network 10.0.0.0\/8, and R2 with 20.0.0.0\/8. We need these loopback networks to ensure BGP can advertise and learn networks. For example, by checking whether R2 has learned the network 10.0.0.0\/8 via BGP, we can understand that R1 successfully advertised the network, and R2 was able to learn it.<\/p>\n\n\n\n<p>You can configure a basic BGP peering using 3 steps on a Cisco router: <\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Step 1: Use the \u201c<strong>router bgp <em>AS-number<\/em><\/strong>\u201d to enter BGP protocol configuration mode. <\/li>\n\n\n\n<li>Step 2: Use the \u201c<strong>neighbor <em>Peer\u2019s-IP-Address<\/em> remote-as <em>Peer\u2019s-AS-number<\/em><\/strong>\u201d to start the BGP peering process<\/li>\n\n\n\n<li>Step 3: Use the \u201c<strong>network <em>network-address<\/em> mask <em>mask-of-the-network<\/em><\/strong>\u201d to advertise a network to the peer.<\/li>\n<\/ul>\n\n\n\n<div style=\"background: linear-gradient(to right, #5A5A9F, #8A2BE2); padding: 10px; border-radius: 10px; color: white;\">\n  <h3 style=\"text-align: center; margin-top: 0; color: white;\">Procedure Steps<\/h3>\n  <ol style=\"padding-left: 20px; color: white;\">\n    <li>Configure IP addresses on the physical interfaces connecting R1 and R2.<\/li>\n    <li>On both routers, add loopback interfaces and configure the IP addresses as specified in the topology. Verify connectivity by pinging from R1 to R2 to ensure connectivity.<\/li>\n    <li>On both R1 and R2, configure BGP, add the neighbor, and advertise the loopback networks.<\/li>\n    <li>Verify peering by checking the BGP peering status and verifying the entries in the BGP table.<\/li>\n  <\/ol>\n<\/div>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-default\">\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"Router-Configurations:\"><strong>Router Configuration<\/strong> <strong>Commands<\/strong>:<\/h2>\n\n\n\n<p class=\"has-medium-font-size\" id=\"Router-Configurations\"><strong>R1 Configuration: Setting Up IP Addresses and Loopback Interface<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-background-color has-foreground-background-color has-text-color has-background has-link-color wp-elements-649c29782ebf1d591974ae2ad16b6823\"><code><strong>R1#\nR1#configure terminal\nR1(config)#interface fastEthernet 0\/0\nR1(config-if)#ip address 192.168.1.1 255.255.255.0\nR1(config-if)#no shutdown\nR1(config-if)#int loopback 1\nR1(config-if)#ip address 10.0.0.1 255.0.0.0\nR1(config-if)#exit<\/strong><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p class=\"has-medium-font-size\"><strong>R1 Configuration: Configuring BGP AS, Neighbor, and Network Advertisement<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-background-color has-foreground-background-color has-text-color has-background has-link-color wp-elements-d578f4ffa1a798b883333677d702875a\"><code><strong>R1(config)#router bgp 1000\nR1(config-router)#neighbor 192.168.1.2 remote-as 2000\nR1(config-router)#network 10.0.0.0 mask 255.0.0.0\nR1(config-router)#exit\nR1(config)#exit\nR1#<\/strong><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p class=\"has-medium-font-size\"><strong>R2 Configuration: Setting Up IP Addresses and Loopback Interface<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-background-color has-foreground-background-color has-text-color has-background has-link-color wp-elements-3790f5ed2aef6999ea9d49ead19592c6\"><code><strong>R2#\nR2#configure terminal\nR2(config)#interface fastEthernet 0\/0\nR2(config-if)#ip address 192.168.1.2 255.255.255.0\nR2(config-if)#no shutdown\nR2(config-if)#exit\nR2(config)#interface loopback 1\nR2(config-if)#ip address 20.0.0.1 255.0.0.0\nR2(config-if)#exit<\/strong><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p class=\"has-medium-font-size\"><strong>R2 Configuration: Configuring BGP AS, Neighbor, and Network Advertisement<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code has-background-color has-foreground-background-color has-text-color has-background has-link-color wp-elements-d56e6bf74209ca11ca35b209058c8c90\"><code><strong>R2(config)#router bgp 2000\nR2(config-router)#neighbor 192.168.1.1 remote-as 1000\nR2(config-router)#network 20.0.0.0 mask 255.0.0.0\nR2(config-router)#exit\nR2(config)#exit\nR2#<\/strong><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<p>Note that we use AS 1000 on R1 and AS 2000 on R2, making them EBGP peers. BGP starts the peering process when we issue the \u201cneighbor\u201d command. However, we need to ensure the neighbor\u2019s IP address matches the interface IP address on the neighbor, and the AS number of the neighbor is correctly configured<\/p>\n\n\n\n<p>To advertise the network address of the loopback interface, we use the \u201cnetwork\u201d command. <strong>In BGP, we must manually specify the neighbor\u2019s IP address and advertise the networks separately. This differs from OSPF, EIGRP, or RIP, where only the \u201cnetwork\u201d command is needed.<\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\">\n\n\n\n<h2 class=\"wp-block-heading has-large-font-size\" id=\"Verifying-the-BGP-Peering\"><strong>Verifying the BGP Peering:<\/strong><\/h2>\n\n\n\n<p>You can use the following \u201cshow\u201d commands on a Cisco router to check the BGP peering status, networks in bgp table, and details of the networks learned:<\/p>\n\n\n\n<pre class=\"wp-block-code has-background-color has-foreground-background-color has-text-color has-background has-link-color wp-elements-d7de4ee4db303ce86d1e94835e5dbc87\"><code><strong>R1# show ip bgp summary \nR1# show ip bgp\nR1# show ip bgp &lt;network address&gt;<\/strong><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<h3 class=\"wp-block-heading has-large-font-size\" id=\"show-ip-bgp-summary\"><strong>Checking the peering<\/strong> <strong>with<\/strong> \u201c<strong>show ip bgp summary\u201d<\/strong> :<\/h3>\n\n\n\n<p>The \u201cshow ip bgp summary\u201d command gives you a quick overview of the BGP status on your router. It shows the number of BGP neighbors, their IP addresses, and the current state of each peering session. You\u2019ll see the AS number of each peer, the number of routes received, and the duration of the established peering. This command helps you quickly assess the health and status of your BGP connections.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-resized\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1021\" height=\"327\" src=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp-summary.png?resize=1021%2C327&#038;ssl=1\" alt=\"A screenshot showing the output of the &quot;show ip bgp summary&quot; command on a Cisco router's CLI\" class=\"wp-image-252\" style=\"width:650px;height:auto\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp-summary.png?w=1021&amp;ssl=1 1021w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp-summary.png?resize=300%2C96&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp-summary.png?resize=768%2C246&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">Output  of \u201cshow ip bgp summary\u201d on  R1<\/figcaption><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<h3 class=\"wp-block-heading has-large-font-size\" id=\"show-ip-bgp\"><strong>Checking the BGP database with \u201cshow ip bgp<\/strong>\u201d :<\/h3>\n\n\n\n<p>The \u201cshow ip bgp\u201d command provides detailed information about the BGP routing table on your router. It displays the routes learned through BGP, including the network prefixes, next-hop addresses, path attributes, and status codes. This command helps you see which routes BGP advertises, the path it takes to reach them, and any applied policies. It\u2019s a valuable tool for troubleshooting and verifying the routing information in your BGP configuration<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1023\" height=\"274\" src=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp.png?resize=1023%2C274&#038;ssl=1\" alt=\"A screenshot showing the output of the &quot;show ip bgp&quot; command on a Cisco router's CLI\" class=\"wp-image-253\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp.png?w=1023&amp;ssl=1 1023w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp.png?resize=300%2C80&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp.png?resize=768%2C206&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">Output of \u201cshow ip bgp\u201d on R1<\/figcaption><\/figure>\n\n\n\n<h4 class=\"wp-block-heading has-large-font-size\">Understanding<strong> \u201c<code>show ip bgp<\/code>\u201d Output<\/strong>:<\/h4>\n\n\n\n<p>In the output above, you can see two networks (10.0.0.0 and 20.0.0.0) in the BGP table.<br><br><strong>Status Code: *&gt;<\/strong><br>The status code will show * if a route is valid and the next hop is reachable. The &gt; indicates that this path is the best path to the reachable destination. If the route is learned from an iBGP peer, the status code will be *&gt;i.<br><br><strong>Next Hop:<\/strong><br>If the Next Hop column shows 0.0.0.0, it indicates that this network is directly connected. In the output above, R1 sets the next hop as 0.0.0.0 for the connected network 10.0.0.0.<br><br><strong>Metric:<\/strong><br>This column displays the value of the MED (Multi-Exit Discriminator) attribute. By default, MED is set to 0.<br><br><strong>LocPrf:<\/strong><br>The Local Preference attribute is not applicable for eBGP peering, so this column is not populated in this scenario. For routes learned from iBGP peers, the local preference is set to 100 by default.<br><br><strong>Weight:<\/strong><br>By default, the weight is set to 32768 for all local networks and 0 for iBGP and eBGP routes.<br><br><strong>Path and Origin Code:<\/strong><br>This column shows the value of the AS-PATH attribute. The symbol at the end of the line indicates the origin code. In the output above, the origin code is i, meaning that the network is originally advertised by a BGP-speaking router connected to that network.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\">\n\n\n\n<h3 class=\"wp-block-heading has-large-font-size\" id=\"show-ip-bgp-network-address\"><strong>Checking the path attributes with \u201cshow ip bgp &lt;network address&gt;\u201d <\/strong>:<\/h3>\n\n\n\n<p>The \u201cshow ip bgp \u201d command gives you detailed information about a specific BGP route. By specifying the network address, you can see all the path attributes associated with that route, including the next-hop IP address, AS path, origin, and any BGP policies applied. This command helps you analyze how BGP handles a particular route, making it easier to troubleshoot routing issues or verify the route\u2019s configuration.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"216\" src=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp-network-address.png?resize=1024%2C216&#038;ssl=1\" alt=\"A screenshot showing the output of &quot;show ip bgp 20.0.0.0&quot; command on  R1, a cisco router used in this bgp configuration example\" class=\"wp-image-254\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp-network-address.png?resize=1024%2C216&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp-network-address.png?resize=300%2C63&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp-network-address.png?resize=768%2C162&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/show-ip-bgp-network-address.png?w=1031&amp;ssl=1 1031w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><figcaption class=\"wp-element-caption\">Output of \u201cshow ip bgp 20.0.0.0\u201d on R1<\/figcaption><\/figure>\n\n\n\n<p>In this BGP configuration example, we discussed BGP peering using the IP addresses of the peers\u2019 physical interfaces. Next, we will learn how to use loopback interfaces to form the peering.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity is-style-wide\">\n\n\n\n<p style=\"background: linear-gradient(to right, #ADD8E6, #8A2BE2); padding: 10px; border-radius: 10px; font-weight: 600; color: black;\">\n  Next &gt;&gt;&gt; <a href=\"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-example-ebgp-loopback\" style=\"color: black;\">BGP Configuration Example 2: EBGP Using Loopback Interfaces<\/a><br><br>\n  Previous &gt;&gt;&gt; <a href=\"https:\/\/www.zframez.com\/articles\/routing\/bgp-protocol-peering-and-states\" style=\"color: black;\">BGP Protocol Peering and States<\/a>\n<\/p>\n\n\n\n<p>Further reading: <a href=\"https:\/\/www.cisco.com\/c\/en\/us\/td\/docs\/ios-xml\/ios\/iproute_bgp\/configuration\/xe-16\/irg-xe-16-book\/configuring-a-basic-bgp-network.html\">Cisco<\/a><\/p>\n\n\n\n<p><\/p>\n<\/body>","protected":false},"excerpt":{"rendered":"<p>BGP Configuration Example: In the previous chapter, you learned about BGP\u2019s peering process and states. In this BGP configuration example , you will learn how to configure BGP with two Cisco routers, check the BGP peering status, and understand different BGP show commands. We\u2019ll provide step-by-step instructions to set up an EBGP peering, verify the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"wp-custom-template-post-with-sidebar2","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[103,66],"tags":[144,136,143,137,139,138,141,142],"class_list":["post-247","post","type-post","status-publish","format-standard","hentry","category-bgp","category-routing","tag-bgp-commands","tag-bgp-configuration-examples","tag-cisco-bgp-commands","tag-cisco-bgp-configuration","tag-ebgp-configuration","tag-ebgp-peering","tag-show-ip-bgp","tag-show-ip-bgp-network-address"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>BGP Configuration Example 1: EBGP Peering - Tutorials<\/title>\n<meta name=\"description\" content=\"Explore a BGP configuration example with eBGP peering commands and verification using show commands on a cisco router.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"BGP Configuration Example 1: EBGP Peering - Tutorials\" \/>\n<meta property=\"og:description\" content=\"Explore a BGP configuration example with eBGP peering commands and verification using show commands on a cisco router.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples\" \/>\n<meta property=\"og:site_name\" content=\"Tutorials\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/zframez\/\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-18T16:55:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-09-24T13:43:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-configuration-topology-1024x386.png\" \/>\n<meta name=\"author\" content=\"sajith achipra\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@zframez\" \/>\n<meta name=\"twitter:site\" content=\"@zframez\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"sajith achipra\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples\"},\"author\":{\"name\":\"sajith achipra\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/person\\\/8b3b88007644501771d2452d3cc80f41\"},\"headline\":\"BGP Configuration Example 1: EBGP Peering\",\"datePublished\":\"2024-07-18T16:55:02+00:00\",\"dateModified\":\"2024-09-24T13:43:39+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples\"},\"wordCount\":1093,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/bgp-configuration-topology-1024x386.png\",\"keywords\":[\"bgp commands\",\"bgp configuration examples\",\"cisco bgp commands\",\"cisco bgp configuration\",\"ebgp configuration\",\"ebgp peering\",\"show ip bgp\",\"show ip bgp network address\"],\"articleSection\":[\"bgp\",\"routing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples\",\"name\":\"BGP Configuration Example 1: EBGP Peering - Tutorials\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/bgp-configuration-topology-1024x386.png\",\"datePublished\":\"2024-07-18T16:55:02+00:00\",\"dateModified\":\"2024-09-24T13:43:39+00:00\",\"description\":\"Explore a BGP configuration example with eBGP peering commands and verification using show commands on a cisco router.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/bgp-configuration-topology.png?fit=1224%2C461&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/bgp-configuration-topology.png?fit=1224%2C461&ssl=1\",\"width\":1224,\"height\":461},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/routing\\\/bgp-configuration-examples#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tutorials\",\"item\":\"https:\\\/\\\/www.zframez.com\\\/articles\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"BGP Configuration Example 1: EBGP Peering\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#website\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/\",\"name\":\"zframez tutorials\",\"description\":\"Learn networking bit by bit\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#organization\",\"name\":\"zframez technologies\",\"url\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/zframez-logo.jpg?fit=864%2C864&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/www.zframez.com\\\/articles\\\/wp-content\\\/uploads\\\/2024\\\/07\\\/zframez-logo.jpg?fit=864%2C864&ssl=1\",\"width\":864,\"height\":864,\"caption\":\"zframez technologies\"},\"image\":{\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/zframez\\\/\",\"https:\\\/\\\/x.com\\\/zframez\",\"https:\\\/\\\/www.instagram.com\\\/zframez_technologies\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.zframez.com\\\/articles\\\/#\\\/schema\\\/person\\\/8b3b88007644501771d2452d3cc80f41\",\"name\":\"sajith achipra\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g\",\"caption\":\"sajith achipra\"},\"sameAs\":[\"http:\\\/\\\/www.zframez.com\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"BGP Configuration Example 1: EBGP Peering - Tutorials","description":"Explore a BGP configuration example with eBGP peering commands and verification using show commands on a cisco router.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples","og_locale":"en_US","og_type":"article","og_title":"BGP Configuration Example 1: EBGP Peering - Tutorials","og_description":"Explore a BGP configuration example with eBGP peering commands and verification using show commands on a cisco router.","og_url":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples","og_site_name":"Tutorials","article_publisher":"https:\/\/www.facebook.com\/zframez\/","article_published_time":"2024-07-18T16:55:02+00:00","article_modified_time":"2024-09-24T13:43:39+00:00","og_image":[{"url":"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-configuration-topology-1024x386.png","type":"","width":"","height":""}],"author":"sajith achipra","twitter_card":"summary_large_image","twitter_creator":"@zframez","twitter_site":"@zframez","twitter_misc":{"Written by":"sajith achipra","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples#article","isPartOf":{"@id":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples"},"author":{"name":"sajith achipra","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/person\/8b3b88007644501771d2452d3cc80f41"},"headline":"BGP Configuration Example 1: EBGP Peering","datePublished":"2024-07-18T16:55:02+00:00","dateModified":"2024-09-24T13:43:39+00:00","mainEntityOfPage":{"@id":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples"},"wordCount":1093,"commentCount":0,"publisher":{"@id":"https:\/\/www.zframez.com\/articles\/#organization"},"image":{"@id":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples#primaryimage"},"thumbnailUrl":"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-configuration-topology-1024x386.png","keywords":["bgp commands","bgp configuration examples","cisco bgp commands","cisco bgp configuration","ebgp configuration","ebgp peering","show ip bgp","show ip bgp network address"],"articleSection":["bgp","routing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples","url":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples","name":"BGP Configuration Example 1: EBGP Peering - Tutorials","isPartOf":{"@id":"https:\/\/www.zframez.com\/articles\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples#primaryimage"},"image":{"@id":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples#primaryimage"},"thumbnailUrl":"https:\/\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-configuration-topology-1024x386.png","datePublished":"2024-07-18T16:55:02+00:00","dateModified":"2024-09-24T13:43:39+00:00","description":"Explore a BGP configuration example with eBGP peering commands and verification using show commands on a cisco router.","breadcrumb":{"@id":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples#primaryimage","url":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-configuration-topology.png?fit=1224%2C461&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-configuration-topology.png?fit=1224%2C461&ssl=1","width":1224,"height":461},{"@type":"BreadcrumbList","@id":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-examples#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Tutorials","item":"https:\/\/www.zframez.com\/articles"},{"@type":"ListItem","position":2,"name":"BGP Configuration Example 1: EBGP Peering"}]},{"@type":"WebSite","@id":"https:\/\/www.zframez.com\/articles\/#website","url":"https:\/\/www.zframez.com\/articles\/","name":"zframez tutorials","description":"Learn networking bit by bit","publisher":{"@id":"https:\/\/www.zframez.com\/articles\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.zframez.com\/articles\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.zframez.com\/articles\/#organization","name":"zframez technologies","url":"https:\/\/www.zframez.com\/articles\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/logo\/image\/","url":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/zframez-logo.jpg?fit=864%2C864&ssl=1","contentUrl":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/zframez-logo.jpg?fit=864%2C864&ssl=1","width":864,"height":864,"caption":"zframez technologies"},"image":{"@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/zframez\/","https:\/\/x.com\/zframez","https:\/\/www.instagram.com\/zframez_technologies\/"]},{"@type":"Person","@id":"https:\/\/www.zframez.com\/articles\/#\/schema\/person\/8b3b88007644501771d2452d3cc80f41","name":"sajith achipra","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3d9f27c5311500982b6f19d03d0506f1c328f30f51d8d5f73f46577687fd81f8?s=96&d=mm&r=g","caption":"sajith achipra"},"sameAs":["http:\/\/www.zframez.com"]}]}},"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":262,"url":"https:\/\/www.zframez.com\/articles\/routing\/bgp-configuration-example-ebgp-loopback","url_meta":{"origin":247,"position":0},"title":"BGP Configuration Example 2: EBGP Using Loopback Interfaces","author":"sajith achipra","date":"July 18, 2024","format":false,"excerpt":"BGP Configuration Example In the last tutorial \u201cBGP configuration example : EBGP Peering\u201c, we configured an EBGP peering between two routers using their physical interface IP addresses. In this BGP configuration example, we\u2019ll use loopback interfaces for BGP peering. We prefer loopback interfaces when there are multiple paths between peers\u2026","rel":"","context":"In &quot;bgp&quot;","block_context":{"text":"bgp","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/bgp"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ebgp-configuration-topology.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ebgp-configuration-topology.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ebgp-configuration-topology.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ebgp-configuration-topology.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ebgp-configuration-topology.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/ebgp-configuration-topology.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":1273,"url":"https:\/\/www.zframez.com\/articles\/routing\/understanding-bgp-next_hop-and-origin-path-attributes","url_meta":{"origin":247,"position":1},"title":"Understanding BGP NEXT_HOP and ORIGIN Path Attributes","author":"sajith achipra","date":"August 6, 2025","format":false,"excerpt":"Understanding the NEXT_HOP Attribute in BGP In BGP, every route that gets advertised comes with some additional information known as path attributes. One of the most important and commonly seen among them is the NEXT_HOP attribute. This attribute simply tells the router: \u201cIf you want to reach this network, send\u2026","rel":"","context":"In &quot;bgp&quot;","block_context":{"text":"bgp","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/bgp"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/ebgp-peers-with-NOH-attribute.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/ebgp-peers-with-NOH-attribute.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/ebgp-peers-with-NOH-attribute.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/ebgp-peers-with-NOH-attribute.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/ebgp-peers-with-NOH-attribute.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/ebgp-peers-with-NOH-attribute.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":240,"url":"https:\/\/www.zframez.com\/articles\/routing\/bgp-protocol-peering-and-states","url_meta":{"origin":247,"position":2},"title":"BGP Peering Process Explained \u2013 States from Idle to Established","author":"sajith achipra","date":"July 18, 2024","format":false,"excerpt":"Understanding the BGP Peering Process When routers run BGP , they don't start exchanging route information right away. Before they can share anything, they need to form a stable connection, called a BGP peering session. This process involves multiple states, each indicating what\u2019s happening behind the scenes as the routers\u2026","rel":"","context":"In &quot;bgp&quot;","block_context":{"text":"bgp","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/bgp"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-states.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-states.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-states.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-states.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-states.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/bgp-states.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":219,"url":"https:\/\/www.zframez.com\/articles\/routing\/bgp-protocol","url_meta":{"origin":247,"position":3},"title":"Introduction to BGP Protocol","author":"sajith achipra","date":"July 17, 2024","format":false,"excerpt":"Introduction to BGP \u2013 The Backbone of Internet Routing In this tutorial, we\u2019ll go over the basics of BGP (Border Gateway Protocol) and what makes it different from other routing protocols. If you're just getting started with routing or trying to understand how large networks communicate over the internet, this\u2026","rel":"","context":"In &quot;bgp&quot;","block_context":{"text":"bgp","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/bgp"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/BGP-packet.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/BGP-packet.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/BGP-packet.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/BGP-packet.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/BGP-packet.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2024\/07\/BGP-packet.png?resize=1400%2C800&ssl=1 4x"},"classes":[]},{"id":232,"url":"https:\/\/www.zframez.com\/articles\/routing\/how-bgp-works","url_meta":{"origin":247,"position":4},"title":"How BGP Works ?","author":"sajith achipra","date":"July 17, 2024","format":false,"excerpt":"How BGP Works \u2013 Step-by-Step Flow, Packet Types, and NLRI Continuing from our introduction to BGP, let\u2019s now look at how BGP actually works - how two routers become neighbors, what packets are exchanged between them, and how route information is shared Peering in BGP \u2013 No Auto Discovery Here\u2026","rel":"","context":"In &quot;bgp&quot;","block_context":{"text":"bgp","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/bgp"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1270,"url":"https:\/\/www.zframez.com\/articles\/routing\/understanding-bgp-as_path-split-horizon-and-route-reflectors","url_meta":{"origin":247,"position":5},"title":"Understanding BGP AS_PATH, Split Horizon, and Route Reflectors","author":"sajith achipra","date":"August 5, 2025","format":false,"excerpt":"BGP Path Attributes \u2013 AS_PATH, Split Horizon, and Route Reflector One of the key features that makes BGP different from other routing protocols is its use of path attributes. These attributes are attached to BGP route advertisements and provide important information that routers use to make decisions - not just\u2026","rel":"","context":"In &quot;bgp&quot;","block_context":{"text":"bgp","link":"https:\/\/www.zframez.com\/articles\/category\/routing\/bgp"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/BGP-AS-Path-demo.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/BGP-AS-Path-demo.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/BGP-AS-Path-demo.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/BGP-AS-Path-demo.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/BGP-AS-Path-demo.png?resize=1050%2C600&ssl=1 3x, https:\/\/i0.wp.com\/www.zframez.com\/articles\/wp-content\/uploads\/2025\/08\/BGP-AS-Path-demo.png?resize=1400%2C800&ssl=1 4x"},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/comments?post=247"}],"version-history":[{"count":4,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/247\/revisions"}],"predecessor-version":[{"id":944,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/posts\/247\/revisions\/944"}],"wp:attachment":[{"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/media?parent=247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/categories?post=247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zframez.com\/articles\/wp-json\/wp\/v2\/tags?post=247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}