search the web

Sunday, October 11, 2015

How to configure EIGRP

Configuring EIGRP

----------------------------------------------------------------
R4
---------------------------------------------------------------
conf t
no router ospf 1

router eigrp 10
!This 10 is the autonomous system number, it must be same on all eigrp speaking routers.
!it is from 1 - 65535

network 192.168.4.0
!If we advertise network like the above command, it will advertise the network with default mask. but we can also advertise with wild card mask

network 192.168.4.0 0.0.0.255
network 192.168.5.0 0.0.0.255
exit

----------------------
BB
----------------------
conf t
no router ospf 1

router eigrp 10
network 192.168.0.0 0.0.255.255

!Through this command we have instructed EIGRP to enable EIGRP on all those interfaces which starts from 192.168 and dont care about the last 2 octet
exit

------------------------------------
R3
------------------------------------
conf t
no router ospf 1
router eigrp 10
network 192.168.3.0 0.0.0.255
network 192.168.5.0 0.0.0.255
exit

-----------------------------------------
R1
-----------------------------------------
conf t

interface loop 0
ip address 172.16.0.1 255.255.255.0
no shut
exit
interface loop 1
ip address 172.16.1.1 255.255.255.0
no shut
exit
interface loop 2
ip address 172.16.2.1 255.255.255.0
no shut
exit
interface loop 3
ip address 172.16.3.1 255.255.255.0
no shut
exit
interface loop 4
ip address 172.16.4.1 255.255.255.0
no shut
exit
interface loop 5
ip address 172.16.5.1 255.255.255.0
no shut
exit
interface loop 6
ip address 172.16.6.1 255.255.255.0
no shut
exit

interface loop 7
ip address 172.16.7.1 255.255.255.0
no shut
exit

no router ospf 1

router eigrp 10
network 192.168.1.0
network 172.16.0.0

!IF we advertise the networks like we did above, R1 will tell all the routers that all the networks of class B 172.16.0.0 is here with me.

!The command that we will apply is to instruct EIGRP not to auto-summarize. It is recommened to apply the no auto-summary on all the eigrp routers, because it is good to manually configure EIGRP rather than leaving it by default.

no auto-summary



! To summarize route towards the backbone we apply the summary address on the interface connected to backbone

R1
conf t
interface s0
ip summary-address eigrp 10 172.16.0.0 255.255.248.0
exit
exit

for initial configuration of Router, switch or AP visit link below
initial configuration of Router, Switch or AP

No comments: