search the web

Wednesday, February 17, 2016

Configuring EIGRP updated

Configuring EIGRP updated

--------------------------------------------
R1
--------------------------------------------
show ip route
!Check the connected routes and advertise them through eigrp
conf t
router eigrp 100
!This command will enable eigrp for autonomous system 100, now the autonomous system must be same on all the routers to communicate through EIGRP.

network 192.168.100.0 0.0.0.255
!This command advertises the network through EIGRP
network 192.168.0.0
!Through this command we can also advertise the EIGRP, and it shows its ease of configuration like RIP.

no auto-summary
!The no auto-summary command tells eigrp not to summarize the route itself but eigrp has to look the mask. we do this because in the above command we advertised the network with default mask, now the eigrp will have a look at the interface and will pick the mask from there.
exit

--------------------------------------------------
R2
--------------------------------------------------
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

router eigrp 100
network 192.168.200.0 0.0.0.255
network 192.168.0.0 0.0.0.255
network 172.16.0.0 0.0.7.255
no auto-summary
exit
exit

---------------------------------------------------------
R3
---------------------------------------------------------
conf t
router eigrp 100
network 192.168.100.0
network 192.168.200.0
no auto-summary
exit
exit

Now to do route summarizaion on router 2
we apply the following commands
conf t
int s1
ip summary-address eigrp 100 172.16.0.0 255.255.248.0
exit
int e0
ip summary-address eigrp 100 172.16.0.0 255.255.248.0
exit

Unequal cost load balancing on R3
conf t
router eigrp 100
varianc 20
!This command tells eigrp to load balance on other paths, if they are even 20 times bad then the primary path.

To clear the routing table
clear ip route *

to clear the eigrp neighbors

clear ip eigrp neighbors

After this command new neighbor relationship will be formed


For initial configuration of Router, Switch or AP click
initial configuration of Router, Switch or AP



No comments: