Table of Contents

Cisco EIGRP CLI Commands and Configuration Examples



Commands

Checking

Operation Command
check routing
C - connected
S - static
E - EIGRP
router# show ip route
router# show ip protocols
router# show ip eigrp interfaces
router# show ip eigrp traffic
router# show ip eigrp neighbors
router# show ip eigrp topology
Router# show ip eigrp interfaces
 
EIGRP-IPv4 Interfaces for AS(60)
 
Xmit Queue Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable SRTT Un/Reliable Flow Timer Routes
Di0 0 0/0 0 11/434 0 0
Et0 1 0/0 337 0/10 0 0
SE0:1.16 1 0/0 10 1/63 103 0
Tu0 1 0/0 330 0/16 0 0
Router# show ip eigrp traffic
 
EIGRP-IPv4 Traffic Statistics for AS(60)
Hellos sent/received: 21429/2809
Updates sent/received: 22/17
Queries sent/received: 0/0
Replies sent/received: 0/0
Acks sent/received: 16/13
SIA-Queries sent/received: 0/0
SIA-Replies sent/received: 0/0
Hello Process ID: 204
PDM Process ID: 203
Socket Queue: 0/2000/2/0 (current/max/highest/drops)
Input Queue: 0/2000/2/0 (current/max/highest/drops)
Router# show ip eigrp neighbors
 
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
0 10.1.1.2 Et0/0 13 00:00:03 1996 5000 0 5
2 10.1.1.9 Et0/0 14 00:02:24 206 5000 0 5
1 10.1.2.3 Et0/1 11 00:20:39 2202 5000 0 5
Router# show ip eigrp topology
 
EIGRP-IPv4 Topology Table for AS(1)/ID(10.0.0.1)
 
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - Reply status, s - sia status
P 10.0.0.0/8, 1 successors, FD is 409600
via 1.1.1.2 (409600/128256), Ethernet0/0
P 172.16.1.0/24, 1 successors, FD is 409600
via 1.1.1.2 (409600/128256), Ethernet0/0
P 10.0.0.0/8, 1 successors, FD is 281600
via Summary (281600/0), Null0
P 10.0.1.0/24, 1 successors, FD is 281600
via Connected, Ethernet0/0


Example

Example1

 192.168.0.0/24      192.168.1.0/24      192.168.2.0/24      192.168.3.0/24 
----------------[R1]----------------[R2]----------------[R3]-----------------
             .1      .1          .2      .2          .3      .3
R1(config)# router eigrp 1
R1(config-router)# network 192.168.0.1  0.0.0.255
R1(config-router)# network 192.168.1.1  0.0.0.255
R2(config)# router eigrp 1
R2(config-router)# network 192.168.1.2  0.0.0.255
R2(config-router)# network 192.168.2.2  0.0.0.255
R3(config)# router eigrp 1
R3(config-router)# network 192.168.2.3  0.0.0.255
R3(config-router)# network 192.168.3.3  0.0.0.255




Example2

(config)# router eigrp 1
(config-router)# network 192.168.1.0 0.0.0.255
(config-router)# network 192.168.2.0 0.0.0.255
(config-router)# passive-interface GigabitEthernet0/0