Cisco NX-OS/IOS EIGRP Comparison

From DocWiki

(Difference between revisions)
Jump to: navigation, search
 
(19 intermediate revisions not shown)
Line 1: Line 1:
-
<font size = "3">'''Objective'''</font>  
+
<font size="3">'''Objective'''</font>  
-
This tech note outlines the main differences in Enhanced Interior Gateway Protocol (EIGRP) support between Cisco® NX-OS Software and Cisco IOS® Software. Sample configurations are included for Cisco NX-OS and Cisco IOS Software for some common features to demonstrate the similarities and differences. Please refer to the [http://www.cisco.com/en/US/products/ps9402/products_installation_and_configuration_guides_list.html NX-OS documentation on Cisco.com] for a complete list of supported features.
+
This tech note outlines the main differences in Enhanced Interior Gateway Protocol (EIGRP) support between Cisco® NX-OS Software and Cisco IOS® Software. Sample configurations are included for Cisco NX-OS and Cisco IOS Software for some common features to demonstrate the similarities and differences. Please refer to the [http://www.cisco.com/en/US/products/ps9402/products_installation_and_configuration_guides_list.html NX-OS documentation on Cisco.com] for a complete list of supported features.  
 +
<br> <font size="3">'''EIGRP Overview'''</font>
-
<font size = "3">''' EIGRP Overview'''</font>
+
EIGRP is a Cisco proprietary hybrid distance vector routing protocol used to exchange network reachability information within an autonomous system.
-
EIGRP is a Cisco proprietary hybrid distance vector routing protocol used to exchange network reachability information within an autonomous system.
+
<br> <font size="3">'''Important Cisco NX-OS and Cisco IOS Software Differences'''</font>
 +
In Cisco NX-OS:
-
<font size = "3">'''Important Cisco NX-OS and Cisco IOS Software Differences'''</font>
+
*The EIGRP protocol supports In-Service-Software-Upgrades (ISSU) if two supervisors are present in a chassis (Graceful Restart must be enabled).
 +
*EIGRP command-line interface (CLI) configuration and verification commands are not available until you enable the EIGRP feature with the '''feature eigrp''' command.
 +
*The EIGRP protocol requires the Enterprise Services license.
 +
*Only the Internet Protocol (IP) is supported. Cisco IOS Software supports IP, IPX, and Appletalk.
 +
*The EIGRP instance can consist of 20 characters. Cisco IOS Software supports numbers 1- 65536.
 +
*Eight equal-cost paths are supported by default; Cisco NX-OS supports up to sixteen.
 +
*Unequal cost load balancing is not supported. In Cisco IOS Software, unequal cost load balancing can be configured under an EIGRP routing instance using the variance command with an associated multiplier to select the next hop feasible successors for an IP route.
 +
*Route auto-summarization is disabled by default and cannot be manually configured. Most versions of Cisco IOS Software enable the '''auto-summary''' command by default, but recently this feature has been disabled in releases 12.2(33)SXI4, 12.2(33)SRE and 15.0(1)M.
 +
*Networks and interfaces are added to an EIGRP instance under the '''interface''' configuration mode.
 +
*If a router ID is not manually configured, the loopback 0 IP address is always preferred. If loopback 0 does not exist, Cisco NX-OS selects the IP address for the first loopback interface in the configuration. If no loopback interfaces exist, Cisco NX-OS selects the IP address for the first physical interface in the configuration.
 +
*A default route can be generated with the '''default-information originate''' command under the EIGRP&nbsp;instance, whereas Cisco IOS Software requires additional CLI commands to achieve similar results.
 +
*When interface authentication is configured, the EIGRP key is encrypted with Data Encryption Standard 3 (3DES) in the configuration. Cisco IOS Software requires the '''service password''' command.
 +
*Distribute-lists used to filter routes from routing updates are applied under the interface with the '''ip distribute-list eigrp''' command, as opposed to under the EIGRP router instance.
 +
*Maximum prefix thresholds (warning and withdraw) can be configured for redistributed routes using the '''redistribute maximum-prefix''' routing instance command. Cisco IOS Software does not have the ability to set maximum prefix thresholds for redistributed routes.
 +
*When configuring route redistribution under an EIGRP instance, a route-map must be specified and must be configured globally. If the route-map is empty (IE. '''route-map eigrp-redistribution permit 10'''), all routes matching the route type specified will be redistributed using the EIGRP '''default-metric''' values. If the route-map has an associate IP prefix-list and an optional EIGRP metric, routes will be filtered based on the IP prefix-list entries and their EIGRP metric will be modified based on the values specified in the '''set metric''' command under the route-map. The route-map redistribution filtering and metric modification functionality is optional in Cisco IOS Software.<br>
 +
*The '''neighbor''' command under an EIGRP routing instance is not supported at this time, as it shouldn’t be required for Ethernet network topologies. Cisco IOS Software supports the neighbor command, which may be required for certain ATM and Frame-Relay WAN configurations.<br>
-
In Cisco NX-OS:
+
<br>  
-
* EIGRP command-line interface (CLI) configuration and verification commands are not available until you enable the EIGRP feature with the '''feature eigrp''' command.
+
-
* The EIGRP protocol requires the Enterprise Services license.
+
-
* The EIGRP instance can consist of 20 characters.  Cisco IOS Software supports numbers 1- 65536.
+
-
* Eight equal-cost paths are supported by default; Cisco NX-OS supports up to 16.
+
-
* Route auto-summarization is disabled by default.
+
-
* Networks and interfaces are added to an EIGRP instance under the '''interface''' configuration mode.
+
-
* If a router ID is not manually configured, the loopback-0 IP address is always preferred. If loopback 0 does not exist, Cisco NX-OS selects the IP address for the first loopback interface in the configuration. If no loopback interfaces exist, Cisco NX-OS selects the IP address for the first physical interface in the configuration.
+
-
* A default route can be generated with the '''default-information originate''' command, whereas Cisco IOS Software requires additional CLI commands to achieve similar results.
+
-
* When interface authentication is configured, the EIGRP key is encrypted with Data Encryption Standard 3 (3DES) in the configuration. Cisco IOS Software requires the '''service password''' command.
+
-
* Distribute-lists used to filter routes from routing updates are applied under the interface with the <b>ip distribute-list eigrp</b> <i><instance></i> <b>prefix-list|route-map</b> command, as opposed to under the EIGRP router instance.
+
 +
<font size="3">'''Things You Should Know'''</font>
-
<font size = "3">'''Things You Should Know'''</font>
+
The following list provides some additional facts about Cisco NX-OS that should be helpful when designing, configuring, and maintaining an EIGRP network.
-
The following list provides some additional facts about Cisco NX-OS that should be helpful when designing, configuring, and maintaining an EIGRP network.
+
<br>
 +
*Four EIGRP instances can be configured per virtual device context (VDC).
 +
*Numerous Virtual Route Forwarding (VRF) instances can be associated with an EIGRP instance.
 +
*If the '''feature eigrp''' command is removed, all relevant EIGRP configuration information is also removed.
 +
*The '''shutdown '''command can be used to gracefully disable an EIGRP instance while retaining the configuration. This feature can also be applied per interface with the '''ip eigrp ''&lt;instance&gt;'' shutdown''' command.
 +
*An EIGRP instance can be restarted with the '''restart eigrp ''&lt;instance&gt;'' ''' Exec command.
 +
*Graceful restart is enabled by default (It needs to be enabled in order to perform an ISSU upgrade).
 +
*Multiple EIGRP instances can be configured on the same interface.
 +
*Secondary IP addresses are advertised by default and cannot be suppressed per interface.
 +
*The '''show running-config eigrp''' command displays the current EIGRP configuration.
 +
*EIGRP supports Bidirectional Forwarding Detection (BFD), which can be configured to reduce network convergence time to less than one second.
-
* Four EIGRP instances can be configured per virtual device context (VDC).
+
<br> <font size="3">'''Configuration Comparison'''</font>  
-
* Numerous Virtual Route Forwarding (VRF) instances can be associated with an EIGRP instance.
+
-
* If the '''feature eigrp''' command is removed, all relevant EIGRP configuration information is also removed.
+
-
* The '''shutdown '''command can be used to disable an EIGRP instance while retaining the configuration. This feature can also be applied per interface with the '''ip eigrp''' ''<instance #>'' '''shutdown''' command.
+
-
* The '''show running-config eigrp''' command displays the current EIGRP configuration.
+
-
* An EIGRP instance can be restarted with the '''restart eigrp''' ''<instance #>'' command.
+
-
* Graceful restart (RFC 3623) is enabled by default.
+
-
* Multiple EIGRP instances can be configured on the same interface.
+
-
* Secondary IP addresses are advertised by default and cannot be suppressed per interface.
+
 +
The following sample code shows configuration similarities and differences between the Cisco NX-OS and Cisco IOS Software CLIs. There are three significant differences: Cisco NX-OS allows EIGRP to be enabled and disabled globally, and it has a more interface-centric configuration that makes it easier to read. In addition, Cisco NX-OS has the capability to generate a default route, whereas Cisco IOS Software requires additional CLI commands to achieve similar results.
-
<font size = "3">'''Configuration Comparison'''</font>
+
<br>  
-
The following sample code shows configuration similarities and differences between the Cisco NX-OS and Cisco IOS Software CLIs. There are three significant differences: Cisco NX-OS allows EIGRP to be enabled and disabled globally, and it has a more interface-centric configuration that makes it easier to read. In addition, Cisco NX-OS has the capability to generate a default route, whereas Cisco IOS Software requires additional CLI commands to achieve similar results.
+
{| cellspacing="6" cellpadding="2" border="0"
-
 
+
-
 
+
-
 
+
-
{| border="0" cellpadding="2" cellspacing="6"
+
-
!width="475" align="center" |<font size = "5">'''''Cisco IOS CLI'''''</font>
+
-
!width="475" align="center" |<font size = "5">'''''Cisco NX-OS CLI'''''</font>
+
|-
|-
-
|<font size = "3">'''Enabling the EIGRP Feature'''</font>
+
! width="475" align="center" | <font size="5">'''''Cisco IOS CLI'''''</font>
 +
! width="475" align="center" | <font size="5">'''''Cisco NX-OS CLI'''''</font>
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
| <font size="3">'''Enabling the EIGRP Feature'''</font>
-
!width="475" align="left" style="background:#ED9121;" |<font color="white">'''Cisco IOS Software does not have the ability to enable or disable EIGRP.'''
+
|}
-
!width="475" align="left" style="background:#99CCFF;" |'''feature eigrp'''
+
 
 +
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
! width="475" align="left" style="background:#ED9121;" | <font color="white">'''Cisco IOS Software does not have the ability to enable or disable EIGRP.'''</font>  
-
|<font size = "3">'''Configuring an EIGRP Instance and Router ID'''</font>
+
! width="475" align="left" style="background:#99CCFF;" | '''feature eigrp'''
 +
|}
 +
 
 +
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
| <font size="3">'''Configuring an EIGRP Instance and Router ID'''</font>
-
!width="475" align="left" style="background:#ED9121;" |<font color="white">'''router eigrp 10
+
|}
-
eigrp router-id 192.168.1.1'''
+
 
-
!width="475" align="left" style="background:#99CCFF;" |'''router eigrp 10
+
{| cellspacing="6" cellpadding="2" border="0"
-
router-id 192.168.1.1'''
+
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
! width="475" align="left" style="background:#ED9121;" | <font color="white">'''router eigrp 10''' </font>  
-
|<font size = "3">'''Associating a Network with an EIGRP Instance'''</font>
+
<font color="white">eigrp router-id 192.168.1.1 </font>
 +
 
 +
! width="475" align="left" style="background:#99CCFF;" | '''router eigrp 10'''
 +
router-id 192.168.1.1
 +
 
 +
|}
 +
 
 +
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
| <font size="3">'''Associating a Network with an EIGRP Instance'''</font>
-
!width="475" align="left" style="background:#ED9121;" |<font color="white">'''router eigrp 10
+
|}
-
network 192.168.10.0'''
+
-
!width="475" align="left" style="background:#99CCFF;" |'''interface Ethernet2/1
+
-
ip address 192.168.10.1/24
+
-
ip router eigrp 10'''
+
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
! width="475" align="left" style="background:#ED9121;" | <font color="white">'''router eigrp 10''' </font>  
-
|<font size = "3">'''Configuring a Passive Interface'''</font>
+
<font color="white">network 192.168.10.0 </font>
 +
 
 +
! width="475" align="left" style="background:#99CCFF;" | '''interface Ethernet2/1'''
 +
ip address 192.168.10.1/24
 +
 
 +
ip router eigrp 10
 +
 
 +
|}
 +
 
 +
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
| <font size="3">'''Configuring a Passive Interface'''</font>
-
!width="475" align="left" style="background:#ED9121;" |<font color="white">'''router eigrp 10
+
|}
-
network 192.168.10.0
+
-
passive-interface GigabitEthernet2/1'''
+
-
!width="475" align="left" style="background:#99CCFF;" |'''interface Ethernet2/1
+
-
ip address 192.168.10.1/24
+
-
ip router eigrp 10
+
{| cellspacing="6" cellpadding="2" border="0"
 +
|-
 +
! width="475" align="left" style="background:#ED9121;" | <font color="white">'''router eigrp 10''' </font>
 +
<font color="white">network 192.168.10.0 passive-interface GigabitEthernet2/1 </font>
-
ip passive-interface eigrp 10'''
+
! width="475" align="left" style="background:#99CCFF;" | '''interface Ethernet2/1'''
 +
