Professional Documents
Culture Documents
CCNARoutingandSwitchingPortableCommandGuide:EnhancedInteriorGatewayRoutingProtocol(EIGRP)|ConfiguringEnhancedInteriorG
CCNARoutingandSwitchingPortable
CommandGuide:EnhancedInteriorGateway
RoutingProtocol(EIGRP)
Date:Jun24,2013ByScottEmpson.SampleChapterisprovidedcourtesyofCiscoPress.
TheexcerptfromTheCCNARoutingandSwitchingPortableCommandGuide
summarizesallCCNAcertificationlevelCiscoIOSSoftwarecommands,keywords,
commandarguments,andassociatedpromptsfortopicsrelatedtotheEnhancedInterior
GatewayRoutingProtocol(EIGRP).
Thischapterprovidesinformationandcommandsconcerningthefollowingtopics:
ConfiguringEnhancedInteriorGatewayRoutingProtocol(EIGRP)
EIGRPautosummarization
EIGRPmanualsummarization
PassiveEIGRPinterfaces
Equalcostloadbalancing:Maximumpaths
Unequalcostloadbalancing:variance
Bandwidthuse
Authentication
VerifyingEIGRP
TroubleshootingEIGRP
Configurationexample:EIGRP
ConfiguringEnhancedInteriorGatewayRoutingProtocol(EIGRP)
Router(config)#router
eigrp100
Router(config
router)#network10.0.0.0
Router(config
if)#bandwidthx
Router(config
router)#eigrplog
neighborchanges
Router(configrouter)#no
network10.0.0.0
Router(config)#norouter
http://www.ciscopress.com/articles/printerfriendly/2101519
TurnsontheEIGRPprocess.
100istheautonomoussystem
(AS)number,whichcanbea
numberbetween1and65,535.
Allroutersinthesame
autonomoussystemmustusethe
sameautonomoussystem
number.
Specifieswhichnetworkto
advertiseinEIGRP.
Setsthebandwidthofthis
interfacetoxkilobitstoallow
EIGRPtomakeabettermetric
calculation.
NOTEThiscommandisentered
attheinterfacecommandprompt
(configif)andnotintherouter
processprompt(configrouter).
Thesettingcandifferforeach
interfacetowhichitisapplied.
TIPThebandwidthcommand
isusedformetriccalculations
only.Itdoesnotchangeinterface
performance.
Changeswithneighborswillbe
displayed.
Removesthenetworkfromthe
EIGRPprocess.
Disablesroutingprocess100and
1/9
17/10/2016
CCNARoutingandSwitchingPortableCommandGuide:EnhancedInteriorGatewayRoutingProtocol(EIGRP)|ConfiguringEnhancedInteriorG
Router(config)#norouter
eigrp100
Disablesroutingprocess100and
removestheentireEIGRP
configurationfromtherunning
configuration.
Router(config
router)#network10.0.0.0
0.255.255.255
Identifieswhichinterfacesor
networkstoincludeinEIGRP.
Interfacesmustbeconfigured
withaddressesthatfallwithinthe
wildcardmaskrangeofthe
networkstatement.Anetwork
maskcanalsobeusedhere.
TIP
Theuseofawildcardmaskornetworkmaskisoptional.
TIP
Thereisnolimittothenumberofnetworkstatements(thatis,networkcommands)thatyou
canconfigureonarouter.
TIP
Ifyouusethenetwork172.16.1.00.0.0.255commandwithawildcardmask,inthis
examplethecommandspecifiesthatonlyinterfacesonthe172.16.1.0/24subnetwill
participateinEIGRP.However,becauseEIGRPautomaticallysummarizesroutesonthe
majornetworkboundarybydefault,thefullClassBnetworkof172.16.0.0willbe
advertised.
TIP
Ifyoudonotusetheoptionalwildcardmask,theEIGRPprocessassumesthatalldirectly
connectednetworksthatarepartoftheoverallmajornetworkwillparticipateintheEIGRP
processandthatEIGRPwillattempttoestablishneighborrelationshipsfromeachinterface
thatispartofthatClassA,B,orCmajornetwork.
Router(config
router)#metric
weightstosk1k2
k3k4k5
Changesthedefaultkvaluesusedin
metriccalculation.
Thesearethedefaultvalues:
tos=0,k1=1,k2=0,k3=1,k4=0,k5=0
NOTE
tosisareferencetotheoriginalInteriorGatewayRoutingProtocol(IGRP)intentiontohave
IGRPperformtypeofservicerouting.Becausethiswasneveradoptedintopractice,the
tosfieldinthiscommandisalwayssettozero(0).
NOTE
Withdefaultsettingsinplace,themetricofEIGRPisreducedtotheslowestbandwidthplus
thesumofallthedelaysoftheexitinterfacesfromthelocalroutertothedestination
network.
TIP
FortworouterstoformaneighborrelationshipinEIGRP,thekvaluesmustmatch.
CAUTION
Unlessyouareveryfamiliarwithwhatisoccurringinyournetwork,itisrecommendedthat
youdonotchangethekvalues.
EIGRPAutoSummarization
Router(config
router)
#autosummary
Enablesautosummarizationforthe
EIGRPprocess.
NOTEThebehavioroftheauto
http://www.ciscopress.com/articles/printerfriendly/2101519
2/9
17/10/2016
CCNARoutingandSwitchingPortableCommandGuide:EnhancedInteriorGatewayRoutingProtocol(EIGRP)|ConfiguringEnhancedInteriorG
NOTEThebehavioroftheauto
summarycommandisdisabledby
defaultofCiscoIOSSoftwareVersions
15andlater.Earliersoftwaregenerally
hasautomaticsummarizationenabled
bydefault.
Router(config
router)
#noautosummary
Turnsofftheautosummarization
feature.
EIGRPManualSummarization
Router(config)#interface
fastethernet0/0
Entersinterfaceconfigurationmode.
Router(configif)#ip
summaryaddresseigrp
10010.10.0.0
255.255.0.075
Enablesmanualsummarizationfor
EIGRPautonomoussystem100on
thisspecificinterfaceforthegiven
addressandmask.Anadministrative
distanceof75isassignedtothis
summaryroute.
NOTETheadministrativedistance
argumentisoptionalinthiscommand.
Withoutit,anadministrativedistance
of5isautomaticallyappliedtothe
summaryroute.
CAUTION
EIGRPautomaticallysummarizesnetworksattheclassfulboundary.Apoorlydesigned
networkwithdiscontiguoussubnetscouldhaveproblemswithconnectivityifthe
summarizationfeatureislefton.Forinstance,youcouldhavetworoutersadvertisethe
samenetwork172.16.0.0/16wheninfacttheywantedtoadvertisetwodifferent
networks172.16.10.0/24and172.16.20.0/24.
Recommendedpracticeisthatyouturnoffautomaticsummarizationifnecessary,usethe
ipsummaryaddresscommand,andsummarizemanuallywhatyouneedto.
PassiveEIGRPInterfaces
Router(config)#routereigrp
110
Router(config
router)#network10.0.0.0
Router(config
router)#passiveinterface
fastethernet0/0
Router(configrouter)
#passiveinterfacedefault
Router(config)#nopassive
interfaceserial0/0/1
StartstheEIGRProuting
process.
Specifiesanetworkto
advertiseintheEIGRProuting
process.
Preventsthesendingofhello
packetsouttheFastEthernet
0/0interface.Noneighbor
adjacencywillbeformed.
Preventsthesendingofhello
packetsoutallinterfaces.
Enableshellopacketstobe
sentoutinterfaceSerial0/0/1,
therebyallowingneighbor
adjacenciestoform
EqualCostLoadBalancing:MaximumPaths
Router(config)#routereigrp100
Router(configrouter)#network
http://www.ciscopress.com/articles/printerfriendly/2101519
Createsroutingprocess
100
Specifieswhichnetworkto
3/9
17/10/2016
CCNARoutingandSwitchingPortableCommandGuide:EnhancedInteriorGatewayRoutingProtocol(EIGRP)|ConfiguringEnhancedInteriorG
Router(configrouter)#network
10.0.0.0
Specifieswhichnetworkto
advertiseinEIGRP
Router(configrouter)#maximum
paths6
Setthemaximumnumber
ofparallelroutesthat
EIGRPwillsupportto6
NOTE
Withthemaximumpathsrouterconfigurationcommand,upto32equalcostentriescan
beintheroutingtableforthesamedestination.Thedefaultisfour.
NOTE
Settingthemaximumpathto1disablesloadbalancing.
UnequalCostLoadBalancing:Variance
Router(config)#routereigrp
100
Createsroutingprocess100
Specifieswhichnetworkto
advertiseinEIGRP
Router(configrouter)#variance Instructstheroutertoinclude
n
routeswithametriclessthan
orequaltontimesthe
minimummetricrouteforthat
destination,wherenisthe
numberspecifiedbythe
variancecommand
Router(configrouter)#network
10.0.0.0
NOTE
Ifapathisnotafeasiblesuccessor,itisnotusedinloadbalancing.
NOTE
EIGRPsupportsuptosixunequalcostpaths.
BandwidthUse
Router(config)#interface
serial0/0/0
Entersinterfaceconfigurationmode.
Router(configif)
#bandwidth256
Setsthebandwidthofthisinterfaceto
256kilobitstoallowEIGRPtomakea
bettermetriccalculation.
Router(configif)#ip
bandwidthpercenteigrp
50100
Configuresthepercentageof
bandwidththatmaybeusedby
EIGRPonaninterface.
50istheEIGRPautonomoussystem
number.
100isthepercentagevalue.
100%*256=256kbps.
NOTE
Bydefault,EIGRPissettouseonlyupto50percentofthebandwidthofaninterfaceto
exchangeroutinginformation.Valuesgreaterthan100percentcanbeconfigured.This
configurationoptionmightproveusefulifthebandwidthissetartificiallylowforother
reasons,suchasmanipulationoftheroutingmetricortoaccommodateanoversubscribed
multipointFrameRelayconfiguration.
NOTE
http://www.ciscopress.com/articles/printerfriendly/2101519
4/9
17/10/2016
CCNARoutingandSwitchingPortableCommandGuide:EnhancedInteriorGatewayRoutingProtocol(EIGRP)|ConfiguringEnhancedInteriorG
Theipbandwidthpercentcommandreliesonthevaluesetbythebandwidthcommand.
Authentication
Router(config)#interface
serial0/0/0
Entersinterfaceconfigurationmode.
EnablesMessageDigest5algorithm
(MD5)authenticationinEIGRP
packetsovertheinterface.
Router(configif)#ip
EnablesauthenticationofEIGRP
authenticationkeychain packets.
Router(configif)#ip
authenticationmode
eigrp100md5
eigrp100romeo
romeoisthenameofthekeychain.
Router(configif)#exit
Returnstoglobalconfigurationmode.
Router(config)#keychain Identifiesakeychain.Thename
romeo
mustmatchthenameconfiguredin
interfaceconfigurationmodeabove.
Router(config
Identifiesthekeynumber.
keychain)#key1
NOTETherangeofkeysisfrom0
to2147483647.Thekeyidentification
numbersdonotneedtobe
consecutive.Atleast1keymustbe
definedonakeychain.
Router(configkeychain Identifiesthekeystring.
key)#keystring
shakespeare
NOTEThestringcancontainfrom
1to80uppercaseandlowercase
alphanumericcharacters,exceptthat
thefirstcharactercannotbea
number.
Router(configkeychain Optionallyspecifiestheperiodduring
key)#acceptlifetime
whichthekeycanbereceived.
starttime{infinite|
endtime|duration
seconds}
NOTEThedefaultstarttimeand
theearliestacceptabledateis
January1,1993.Thedefaultend
timeisaninfiniteperiod.
Router(configkeychain
key)#sendlifetime
starttime{infinite|
endtime|duration
seconds}
Optionallyspecifiestheperiodduring
whichthekeycanbesent.
NOTEThedefaultstarttimeand
theearliestacceptabledateis
January1,1993.Thedefaultend
timeisaninfiniteperiod.
NOTE
Forthestarttimeandtheendtimetohaverelevance,ensurethattherouterknowsthe
correcttime.RecommendedpracticedictatesthatyourunNetworkTimeProtocol(NTP)or
someothertimesynchronizationmethodifyouintendtosetlifetimesonkeys.
VerifyingEIGRP
http://www.ciscopress.com/articles/printerfriendly/2101519
5/9
17/10/2016
CCNARoutingandSwitchingPortableCommandGuide:EnhancedInteriorGatewayRoutingProtocol(EIGRP)|ConfiguringEnhancedInteriorG
Router#showip
eigrpneighbors
Displaystheneighbortable.
Router#showip
eigrpneighbors
detail
Displaysadetailedneighbortable.
Router#showip
eigrpinterfaces
TIPTheshowipeigrpneighbors
detailcommandverifieswhethera
neighborisconfiguredasastubrouter.
Showsinformationforeachinterface.
Router#showip
eigrpinterfaces
serial0/0/0
Showsinformationforaspecific
interface.
Router#showip
eigrpinterfaces
100
Showsinformationforinterfacesrunning
process100.
Router#showip
eigrptopology
Displaysthetopologytable.
Router#showip
eigrptraffic
Router#showip
route
Router#showip
routeeigrp
Router#showip
protocols
Router#showkey
chain
TIPTheshowipeigrptopology
commandshowsyouwhereyour
feasiblesuccessorsare.
Showsthenumberandtypeofpackets
sentandreceived.
Showsthecompleteroutingtable.
ShowsaroutingtablewithonlyEIGRP
entries.
Showstheparametersandcurrentstate
oftheactiveroutingprotocolprocess.
Showsauthenticationkeyinformation.
TroubleshootingEIGRP
Router#debugeigrp
fsm
Displaysevents/actionsrelatedto
EIGRPfeasiblesuccessormetrics
(FSM)
Router#debugeigrp
packet
Displaysevents/actionsrelatedto
EIGRPpackets
Displaysevents/actionsrelatedtoyour
EIGRPneighbors
Displaysevents/actionsrelatedto
EIGRPprotocolpackets.
Displaysevents/actionsrelatedtoyour
EIGRPneighbors
DisplaysEIGRPeventnotifications
Router#debugeigrp
neighbor
Router#debugip
eigrp
Router#debugip
eigrpneighbor
Router#debugip
eigrpnotifications
ConfigurationExample:EIGRP
http://www.ciscopress.com/articles/printerfriendly/2101519
6/9
17/10/2016
CCNARoutingandSwitchingPortableCommandGuide:EnhancedInteriorGatewayRoutingProtocol(EIGRP)|ConfiguringEnhancedInteriorG
Figure81illustratesthenetworktopologyfortheconfigurationthatfollows,whichshows
howtoconfigureEIGRPusingthecommandscoveredinthischapter.
Figure81NetworkTopologyforEIGRPConfiguration
AustinRouter
Movestoprivilegedmode.
Austin#configureterminal Movestoglobalconfiguration
mode.
Austin(config)#interface Entersinterfaceconfiguration
serial0/0/0
mode.
Austin(configif)#ip
AssignstheIPaddressand
address172.16.20.1
netmask.
Austin>enable
255.255.255.0
Austin(configif)#ip
authenticationmode
eigrp100md5
EnablesMD5authenticationin
EIGRPpackets.
Austin(configif)#ip
authenticationkeychain
eigrp100susannah
EnablesauthenticationofEIGRP
packets.
susannahisthenameofthekey
chain.
Enablestheinterface.
Austin(configif)#no
shutdown
Austin(config
if)#interface
fastethernet0/1
Entersinterfaceconfiguration
mode.
Austin(configif)#ip
address172.16.10.1
255.255.255.0
AssignstheIPaddressand
netmask.
Austin(configif)#no
shutdown
Enablestheinterface.
Austin(configif)#router
eigrp100
EnablesEIGRProuting.
Austin(configrouter)#no
autosummary
Disablesautosummarization.
Austin(config
router)#eigrplog
neighborchanges
Changeswithneighborswillbe
displayed.
Austin(config
router)#network
172.16.0.0
Advertisesdirectlyconnected
networks(classfuladdressonly).
Preventsthesendingofhello
packetsouttheFastEthernet0/1
interface.Noneighboradjacency
willbeformed.
Austin(configrouter)#key Identifiesakeychainname,which
chainsusannah
mustmatchthenameconfigured
ininterfaceconfigurationmode.
Austin(config
router)#passiveinterface
fastethernet0/1
http://www.ciscopress.com/articles/printerfriendly/2101519
7/9
17/10/2016
CCNARoutingandSwitchingPortableCommandGuide:EnhancedInteriorGatewayRoutingProtocol(EIGRP)|ConfiguringEnhancedInteriorG
Austin(config
keychain)#key1
Identifiesthekeynumber.
Austin(configkeychain
key)#keystringtower
Identifiesthekeystring.
Austin(configkeychain
key)#acceptlifetime
06:30:00Apr192013
infinite
Specifiestheperiodduringwhich
thekeycanbereceived.
Austin(configkeychain
key)#sendlifetime
06:30:00Apr192013
09:45:00Apr192013
Specifiestheperiodduringwhich
thekeycanbesent.
Austin(configkeychain
key)#exit
Returnstoglobalconfiguration
mode.
Returnstoprivilegedmode
Savestheconfigurationto
NVRAM.
Austin(config)#exit
Austin#copyrunning
configstartupconfig
HoustonRouter
Movestoprivilegedmode.
Houston#configureterminal Movestoglobalconfiguration
mode.
Houston(config)#interface
Entersinterfaceconfiguration
serial0/0/1
mode.
Houston(configif)#ip
AssignstheIPaddressand
address172.16.20.2
netmask.
Houston>enable
255.255.255.0
Houston(configif)#ip
authenticationmodeeigrp
100md5
EnablesMD5authenticationin
EIGRPpackets.
Houston(configif)#ip
authenticationkeychain
eigrp100eddie
EnablesauthenticationofEIGRP
packets.eddieisthenameof
thekeychain.
Setstheclockrate.
Houston(configif)#clock
rate56000
Houston(configif)#no
shutdown
Enablestheinterface.
Houston(config
if)#interfacefastethernet
0/1
Entersinterfaceconfiguration
mode.
Houston(configif)#ip
address172.16.30.1
255.255.255.0
AssignstheIPaddressand
netmask.
Houston(configif)#no
shutdown
Enablestheinterface.
Houston(configif)#router
eigrp100
EnablesEIGRProuting.
Houston(configrouter)#no
autosummary
Disablesautosummarization.
Houston(config
router)#eigrplogneighbor
changes
Changeswithneighborswillbe
displayed.
Houston(config
router)#network172.16.0.0
Advertisesdirectlyconnected
networks(classfuladdressonly).
Houston(config
router)#passiveinterface
http://www.ciscopress.com/articles/printerfriendly/2101519
8/9
17/10/2016
CCNARoutingandSwitchingPortableCommandGuide:EnhancedInteriorGatewayRoutingProtocol(EIGRP)|ConfiguringEnhancedInteriorG
Preventsthesendingofhello
packetsouttheFastEthernet
0/1interface.Noneighbor
adjacencywillbeformed.
Houston(configrouter)#key Identifiesakeychainname,
chaineddie
whichmustmatchthename
configuredininterface
configurationmode.
Houston(config
Identifiesthekeynumber.
fastethernet0/1
keychain)#key1
Houston(configkeychain
key)#keystringtower
Identifiesthekeystring.
Houston(configkeychain
key)#acceptlifetime
06:30:00Apr192013
infinite
Specifiestheperiodduring
whichthekeycanbereceived.
Houston(configkeychain
key)#sendlifetime06:30:00
Apr19201309:45:00Apr19
2013
Specifiestheperiodduring
whichthekeycanbesent.
Returnstoglobalconfiguration
mode.
Houston(config)#exit
Returnstoprivilegedmode.
Houston#copyrunningconfig Savestheconfigurationto
startupconfig
NVRAM.
Houston(configkeychain
key)#exit
2016PearsonEducation,CiscoPress.Allrightsreserved.
800East96thStreet,Indianapolis,Indiana46240
http://www.ciscopress.com/articles/printerfriendly/2101519
9/9