Configuring EIGRP
Problem
You want to run EIGRP on a simple network.
Solution
The following commands configure EIGRP on one router in a simple network:
Router1#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router1(config)#interface
Router1(config-if)#
Ethernet0
ip address
Router1(config-if)#
192.168.20.1 255.255.255.0
exit
Router1(config)#interface
Serial0.1
point-to-point
Router1(config-subif)#ip address
Router1(config-subif)#
172.25.2.2 255.255.255.252
exit
Router1(config)#router eigrp
Router1(config-router)#
55
network
Router1(config-router)#
172.25.0.0
network
Router1(config-router)#
192.168.20.0
exit
Router1(config)#end
Router1#
Naturally you would need to configure the other routers in this
network to also exchange routing information using EIGRP process
number 55
. For example:
Router2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router2(config)#interface
Serial0.1
point-to-point
Router2(config-subif)#ip address
Router2(config-subif)#
172.25.2.1 255.255.255.252
exit
Router2(config)#router eigrp
Router2(config-router)#
55
network
Router2(config-router)#
172.25.0.0
exit
Router2(config)#end
Router2#
Discussion
This example shows how simple the basic EIGRP configuration is.
To get the standard default functionality, you only need to enable
EIGRP and add at least one network
statement. In the example, we have set the EIGRP process ID
numbers on both routers to 55
:
Router1(config)#router eigrp
55
This process ID number, which ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.