ip address 192.168.10.1/24
 +
 
 +
ip router eigrp 10
 +
 
 +
ip passive-interface eigrp 10  
 +
 
 +
|}
 +
 
 +
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
| <font size="3">'''Configuring Interface Authentication (MD5)'''</font>
-
|<font size = "3">'''Configuring Interface Authentication (MD5)'''</font>
+
|}
 +
 
 +
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
! width="475" align="left" style="background:#ED9121;" | <font color="white">key chain eigrp-key </font>
-
!width="475" align="left" style="background:#ED9121;" |<font color="white">key chain eigrp-key
+
<font color="white">key 1 key-string cisco123 </font> <font color="white"><br> interface GigabitEthernet2/1 ip address 192.168.10.1 255.255.255.0 ip authentication mode eigrp 10 md5 ip authentication key-chain eigrp 10 eigrp-key </font>
-
key 1
+
-
key-string cisco123
+
 +
! width="475" align="left" style="background:#99CCFF;" | '''key chain eigrp-key'''
 +
key 1 key-string 7 070c285f4d06485744
-
interface GigabitEthernet2/1
+
<br> interface Ethernet2/1  
-
ip address 192.168.10.1 255.255.255.0
+
-
ip authentication mode eigrp 10 md5
+
-
ip authentication key-chain eigrp 10 eigrp-key'''
+
-
!width="475" align="left" style="background:#99CCFF;" |'''key chain eigrp-key
+
-
key 1
+
-
key-string 7 070c285f4d06485744
+
 +
