Site Tools


cisco:labs:00500

Lab 00500 EIGRP 2 Routers, IOS-XE

Router 1

en
conf t
router eigrp 1
 network 1.1.1.1 0.0.0.0
 network 12.0.0.1 0.0.0.0

Router 2

en
conf t
router eigrp 1
 network 2.2.2.2 0.0.0.0
 network 12.0.0.2 0.0.0.0

Verification

r1#ping 2.2.2.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/3 ms
r1#show ip route | b Gate
Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
C        1.1.1.1 is directly connected, Loopback0
      2.0.0.0/32 is subnetted, 1 subnets
D        2.2.2.2 [90/130816] via 12.0.0.2, 00:01:46, GigabitEthernet1
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.0.0.0/24 is directly connected, GigabitEthernet1
L        12.0.0.1/32 is directly connected, GigabitEthernet1
r1#show ip eigrp nei
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   12.0.0.2                Gi1                      11 00:02:34    2   100  0  4
r1#show ip eigrp topology
EIGRP-IPv4 Topology Table for AS(1)/ID(1.1.1.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status 

P 12.0.0.0/24, 1 successors, FD is 2816
        via Connected, GigabitEthernet1
P 2.2.2.2/32, 1 successors, FD is 130816
        via 12.0.0.2 (130816/128256), GigabitEthernet1
P 1.1.1.1/32, 1 successors, FD is 128256
        via Connected, Loopback0
r1#show ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(1)
                              Xmit Queue   PeerQ        Mean   Pacing Time   Multicast    Pending
Interface              Peers  Un/Reliable  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
Gi1                      1        0/0       0/0           2       0/0           50           0
Lo0                      0        0/0       0/0           0       0/0            0           0
r2#ping 1.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/3 ms
r2#show ip route | b Gate
Gateway of last resort is not set

      1.0.0.0/32 is subnetted, 1 subnets
D        1.1.1.1 [90/130816] via 12.0.0.1, 00:04:33, GigabitEthernet1
      2.0.0.0/32 is subnetted, 1 subnets
C        2.2.2.2 is directly connected, Loopback0
      12.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
C        12.0.0.0/24 is directly connected, GigabitEthernet1
L        12.0.0.2/32 is directly connected, GigabitEthernet1
r2#show ip eigrp nei
EIGRP-IPv4 Neighbors for AS(1)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
0   12.0.0.1                Gi1                      11 00:04:38    1   100  0  3
r2#show ip eigrp topology
EIGRP-IPv4 Topology Table for AS(1)/ID(2.2.2.2)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status 

P 12.0.0.0/24, 1 successors, FD is 2816
        via Connected, GigabitEthernet1
P 2.2.2.2/32, 1 successors, FD is 128256
        via Connected, Loopback0
P 1.1.1.1/32, 1 successors, FD is 130816
        via 12.0.0.1 (130816/128256), GigabitEthernet1
r2#show ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(1)
                              Xmit Queue   PeerQ        Mean   Pacing Time   Multicast    Pending
Interface              Peers  Un/Reliable  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Routes
Gi1                      1        0/0       0/0           1       0/0           50           0
Lo0                      0        0/0       0/0           0       0/0            0           0

TCL Script

r1#tclsh
r1(tcl)#foreach ipaddr {
+>(tcl)#12.0.0.2
+>(tcl)#2.2.2.2
+>(tcl)#} { ping $ipaddr }
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.0.0.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 2.2.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
r1(tcl)#tclquit
r2#tclsh
r2(tcl)#foreach ipaddr {
+>(tcl)#12.0.0.1
+>(tcl)#1.1.1.1
+>(tcl)#} { ping $ipaddr }
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.0.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/2 ms
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
r2(tcl)#tclquit
cisco/labs/00500.txt · Last modified: by Name