{"id":78,"date":"2023-10-18T20:21:18","date_gmt":"2023-10-18T20:21:18","guid":{"rendered":"https:\/\/mycomputerland.com\/?p=78"},"modified":"2023-11-02T16:10:06","modified_gmt":"2023-11-02T16:10:06","slug":"configuring-eigrp-on-cisco-routers-a-step-by-step-guide","status":"publish","type":"post","link":"https:\/\/mycomputerland.com\/index.php\/2023\/10\/18\/configuring-eigrp-on-cisco-routers-a-step-by-step-guide\/","title":{"rendered":"Configuring EIGRP on Cisco Routers: A Step-by-Step Guide"},"content":{"rendered":"<p>Configuring Enhanced Interior Gateway Routing Protocol (EIGRP) on Cisco routers involves several steps. EIGRP is a Cisco-proprietary routing protocol designed for routing within an Autonomous System (AS). Here&#8217;s a basic outline of how to configure EIGRP on Cisco routers:<\/p>\n<ol>\n<li><strong>Access the Router<\/strong>: Connect to the router using a terminal emulator program like PuTTY or a console cable. You can use the console port or SSH\/TELNET, depending on your network setup.<\/li>\n<li><strong>Access Configuration Mode<\/strong>: Log in to the router and access privileged exec mode by typing:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-bash\"><span class=\"hljs-built_in\">enable<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p>Then, access global configuration mode by typing:<\/p>\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md\"><\/div>\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs\">configure terminal<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li><strong>Enable EIGRP<\/strong>: To enable EIGRP, use the following command:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"flex items-center relative text-gray-200 bg-gray-800 gizmo:dark:bg-token-surface-primary px-4 py-2 text-xs font-sans justify-between rounded-t-md\"><\/div>\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-css\">router eigrp <span class=\"hljs-selector-attr\">[AS_NUMBER]<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p>Replace <code>[AS_NUMBER]<\/code> with the Autonomous System Number you want to use for EIGRP. All routers in the same EIGRP domain (AS) should use the same AS number.<\/li>\n<li>D<strong>efine EIGRP Network Interfaces<\/strong>: You need to specify which interfaces will participate in EIGRP. Use the following command for each interface:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-css\">network <span class=\"hljs-selector-attr\">[NETWORK_ADDRESS]<\/span> <span class=\"hljs-selector-attr\">[WILDCARD_MASK]<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p>Replace <code>[NETWORK_ADDRESS]<\/code> with the IP network address and <code>[WILDCARD_MASK]<\/code> with the wildcard mask. This command tells the router which networks are part of the EIGRP process.<\/li>\n<li>Optionally, <strong>Set Passive Interfaces<\/strong>: To prevent EIGRP from sending hello packets and updates on specific interfaces, you can mark them as passive. This is useful for interfaces that don&#8217;t connect to other EIGRP routers. Use the following command for each passive interface:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-csharp\">passive-<span class=\"hljs-keyword\">interface<\/span> [<span class=\"hljs-title\">INTERFACE_NAME<\/span>]<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li><strong>Set EIGRP Metrics<\/strong> (Optional): By default, EIGRP uses bandwidth and delay to calculate metrics. If you want to adjust the metrics manually, you can use the following command under the EIGRP routing process:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-css\">metric weights <span class=\"hljs-selector-attr\">[K1]<\/span> <span class=\"hljs-selector-attr\">[K2]<\/span> <span class=\"hljs-selector-attr\">[K3]<\/span> <span class=\"hljs-selector-attr\">[K4]<\/span> <span class=\"hljs-selector-attr\">[K5]<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p>The values K1 to K5 are the multipliers for different metrics. The default values are 1 for bandwidth and delay and 0 for all others.<\/li>\n<li><strong>Configure Authentication<\/strong> (Optional): You can configure authentication for EIGRP using the following commands:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-css\">ip authentication mode eigrp <span class=\"hljs-selector-attr\">[AS_NUMBER]<\/span> md5<br \/>\nip authentication key-chain eigrp <span class=\"hljs-selector-attr\">[AS_NUMBER]<\/span> <span class=\"hljs-selector-attr\">[KEY_CHAIN_NAME]<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p>This ensures that EIGRP updates are authenticated using a Message Digest 5 (MD5) key chain.<\/li>\n<li><strong>Exit Configuration Mode<\/strong>: When you&#8217;ve completed the EIGRP configuration, exit the configuration mode by typing:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-arduino\">end<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li><strong>Save Configuration<\/strong>: To save your configuration, type:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-arduino\">write memory<br \/>\n<\/code><\/div>\n<\/div>\n<p>This ensures that your EIGRP configuration persists through router reboots.<\/li>\n<li><strong>Verify and Monitor<\/strong>: Use the following commands to verify EIGRP configurations and monitor the routing process:<\/li>\n<\/ol>\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-sql\"><span class=\"hljs-keyword\">show<\/span> ip eigrp neighbors<br \/>\n<span class=\"hljs-keyword\">show<\/span> ip route<br \/>\n<span class=\"hljs-keyword\">show<\/span> ip eigrp interfaces<br \/>\n<\/code><\/div>\n<\/div>\n<p>These commands will show information about EIGRP neighbor relationships, the routing table, and EIGRP interfaces.<\/p>\n<p>Remember that <strong>EIGRP<\/strong> configurations should be consistent across routers within the same <strong>AS for proper routing<\/strong>. Additionally, make sure that the interfaces specified in the network statements are correctly configured with IP addresses and are in the &#8220;up&#8221; state.<\/p>\n<p>Now, we can have also some other additional and advanced configurations for EIGRP.<\/p>\n<ol start=\"11\">\n<li><strong>Load Balancing<\/strong>: By default, EIGRP supports load balancing across equal-cost paths. You can control the load-balancing behavior with the <code>variance<\/code> command under the EIGRP process. For example, to load balance across paths with metrics up to two times the minimum metric, you can use:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs\">variance 2<br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li><strong>Summarization<\/strong>: EIGRP allows you to summarize routes to reduce the size of the routing table. You can configure route summarization at the interface level with the following command:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-css\">ip <span class=\"hljs-selector-tag\">summary<\/span>-<span class=\"hljs-selector-tag\">address<\/span> eigrp <span class=\"hljs-selector-attr\">[AS_NUMBER]<\/span> <span class=\"hljs-selector-attr\">[NETWORK_ADDRESS]<\/span> <span class=\"hljs-selector-attr\">[SUBNET_MASK]<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p>This command summarizes routes at the specified interface, and the summarized route will be advertised into the EIGRP domain.<\/li>\n<li><strong>Route Filtering<\/strong>: You can filter routes with access lists when redistributing routes into or out of EIGRP. For example, if you want to filter routes when redistributing from OSPF into EIGRP, you can use:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-scss\">distribute-list <span class=\"hljs-selector-attr\">[ACCESS_LIST_NAME]<\/span> out <span class=\"hljs-selector-attr\">[INTERFACE_NAME]<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li><strong>Stub Routers<\/strong>: EIGRP supports stub routers, which are routers that don&#8217;t need to know about all routes in the network. You can configure a router as a stub router with the following command:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-css\">eigrp stub <span class=\"hljs-selector-attr\">[CONNECTED | STATIC | SUMMARY | REDISTRIBUTE | LEAK-MAP]<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<p>This helps reduce the query overhead on stub routers and simplifies configuration.<\/li>\n<li><strong>Route Tagging<\/strong>: You can tag EIGRP routes for better route control and filtering. To tag a route with a value, use:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-css\">redistribute <span class=\"hljs-selector-attr\">[SOURCE_PROTOCOL]<\/span> <span class=\"hljs-selector-attr\">[ROUTE_MAP_NAME]<\/span> route-map-tag<br \/>\n<\/code><\/div>\n<\/div>\n<p>Then, you can match and filter routes based on tags using route maps.<\/li>\n<li><strong>EIGRP Timers<\/strong>: You can adjust various EIGRP timers to fine-tune convergence and stability. Key EIGRP timers include the &#8220;hello&#8221; interval and the &#8220;hold&#8221; timer. For example, to change the hello interval:\n<div class=\"bg-black rounded-md mb-4\">\n<div class=\"p-4 overflow-y-auto\"><code class=\"!whitespace-pre hljs language-css\">ip hello-interval eigrp <span class=\"hljs-selector-attr\">[AS_NUMBER]<\/span> <span class=\"hljs-selector-attr\">[INTERFACE_NAME]<\/span> <span class=\"hljs-selector-attr\">[HELLO_INTERVAL]<\/span><br \/>\n<\/code><\/div>\n<\/div>\n<\/li>\n<li><strong>Monitoring and Troubleshooting<\/strong>: Use the following commands for monitoring and troubleshooting EIGRP:<\/li>\n<\/ol>\n<ul>\n<li><code>show ip eigrp topology<\/code>: Displays the EIGRP topology table.<\/li>\n<li><code>debug eigrp packets<\/code>: Enables packet-level debugging for EIGRP. Use with caution in a production network.<\/li>\n<li><code>clear ip eigrp [AS_NUMBER] neighbors<\/code>: Clears EIGRP neighbor relationships.<\/li>\n<\/ul>\n<ol start=\"18\">\n<li><strong>Route Redistribution<\/strong>: If you need to redistribute routes from another routing protocol into EIGRP or vice versa, use the <code>redistribute<\/code> command within the EIGRP process.<\/li>\n<li><strong>BGP Peering<\/strong> (For EIGRP to BGP Integration): If you want to integrate EIGRP with BGP, you can peer the EIGRP router with a BGP router. This allows you to exchange routes between the two routing protocols. Use the <code>neighbor<\/code> command within the BGP process to establish the BGP peering.<\/li>\n<li>Document Your Configuration: Do not forget maybe the most important part after you finish the configuration. Proper documentation is crucial for managing your network. Document your EIGRP configuration, including the AS number, network statements, summarization, and any special considerations.<\/li>\n<\/ol>\n<p>Remember to thoroughly test any changes to your network configuration in a lab or non-production environment before applying them in a production network. This helps prevent unintended disruptions to your network.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Configuring Enhanced Interior Gateway Routing Protocol (EIGRP) on Cisco routers involves several steps. EIGRP is a Cisco-proprietary routing protocol designed for routing within an Autonomous System (AS). Here&#8217;s a basic outline of how to configure EIGRP on Cisco routers: Access the Router: Connect to the router using a terminal emulator program like PuTTY or a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,7],"tags":[12,35],"class_list":{"0":"post-78","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-cisco","7":"category-networking","8":"tag-cisco","9":"tag-eigrp"},"_links":{"self":[{"href":"https:\/\/mycomputerland.com\/index.php\/wp-json\/wp\/v2\/posts\/78"}],"collection":[{"href":"https:\/\/mycomputerland.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mycomputerland.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mycomputerland.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mycomputerland.com\/index.php\/wp-json\/wp\/v2\/comments?post=78"}],"version-history":[{"count":2,"href":"https:\/\/mycomputerland.com\/index.php\/wp-json\/wp\/v2\/posts\/78\/revisions"}],"predecessor-version":[{"id":81,"href":"https:\/\/mycomputerland.com\/index.php\/wp-json\/wp\/v2\/posts\/78\/revisions\/81"}],"wp:attachment":[{"href":"https:\/\/mycomputerland.com\/index.php\/wp-json\/wp\/v2\/media?parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mycomputerland.com\/index.php\/wp-json\/wp\/v2\/categories?post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mycomputerland.com\/index.php\/wp-json\/wp\/v2\/tags?post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}