ip address 192.168.10.1/24
-
interface Ethernet2/1
+
ip router eigrp 10
-
ip address 192.168.10.1/24
+
ip authentication mode eigrp 10 md5
-
ip router eigrp 10
+
ip authentication key-chain eigrp 10 eigrp-key
-
ip authentication mode eigrp 10 md5
+
|}
-
ip authentication key-chain eigrp 10 eigrp-key'''
+
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
| <font size="3">'''Configuring an EIGRP Distribution List to Filter Routes'''</font>
-
|<font size = "3">'''Configuring an EIGRP Distribution List to Filter Routes'''</font>
+
|}
 +
 
 +
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
! width="475" align="left" style="background:#ED9121;" | <font color="white">ip prefix-list eigrp-10-list seq 5 permit 159.142.1.0/24  
-
!width="475" align="left" style="background:#ED9121;" |<font color="white">ip prefix-list eigrp-10-list seq 5 permit 159.142.1.0/24
+
<br> router eigrp 10
 +
</font>
 +
<font color="white">network 192.168.10.0 </font> <font color="white">distribute-list prefix eigrp-10-list out GigabitEthernet2/1 </font>
 +
! width="475" align="left" style="background:#99CCFF;" | '''ip prefix-list eigrp-10-list seq 5 permit 159.142.1.0/24'''
 +
<br> interface Ethernet2/1
-
router eigrp 10
+
ip address 192.168.10.1/24
-
network 192.168.10.0
+
ip router eigrp 10  
-
distribute-list prefix eigrp-10-list out GigabitEthernet2/1'''
+
ip distribute-list eigrp 10 prefix-list eigrp-10-list out
-
!width="475" align="left" style="background:#99CCFF;" |'''ip prefix-list eigrp-10-list seq 5 permit 159.142.1.0/24
+
 +
|}
-
interface Ethernet2/1
+
{| cellspacing="6" cellpadding="2" border="0"
 +
|-
 +
| <font size="3">'''Configuring Route Summarization'''</font>
 +
|}
-
ip address 192.168.10.1/24
+
{| cellspacing="6" cellpadding="2" border="0"
 +
|-
 +
! width="475" align="left" style="background:#ED9121;" | <font color="white">'''interface GigabitEthernet2/1''' </font>
 +
<font color="white">ip address 192.168.10.1 255.255.255.0 </font> <font color="white">ip summary-address eigrp 10 159.142.0.0 255.255.0.0 5 </font>
-
ip router eigrp 10
+
! width="475" align="left" style="background:#99CCFF;" | '''interface Ethernet2/1'''
 +
ip address 192.168.10.1/24
-
ip distribute-list eigrp 10 prefix-list eigrp-10-list out'''
+
ip router eigrp 10  
 +
 
 +
