Wednesday, June 17, 2015

EIGRP NX-OS / IOS CLI

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

No comments:

Post a Comment