ip summary-address eigrp 10 159.142.0.0/16
 +
 
 +
|}
 +
 
 +
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
| <font size="3">'''Generating A Default Route (Conditional)'''</font>
-
|<font size = "3">'''Configuring Route Summarization'''</font>
+
|}
 +
 
 +
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
! width="475" align="left" style="background:#ED9121;" | <font color="white">'''Cisco IOS Software doesn’t have the same CLI to generate a default route, but redistribution or the ip summary address command can be used to achieve similar results.'''</font>
-
!width="475" align="left" style="background:#ED9121;" |<font color="white">'''interface GigabitEthernet2/1
+
! width="475" align="left" style="background:#99CCFF;" | '''router eigrp 10'''
-
ip address 192.168.10.1 255.255.255.0
+
default-information originate
-
ip summary-address eigrp 10 159.142.0.0 255.255.0.0 5'''
+
|}
-
!width="475" align="left" style="background:#99CCFF;" |'''interface Ethernet2/1
+
-
ip address 192.168.10.1/24
+
-
ip router eigrp 10
+
{| cellspacing="6" cellpadding="2" border="0"
 +
|-
 +
| <font size="3">'''Configuring Route Redistribution (Permit all Static Routes)'''</font>
 +
|}
-
ip summary-address eigrp 10 159.142.0.0/16'''
+
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
-
{| border="0" cellpadding="2" cellspacing="6"
+
! width="475" align="left" style="background:#ED9121;" | <font color="white">'''router eigrp 10''' </font>
-
|<font size = "3">'''Generating A Default Route (Conditional)</font>
+
<font color="white">redistribute static </font>
-
|-
+
 
-
{| border="0" cellpadding="2" cellspacing="6"
+
! width="475" align="left" style="background:#99CCFF;" | '''router eigrp 10'''  
-
!width="475" align="left" style="background:#ED9121;" |<font color="white">'''Cisco IOS Software doesn’t have the same CLI to generate a default route, but redistribution or the ip summary address command can be used to achieve similar results.'''
+
redistribute static route-map static-to-eigrp
-
!width="475" align="left" style="background:#99CCFF;" |'''router eigrp 10
+
 
-
default-information originate'''
+
<br> route-map static-to-eigrp permit 10
 +
 
 +
|}
 +
 
 +
{| cellspacing="6" cellpadding="2" border="0"
|-
|-
 +
| <font size="3">'''Configuring a VRF Instance for EIGRP Routing'''</font>
|}
|}
 +
{| cellspacing="6" cellpadding="2" border="0"
 +
|-
 +
! width="475" align="left" style="background:#ED9121;" | <font color="white">'''router eigrp 10''' </font>
 +
<font color="white">address-family ipv4 vrf customer-a autonomous-system 20 </font>
 +
! width="475" align="left" style="background:#99CCFF;" | '''router eigrp 10'''
 +
vrf customer-a
 +
autonomous-system 20
-
<font size = "3">'''Verification Command Comparison'''</font>
+
|}
-
The following table compares some useful '''show''' commands for verifying and troubleshooting an EIGRP network configuration.
+
<br>
 +
<br> <font size="3">'''Verification Command Comparison'''</font>
-
{| border="1" cellpadding="2"
+
The following table compares some useful '''show''' commands for verifying and troubleshooting an EIGRP network configuration.
-
!width="225" align="left" style="background:#99CCFF;" |'''Cisco NX-OS EIGRP'''
+
 
-
!width="225" align="left" style="background:#99CCFF;" |'''Cisco IOS Software EIGRP'''
+
<br>
-
!width="450" align="left" style="background:#99CCFF;" |'''Command Description'''
+
 
 +
{| cellpadding="2" border="1"
 +
|-
 +
! width="375" align="left" style="background:#99CCFF;" | '''Cisco NX-OS EIGRP'''  
 +
! width="225" align="left" style="background:#99CCFF;" | '''Cisco IOS Software EIGRP'''  
 +
! width="425" align="left" style="background:#99CCFF;" | '''Command Description'''
 +
|-
 +
| '''show ip eigrp'''
 +
| -
 +
| Displays global EIGRP information for all instances
|-
|-
-
|'''show ip eigrp'''|| show ip eigrp ''<#>'' || Displays all EIGRP information for a specified process
+
| '''show ip eigrp ''&lt;instance&gt;'''''
 +
| show ip eigrp ''&lt;#&gt;''  
 +
| Displays global EIGRP information for a specific instance
|-
|-
-
|'''show ip eigrp accounting'''|| - || Displays the number of prefixes that each neighbor advertised
+
| '''show ip eigrp accounting'''  
 +
| show ip eigrp accounting
 +
| Displays the number of prefixes that each neighbor advertised
|-
|-
-
|'''show ip eigrp interfaces'''|| show ip eigrp interfaces || Displays interfaces configured for EIGRP
+
| '''show ip eigrp interfaces'''  
 +
| show ip eigrp interfaces  
 +
| Displays interfaces configured for EIGRP
|-
|-
-
|'''show ip eigrp interfaces detail'''|| show ip eigrp interfaces detail || Displays detailed interface information
+
| '''show ip eigrp interfaces detail'''  
 +
| show ip eigrp interfaces detail  
 +
| Displays detailed interface information
|-
|-
-
|'''show ip eigrp neighbors'''|| show ip eigrp neighbors || Displays currently connected neighbors
+
| '''show ip eigrp neighbors'''  
 +
| show ip eigrp neighbors  
 +
| Displays currently connected neighbors
|-
|-
-
|'''show ip eigrp neighbors detail'''|| show ip eigrp neighbors detail || Displays connected neighbors and associated details
+
| '''show ip eigrp neighbors detail'''  
 +
| show ip eigrp neighbors detail  
 +
| Displays connected neighbors and associated details
|-
|-
-
|'''show ip eigrp policy'''|| - || Displays redistribution statistics for the specified protocol
+
| '''show ip eigrp route'''  
 +
| -  
 +
| Displays EIGRP routes
|-
|-
-
|'''show ip eigrp route'''|| - || Displays EIGRP routes
+
| '''show ip eigrp route-map statistics redistribute ''&lt;protocol&gt;'''''
 +
| -  
 +
| Displays statistics for redistributed routes per protocol
|-
|-
-
|'''show ip eigrp topology'''|| show ip eigrp topology || Displays the EIGRP topology table
+
| '''show ip eigrp topology'''  
 +
| show ip eigrp topology  
 +
| Displays the EIGRP topology table
|-
|-
-
|'''show ip eigrp traffic'''|| show ip eigrp traffic ||Displays statistics related to EIGRP
+
| '''show ip eigrp traffic'''  
 +
| show ip eigrp traffic  
 +
| Displays statistics related to EIGRP
|-
|-
 +
| '''show ip eigrp vrf'''
 +
| show ip eigrp vrf
 +
| Displays VRF information for a specified VRF instance
|}
|}

Latest revision as of 20:49, 1 June 2012

Objective

This tech note outlines the main differences in Enhanced Interior Gateway Protocol (EIGRP) support between Cisco® NX-OS Software and Cisco IOS® Software. Sample configurations are included for Cisco NX-OS and Cisco IOS Software for some common features to demonstrate the similarities and differences. Please refer to the NX-OS documentation on Cisco.com for a complete list of supported features.


EIGRP Overview

EIGRP is a Cisco proprietary hybrid distance vector routing protocol used to exchange network reachability information within an autonomous system.


Important Cisco NX-OS and Cisco IOS Software Differences

In Cisco NX-OS:

  • The EIGRP protocol supports In-Service-Software-Upgrades (ISSU) if two supervisors are present in a chassis (Graceful Restart must be enabled).
  • EIGRP command-line interface (CLI) configuration and verification commands are not available until you enable the EIGRP feature with the feature eigrp command.
  • The EIGRP protocol requires the Enterprise Services license.
  • Only the Internet Protocol (IP) is supported. Cisco IOS Software supports IP, IPX, and Appletalk.
  • The EIGRP instance can consist of 20 characters. Cisco IOS Software supports numbers 1- 65536.
  • Eight equal-cost paths are supported by default; Cisco NX-OS supports up to sixteen.
  • Unequal cost load balancing is not supported. In Cisco IOS Software, unequal cost load balancing can be configured under an EIGRP routing instance using the variance command with an associated multiplier to select the next hop feasible successors for an IP route.
  • Route auto-summarization is disabled by default and cannot be manually configured. Most versions of Cisco IOS Software enable the auto-summary command by default, but recently this feature has been disabled in releases 12.2(33)SXI4, 12.2(33)SRE and 15.0(1)M.
  • Networks and interfaces are added to an EIGRP instance under the interface configuration mode.
  • If a router ID is not manually configured, the loopback 0 IP address is always preferred. If loopback 0 does not exist, Cisco NX-OS selects the IP address for the first loopback interface in the configuration. If no loopback interfaces exist, Cisco NX-OS selects the IP address for the first physical interface in the configuration.
  • A default route can be generated with the default-information originate command under the EIGRP instance, whereas Cisco IOS Software requires additional CLI commands to achieve similar results.
  • When interface authentication is configured, the EIGRP key is encrypted with Data Encryption Standard 3 (3DES) in the configuration. Cisco IOS Software requires the service password command.
  • Distribute-lists used to filter routes from routing updates are applied under the interface with the ip distribute-list eigrp command, as opposed to under the EIGRP router instance.
  • Maximum prefix thresholds (warning and withdraw) can be configured for redistributed routes using the redistribute maximum-prefix routing instance command. Cisco IOS Software does not have the ability to set maximum prefix thresholds for redistributed routes.
  • When configuring route redistribution under an EIGRP instance, a route-map must be specified and must be configured globally. If the route-map is empty (IE. route-map eigrp-redistribution permit 10), all routes matching the route type specified will be redistributed using the EIGRP default-metric values. If the route-map has an associate IP prefix-list and an optional EIGRP metric, routes will be filtered based on the IP prefix-list entries and their EIGRP metric will be modified based on the values specified in the set metric command under the route-map. The route-map redistribution filtering and metric modification functionality is optional in Cisco IOS Software.
  • The neighbor command under an EIGRP routing instance is not supported at this time, as it shouldn’t be required for Ethernet network topologies. Cisco IOS Software supports the neighbor command, which may be required for certain ATM and Frame-Relay WAN configurations.


Things You Should Know

The following list provides some additional facts about Cisco NX-OS that should be helpful when designing, configuring, and maintaining an EIGRP network.


  • Four EIGRP instances can be configured per virtual device context (VDC).
  • Numerous Virtual Route Forwarding (VRF) instances can be associated with an EIGRP instance.
  • If the feature eigrp command is removed, all relevant EIGRP configuration information is also removed.
  • The shutdown command can be used to gracefully disable an EIGRP instance while retaining the configuration. This feature can also be applied per interface with the ip eigrp <instance> shutdown command.
  • An EIGRP instance can be restarted with the restart eigrp <instance> Exec command.
  • Graceful restart is enabled by default (It needs to be enabled in order to perform an ISSU upgrade).
  • Multiple EIGRP instances can be configured on the same interface.
  • Secondary IP addresses are advertised by default and cannot be suppressed per interface.
  • The show running-config eigrp command displays the current EIGRP configuration.
  • EIGRP supports Bidirectional Forwarding Detection (BFD), which can be configured to reduce network convergence time to less than one second.


Configuration Comparison

The following sample code shows configuration similarities and differences between the Cisco NX-OS and Cisco IOS Software CLIs. There are three significant differences: Cisco NX-OS allows EIGRP to be enabled and disabled globally, and it has a more interface-centric configuration that makes it easier to read. In addition, Cisco NX-OS has the capability to generate a default route, whereas Cisco IOS Software requires additional CLI commands to achieve similar results.


Cisco IOS CLI Cisco NX-OS CLI
Enabling the EIGRP Feature
Cisco IOS Software does not have the ability to enable or disable EIGRP. feature eigrp
Configuring an EIGRP Instance and Router ID
router eigrp 10

eigrp router-id 192.168.1.1

router eigrp 10

router-id 192.168.1.1

Associating a Network with an EIGRP Instance
router eigrp 10

network 192.168.10.0

interface Ethernet2/1

ip address 192.168.10.1/24

ip router eigrp 10

Configuring a Passive Interface
router eigrp 10

network 192.168.10.0 passive-interface GigabitEthernet2/1

interface Ethernet2/1

ip address 192.168.10.1/24

ip router eigrp 10

ip passive-interface eigrp 10

Configuring Interface Authentication (MD5)
key chain eigrp-key

key 1 key-string cisco123
interface GigabitEthernet2/1 ip address 192.168.10.1 255.255.255.0 ip authentication mode eigrp 10 md5 ip authentication key-chain eigrp 10 eigrp-key

key chain eigrp-key

key 1 key-string 7 070c285f4d06485744


interface Ethernet2/1

ip address 192.168.10.1/24

ip router eigrp 10

ip authentication mode eigrp 10 md5

ip authentication key-chain eigrp 10 eigrp-key

Configuring an EIGRP Distribution List to Filter Routes
ip prefix-list eigrp-10-list seq 5 permit 159.142.1.0/24


router eigrp 10
network 192.168.10.0 distribute-list prefix eigrp-10-list out GigabitEthernet2/1

ip prefix-list eigrp-10-list seq 5 permit 159.142.1.0/24


interface Ethernet2/1

ip address 192.168.10.1/24

ip router eigrp 10

ip distribute-list eigrp 10 prefix-list eigrp-10-list out

Configuring Route Summarization
interface GigabitEthernet2/1

ip address 192.168.10.1 255.255.255.0 ip summary-address eigrp 10 159.142.0.0 255.255.0.0 5

interface Ethernet2/1

ip address 192.168.10.1/24

ip router eigrp 10

ip summary-address eigrp 10 159.142.0.0/16

Generating A Default Route (Conditional)
Cisco IOS Software doesn’t have the same CLI to generate a default route, but redistribution or the ip summary address command can be used to achieve similar results. router eigrp 10

default-information originate

Configuring Route Redistribution (Permit all Static Routes)
router eigrp 10

redistribute static

router eigrp 10

redistribute static route-map static-to-eigrp


route-map static-to-eigrp permit 10

Configuring a VRF Instance for EIGRP Routing
router eigrp 10

address-family ipv4 vrf customer-a autonomous-system 20

router eigrp 10

vrf customer-a

autonomous-system 20



Verification Command Comparison

The following table compares some useful show commands for verifying and troubleshooting an EIGRP network configuration.


Cisco NX-OS EIGRP Cisco IOS Software EIGRP Command Description
show ip eigrp - Displays global EIGRP information for all instances
show ip eigrp <instance> show ip eigrp <#> Displays global EIGRP information for a specific instance
show ip eigrp accounting show ip eigrp accounting Displays the number of prefixes that each neighbor advertised
show ip eigrp interfaces show ip eigrp interfaces Displays interfaces configured for EIGRP
show ip eigrp interfaces detail show ip eigrp interfaces detail Displays detailed interface information
show ip eigrp neighbors show ip eigrp neighbors Displays currently connected neighbors
show ip eigrp neighbors detail show ip eigrp neighbors detail Displays connected neighbors and associated details
show ip eigrp route - Displays EIGRP routes
show ip eigrp route-map statistics redistribute <protocol> - Displays statistics for redistributed routes per protocol
show ip eigrp topology show ip eigrp topology Displays the EIGRP topology table
show ip eigrp traffic show ip eigrp traffic Displays statistics related to EIGRP
show ip eigrp vrf show ip eigrp vrf Displays VRF information for a specified VRF instance

Rating: 4.7/5 (19 votes cast)

Personal tools