Professional Documents
Culture Documents
Ccie Routing Switching
Ccie Routing Switching
www.MicronicsTraining.com
NarbikKocharians
CCIE#12410
R&S,Security,SP
3550/3560
Answers
CAT1 CAT2
R1
F0/1 F0/1
F0/0F0/1
R2
F0/2 F0/2
F0/0F0/1
R3
R3F0/3 F0/3
F0/0 F0/1
R4
F0/4 F0/4
F0/0F0/1
R5
F0/5 F0/5
F0/0F0/1
R6
F0/6 F0/6
F0/0 F0/1
F0/19
F0/19
F0/20
SW3 SW4
CAT1 SW4
F0/7
F0/8
CAT2 SW3
F0/7
F0/8
Task1
ConfigurethefirstandthesecondswitchtobeinVTPdomaincalledCCIE
BeforeassigningaVTPdomainname,theremustbeatrunkestablishedbetween
thetwoswitchessotheconfigurationswillbepropagatedtotheotherswitch.
Onboth switches
Switch#Showinterfacetrunk
Switch#
Notethetwo3560sswitchesareconnectedwith 2crossoverethernetcables,ifthese
switcheswere3550s,thetwo portswouldhavenegotiatedanISLtrunk,actually
theywouldshowupasnisl,thisisbecausebydefaulttheportswereconfigured
indesirablemode.With3560switches,theportsarenotindesirablemode,ashow
runintf0/19willrevealthisinformation,andtherefore,theport/smustbe
configuredstaticallytotrunkornegotiateatrunk.
OnBothswitches:
Switch#Showcdpneighbors
CapabilityCodes:RRouter,T TransBridge,BSourceRouteBridge
S Switch,HHost, I IGMP,r Repeater,P Phone
DeviceIDLocalIntrfceHoldtmeCapabilityPlatform PortID
Switch Fas0/22 178SI WSC35602Fas0/22
Switch Fas0/21 178SI WSC35602Fas0/21
Switch Fas0/20 178SI WSC35602Fas0/20
Switch Fas0/19 177SI WSC35602Fas0/19
Switch Fas0/7 178SI WSC35602Fas0/7
Switch Fas0/8 177SI WSC35602Fas0/8
NotetheShowcdpneighborscommandrevealstheportsconnectingthetwo
switches.Theoutputmaybedifferent.
Switch(config)#intrangef0/1920
Switch(configifrange)#switchporttrunkencapsulationisl
Switch(configifrange)#switchportmodetrunk
Toverifytheconfiguration:
On thefirstswitches:
Switch#Showinttrunk
PortVlansallowedontrunk
Fa0/1914094
Fa0/2014094
PortVlansallowedandactiveinmanagementdomain
Fa0/191
Fa0/201
PortVlansinspanningtreeforwardingstateandnotpruned
Fa0/191
Fa0/20 none
Nowthatthetrunkisestablishedbetweenthetwoswitches,youcangoonwithVTP
configurationasfollows:
Onthefirstswitch
Switch(config)#VTPdomainCCIE
Bydefaultthe3560switchesarememberofadomaincalledNULL,therefore,after
enteringtheabovecommand,you will getthefollowingmessageunlesstheswitch
wasmemberofanotherdomain:
ChangingVTPdomainnamefromNULLtoCCIE
ThistaskcouldalsobeaccomplishedbyenteringtheVLANdatabaseasfollows:
WhenacommandisenteredintheVlandatabase,youmustperformtheexitor
theapplycommandforthechangestotakeeffect.
NotethedisplaybelowrevealsthatVTPpropagatedtheVTPdomaininformationto
thesecondswitch:
Onthesecondswitch:
Switch#Shvtpstatus
VTPVersion :2
ConfigurationRevision :0
MaximumVLANssupportedlocally:1005
NumberofexistingVLANs :5
VTPOperatingMode :Server
VTPDomainName :CCIE
VTPPruningMode :Disabled
VTPV2Mode :Disabled
VTPTrapsGeneration :Disabled
MD5digest :0x570xCD0x400x650x630x590x470xBD
Configurationlastmodifiedby0.0.0.0at000000:00:00
LocalupdaterIDis0.0.0.0(novalidinterfacefound)
Task2
ThisVTPdomainshouldbepasswordprotectedusingCiscoasthepassword.
On bothswitches
Switch(config)#vtppasswordCisco
Youshouldgetthefollowingmessage:
SettingdeviceVLANdatabasepasswordtoCisco
Toverifytheconfiguration:
OntheFirstswitch
Switch#Showvtpstatus
VTPVersion :2
ConfigurationRevision :0
MaximumVLANssupportedlocally:1005
NumberofexistingVLANs:5
VTPOperatingMode:Server Themodeisserverbydefault
VTPDomainName:CCIE Thedomainname
VTPPruningMode :Disabled
VTPV2Mode :Disabled
VTPTrapsGeneration :Disabled
MD5digest :0x140x7D0x150x090xDC0x390x650xC2
Configurationlastmodifiedby0.0.0.0at000000:00:00
LocalupdaterIDis0.0.0.0(novalidinterfacefound)
VTPpasswordcanbechangedinthreeways:
Privilegemode:
Switch#vtppasswordCisco
VlanDatabase:
Vlandatabase
VtppasswordCisco
Exit
Globalconfigmode:
Switch(config)#vtppasswordCisco
OntheSecondswitch
Switch#Showvtpstatus
VTPVersion :2
ConfigurationRevision:0
MaximumVLANssupportedlocally:1005
NumberofexistingVLANs:5
VTPOperatingMode:Server Themodeisserverbydefault
Onanyoftheswitches:
Switch#ShowVTPpassword Thisverifiesthepassword,remember
Spaceswillnotshow
VTPPassword:Cisco
Task3
ThefirstCatalystswitchshouldbeconfiguredwithahostnameof Cat1andthesecond
Catalystshouldhaveahostnameof Cat2.
OnthefirstSwitch
Switch(config)#HostnameCat1
OntheSecondSwitch
Switch(config)#HostnameCat2
Task4
Cat2shouldNOThavetheabilitytocreate,deleteorrenameVLANorVLAN
information.
On Cat2
Cat2(config)#Vtpmodeclient
Thisconfigurationcanbeperformedinthevlandatabaseor globalconfigmode.
Oncethecommandisenteredyoushouldgetthefollowingmessage:
SettingdevicetoVTPCLIENTmode.
Theswitchescanoperateinthreemodesandtheyareasfollows:
SERVERTheswitchisabletodelete,create,orrenameVLAN
information.Catalyst3560in servermodeparticipatesintheVTP
domainandpropagatestheVLANinformation.
CLIENTInthismodetheswitchisabletoreceiveandprocessthe
VTPmessages,buttheyarenotabletocreate,delete,orrename
VLANinformation.TheycanassignaporttoagivenVLANthat
alreadyexists.Catalyst3560inclientmodeparticipatesintheVTP
domainandpropagatestheVTPmessages.
TransparentInthismodetheswitchisabletocreate,deleteand
modifytheVLANinformationbutitwillnotpropagateitsVLAN
informationtootherswitches.Catalyst3560switchesinthismodedo
NOTparticipateinVTPdomain.ACatalyst3560switchmustbein
thismodeinordertocreatetheextendedrangeVLANs(10064094),
thisconfigurationcanonlybeperformedinthe globalconfigmode
andNOTin the Vlandatabase. Whentheswitchisinthismodethe
VLANinformationispartoftherunningorstartupconfiguration,the
VLANinformationisNOTkeptintheVLANdatabase(vlan.dat).
Task5
CreateandconfigurethefollowingVLANassignmentson Cat1:
Cat1(config)#interfacerangef0/12
Cat1(configif)#switchmodeaccess
Cat1(configif)#switchaccessvlan 12
Cat1(config)#interfacerangef0/34
Cat1(configif)#switchmodeaccess
Cat1(configif)#switch accessvlan 34
Cat1(config)#interfacerangeF0/56
Cat1(configif)#switchmodeaccess
Cat1(configif)#switch accessvlan 56
Cat1(configif)#End
NotetheVlaninformationwillbepropagatedtotheotherswitch(Cat2),because
bothswitchesareinthesameVTPdomainandtheyarebothconfiguredwiththe
samepassword.
On Cat2
Cat2#Showvlanbrie
VLANNameStatusPorts
1defaultactiveFa0/1,Fa0/2,Fa0/3,Fa0/4
Fa0/5,Fa0/6,Fa0/7,Fa0/8
Fa0/9,Fa0/10,Fa0/11,Fa0/12
Fa0/13,Fa0/14,Fa0/15,Fa0/16
Fa0/17,Fa0/18,Fa0/23,Fa0/24
Gi0/1,Gi0/2
12VLAN0012active
34 VLAN0034active
56VLAN0056active
(Therestoftheoutputisomitted)
Cat2#ShowVTPStatus
VTPVersion:2
ConfigurationRevision:3
Maximum VLANssupportedlocally:1005
NumberofexistingVLANs:8
VTPOperatingMode:Client
VTPDomainName:CCIE
On Cat1
Cat1#ShowVTPStatus
VTPVersion:2
ConfigurationRevision:3
MaximumVLANssupportedlocally:1005
NumberofexistingVLANs :8
VTPOperatingMode:Server
VTPDomainName:CCIE
VTPPruningMode:Disabled
VTPV2Mode:Disabled
VTPTrapsGeneration :Disabled
MD5digest:0x970x9D0xF10xF90xFE0x210xCC0x1D
Configurationlastmodifiedby0.0.0.0at319300:06:11
LocalupdaterIDis0.0.0.0(novalidinterfacefound)
Note,VTPversionis2,Configurationrevisionis3,numberofexistingVLANsis8
onbothswitches,(becausetheyaresynchronized),andthereasontheVLAN
informationwaspropagatedisbecausetheVTPdomainnameandthepasswordis
identicalonbothswitchesandtheswitchesaretrunked.
Task6
ConfigureLoopback0andLoopback1interfaceson Cat1,usetheIPaddressof1.1.1.1
/8and11.1.1.1/8respectively andensurethatONLY theIPaddressofLoopback1
interfaceisusedasthepreferredsourcefortheVTPIPupdateraddress.
NoteinthepreviousTaskwhentheshowvtpstatuscommandwasenteredon
Cat1, thelastlineoftheoutputdisplayednovalidinterfacefound.
NoteCat1 willalwaysusetheloopback0interfaceasthesourceofallVTP
messages,butthisbehaviorcanbechangebyusingtheVTPinterfaceLoopback1
globalconfigcommand.
On Cat1
Cat1(config)#InterfaceLoopback1
Cat1(configif)#Ipaddress11.1.1.1255.0.0.0
Cat1#Showvtpstatus
VTPVersion:2
ConfigurationRevision:3
MaximumVLANssupportedlocally:1005
NumberofexistingVLANs:8
VTPOperatingMode :Server
VTPDomainName:CCIE
VTPPruningMode:Disabled
VTPV2Mode:Disabled
VTPTrapsGeneration:Disabled
MD5digest :0x970x9D0xF10xF90xFE0x210xCC0x1D
Configurationlastmodifiedby0.0.0.0at319300:06:11
LocalupdaterIDis1.1.1.1oninterfaceLo0(preferredinterface)
Preferredinterfacenameislo0
NoteLoopback0isusedasthesourceofallVTPmessages.Enterthefollowing
commandtochangethesourcetoLoopback1interface:
Cat1(config)#VtpinterfaceLoopback1only
NotetheONLYargumentmakesthisinterfacemandatory.
Toverifytheconfiguration:
On Cat1
Cat1#Showvtpstatus
VTPVersion :2
ConfigurationRevision: 3
MaximumVLANssupportedlocally:1005
NumberofexistingVLANs:8
VTPOperatingMode:Server
VTPDomainName:CCIE
VTPPruningMode :Disabled
VTPV2Mode :Disabled
VTPTrapsGeneration:Disabled
MD5digest :0x970x9D0xF10xF90xFE0x210xCC0x1D
CCIER&SbyNarbikKocharians FREE LabsPage 12 of338
2007NarbikKocharians.Allrightsreserved
Configurationlastmodifiedby0.0.0.0at319300:18:54
LocalupdaterIDis11.1.1.1oninterfaceLo1(preferredinterface)
Preferredinterfacenameisloopback1(mandatory)
On Cat2
Cat2#Showvtpstatus
VTPVersion :2
ConfigurationRevision :3
MaximumVLANssupportedlocally:1005
NumberofexistingVLANs:8
VTPOperatingMode:Client
VTPDomainName:CCIE
VTPPruningMode :Disabled
VTPV2Mode :Disabled
VTPTrapsGeneration :Disabled
MD5digest :0x970x9D0xF10xF90xFE0x210xCC0x1D
Configurationlastmodifiedby0.0.0.0at319300:22:29
Notethischangehasnotbeenpropagated,therefore,youmustcreateaVLAN
(VLAN80)on Cat1 soyoucanseethatthechangewasmadebytheLoopback 1
interfacewithanIPaddressof 11.1.1.1onCat2.ThisVLANshouldbedeleted
beforeproceedingtothenexttask.
On Cat1
Cat1(config)#Vlan80
Cat1(configvlan)#Exit
Toverifytheconfiguration:
On Cat2
Cat2#Showvtpstatus
VTPVersion :2
ConfigurationRevision :4
MaximumVLANssupportedlocally:1005
NumberofexistingVLANs :9
VTPOperatingMode :Client
VTPDomainName :CCIE
VTPPruningMode :Disabled
VTPV2Mode :Disabled
On Cat1
Cat1(config)#Novlan80
Task7
ConfigureatrunkbetweenthetwoswitchesusingportsF0/19andF0/20.Noneof these
switchesshoulduseDTPtonegotiatethetrunk.
On BothSwitches
(config)#InterfacerangeF0/1920
(configifrange)#Switchportmodetrunk
(configifrange)#Switchportnonegotiate
Notetheportsmustbeintrunkmodebeforethenonegotiatecommandisentered,
otherwiseyouwillreceivethefollowingerrormessage:
Commandrejected:Conflictbetweennonegotiateanddynamicstatus.
Aportcanbeconfiguredasfollows:
StaticAccessThisportcanbelongtoONLYoneVLAN,anditsmanually
assignedtoagivenVLAN.
Trunk AtrunkportbydefaultismemberofallnormalrangeVLANs11005(but
notethatVLANs1,1002 1005areautomaticallycreatedandcannotberemoved,
only2to1001canbemanuallycreated,theseVLANsarekeptintheVLAN.DAT).
ThisalsoincludestheextendedrangeVLANs(10064094),andthismembership
canbelimitedbyconfiguringtheallowedvlancommand.Thisportcanbe
encapsulatedbyISLortaggedby802.1q.
DynamicAccessAdynamicaccessportcanonlybeamemberofonenormal
VLAN,andtheseportsaredynamicallyassignedtoagivenVLANbyaVMPS.
VoiceVLANThisisanaccessportconnectedtoanIPphonesuchasCiscos7960,
andthisVLANisusedforVoicetraffic.
CCIER&SbyNarbikKocharians FREE LabsPage 14 of338
2007NarbikKocharians.Allrightsreserved
Dot1qTunnel Thesearetunnelportsandareusedfor802.1qtunnelingto
maintaincustomerVLANintegrityacrossaserviceprovidersnetwork.Atunnel
portisconfiguredonanedgeswitchintheserviceprovidersnetworkandits
connectedtoan802.1qtrunkportonacustomerswitchsinterface,atunnelport
belongstoasingleVLANthatisdedicatedtotunneling.
Task8
Configuretheswitchessuchthatfloodedtrafficisrestrictedtothetrunklinksthatthe
trafficmustusetoreachthedestinationdevice.
Toseethedefaultsetting:
On Cat2
Cat2#Show vtpstatus
VTPVersion :2
ConfigurationRevision : 5
MaximumVLANssupportedlocally:1005
NumberofexistingVLANs :8
VTPOperatingMode :Client
VTPDomainName :CCIE
VTPPruningMode :Disabled
VTPV2Mode :Disabled Pruningisdisabled
VTPTrapsGeneration :Disabled
MD5digest :0x970x9D0xF10xF90xFE0x210xCC0x1D
Configurationlastmodifiedby 11.1.1.1at319300:12:48
NoteVTPPruningisdisabledbydefault,enterthefollowingtoenableVTP
pruning:
On Cat1
Cat1#Vtppruning
Thiscommandcanbeconfiguredinprivilegemode,Globalconfigmode,and/orin
theVlandatabase.Oncethisfeatureisenableditwillgetpropagatedtotheother
switcheswithintheVTPdomain.
Toverifytheconfigurationonbothswitches:
CCIER&SbyNarbikKocharians FREE LabsPage 15 of338
2007NarbikKocharians.Allrightsreserved
On Cat2
Cat2#Show vtpstatus
VTPVersion :2
ConfigurationRevision : 5
MaximumVLANssupportedlocally:1005
NumberofexistingVLANs :8
VTPOperatingMode : Client
VTPDomainName :CCIE
VTPPruningMode:Enabled
VTPV2Mode :Disabled
VTPTrapsGeneration :Disabled
MD5digest :0x970x9D0xF10xF90xFE0x210xCC0x1D
Configurationlastmodifiedby 11.1.1.1at319300:12:48
NoteVTPmessagespropagatethechangethroughtheentireVTPdomain.
Task9
ConfigureCat1andCat2 suchthatonlythetrunkports(F0/19andF0/20)andtheports
thatroutersR1toR6areconnectedtoareinuse,therestoftheportsshouldbe
configuredinadministrativelydownstate.
OnBothSwitches:
(config)#Intrangef0/718,F0/2124
(configifrange)#Shut
Task10
Therearethreecommandsthatcanbeusedto displaytheBIDforagivenswitch:
Showversion
Showspanningtreebridge
Cat1#Showversion
Cat1#Showver
CiscoIOSSoftware,C3560Software(C3560ADVIPSERVICESK9M),Version12.2(25)SEE2,
RELEASESOFTWARE(fc1)
Copyright(c)19862006byCiscoSystems,Inc.
CompiledFri28Jul0612:34byyenanh
Imagetextbase:0x00003000,database:0x012237D0
(Theoutputisomitted)
512Kbytesofflashsimulatednonvolatileconfigurationmemory.
BaseethernetMACAddress:00:19:56:DB:94:00
Motherboardassemblynumber :73989706
Powersupplypartnumber :341009702
Motherboardserialnumber :CAT10385ERJ
Powersupplyserialnumber : DCA103584S4
Modelrevisionnumber :D0
(Therestoftheoutputisomitted) ThebaseMAC
ThefollowingcommandrevealsthebaseMACaddressoftheswitch,thecombinationof
priorityandthebase MACaddressistheBIDfor agivenswitch.
Cat1#Showspanningtreebridge
HelloMaxFwd
Vlan BridgeID TimeAge DlyProtocol
VLAN0001 32769 (32768,1) 0019.56db.9400 2 20 15 ieee
VLAN0012 32780 (32768,12) 0019.56db.9400 2 20 15 ieee
VLAN0034 32802 (32768,34) 0019.56db.9400 2 20 15 ieee
VLAN0056 32824 (32768,56) 0019.56db.9400 2 20 15 ieee
Notetheprioritystartswith32768,eachVLANthatiscreatedaddsitsVLANnumberto
thedefaultpriorityvalue(IfthebasepriorityandtheVLANnumberisaddedwithinthe
parenthesis,thesumwillbethepriorityforthatgivenVLAN),VLAN12adds12tothe
defaultpriorityvaluethereforethepriorityis32780andVLAN34adds34tothedefault
priorityvalue,therefore,thepriorityis32802.Notethat theMACisthebaseMACaddress
andit remainsthesame,inthiscase(0019.067f.8900).
NoteyourMACaddressmaybedifferent.
TofindouttheBIDandtherootbridgeforagivenVLAN,enterthefollowingShow
command:
On Cat1
CCIER&SbyNarbikKocharians FREE LabsPage 17 of338
2007NarbikKocharians.Allrightsreserved
Cat1#Showspanningtreevlan12
VLAN0012
Spanningtreeenabledprotocolieee TheMACaddressoftherootbridge
RootIDPriority32780
Address0019.56db.9400
Thisbridgeistheroot
HelloTime2secMaxAge20secForwardDelay15sec
BridgeIDPriority32780(priority32768sysidext12)
Address0019.56db.9400
HelloTime2secMaxAge20secForwardDelay15sec
AgingTime300
TheMacaddressofthelocalswitch
Interface Role Sts CostPrio.NbrType
Fa0/19 Desg FWD 19128.21 P2p
Fa0/20Desg FWD 19128.22 P2p
NotetheoutputoftheShowspanningtreevlan12onyourswitchmightshowmoreports.
EnterthefollowingcommandstoconfigureCat1tobetherootbridgeforVLANs12and
34:
On Cat1
Cat1(config)#Spanningtreevlan12,34rootprimary
TheabovecommandconfiguresCat1tobetherootforVLANs12and34theroot
andthe34.
Cat1#Showspanningtreevlan12
VLAN0012 Note32768+128192=24588
Spanningtreeenabledprotocolieee
RootID Priority24588
Address0019.56db.9400
Thisbridgeistheroot
HelloTime2secMaxAge20secForwardDelay15sec
On Cat2
Cat2(config)##Spanningtreevlan 56rootprimary
Toverifytheconfiguration:
Cat2
Cat2#Showspanningvlan56
VLAN0056
Spanningtreeenabledprotocolieee
RootID Priority24632
Address001a.2f0a.2000
Thisbridgeistheroot
HelloTime2secMaxAge20secForwardDelay15sec
InterfaceRoleStsCostPrio.NbrType
Fa0/19DesgFWD19128.21P2p
Fa0/20DesgFWD19128.22P2p
Task 11
ConfigureCat1suchthattheportsthattheroutersareconnectedtobypasslisteningand
learningstate.IfanyoftheseportsreceiveBPDUpackets,they shouldtransitioninto
errdisablestate.Useminimumnumberofcommandstoaccomplishthistask. This
configurationshouldonlybeappliedtotheportsthattheroutersR1 R6areconnected
to.
Cat1(config)#Spanningtreeportfastbpduguarddefault
Cat1(config)#InterfacerangeF0/16
Cat1(configif)#Spanningtreeportfast
Oncetheportfastcommandisenteredyoushouldseethefollowingwarning
message:
%Warning:portfastshouldonlybeenabledonportsconnectedtoasingle
host.Connectinghubs,concentrators,switches,bridges,etc...tothis
Interfacewhenportfastisenabled,cancausetemporarybridgingloops.
UsewithCAUTION
%Portfastwillbeconfiguredin6interfacesduetotherangecommand
butwillonlyhaveeffectwhentheinterfacesareinanontrunkingmode.
Thespanningtreeportfastbpduguarddefaultcommandinglobalconfigmode
willshuttheportdowninerrdisablemodeifanyportfastenabledportreceives
BPDUpackets.
Task 12
ConfigureCat2suchthattheportsthattheroutersareconnectedto(F0/1F0/6) bypass
listeningandlearningstate.IfanyoftheseportsreceiveBPDUpackets,they should
loosetheirportfaststate. Thisconfigurationshouldapplytoexistingandfutureportsthat
areconfiguredasportfast.
On Cat2
Cat2(config)#Spanningtreeportfastbpdufilterdefault
Cat2(config)#InterfacerangeF0/16
Cat2(configif)#Spanningtreeportfast
Oncetheportfastcommandisenteredyoushouldseethefollowingwarning
message:
%Warning:portfastshouldonlybeenabledonportsconnectedtoasingle
host.Connectinghubs,concentrators,switches,bridges,etc...tothis
Interfacewhenportfastisenabled,cancausetemporarybridgingloops.
UsewithCAUTION
Atthegloballevel,youcanenableBPDUfilteringonPortFastenabledinterfaces
byusingthespanningtreeportfastbpdufilterdefaultglobalconfiguration
command.
Task 13
YoureceivedarequestfromtheITdepartmenttomonitorandanalyzeallthepackets
sentandreceivedbythehostconnectedtoportF0/14on Cat1 youhaveconnectedthe
packetanalyzertoportF0/15onthesameswitch.Configuretheswitchtoaccommodate
thisrequest.
On Cat1
Cat1(config)#monitorsession1sourceinterfaceF0/14both
Cat1(config)#monitorsession1destinationinterfaceF0/15
Notethefollowing:
Therecanonlybetwomonitor sessionsconfiguredonagivenswitch
TheirdirectiontomonitorcanbeconfiguredasRx,Tx,orBoth. Rxis
forreceivedtraffic,TxisforTransmittedtraffic,andbothisinboth
direction.
VLANscanONLYbeconfiguredinRxdirection.
ToverifyEnter theShowmonitorsession1command.
Toverifytheconfiguration:
On Cat1
Cat1#Showmonitorsession1
Session1
Type:LocalSession
SourcePorts:
Both:Fa0/14
Destination Ports:Fa0/15
Encapsulation:Native
Ingress:Disabled
YoureceivedanotherrequestfromyourITdepartmenttokeeptrackofalltheMAC
addressesthatarelearnedby Cat2portF0/18.Theswitchmustuse theNMSlocatedat
192.168.1.1/24,configuretheswitchtohandlethisrequest. YoushoulduseanIP
addressof2.2.2.2/8toaccomplishthistask.
On Cat2
Cat2(config)#Snmpserverhost192.168.1.1trapprivate
%IP_SNMP3SOCKET:can'topenUDPsocket
Unabletoopensocketonport161
NotesincethisswitchisnotconfiguredwithanIPaddress,itwillfailtoconfigure
theSnmpserver.Therefore,anIPaddressshouldbeconfiguredbeforeenteringthe
snmpservercommandasfollows:
Cat2(config)#Intlo0
Cat2(configif)#Ipaddr2.2.2.2255.0.0.0
Cat2(config)#snmpserverhost192.168.1.1 trapprivate
(TosetuptheSnmpServer)
Cat2(config)#snmpserverenabletrapsmacnotification
ConfigurestheswitchtosendmacaddresstrapstotheNMS
Cat2(config)#macaddresstablenotification
ToenableMACaddressnotification
Cat2(config)#Interf0/18
Cat2(configif)#snmptrapmacnotificationadded
TheabovecommandenablestheSNMPtrapon interfaceF0/18andconfiguresthe
switchtosendMACnotificationtrapswheneveraMACaddressisadded.Ifthe
switchmustbeconfiguredtoreporttheMACaddressesthatarelearntandexpired,
thensnmptrapmacnotificationremovedcommandmustalsobeconfigured.
Toverifytheconfiguration:
Cat2#Showmacaddresstablenotificationinterfacef0/18
MACNotificationFeatureisEnabledontheswitch
Interface MACAddedTrapMACRemovedTrap
Cat2#Showmacaddresstablenotification
MACNotificationFeatureisEnabledontheswitch
IntervalbetweenNotificationTraps:1secs
NumberofMACAddressesAdded:0
NumberofMACAddressesRemoved:0
NumberofNotificationssenttoNMS:0
MaximumNumberofentriesconfiguredinHistoryTable:1
CurrentHistoryTableLength :0
MACNotificationTrapsareEnabled
HistoryTablecontents
Task15
On Cat2portF0/14configuretheamountofbandwidthutilizationforbroadcasttraffic
to50%.
On Cat2
Cat2(config)#InterfaceF0/14
Cat2(configif)#Stormcontrolbroadcastlevel50.00
StormcontrolcanbeusedforBroadcast,UnicastandMulticasttraffic,this
commandspecifiestrafficsuppressionlevelforagiventypeoftrafficfora
particularinterface.Thelevelcanbefrom0to100andanoptionalfractionofa
levelcanalsobeconfiguredfrom099.Athresholdvalueof100percentmeans
thatnolimitisplacedforthespecifiedtypeoftrafficavalueof0.0meansthatthe
particulartypeoftrafficisblockedalltogether.
On3550switcheswhentherateofMulticasttrafficexceedsapredefinedthreshold,
allincomingtraffic(Broadcast,MulticastandUnicast)isdroppeduntilthelevel of
Multicasttrafficisdroppedbelowthethresholdlevel.Oncethisoccurs,onlythe
Spanningtreepacketsareforwarded.WhenBroadcastor Unicastthresholdsare
exceeded,trafficisblockedforonlythetypeoftrafficthatexceededthethreshold.
Toverifytheconfiguration:
Task16
MacaddresseslearntdynamicallybythesetwoswitchesshouldnotstayintheMAC
addresstableiftheyareinactiveforlongerthan10minutes.
BydefaulttheMACaddressesthatareinactivewillexpirewithin300seconds,this
taskisaskingfora10minutesthreshold,10minutesequatesto600seconds,the
followingcommandwill accomplishthistask:
On Cat1andCat2
(config)#Macaddresstableagingtime600
Toverifytheconfiguration:
On Cat1orCat2
Cat1#Shmacaddresstableagingtime
VlanAgingTime
1600
12600
34600
56600
Task17
Formanagementpurposes,assignanIPaddressof10.1.1.11/24toCat1,withadefault
gatewayof10.1.1.2/24.
On Cat1
Cat1(config)#Ipdefaultgateway10.1.1.2
Task18
ConfigureroutersR1andR3usingthefollowingIPaddresses:
R1F0/0=10.1.12.1/24
R3F0/0=10.1.34.3/24
ConfigureCat1 toroutebetweenVLAN12and34suchthattheserouterscanpingeach
other.UseanyIpaddresson Cat1 toaccomplishthistask.
OnR1
R1(config)#InterfaceF0/0
R1(configif)#Ipaddress10.1.12.1255.255.255.0
R1(configif)#Noshut
R1(configif)#Exit
R1(config)#Iproute0.0.0.00.0.0.010.1.12.100
OnR3
R3(config)#InterfaceF0/0
R3(configif)#Ipaddress10.1.34.3255.255.255.0
R3(configif)#Noshut
R3(configif)#Exit
R3(config)#Iproute0.0.0.00.0.0.010.1.34.100
On Cat1
Cat1(config)#Iprouting
Cat1(config)#InterfaceVlan12
Cat1(configif)#Ipaddress10.1.12.100255.255.255.0
Cat1(configif)#Noshut
Toverifytheconfiguration:
OnR1
R1#Ping10.1.34.100
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto10.1.34.100,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=1/2/4ms
OnR3
R3#Ping10.1.12.100
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto10.1.12.100,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=1/2/4ms
Task 19
RemovetheconfigurationfromthepreviousstepandconfigureInterVlanrouting
betweenVLANs12and34.DONOTuseSVIstoaccomplishthistask.F0/1interfaceof
anyroutercanbeusedtoaccomplishthistask.UsetheIPaddressingfromtheprevious
task.Ensuretouseanindustrystandardprotocolforthetrunk.
SinceR5sF0/0ispartofVLAN56,R5sF0/1isusedtoaccomplishthistask.
On Cat1
Cat1(config)#NoInterfaceVlan12
On Cat2
Cat2(config)#Iprouting
Cat2(config)#InterfaceF0/5
Cat2(configif)#SwitchporttrunkencapDot1q
Cat2(configif)#Switchportmodetrunk
OnR5
R5(config)#InterfaceF0/1
R5(configif)#Noshut
R5(configif)#Exit
R5(config)#Intf0/1.12
R5(configif)#Encapdot1q12
R5(configif)#Ipaddress10.1.12.100255.255.255.0
R5(config)#Intf0/1.34
R5(configif)#Encapdot1q34
R5(configif)#Ipaddress10.1.34.100255.255.255.0
Toverifytheconfiguration:
OnR1&R3
R1#Cleararp
OnR1
R1#Ping10.1.34.3
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto10.1.34.3,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5), roundtripmin/avg/max=1/1/4ms
OnR3
R3#Ping10.1.12.1
Typeescapesequencetoabort.
CCIER&SbyNarbikKocharians FREE LabsPage 27 of338
2007NarbikKocharians.Allrightsreserved
Sending5,100byteICMPEchosto10.1.12.1,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=1/2/4ms
Task20
ConfigureCat1suchthatwhenevertheswitchlearnsorremovesaMACaddressonits
portF0/18,anSNMPnotificationisgeneratedandsenttotheNMSlocatedat
192.168.1.100.Sincetherearemanyuserscomingandgoingfromthenetwork,setupa
trapintervaltimetobundlethenotificationtrapsandreducenetworktrafficusingthe
followingparameters:
Thetrapsshouldbegeneratedevery30minutes.
Thetrapshouldcontainamaximumof150entries.
ThisfeatureenablesustotrackusersonanetworkbystoringtheMacaddress
activityontheswitch.Onceconfigured,everytimeaMACaddressislearnedor
removedanSNMPnotificationisgeneratedandsenttotheNMS.Onaverybusy
networkwhenlotsofuserscomeandgo,thedefaultbehavioristhatanSNMPtrap
issenteverysecond.Becausethiscanconsumebandwidth,therearetwoparameters
thatcanbeconfiguredtoremedythissituationandtheyareasfollows:
Macaddresstablenotificationinterval Thisvaluespecifiesthenotification
trapintervalinsecondsbetweeneachsetoftrapsthataregeneratedtotheNMS.
Defaultvalueisonesecond,andtherangeis02,147,483,647seconds.
MacaddresstablenotificationhistorysizeSpecifiesthemaximumnumberof
entriesintheMACnotificationhistorytable.Thedefaultvalueis1,andtherange
is1500entries.
On Cat1
Cat1(config)#Snmpserverhost192.168.1.100trapsprivate
TheabovecommandidentifiestheNMS
Cat1(config)#Snmpserverenabletrapsmacnotification
ThiscommandenablesSNMPtrapsmacnotification
Cat1(config)#Macaddresstablenotification
Theabovecommandenablesthemacaddresstablenotificationontheswitch
Cat1(config)#Macaddresstablenotificationinterval1800
Thiscommandsetstheinterval
Cat1(config)#Intf0/18
Cat1(configif)#Snmptrapmacnotificationadded
ToenabletheMACnotificationtrapwheneveraMACaddressisadded
Cat1(configif)#Snmptrapmacnotificationremoved
ToenabletheMACnotificationtrapwheneveraMACaddressisremoved
Toverifytheconfiguration:
Cat1#Showmacaddresstablenotificationinterfacef0/18
MACNotificationFeatureisEnabledontheswitch
Cat1#Showmacaddresstablenotification
Cat1#shmacaddresstablenotification
MACNotificationFeatureisEnabledontheswitch
IntervalbetweenNotificationTraps:1800secs
NumberofMACAddressesAdded:0
NumberofMACAddressesRemoved:0
NumberofNotificationssenttoNMS:0
MaximumNumberofentriesconfiguredinHistoryTable:150
CurrentHistoryTableLength:0
MACNotificationTrapsareEnabled
HistoryTablecontents
Task21
OptimizeCat1usingthefollowingpolicies:
Cat1shouldbeconfiguredsuchthatitsmemoryresourcesintheswitchare
optimizedforrouting.
AccessUsedforQOSclassificationandSecurity.
Routing Usedforrouting
VlanDisablesroutingandsetstheswitchtobealayer2switch.
Extendedmatchreformatsroutingmemoryspacetoallow144bitlayer3
TCAMsupportneededforWCCPand/ormultipleVRFinstances.
On Cat1
Cat1(config)#Sdmpreferrouting
Youmustrebootforthesesettingstotakeeffect.
ToVerifytheconfiguration:
On Cat1
Cat1#Showsdmprefer
Thecurrenttemplateis"desktoprouting"template.
Theselectedtemplateoptimizestheresourcesin
theswitchtosupportthisleveloffeaturesfor
8routedinterfacesand1024VLANs.
numberofunicastmacaddresses: 3K
numberofIPv4IGMPgroups+multicastroutes:1K
numberofIPv4unicastroutes: 11K
numberofdirectlyconnectedIPv4hosts: 3K
numberofindirectIPv4routes: 8K
numberofIPv4policy basedroutingaces: 512
numberofIPv4/MACqosaces: 512
numberofIPv4/MACsecurityaces: 1K
On Cat2
Cat2#Shsdmprefer
Thecurrenttemplateis"desktopdefault"template.
Theselectedtemplateoptimizestheresourcesin
theswitchtosupportthisleveloffeaturesfor
numberofunicastmacaddresses: 6K
numberofIPv4IGMPgroups+multicastroutes:1K
numberofIPv4unicastroutes: 8K
numberofdirectlyconnectedIPv4hosts: 6K
numberofindirectIPv4routes: 2K
numberofIPv4policybasedroutingaces: 0
numberofIPv4/MACqosaces: 512
numberofIPv4/MACsecurityaces: 1K
Notethedifferenceinmemoryallocationisrevealedifthebufferallocationof Cat2
iscomparedtothe Cat1.
Task22
BydefaultatrunkportsendsandreceivestrafficfromallVLANs,however,agiven
VLANorVLANscanberemovedfromthetrunklinkinordertopreventtrafficfrom
thatVLAN/sfromtraversingoverthetrunk.
On Cat1
Cat1(config)#Vlan3032
BeforeconfiguringthetaskwehavetochecktoseeiftheVLANsthatwejustcreated
cantraversethetrunklink.
Cat1#Showinterfacetrunk
PortModeEncapsulationStatusNativevlan
Fa0/19onisltrunking1
Fa0/20onisltrunking1
PortVlansallowedontrunk
Fa0/19 14094
Fa0/2014094
PortVlansallowedandactiveinmanagementdomain
Fa0/19 1,12,3032,34,56
Fa0/20 1,12,3032,34,56
ToremovethoseVLANsfromthetrunklinks:
OnBothSwitches
Switch(config)#Interfacerangef0/1920
Switch(configifrange)#Switchporttrunkallowedvlanexcept30,31,32
Noteif anEtherChannelwascreated,thecommandhadtobeconfigureddirectly
under theportchannelinterface.
ToVerifytheconfiguration:
On Cat1
Cat1#Showinttrunk
PortMode EncapsulationStatusNativevlan
Fa0/19onisltrunking1
Fa0/20onisltrunking1
PortVlansallowedontrunk
Fa0/19129,334094 NoteVLANs30 32areremovedfrom thetrunk
Fa0/20129,334094
PortVlansallowedandactiveinmanagementdomain
Fa0/19 1,12,34,56
Fa0/20 1,12,34,56
PortVlansinspanningtreeforwardingstateandnotpruned
Fa0/191,12,34,56
Fa0/20 1
NotetheoptionsthatcanbeusedwithSwitchporttrunkallowedVLANcommand
are:Remove,add,all,andexcept.
TheSwitchporttrunkallowedvlanremove30,31,32commandcouldaccomplishthe
sametask.
ConfigureCat1sportF0/15andF0/16suchthatwhenclientPCsconnecttotheseports,
theyautomaticallybecomememberofagivenVLAN.Cat1shouldbeconfiguredtouse
10.1.1.1astheprimaryand10.1.1.2asthesecondaryVMPSserver.Ensurethatthelocal
switchreconfirmstheVLANmembershipeveryhalfhourandiftheVMPScannotbe
contacted,thelocalswitchwillretry5timesbeforeconsideringtheVMPSunavailable.
VMPS:
The3550switchcantbesetupasaVMPSserver,butitcanbeconfiguredasa
VMPSclient.
TheclientcommunicateswiththeVMPSthroughVlanQueryProtocol(VQP).
WhenaVMPSreceivesaVQPfromtheclient,itsearchesitsdatabaseforaMAC
toVLANmapping,andifthemappingisfound,itconveystheVLANinformation
totheclientandthentheclientassignsthatgivenVLANtotheportthattheclient
isconnectedto.
TheVMPScanoperateinSecuremode,whichmeansthatifaMACtoVLAN
mappingcannotbefoundinitsdatabase,theVMPSwillsendaportshutdown
messagetotheclientandtheclientwillshutdownthatgivenport,however,ifthe
VMPSisnotconfiguredinasecuremode,itwillsendaccessdenymessage,andthe
clientwillconstantlymonitortheportandwillrejectalltrafficfromthatgiven
port.
TheVMPSclientperiodicallyreconfirmstheVLANmembershipinformation
receivedfromtheVMPSserver.Bydefaultthisisperformedevery60minutes,this
intervalcanbechangedusingVMPSreconfirmglobalconfigcommand.
IftheVMPSclientcantcontacttheVMPSserver,itwillretrytoestablishthat
communicationthreetimesandthisvaluecanbechangedusingvmpsretry
commandintheglobalconfigmode.
ThedatabaseisinformofanASCIIfilesavedonaTFTPserver,whichtheVMPS
serveraccesses.
On Cat1
Beforeconfiguringthistask weshouldchecksomeofthedefaultvalues:
Cat1#Showvmps
VQPClientStatus:
VMPSAction: NoDynamicPort
VMPSVQPversionisversion1,andthereconfirmationisatitsdefaultvalueof60
minutes,andtheretryvalueissetto3.TherearenoVMPSservers.
Cat1(config)#intrangef0/1516
Cat1(configifrange)#switchportmodeaccess
Cat1(configifrange)#switchportaccessvlandynamic
Cat1(configifrange)#noshut
TheabovecommandsetsportsF0/15andF0/16toVLANdynamic,whichmeansthatthey
willacquiretheirVLANinformationdynamically.
Cat1(config)#vmpsreconfirm30
Cat1(config)#vmpsretry5
Theabovetwocommandsconfigurethereconfirmationintervalto30minutesandthe
retrycounterto5.
Cat1(config)#vmpsserver10.1.1.1primary
Cat1(config)#vmpsserver10.1.1.2
ThesecommandsconfiguretheprimaryandthesecondaryVMPSservers.
Toverifytheconfiguration:
Cat1#Showvmps
VQPClientStatus:
VMPSVQPVersion:1
ReconfirmInterval: 30min
ServerRetryCount: 5
VMPSdomainserver:10.1.1.2
10.1.1.1(primary,current)
Reconfirmationstatus
VMPSAction: NoDynamicPort
On Cat1
Cat1(config)#Mlsqos
Cat1(config)#InterfaceF0/17
Cat1(configif)#SwitchportaccessVlan3
Cat1(configif)#SwitchportvoiceVlan 5
Cat1(configif)#Switchportpriorityextendcos1
Cat1(configif)#Mlsqostrustcos
Cat1(configif)#Noshut
Whenthephonegetsconnectedtotheswitchitwillforman802.1qtrunklink.The
trafficdestinedtothePCwillbecarriedintheaccessVLAN,whereasthetraffic
destinedforthe7960IPPhonewillbecarriedinVoiceVLAN.
Bydefaultthe3550doesntprocesstheCoSvalueandrewritesallframeswitha
CoSvalueof0.ToconfigurethephonesuchthatitprocessestheCoSvalues,the
QOSmustbeenabledgloballyusingthemlsqoscommand.
ToconfiguretheswitchsoittruststheincomingCoSvaluefromthe7960IPPhone
themlsqostrustcoscommandisused.
SincethePCconnectedtotheIPPhonecansendtraffictothePhonewithanyCos
valueandthephonewantstoensurethatthevoicetrafficthatitgeneratesgetbetter
priority,itoverridestheCoSforalltrafficthatisoriginatedbythePC.Inthistask
wehavetoconfiguretheswitchsuchthatitrewritesthetrafficwithaCoSof1,
therefore,theSwitchportpriorityextendedcos1commandisused.
Task25
Configuretrunkingbetween Cat1andCat2suchthatVLAN12doesnotgettagged
whenthetrafficforthisVLANtraversesthetrunk.
NotethetrunkingencapsulationonthetrunklinksshouldhavebeenDOT1Qinthe
CCIElab,whenconfiguringagivensection,theentiresectionshouldbereadbefore
configuringtheindividualtaskswithinthatsection.
WhenatrunkisconfiguredwithDot1q,itcanreceivebothtagged anduntagged
CCIER&SbyNarbikKocharians FREE LabsPage 35 of338
2007NarbikKocharians.Allrightsreserved
traffic.Bydefault,theswitchforwardsuntaggedtrafficinthenativeVLANONLY.
IfagivenVLANshouldNOTbetaggedasittraversesthetrunklinkthen,that
VLANshouldbesetasthenativeVLAN.
WhenthenativeVLANischanged,ensurethatthechangeisconfiguredonboth
switchesorthetrunklinkwillgodown.
OnBothSwitches
(config)#InterfacerangeF0/1920
(configifrange)#Switchporttrunkencapdot1q
(configifrange)#Switchportmodetrunk
ToVerifytheconfiguration:
On Cat1
PortModeEncapsulationStatusNativevlan
Fa0/19on802.1qtrunking1
Fa0/20on802.1qtrunking1
PortVlansallowedontrunk
Fa0/19129,334094
Fa0/20129,334094
PortVlansallowedandactiveinmanagementdomain
Fa0/191,3,12,34,56
Fa0/201,3,12,34,56
PortVlansinspanningtreeforwardingstateandnotpruned
Fa0/191,3,12,34,56
Fa0/201
ToconfigurethenativeVLAN:
OnBothSwitches
(config)#InterfacerangeF0/1920
(configifrange)#SwitchporttrunknativeVLAN12
Toverifytheconfiguration:
On Cat1
Cat1#Showinterfacetrunk
CCIER&SbyNarbikKocharians FREE LabsPage 36 of338
2007NarbikKocharians.Allrightsreserved
PortModeEncapsulationStatus Nativevlan
Fa0/19on 802.1qtrunking 12
Fa0/20on802.1qtrunking 12
PortVlansallowedontrunk
Fa0/19129,334094
Fa0/20129,334094
PortVlansallowedandactiveinmanagementdomain
Fa0/19 1,3,12,34,56
Fa0/201,3,12,34,56
PortVlansinspanningtreeforwardingstateandnotpruned
Fa0/191,3,12,34,56
Fa0/201
On Cat2
Cat2#Showinterfacetrunk
PortModeEncapsulationStatus Nativevlan
Fa0/5on802.1qtrunking1
Fa0/19on802.1qtrunking 12
Fa0/20on802.1qtrunking 12
PortVlansallowedontrunk
Fa0/514094
Fa0/19129,334094
Fa0/20129,334094
PortVlansallowedandactiveinmanagementdomain
Fa0/51,3,12,3032,34,56
Fa0/191,3,12,34,56
Fa0/201,3,12,34,56
PortVlansinspanningtreeforwardingstateandnotpruned
Fa0/51,3,12,3032,34,56
Fa0/191,12,34
Fa0/20none
Task26
ConfigureMultiinstanceofSpanningTreeontheswitchesusingthefollowspolicy:
OnBothSwitches
ThedefaultmodeforspanningtreeisPVST,thefollowingShowcommandverifies
thisinformation:
Showspanningtreesummary
Switchisinpvstmode
Rootbridgefor:none
ExtendedsystemIDisenabled
(Therestoftheoutputisomitted)
OnBothSwitches
(config)#Spanningtreemodemst
ThiscommandchangesthemodeoftheswitchtoMST.
(config)#Spanningtreemstconfiguration
(configmst)#Revision1
(configmst)#NameCCIE
(configmst)#Instance1vlan 12,34
(configmst)#Instance2vlan56
ThefirstcommandallowsustoenterintheMSTconfigurationmode.Thesecond
commandspecifiestheconfigurationrevisionnumbertherangeforthisnumberis
165535.Thethirdcommandspecifiesthenameforthisconfigurationinthiscase
CCIE.TheforthandfifthcommandsmaptherequestedVLANstothespecified
instances,MSTsupports16instances,bydefaultallthefutureVLANswillbe
assignedtoinstance0,instance0isthecatchallinstance).
Toverifythisconfiguration:
CCIER&SbyNarbikKocharians FREE LabsPage 38 of338
2007NarbikKocharians.Allrightsreserved
OnbothSwitches
#Showspanningtreemstconfiguration
Name[CCIE]
Revision1
InstanceVlansmapped
0111,1333,3555,574094
1 12,34
256
Noteinstance0handlestherestoftheVLANsthatarenotassignedtoagiven
instanceinstance0isthecatchallinstance.
ToVerifytheconfiguration beforeconfiguringthenextportionofthe
task:
On Cat1
Cat1#Showspanningtreebridge
NotethiscommanddisplaystheBIDforyourswitch,andinsteadofassigningaBID
toeachVLAN,thereisaBIDforeachinstance.
On Cat1
Cat1#Showspanningtreeroot
Root Hello Max Fwd
MSTInstanceRootID Cost Time Age DlyRootPort
MST0 32768 0019.56db.9400 0 220 15
MST1 327690019.56db.9400 0220 15
MST2 327700019.56db.9400 0 2 20 15
TheabovecommanddisplaystheBIDoftherootbridgefordifferentinstances.
NoteinthiscaseCat1 istherootforallinstances.
Cat1(config)#Spanningtreemst1priority0
Cat1(config)#Spanningtreemst2priority4096
On Cat2
Cat2(config)#Spanningtreemst1priority4096
Cat2(config)#Spanningtreemst2priority0
Theabovecommandswillchangetheswitchpriorityandmakeitmorelikelythat
Cat1willbechosenastherootswitchforinstance1and Cat2 willbechosenasthe
rootbridgeforinstance2.
Thisnumbermustbeinincrementsof4096.Rememberthelowervaluehashigher
preference.
Toverifytheconfiguration:
On Cat1
Cat1#Showspanningroot
Notethelocalswitch(Cat1)istherootbridgeforinstance0&1,whereas,Cat2 is
therootforinstances2.
On Cat2
Cat2#Showspanningroot
OnBothSwitches
(config)#IntF0/19
(configif)#Spanningtreemst1portpriority0 Highpriority
(configif)#Spanningtreemst2portpriority128
(config)#IntF0/20
(configif)#Spanningtreemst1portpriority128
(configif)#Spanningtreemst2portpriority 0
InthistaskPortpriorityisusedwhenselectinganinterfacetoputintothe
forwardingstateforagiveninstancealowervaluehasahigherpriority.Inthis
caseportF0/19willbeusedbyalltheVLANsthatareassignedtoinstances0&1,
becauseithasahigherpriority(Lowervalue),andinstance2 willuseportF0/20
becauseithasbeenconfiguredwithahigherpriority(Lowervalue).
Toverifytheconfiguration:
On Cat1
Cat1#Showspanningtreeintf0/19
MstInstanceRoleSts CostPrio.NbrType
MST0 DesgFWD200000128.21 P2p
MST1 DesgFWD200000128.21 P2p
MST2 AltnBLK200000128.21 P2p
Cat1#Shspanningtreeintf0/20
MstInstanceRoleStsCostPrio.NbrType
MST0 Desg FWD 200000128.22P2p
MST1DesgFWD200000128.22P2p
MST2 RootFWD200000128.22 P2p
On Cat2
Cat2#Showspanningtreeintf0/19
MstInstanceRoleStsCostPrio.NbrType
Cat2#Shspanningtreeintf0/20
MstInstanceRoleStsCostPrio.NbrType
MST0 Altn BLK 200000 128.22P2p
MST1AltnBLK200000128.22P2p
MST2DesgFWD2000000.22P2p
Noteinstances0&1isblockedonportF0/20butforwardedonF0/19andinstance
2isblockedoninterfaceF0/19andforwardedonF0/20.
Task27
TheITdepartmentdecidedtostopmonitoringportF0/14fromTask13,youhave
receivedanewrequesttomonitorportF0/14on Cat1 buttheprotocolanalyzeris
connectedtoportF0/18on Cat2. Configuretheswitchestoaccommodatethisrequest.
On Cat1
Cat1(config)#nomonitorsession1
Cat1(config)#Vlan90
Cat1(configvlan)#Remotespan
Cat1(configvlan)#Exit
ThecreationofthisVLANcanonlybedoneintheglobalconfigurationmode,
becausethisistheonlymodethatallowsustosettheVLANasremotespan.Ensure
thatthisVLANispropagatedtoCat4.
Toverifytheconfiguration:
On Cat1:
Cat1#Sh vlanbrie
VLANNameStatusPorts
1defaultactiveFa0/7,Fa0/8,Fa0/9,Fa0/10
On Cat2
Cat2#Shvlanbrie
VLANName StatusPorts
1default activeFa0/1,Fa0/2,Fa0/3,Fa0/4
Fa0/6,Fa0/7,Fa0/8,Fa0/9
Fa0/10,Fa0/11,Fa0/12,Fa0/13
Fa0/14,Fa0/15,Fa0/16,Fa0/17
Fa0/18,Fa0/21,Fa0/22,Fa0/23
Fa0/24,Gi0/1,Gi0/2
3VLAN0003active
12VLAN0012active
30VLAN0030 active
31VLAN0031active
32VLAN0032active
34VLAN0034active
56VLAN0056active
90VLAN0090active NotetheVLANispropagated.
(Therestoftheoutputisomitted)
On Cat1
Cat1#Showvlanremotespan
RemoteSPANVLANs
90
On Cat2
Cat2#Showvlan remotespan
CCIER&SbyNarbikKocharians FREE LabsPage 43 of338
2007NarbikKocharians.Allrightsreserved
RemoteSPANVLANs
90
NoteVLAN90shouldbedisplayedasremotespanonbothswitches.
On Cat1
Cat1(config)#Monitorsession1sourceinterfaceF0/14
Cat1(config)#Monitorsession1destinationremotevlan90
Toverifytheconfiguration:
On Cat1
Cat1#Show monitorsession1
Session1
Type :RemoteSourceSession
SourcePorts :
Both :Fa0/14
DestRSPANVLAN: 90
On Cat2
Cat2(config)#Monitorsession1sourceremotevlan90
Cat4(config)#Monitorsession1destinationinterfaceF0/18
PortF0/18iswheretheprotocolanalyzerisconnected.
Toverifytheconfiguration:
On Cat2
Cat2#Shmonitorsession1
Session1
Type:RemoteDestinationSession
SourceRSPANVLAN:90
DestinationPorts:Fa0/18
CCIER&SbyNarbikKocharians FREE LabsPage 44 of338
2007NarbikKocharians.Allrightsreserved
Encapsulation:Native
Ingress:Disabled
RSPANextendsSPANbyenablingremotemonitoringofmultipleswitchesacrossyour
network.ThetrafficforRSPANtraversesoverauserdefinedRSPANVLAN(remote
vlan),inthiscaseVLAN90.TheSPANtrafficfromportF0/14isreflectedtoVLAN90
(TheRSPANVLAN)andthenforwardedoverthetrunktoportF0/18anRSPAN
destination.
Task 28
ConfigurethehostnameofthethirdswitchtobeCat3.
OnthethirdSwitch
Switch(config)#HostnameCat3
Task29
ConfigureportsF0/21andF0/22on Cat3andCat1astrunklinksusinganindustry
standardprotocol,theselinksshouldappeartoSTPasasinglelink.Ifoneofthelinks
fails,thetrafficshouldusetheotherlinkwithoutanyinterruption.
EtherChannelsprovidethefollows:
Faulttolerant,highspeedlinksbetweenswitchesandrouters.
EtherChannelprovidesanautomaticrecoveryforthelossofalinkby
redistributingthetrafficacrosstheremaininglink/s.
STPwillnotblockoneofthelinksinthebundlebecausetoSTP,thebundlelooks
likeasinglelink.
Upto8linkscanbecombinedtoprovidemorebandwidth.
Thelinkswithinthebundlemusthavethesamecharacteristicssuchasduplexing,
speedandetc.
EtherChannelcanbeconfiguredaslayer2orlayer3.
WithLayer3,alogicalinterface(PortChannel)isstaticallyconfiguredandall
Layer3configurationsareperformedunderthatinterface.
WithLayer2,thelogicalinterfaceiscreatedautomatically.
WithbothLayer2andLayer3,physicalinterfacesmustbemanuallyassignedto
thelogicalinterfaceusingchannelgroupconfigurationcommand.
EtherChannelscanbeconfiguredautomaticallyusingPortaggregationprotocol
(PAgP)orLinkAggregationprotocol(LACP).
PAgPisaCiscoproprietaryprotocol,whereasLACPisanindustrystandard
Thereare5modesthattheswitchescanbeconfiguredin:
ONForcestheinterfaceintoanEtherChannelwithoutPAgPorLACPpackets,
bothswitchesmustbeconfiguredinONmodefortheEtherChanneltobe
established.
ACTIVEUsedinLACP,theswitcheswillactivelynegotiateanEtherChannel
link.
PASSIVEUsedinLACP,itplacestheinterfaceinapassivenegotiationmode
whereitonlyrespondstoLACPpacketsthatitreceives.Inthismodetheswitch
willnotstartthenegotiationprocessthissettingminimizesthetransmissionof
LACPpackets.
AUTOUsedinPAgP,itplacestheinterfaceinapassivenegotiationmodeIt
onlyrespondstoPAgPpacketsthatitreceives.Inthismodetheswitchwillnot
startthenegotiationprocessthissettingminimizesthetransmissionofPAgP
packets.
DESIRABLEUsedinPAgP,theswitcheswillactivelynegotiatean
EtherChannellink.
ThefollowingtableisveryimportantwhenconfiguringEtherChannels:
BeforeconfiguringEtherChannel,youshouldchecktoensurethattheinterfacesare
configuredwiththesamecharacteristics.
On Cat1andSwitch3
(config)#Intrangef0/2122
CCIER&SbyNarbikKocharians FREE LabsPage 46 of338
2007NarbikKocharians.Allrightsreserved
(configifrange)#Switchporttrunkencapdot1q
(configifrange)#Switchportmodetrunk
(configifrange)#Channelgroup1mode on
(configifrange)#noshut
Notetheswitchwilldisplaythefollowingmessagethatthelogicalinterfacewillbe
created.
CreatingaportchannelinterfacePortchannel1
Toverifytheconfiguration:
On Cat1
Cat1#Showinttrunk
Port ModeEncapsulationStatusNativevlan
Fa0/19on802.1qtrunking112
Fa0/20on802.1qtrunking112
Po1on802.1qtrunking1
PortVlansallowedontrunk
Fa0/19129,334094
Fa0/20129,334094
Po114094
PortVlansallowedandactiveinmanagementdomain
Fa0/19 1,3,12,34,56,90
Fa0/20 1,3,12,34,56,90
Po1 1,3,12,3032,34,56,90
PortVlansinspanningtreeforwardingstateandnotpruned
Fa0/191,3,12,34,90
Fa0/201,56
Po11,3,12,3032,34,56,90
OnCat3
Cat3#Shinttrunk
PortModeEncapsulationStatusNativevlan
Po1 on802.1qtrunking1
PortVlansallowedontrunk
CCIER&SbyNarbikKocharians FREE LabsPage 47 of338
2007NarbikKocharians.Allrightsreserved
Po114094
PortVlansallowedandactiveinmanagementdomain
Po11
PortVlansinspanningtreeforwardingstateandnotpruned
Po1 1
On Cat1
Cat1#Showspanningtreeintf0/21
MstInstanceRoleStsCostPrio.NbrType
MST00DesgFWD100000128.616P2pBound(STP)
MST01BounFWD100000128.616P2pBound(STP)
MST02BounFWD100000128.616P2pBound(STP)
Cat1#Showspanningtreeintf0/22
MstInstanceRoleStsCostPrio.NbrType
MST00DesgFWD100000128.616P2pBound(STP)
MST01BounFWD100000128.616P2pBound(STP)
MST02BounFWD100000128.616P2pBound(STP)
OnCat3
Cat3#Showspanningtreeintf0/21
VlanRoleStsCostPrio.NbrType
VLAN0001RootFWD12128.65P2p
Cat3#Showspanningtreeintf0/22
Vlan RoleStsCostPrio.NbrType
VLAN0001RootFWD12128.65P2p
Noteallinterfacesareinforwardingstatebecausetospanningtree,theport
channelappearsasasingleinterface.
Ashowetherchannel1detailcommandcanrevealthattheinterfacesareworking
inthebundle.
CCIER&SbyNarbikKocharians FREE LabsPage 48 of338
2007NarbikKocharians.Allrightsreserved
Task30
EnsurethattheEtherChannelcreatedinthepreviousstepusesdestinationMAC
addressestoloadbalancethetrafficload.
Loadbalancingcanbedonebasedonthefollowing:
SourceMACaddressPacketsforwardedtoanEtherChannelaredistributedacrossthe
portsinthechannelbasedonthesourceMACaddressoftheincomingpackets.When
sourceMACaddressloadbalancingisenabled,theloaddistributionbasedonthesource
anddestinationIPaddressisalsoenabled
DestinationMACaddressIftheEtherChannelisbetweenarouterandaswitchand
sincetherouterhasasingleMACaddress,destinationbasedloadbalancingisthebest
way.
Toseethedefaultloadbalancing:
On Cat1
Notethedefaultloadbalancingisbasedonthe
Cat1#showetherchannelload SourceMacaddress
EtherChannelLoadBalancingOperationalState(srcmac):
NonIP:SourceMACaddress
IPv4:SourceMACaddress
IPv6:SourceIPaddress
ToconfiguretheloadbalancingbasedonthedestinationMacaddresses:
On Cat1andCat3
(config)#portchannelloadbalancedstmac
Toverifytheconfiguration:
Cat1#showetherchannelload
EtherChannelLoadBalancingOperationalState(dstmac):
NonIP:DestinationMACaddress
IPv4:DestinationMACaddress
IPv6:DestinationIPaddress
ErasethestartupconfigurationandVLAN.datbeforeproceedingtothenextlab
NarbikKocharians
CCIE#12410
R&S,Security,SP
FrameRelay
Answers
R1
FrameRelay
R4 R2
R3
Task1
ConfigureaframerelayHubandspokeusingframerelaymapstatements.UsetheIP
addressingintheabovechart.
Disableinversearpsuchthattheroutersdonotgenerateinversearprequestpackets,and
ensurethatonlytheassignedDLCIsareused,theseDLCIsshouldbeasfollows:
OnR1:102,103and104shouldbeusedforconnectionstoR2,R3andR4
respectively.
OnR2,R3andR4:DLCIs201,301and401shouldbeusedonR2,R3andR4
respectivelyfortheirconnectiontoR1(Thehub).
InthefutureOSPFroutingprotocolwillberunningontheserouters,ensurethatthe
routerscanhandletheMulticasttrafficgeneratedbytheOSPFroutingprotocol.
R1(config)#IntS0/0
R1(configif)#Ipaddress150.1.100.1255.255.255.0
R1(configif)#Encapsulationframe
R1(configif)#Framerelaymapip150.1.100.2102 b
R1(configif)#Framerelaymapip150.1.100.3103 b
R1(configif)#Framerelaymapip150.1.100.4104 b
R1(configif)#Noframerelayinversearp
R1(configif)#Noshut
Toverifytheconfiguration:
OnR1
R1#showframemap
Serial0/0(up):ip0.0.0.0dlci110(0x6E,0x18E0)
broadcast,
CISCO,statusdefined,inactive
Serial0/0(up):ip0.0.0.0dlci109(0x6D,0x18D0)
broadcast,
CISCO,statusdefined,inactive
Serial0/0(up):ip0.0.0.0dlci108(0x6C,0x18C0)
broadcast,
CISCO,statusdefined,inactive
Serial0/0(up):ip0.0.0.0dlci107(0x6B,0x18B0)
broadcast,
CISCO,statusdefined,inactive
Serial0/0(up):ip0.0.0.0dlci106(0x6A,0x18A0)
broadcast,
CISCO,statusdefined,inactive
Serial0/0(up):ip0.0.0.0dlci105(0x69,0x1890)
broadcast,
CISCO,statusdefined,inactive
Serial0/0(up):ip150.1.100.2dlci102(0x66,0x1860),static,
broadcast,
CISCO,statusdefined,inactive
Serial0/0(up):ip150.1.100.3dlci103(0x67,0x1870),static,
broadcast,
CISCO,statusdefined,inactive
Serial0/0(up):ip150.1.100.4dlci104(0x68,0x1880),static,
broadcast,
CISCO,statusdefined,inactive
OnR1
R1#Wr
R1#Reload
R1#Showframemap
Serial0/0(up):ip150.1.100.2dlci102(0x66,0x1860),static,
broadcast,
CISCO,statusdefined,inactive
Serial0/0(up):ip150.1.100.3dlci103(0x67,0x1870),static,
broadcast,
CISCO,statusdefined,inactive
Serial0/0(up):ip150.1.100.4dlci104(0x68,0x1880),static,
broadcast,
CISCO,statusdefined,inactive
OnR2
R2(config)#IntS0/0
R2(configif)#Ipaddress150.1.100.2255.255.255.0
R2(configif)#Encapsulationframe
R2(configif)#Framerelaymapip150.1.100.1 201b
R2(configif)#Noframerelayinversearp
R2(configif)#Noshut
Toverifytheconfiguration:
OnR2
R2#Ping150.1.100.1
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.100.1,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=56/56/60ms
Serial0/0(up):ip150.1.100.1dlci201(0xC9,0x3090),static,
broadcast,
CISCO,statusdefined,active
OnR3
R3(config)#IntS0/0
R3(configif)#Ipaddress150.1.100.3255.255.255.0
R3(configif)#Encapsulationframe
R3(configif)#Framerelaymapip150.1.100.1301b
R3(configif)#Noframerelayinversearp
R3(configif)#Noshut
Toverifytheconfiguration:
OnR3
R3#Ping150.1.100.1
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.100.1,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=56/56/60ms
R3#Showframemap
Serial0/0(up):ip150.1.100.1dlci301(0x12D,0x48D0),static,
broadcast,
CISCO,statusdefined,active
OnR4
R4(config)#IntS0/0
R4(config)#Ipaddress150.1.100.4255.255.255.0
R4(config)#Encapsulationframe
R4(config)#Framerelaymapip150.1.100.1401b
R4(config)#Noframerelayinversearp
R4(config#Noshut
OnR4
R4#Showframemap
Serial0/0(up):ip150.1.100.1dlci401(0x191,0x6410),static,
broadcast,
CISCO,statusdefined,inactive
R4#Ping150.1.100.1
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.100.1,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=56/57/60ms
Task2
EnsurethateveryroutercanpingeveryIPaddressconnectedtothecloud.
Ensurethatthehub routerdoesnotreceiveredundantroutingtraffic.
OnR1
Totesttheexistingconfiguration:
R1#Ping150.1.100.1
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.100.1,timeoutis2seconds:
.....
Successrateis0percent(0/5)
Noteinamultipointframerelayconfiguration,twoissuesmustberesolvedbefore
anIPaddresscanbereached:
A. ThedestinationIPaddressmustbeintheroutingtablewithavalidnext
hop.
B. Theremustbeaframerelaymappingtothatdestination.
InthiscasethedestinationIPaddressisintheroutingtable,buttheframerelay
OnR1
R1(config)#InterfaceS0/0
R1(configif)#Framerelaymapip150.1.100.1102
Toverifytheconfiguration:
OnR1
R1#Showframemap
Serial0/0(up):ip150.1.100.1dlci102(0x66,0x1860),static,
CISCO,statusdefined,active
Serial0/0(up):ip150.1.100.2dlci102(0x66,0x1860),static,
broadcast,
CISCO,statusdefined,active
Serial0/0(up):ip150.1.100.3dlci103(0x67,0x1870),static,
broadcast,
CISCO,statusdefined,active
Serial0/0(up):ip150.1.100.4dlci104(0x68,0x1880),static,
broadcast,
CISCO,statusdefined,active
R1#Ping150.1.100.1
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.100.1,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=112/115/124ms
OnR2
R2(configif)#InterfaceS0/0
R2(configif)#Framerelaymapip150.1.100.3201
R2(configif)#Framerelaymapip150.1.100.4201
R2(configif)#Framerelaymapip150.1.100.2201
Toverifytheconfiguration:
OnR2
R2#Ping150.1.100.2
CCIER&SbyNarbikKocharians FREE LabsPage 58 of338
2007NarbikKocharians.Allrightsreserved
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.100.2,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=112/114/120ms
OnR3
R3(config)#InterfaceS0/0
R3(configif)#Framerelaymapip150.1.100.2301
R3(configif)#Framerelaymapip150.1.100.4301
R3(configif)#Framerelaymapip150.1.100.3301
Toverifytheconfiguration:
OnR3
R3#Ping150.1.100.3
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.100.3,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=112/114/120ms
OnR4
R4(config)#InterfaceS0/0
R4(configif)#Framerelaymapip150.1.100.2401
R4(configif)#Framerelaymapip150.1.100.3401
R4(configif)#Framerelaymapip150.1.100.4401
Notewhenconfiguringtheframerelaymappingfromonespoketoanotherspoke,
thebroadcastargumentshouldnotbeused,ifthiskeywordisused,thehub
routerwillreceiveredundantroutingtraffic.ThiscanbeverifiedbyrunningRIPv2
andperformingadebugipripcommandonthehubrouter.
Toverifytheconfiguration:
OnR4
R4#Ping150.1.100.2
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.100.2,timeoutis2seconds:
!!!!!
CCIER&SbyNarbikKocharians FREE LabsPage 59 of338
2007NarbikKocharians.Allrightsreserved
Successrateis100percent(5/5),roundtripmin/avg/max=112/112/116ms
R4#
R4#Ping150.1.100.3
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.100.3,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=112/112/116ms
R4#Ping150.1.100.4
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.100.4,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=112/113/120ms
OnR3
R3#Ping150.1.100.2
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.100.2,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=112/112/116ms
R3#
Task3
ConfiguretherouterssuchthattheLMIstatusinquiriesaresentevery5secondsandFull
StatusLMIrequestsaresentevery 3cyclesinsteadof6.
BydefaultframerelayrouterssendtheirLMIStatusinquiries,every10seconds,
andafullstatusinquiryevery6th cycle(Every60seconds).Thestatusinquiriescan
bechangedusingtheKeepalivecommand,whereastheFramerelaylmi
n391dtecommandcanbeusedtochangetheintervalforthecompletestatus
inquiry.Notethestatusinquiriesaresentevery10seconds,andacompletestatus
inquiryissentevery6thcycleasfollows:
OnR1
R1#Debugframelmi
*Nov2420:00:07.407:Serial0/0(out):StEnq,myseq126,yourseen125,DTEup
*Nov2420:00:07.407:datagramstart=0x3F6B0294,datagramsize=14
*Nov2420:00:07.407:FRencap=0x00010308
*Nov2420:00:07.407:00759501010103027E7D
*Nov2420:00:07.407:
*Nov2420:00:07.411:Serial0/0(in):Status,myseq126,paksize14
*Nov 2420:00:07.411:RTIE1,length1,type1
*Nov2420:00:07.411:KAIE3,length2,yourseq126,myseq126
*Nov2420:00:17.407:Serial0/0(out):StEnq,myseq127,yourseen126,DTEup
*Nov2420:00:17.407:datagramstart=0x3F400C14,datagramsize=14
*Nov2420:00:17.407:FRencap=0x00010308
*Nov2420:00:17.407:00759501010103027F7E
*Nov2420:00:17.407:
*Nov2420:00:17.411:Serial0/0(in):Status,myseq127,paksize14
*Nov2420:00:17.411:RTIE1,length1,type1
*Nov2420:00:17.411:KAIE3,length2,yourseq127,myseq127
*Nov2420:00:27.407:Serial0/0(out):StEnq,myseq128,yourseen127,DTEup
*Nov2420:00:27.407:datagramstart=0x3F6AF394,datagramsize=14
*Nov2420:00:27.407:FRencap=0x00010308
*Nov2420:00:27.407:00 75950101010302807F
*Nov2420:00:27.407:
*Nov2420:00:27.411:Serial0/0(in):Status,myseq128,paksize14
*Nov2420:00:27.411:RTIE1,length1,type1
*Nov2420:00:27.411:KAIE3,length2,yourseq128,myseq128
*Nov2420:00:37.407:Serial0/0(out):StEnq,myseq129,yourseen128,DTEup
*Nov2420:00:37.407:datagramstart=0x3F644ED4,datagramsize=14
*Nov2420:00:37.407:FRencap=0x00010308
*Nov2420:00:37.407:00759501010103028180
*Nov2420:00:37.407:
*Nov2420:00:37.411:Serial0/0(in):Status,myseq129,paksize14
*Nov2420:00:37.411:RTIE1,length1,type1
*Nov2420:00:37.411:KAIE3,length2,yourseq129,myseq129
Notewhentheswitchreceivesthecompletestatusinquiry,itrespondsbackwithall
theDLCIsthatareconfiguredforthatgivenrouter.
Tochangethesetimers:
Onallrouters
(config)#InterfaceS0/0
(configif)#Keepalive5
(configif)#Framerelaylmin391dte3
Totesttheconfiguration:
Rx#DebugframeLMI
*Nov2420:13:52.411:Serial0/0(out):StEnq,myseq221,yourseen220,DTEup
*Nov2420:13:52.411:datagramstart=0x3F6AEFD4,datagramsize=14
*Nov2420:13:52.411:FRencap=0x00010308
*Nov2420:13:52.411:0075950101 010302DDDC
*Nov2420:13:52.411:
*Nov2420:13:52.415:Serial0/0(in):Status,myseq221,paksize14
*Nov2420:13:52.415:RTIE1,length1,type1
*Nov2420:13:52.415:KAIE3,length2,yourseq221,myseq221
*Nov2420:14:02.411:Serial0/0(out):StEnq,myseq223,yourseen222,DTEup
*Nov2420:14:02.411:datagramstart=0x3F6AF394,datagramsize=14
*Nov2420:14:02.411:FRencap=0x00010308
*Nov2420:14:02.411:0075950101 000302DFDE
*Nov2420:14:02.411:
*Nov2420:14:02.423:Serial0/0(in):Status,myseq223,paksize59
*Nov2420:14:02.423:RTIE1,length1,type0
*Nov2420:14:02.423:KAIE3,length2,yourseq223,myseq223
*Nov2420:14:02.423:PVCIE0x7,length0x3,dlci102,status0x2
*Nov2420:14:02.423:PVCIE0x7,length0x3,dlci103,status0x2
*Nov2420:14:02.423:PVCIE0x7,length0x3,dlci104,status0x2
*Nov2420:14:02.423:PVCIE0x7,length0x3,dlci105,status0x0
*Nov2420:14:02.423:PVCIE0x7,length0x3,dlci106,status0x0
*Nov2420:14:02.427:PVCIE0x7,length0x3,dlci107,status0x0
*Nov2420:14:02.427:PVC IE0x7,length0x3,dlci108,status0x0
*Nov2420:14:02.427:PVCIE0x7,length0x3,dlci109,status0x0
*Nov2420:14:02.427:PVCIE0x7,length0x3,dlci110,status0x0
Noteinitiallytheroutersendsouttwotype1inquiries,andthethirdmessagethat
theroutersendsoutismessagetype0,whichtellstheswitchtorespondwithallthe
DLCIsthatareconfiguredforthatgivenrouter.
Task4
Reconfiguretheroutersinafullmeshconfigurationandtest/verifytheconfiguration.In
thisconfigurationtherouterswillnotberunningaroutingprotocol.
Task5
Erasethestartupconfigurationandreloadtheroutersbeforeproceedingtothenextlab.
R1
FrameRelay
R4 R2
R3
Task1
ConfiguretheroutersinahubandspokemannerusingtheIPaddressingintheabove
chart.
Disableinversearpsuchthattheroutersdonotgenerateinversearppackets,andensure
thatonlytheassignedDLCIsareused,theseDLCIsshouldbeasfollows:
OnR1:102,103and104shouldbeusedforconnectionstoR2,R3andR4
respectively.
OnR2,R3andR4:DLCIs201,301and401shouldbeusedonR2,R3andR4
respectivelyfortheirconnectiontoR1(Thehub).
TheseroutersshouldbeabletopingeveryIPaddresswithintheirIPaddressspace.
OnR1
R1(config)#InterfaceS0/0
R1(configif)#Encapframe
R1(configif)#Noshut
R1(configif)#Exit
R1(config)#InterfaceS0/0.12pointtopoint
R1(configsubif)#Ipaddress150.1.12.1255.255.255.0
R1(configsubif)#Framerelayinterfacedlci102
R1(configsubif)#Exit
R1(configsubif)#InterfaceS0/0.14pointtopoint
R1(configsubif)#Ipaddress150.1.14.1255.255.255.0
R1(configsubif)#Framerelayinterfacedlci104
R1(configsubif)#Exit
Toverifytheconfiguration:
OnR1
R1#Showframemap
Serial0/0.12(up):pointtopointdlci,dlci102(0x66,0x1860),broadcast
statusdefined,active
Serial0/0.14(up):pointtopointdlci,dlci104(0x68,0x1880),broadcast
statusdefined,active
Serial0/0.13(up):pointtopointdlci,dlci103(0x67,0x1870),broadcast
statusdefined,active
Notewhenframerelayisconfiguredinapointtopointmanneritsimportantto
understandthefollowingtwobehaviors:
A. Thereisnoneedtodisablesendinginversearppackets,becauseinversearp
isdisabledwhenframerelayisconfiguredinapointtopointmanner.
B. Noneedforframerelaymapping/s,becausetherecanonlybeanotherrouter
ontheotherendofthePVC,therefore,allIPaddresses(Thisincludesthe
localroutersIPaddress)arereachableaslongasthedestinationIPaddress
isintheroutingtablewithavalidnexthopIPaddress.
OnR2
R2(config)#IntS0/0
R2(configif)#Encapframe
R2(configif)#Noshut
R2(configif)#Exit
R2(config)#IntS0/0.21pointtopoint
R2(configsubif)#Ipaddress150.1.12.2255.255.255.0
R2(configsubif)#Framerelayinterfacedlci201
R2(configsubif)#Exit
CCIER&SbyNarbikKocharians FREE LabsPage 66 of338
2007NarbikKocharians.Allrightsreserved
Toverifyandtesttheconfiguration:
OnR2
R2#Showframemap
Serial0/0.21(up):pointtopointdlci,dlci201(0xC9,0x3090),broadcast
statusdefined,active
R2#Ping150.1.12.1
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.12.1,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=56/56/60ms
R2#Ping150.1.12.2
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.12.2,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=112/114/120ms
OnR3
R3(config)#IntS0/0
R3(configif)#Encapframe
R3(configif)#Noshut
R3(configif)#Exit
R3(config)#IntS0/0.31pointtopoint
R3(configsubif)#Ipaddress150.1.13.3255.255.255.0
R3(configsubif)#Framerelayinterfacedlci301
Toverifyandtesttheconfiguration:
OnR3
R3#Showframemap
Serial0/0.31(up):pointtopointdlci,dlci 301(0x12D,0x48D0),broadcast
statusdefined,active
R3#Ping150.1.13.1
R3#Ping150.1.13.3
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.13.3,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=112/114/120ms
OnR4
R4(config)#IntS0/0
R4(configif)#Encapframe
R4(configif)#Noshut
R4(configif)#Exit
R4(config)#IntS0/0.41pointtopoint
R4(configsubif)#Ipaddress150.1.14.4255.255.255.0
R4(configsubif)#Framerelayinterfacedlci401
Toverifyandtesttheconfiguration:
OnR4
R4#Showframemap
Serial0/0.41(up):pointtopointdlci,dlci 401(0x191,0x6410),broadcast
statusdefined,active
R4#Ping150.1.14.1
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.14.1,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=56/56/60ms
R4#Ping150.1.14.4
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.14.4,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=112/114/120ms
CCIER&SbyNarbikKocharians FREE LabsPage 68 of338
2007NarbikKocharians.Allrightsreserved
Task2
ReconfiguretheroutersinafullmeshconfigurationusingtheDLCIsintheIP
addressingandDLCIinformationchart.YoushoulduseanIPaddressingschemeof
yourchoicetoaccomplishthistask.
Task3
Erasethestartupconfigurationandreloadtheroutersbeforeproceedingtothenextlab.
R1
FrameRelay
R4 R2
R3
Task1
Configureframerelayontheroutersasfollows:
R1: Thisroutershouldbeconfiguredinapointtopointmannerforitsconnectionto
R4usingtheIPaddressingandDLCIinformationintheabovechart.
ThisroutershouldalsobeconfiguredforitsconnectiontoroutersR2andR3
usingtheIPaddressingandtheDLCIinformationintheabovechart.
R2: ThisroutershouldbeconfiguredusingtheIPaddressingandtheDLCI
informationintheabovechart.Thisroutermustbeconfiguredinapointtopoint
mannerforitsconnectiontoR1.
R3: ThisroutershouldbeconfiguredusingtheIPaddressingandtheDLCI
informationintheabovechart.ThisroutermustNOTbeconfiguredwithasub
interfaceforitsconnectiontoR1.
R4: ThisroutershouldbeconfiguredusingtheIPaddressingandtheDLCI
informationintheabovechart.Thisroutermustbeconfiguredinapointtopoint
mannerforitsconnectiontoR1.
Disableinversearpsuchthattheroutersdonotgenerateinversearppackets,andensure
thatonlytheassignedDLCIsfortheirconnection/sareused.
TheseroutersshouldbeabletopingeveryIPaddresswithintheirIPaddressspace.
R1(config)#IntS0/0
R1(configif)#Encapframe
R1(configif)#Noshut
R1(configif)#Exit
R1(configsubif)#IntS0/0.123multipoint
R1(configsubif)#Ipaddress150.1.123.1255.255.255.0
R1(configsubif)#Framerelaymapip150.1.123.2102b
R1(configsubif)#Framerelaymapip150.1.123.3103b
R1(configsubif)#Noframerelayinversearp
R1(config)#IntS0/0.14pointtopoint
R1(configsubif)#Ipaddress150.1.14.1255.255.255.0
R1(configsubif)#Framerelayinterfacedlci104
OnR2
R2(config)#IntS0/0
R2(configif)#Encapframe
R2(configif)#Noshut
R2(configif)#Exit
R2(config)#IntS0/0.21pointtopoint
R2(configsubif)#Ipaddress150.1.123.2255.255.255.0
R2(configsubif)#Framerelayinterfacedlci201
Notethereisnoneedtodisablesendinginversearp,becauseitsdisabledbydefault
inapointtopointconfiguration.
Totestandverifytheconfiguration:
OnR2
R2#Showframerelaymap
Serial0/0.21(up):pointtopointdlci,dlci201(0xC9,0x3090),broadcast
statusdefined,active
R2#Ping150.1.123.1
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.123.1,timeoutis2seconds:
CCIER&SbyNarbikKocharians FREE LabsPage 72 of338
2007NarbikKocharians.Allrightsreserved
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=56/57/60ms
OnR3
R3(config)#IntS0/0
R3(configif)#Encapframe
R3(configif)#Ipaddress150.1.123.3255.255.255.0
R3(configif)#Framerelaymapip150.1.123.1301b
R3(configif)#Framerelaymapip150.1.123.2301
R3(configif)#Framerelaymapip150.1.123.3301
R3(configif)#Noframerelayinversearp
R3(configif)#Noshut
Toverifyandtesttheconfiguration:
OnR3
R3#Showframemap
Serial0/0(up):ip150.1.123.1dlci301(0x12D,0x48D0),static,
broadcast,
CISCO,statusdefined,active
Serial0/0(up):ip150.1.123.2dlci301(0x12D,0x48D0),static,
CISCO,statusdefined,active
Serial0/0(up):ip150.1.123.3dlci301(0x12D,0x48D0),static,
CISCO,statusdefined,active
R3#Ping150.1.123.2
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.123.2,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=112/113/116ms
R3#Ping150.1.123.3
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.123.3,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=112/114/120ms
R3#Ping150.1.123.1
Typeescapesequencetoabort.
CCIER&SbyNarbikKocharians FREE LabsPage 73 of338
2007NarbikKocharians.Allrightsreserved
Sending5,100byteICMPEchosto150.1.123.1,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=56/56/60ms
OnR4
R4(config)#IntS0/0
R4(configif)#Encapframe
R4(configif)#Noshut
R4(configif)#Exit
R4(config)#IntS0/0.41pointtopoint
R4(configsubif)#Ipaddress150.1.14.4255.255.255.0
R4(configsubif)#Framerelayinterfacedlci401
Toverifyandtesttheconfiguration:
OnR4
R4#Showframemap
Serial0/0.41(up):pointtopointdlci,dlci401(0x191,0x6410),broadcast
statusdefined,active
R4#Ping150.1.14.1
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.14.1,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=56/56/60ms
R4#Ping150.1.14.4
Typeescapesequencetoabort.
Sending5,100byteICMPEchosto150.1.14.4,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=112/114/120ms
Task2
Erasethestartupconfigurationandreloadtheroutersbeforeproceedingtothenextlab.
NarbikKocharians
CCIE#12410
R&S,Security,SP
www.MicronicsTraining.com
Prefixlists
Answers
R1 R2
.1 .2
10.1.12.0/24
LabSetup:
TheF0/0interfaceofR1andR2shouldbeconfiguredinVLAN12.
ConfigureRIPv2onbothrouters,thesetworoutersshouldadvertisetheirdirectly
connectedinterfacesensurethatautomaticsummarizationisdisabled.
IPAddressing:
Routers Interface/IPaddress
R1 F0/0=10.1.12.1/24
Lo0=1.1.1.1/8
Lo1=2.2.2.2/8
Lo2=3.3.3.3/8
Lo3=125.1.1.1/8
Lo4=128.1.1.1/16
Lo5=131.1.1.1/16
Lo6=191.1.1.1/16
Lo7=192.1.1.1/24
Lo8=195.1.1.1/24
Lo9=200.1.1.1/24
Lo10=223.1.1.1/24
Lo11=4.4.4.4/16
Lo12=5.5.5.5/24
Lo13=6.6.6.6/26
Lo14=132.1.1.1/24
Lo15=133.1.1.1/25
Lo16=193.1.1.1/25
Lo17=194.1.1.1/26
R2 F0/0=10.1.12.2/24
ConfigureR2suchthatONLYNetwork194.1.1.0/27isallowedinR2sroutingtable.
OnR2
R2(config)#ipprefixlistNet194seq5permit194.1.1.0/27
R2(config)#routerrip
R2(configrouter)#distributelistprefixNet194inf0/0
R2#cleariproute*
R2#Shiprouterip
194.1.1.0/27issubnetted,1subnets
R194.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
NotetheIPPrefixlistonlyallowsnetwork194.1.1.0/26anddeniestherestofthe
networksinthroughitsF0/0interface.
Task2
Removethecommandsfromtheprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
OnR2
R2(config)#NoipprefixlistNet194seq5permit194.1.1.0/27
R2(config)#routerrip
R2(configrouter)#Nodistributelistprefix Net194inf0/0
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
R1.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R2.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R3.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
Task3
ConfigureR2suchthatitonlyallowsClassAnetworksthatarenotsubnetted.
OnR2
R2(config)#ipprefixlistClassAseq5permit0.0.0.0/1ge8le8
R2(config)#routerrip
R2(configrouter)#distributelistprefixClassAinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
ClassAnetworkareidentifiedasfollows:
Wherenidentifiesthenetworkbitsandhidentifiesthehostbits.
0nnnnnnnhhhhhhhhhhhhhhhhhhhhhhhh
Firstbitissetto0Thereforethereare7networkbits24hostbits
Initialbyte:0 127
126ClassAsexist(0and127arereserved)
16,777,214hostsoneachClassA
Notethemostsignificantbitofthefirstoctetissettoabinary0,therestofthe
bitsinthefirstoctetcanbezerosorones,therefore,ifthemostsignificantbitofthe
firstoctetis0itmustbeclassA.Theprefixlistpicksonthefirstbitbyusinga
/1prefixlength.
Task4
Removethecommandsfromtheprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
OnR2
R2(config)#NoipprefixlistClassAseq5permit0.0.0.0/1ge8le8
R2(config)#routerrip
R2(configrouter)#NodistributelistprefixClassAinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
R1.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R2.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
4.0.0.0/16issubnetted,1subnets
R4.4.0.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R191.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
5.0.0.0/24issubnetted,1subnets
R5.5.5.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R200.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
6.0.0.0/27issubnetted,1subnets
R6.6.6.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R128.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R125.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
193.1.1.0/25issubnetted,1subnets
R193.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
132.1.0.0/24issubnetted,1subnets
R132.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R192.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
133.1.0.0/25issubnetted,1 subnets
R133.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R195.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
194.1.1.0/27issubnetted,1subnets
R194.1.1.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
Task5
ConfigureR2suchthatitonlyallowsClassBnetworksthatarenotsubnetted.
OnR2
R2(config)#ipprefixlistClassBseq5permit128.0.0.0/2ge16le16
R2(config)#routerrip
R2(configrouter)#distributelistprefixClassBinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
CCIER&SbyNarbikKocharians FREE LabsPage 80 of338
2007NarbikKocharians.Allrightsreserved
R191.1.0.0/16[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
R128.1.0.0/16[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
10nnnnnnnnnnnnnnhhhhhhhhhhhhhhhh
Firsttwobitsaresetto10therefore,thereare14networkbitsleft
toidentifythenetworksandtheremaining16bitsidentifythehost
bits.
Initialbyte:128 191
16,384ClassBsexist
65,532hostsoneachClassB
Notethefirst&secondmostsignificantbitsofthefirstoctetissettoabinary10,
sincethefirsttwooctetsarereservedfornetworks,therestofthebitsinthefirst&
secondoctetcanbezerosorones,therefore,if thetwomostsignificantbitsofthe
firstoctetis10itmustbeclassB.Theprefixlistpicksonthefirsttwobitsby
usinga/2prefixlength,withanetworkaddressof128.0.0.0.Sincethetaskstates
thatitshouldONLYallowclassBnetworksthatareNOTsubnetted,theprefix
lengthspecifiesGE16andLE16.
Task6
Removethecommandsfromtheprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
OnR2
R2(config)#NoipprefixlistClassBseq5permit128.0.0.0/2ge16le16
R2(config)#routerrip
R2(configrouter)#NodistributelistprefixClassBinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
R223.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
4.0.0.0/16issubnetted,1subnets
R4.4.0.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R191.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
5.0.0.0/24issubnetted,1subnets
R5.5.5.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R200.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
6.0.0.0/27issubnetted,1subnets
R6.6.6.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R128.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R125.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
193.1.1.0/25issubnetted,1subnets
R193.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
132.1.0.0/24issubnetted,1subnets
R132.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R192.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
133.1.0.0/25issubnetted,1subnets
R133.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R195.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
194.1.1.0/27issubnetted,1subnets
R194.1.1.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
Task7
ConfigureR2suchthatitonlyallowsClassCnetworksthatarenotsubnetted.
OnR2
R2(config)#ipprefixlistClassCpermit192.0.0.0/3ge24le24
R2(config)#routerrip
R2(configrouter)#distributelistprefixClassCinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
CCIER&SbyNarbikKocharians FREE LabsPage 82 of338
2007NarbikKocharians.Allrightsreserved
R2#Shiprouterip
R223.1.1.0/24[120/1]via10.1.12.1,00:00:07,FastEthernet0/0
R 200.1.1.0/24[120/1]via10.1.12.1,00:00:07,FastEthernet0/0
R192.1.1.0/24[120/1]via10.1.12.1,00:00:07,FastEthernet0/0
R195.1.1.0/24[120/1]via10.1.12.1,00:00:07,FastEthernet0/0
110nnnnnnnnnnnnnnnnnnnnnhhhhhhhh
Firstthreebitsof thefirstoctetisreservedas110Sincethefirst
threeoctetsbelongtonetworks,thereare21networkbitsleftto
identifythenetworksthereforetheremaining8bitsidentifythehost
bits
Initialbyte:192 223
2,097,152ClassCsexist
254hostsoneachClassC
Task8
Removethecommandsfromtheprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
OnR2
R2(config)#NoipprefixlistClassCseq5permit192.0.0.0/3ge24le24
R2(config)#routerrip
R2(configrouter)#NodistributelistprefixClassCinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
R1.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R2.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R 3.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
5.0.0.0/24issubnetted,1subnets
R5.5.5.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R200.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
6.0.0.0/27issubnetted,1 subnets
R6.6.6.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R128.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R125.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
193.1.1.0/25issubnetted,1subnets
R193.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
132.1.0.0/24issubnetted,1subnets
R132.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R192.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
133.1.0.0/25issubnetted,1subnets
R133.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R195.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
194.1.1.0/27issubnetted,1 subnets
R194.1.1.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
Task9
ConfigureR2suchthatitonlyallowsClassAnetworksthatareorarenotsubnetted.
OnR2
R2(config)#ipprefixlistClassAseq5permit0.0.0.0/1ge8le32
R2(config)#routerrip
R2(configrouter)#distributelistprefixClassAinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
5.0.0.0/24issubnetted,1subnets
R5.5.5.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
6.0.0.0/27issubnetted,1subnets
R6.6.6.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R125.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
NoteinthiscasetheprefixlistpicksonclassA,withaprefixlengthofgreaterthan
orequal8andlessthanorequal32,whichmeansthatallclassAplusallclassA
networksthataresubnetted.
Task10
Removethecommandsfromtheprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
OnR2
R2(config)#NoipprefixlistClassAseq5permit0.0.0.0/1ge8le32
R2(config)#routerrip
R2(configrouter)#NodistributelistprefixClassAinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
R1.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R2.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R3.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R223.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
4.0.0.0/16issubnetted,1subnets
R4.4.0.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
CCIER&SbyNarbikKocharians FREE LabsPage 85 of338
2007NarbikKocharians.Allrightsreserved
R191.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
5.0.0.0/24issubnetted,1subnets
R5.5.5.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R200.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
6.0.0.0/27issubnetted,1subnets
R6.6.6.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R128.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R125.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
193.1.1.0/25issubnetted,1subnets
R193.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
132.1.0.0/24issubnetted,1subnets
R132.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R192.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
133.1.0.0/25issubnetted,1subnets
R133.1.1.0[120/1] via10.1.12.1,00:00:04,FastEthernet0/0
R195.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
194.1.1.0/27issubnetted,1subnets
R194.1.1.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
Task11
ConfigureR2suchthatitonlyallowsClassBnetworksthatareorarenotsubnetted.
OnR2
R2(config)#ipprefixlistClassBseq5permit128.0.0.0/2ge16le32
R2(config)#routerrip
R2(configrouter)#distributelistprefixClassBinf0/0
R2#Cleariproute*
R2#Shiproute rip
R191.1.0.0/16[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
R128.1.0.0/16[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
132.1.0.0/24issubnetted,1subnets
R 132.1.1.0[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
133.1.0.0/25issubnetted,1subnets
R133.1.1.0[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
Removethecommandsfromtheprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
OnR2
R2(config)#NoipprefixlistClassBseq5permit128.0.0.0/2ge16le32
R2(config)#routerrip
R2(configrouter)#NodistributelistprefixClassBinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
R1.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R2.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R3.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R223.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
4.0.0.0/16issubnetted,1subnets
R4.4.0.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R191.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
5.0.0.0/24issubnetted,1subnets
R5.5.5.0[120/1] via10.1.12.1,00:00:03,FastEthernet0/0
R200.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
6.0.0.0/27issubnetted,1subnets
R6.6.6.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R128.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R125.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
193.1.1.0/25issubnetted,1subnets
R193.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
132.1.0.0/24issubnetted,1subnets
R132.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R192.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
133.1.0.0/25issubnetted,1subnets
R133.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R195.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
194.1.1.0/27issubnetted,1subnets
R194.1.1.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
CCIER&SbyNarbikKocharians FREE LabsPage 87 of338
2007NarbikKocharians.Allrightsreserved
Task13
ConfigureR2suchthatitonly allowsClassCnetworksthatareorarenotsubnetted.
OnR2
R2(config)#ipprefixlistClassCseq5permit192.0.0.0/3ge24le32
R2(config)#Routerrip
R2(configrouter)#distributelistprefixClassCinf0/0
R2#cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
R223.1.1.0/24[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
R200.1.1.0/24[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
193.1.1.0/25issubnetted,1subnets
R193.1.1.0[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
R192.1.1.0/24[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
R195.1.1.0/24[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
194.1.1.0/27issubnetted,1subnets
R194.1.1.0[120/1]via10.1.12.1,00:00:05,FastEthernet0/0
Task14
Removethecommandsfromtheprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
OnR2
R2(config)#NoipprefixlistClassCseq5permit192.0.0.0/3ge24le32
R2(config)#routerrip
R2(configrouter)#NodistributelistprefixClassCinf0/0
R2#Cleariproute*
OnR2
R2#Showiprouterip
R1.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R2.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R3.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R223.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
4.0.0.0/16issubnetted,1subnets
R4.4.0.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R191.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
5.0.0.0/24issubnetted,1subnets
R5.5.5.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R200.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
6.0.0.0/27issubnetted,1subnets
R 6.6.6.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R128.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R125.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
193.1.1.0/25issubnetted,1subnets
R193.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
132.1.0.0/24issubnetted,1subnets
R132.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R192.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
133.1.0.0/25issubnetted,1subnets
R133.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R195.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
194.1.1.0/27issubnetted,1subnets
R 194.1.1.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
Task15
ConfigureR2suchthatitonlyallowsnetworkswithaprefixlengthof25orgreaterinits
routingtable.
OnR2
R2(config)#ipprefixlistTSTseq5permit0.0.0.0/0ge25
R2(config)#routerrip
R2#Cleariproute*
Noteinthiscasethecombinationofthepermit0.0.0.0/0andthege25tellsthe
routerthatanynetworkthathasaprefixlengthof25orgreaterisapermitted.
Toverifytheconfiguration:
OnR2
R2#Shiprouterip
6.0.0.0/27issubnetted,1subnets
R6.6.6.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
193.1.1.0/25issubnetted,1subnets
R193.1.1.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
133.1.0.0/25issubnetted,1subnets
R133.1.1.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
194.1.1.0/27issubnetted,1subnets
R194.1.1.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
Task16
Removethecommandsfromtheprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
OnR2
R2(config)#NoipprefixlistTSTseq5permit0.0.0.0/0ge25
R2(config)#routerrip
R2(configrouter)#NodistributelistprefixTSTinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
CCIER&SbyNarbikKocharians FREE LabsPage 90 of338
2007NarbikKocharians.Allrightsreserved
R1.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R2.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R3.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R223.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
4.0.0.0/16issubnetted,1subnets
R4.4.0.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R191.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
5.0.0.0/24issubnetted,1subnets
R5.5.5.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R200.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
6.0.0.0/27issubnetted,1subnets
R6.6.6.0[120/1]via10.1.12.1,00:00:03, FastEthernet0/0
R128.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R125.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
193.1.1.0/25issubnetted,1subnets
R193.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
132.1.0.0/24issubnetted,1subnets
R132.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R192.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
133.1.0.0/25issubnetted,1subnets
R133.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R195.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
194.1.1.0/27issubnetted,1subnets
R194.1.1.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
Task17
ConfigureR2suchthatitonlyallowsnetworkswithaprefixlengthof16orlessinits
routingtable.
OnR2
R2(config)#ipprefixlistTSTseq5permit0.0.0.0/0le16
R2(config)#routerrip
R2(configrouter)#distributelistprefixTSTinf0/0
R2#Cleariproute*
Noteinthiscasethecombinationofthepermit0.0.0.0/0andthele16tellsthe
routerthatanynetworkthathasaprefixlengthof16orlessisapermitted.
OnR2
R2#Shiproute
Gatewayoflastresortisnotset
R1.0.0.0/8[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
R2.0.0.0/8[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
R3.0.0.0/8[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
4.0.0.0/16issubnetted,1subnets
R4.4.0.0[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
R191.1.0.0/16[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
R128.1.0.0/16[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
10.0.0.0/24issubnetted,1subnets
C10.1.12.0isdirectlyconnected,FastEthernet0/0
R125.0.0.0/8[120/1]via10.1.12.1,00:00:09,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:09,FastEthernet0/0
Task18
Removethecommandsfromtheprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
OnR2
R2(config)#NoipprefixlistTSTseq5permit0.0.0.0/0le16
R2(config)#routerrip
R2(configrouter)#NodistributelistprefixTSTinf0/0
R2#Cleariproute*
OnR2
R2#Showiprouterip
R1.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R2.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R3.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R223.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
4.0.0.0/16issubnetted,1subnets
R4.4.0.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R191.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
5.0.0.0/24issubnetted,1subnets
R5.5.5.0[120/1]via10.1.12.1,00:00:03, FastEthernet0/0
R200.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
6.0.0.0/27issubnetted,1subnets
R6.6.6.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R128.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R 125.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
193.1.1.0/25issubnetted,1subnets
R193.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
132.1.0.0/24issubnetted,1subnets
R132.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R192.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
133.1.0.0/25issubnetted,1subnets
R133.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R195.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
194.1.1.0/27issubnetted,1subnets
R194.1.1.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
Task19
ConfigureR2suchthatitonlyallowsnetworkswithaprefixlengthof16to25inits
routingtable.
OnR2
R2(config)#ipprefixlistTSTpermit0.0.0.0/0ge16le25
R2#Cleariproute*
R2#Showiprouterip
R223.1.1.0/24 [120/1]via10.1.12.1,00:00:03,FastEthernet0/0
4.0.0.0/16issubnetted,1subnets
R4.4.0.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R191.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
5.0.0.0/24issubnetted,1subnets
R5.5.5.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R200.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R128.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
193.1.1.0/25issubnetted,1subnets
R193.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
132.1.0.0/24issubnetted,1subnets
R132.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R192.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
133.1.0.0/25issubnetted,1subnets
R133.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R195.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
Task20
Removethecommandsfrom theprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
OnR2
R2(config)#NoipprefixlistTSTpermit0.0.0.0/0ge16le25
R2(config)#routerrip
R2(configrouter)#NodistributelistprefixTSTinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
R2#Showiprouterip
R1.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R2.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R3.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R223.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
4.0.0.0/16issubnetted,1subnets
R4.4.0.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R191.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
5.0.0.0/24issubnetted,1subnets
R5.5.5.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R200.1.1.0/24[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
6.0.0.0/27issubnetted,1subnets
R6.6.6.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R 128.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R125.0.0.0/8[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
R131.1.0.0/16[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
193.1.1.0/25issubnetted,1subnets
R193.1.1.0[120/1]via10.1.12.1,00:00:03,FastEthernet0/0
132.1.0.0/24issubnetted,1subnets
R132.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R192.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
133.1.0.0/25issubnetted,1subnets
R133.1.1.0[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R195.1.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
194.1.1.0/27issubnetted,1subnets
R194.1.1.0[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
Task21
ErasethestartupconfigurationofR1andreloadthisrouter.Whentheroutercomesup,
copyandpastetheconfigurationfromtheCDprovidedforTask21
VerifythatR2isreceivingthefollowingroutesfromR1:
R2#Shiprouterip
10.0.0.0/8isvariablysubnetted,11subnets,7masks
R10.4.2.8/29[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R10.4.1.4/30[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R10.7.1.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R 10.7.0.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
CCIER&SbyNarbikKocharians FREE LabsPage 95 of338
2007NarbikKocharians.Allrightsreserved
R10.7.3.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R10.7.2.0/24[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R10.4.3.16/28[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R10.4.4.32/27[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R10.4.5.64/26[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
R10.4.6.128/25[120/1]via10.1.12.1,00:00:04,FastEthernet0/0
Task22
ConfigureR2toONLYpermitthe10.7.0.0subnetsinitsroutingtableyoushould
configureoneprefixlisttoaccomplishthistask.
OnR2
R2(config)#ipprefixlistTSTpermit10.7.0.0/22ge23le24
R2(config)#routerrip
R2(configrouter)#distributelistprefixTSTinf0/0
R2#Cleariproute*
Toverifytheconfiguration
OnR2
R2#Showiprouterip
10.0.0.0/24issubnetted,5subnets
R10.7.1.0[120/1]via10.1.12.1,00:00:07,FastEthernet0/0
R10.7.0.0[120/1]via10.1.12.1,00:00:07,FastEthernet0/0
R10.7.3.0[120/1]via10.1.12.1,00:00:07,FastEthernet0/0
R10.7.2.0[120/1]via10.1.12.1,00:00:07,FastEthernet0/0
Notetheprefixlistchecksthefirst22bitstoensureamatch,then,thesubnetmask
mustbeGEto23andLE24,whichwillONLYpickonthefournetworksin
10.7.0.0thatR1isadvertising.
Task23
Removethecommandsfromtheprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
R2(config)#NoipprefixlistTSTpermit10.7.0.0/22ge23le24
R2(config)#routerrip
R2(configrouter)#NodistributelistprefixTSTinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
Gatewayoflastresortisnotset
10.0.0.0/8isvariablysubnetted,11subnets,7masks
R10.4.2.8/29[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
C10.1.12.0/24isdirectlyconnected,FastEthernet0/0
R10.4.1.4/30[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
R10.7.1.0/24[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
R10.7.0.0/24 [120/1]via10.1.12.1,00:00:08,FastEthernet0/0
R10.7.3.0/24[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
R10.7.2.0/24[120/1]via10.1.12.1,00:00:09,FastEthernet0/0
R10.4.3.16/28[120/1]via10.1.12.1,00:00:09,FastEthernet0/0
R10.4.4.32/27[120/1]via10.1.12.1,00:00:09,FastEthernet0/0
R10.4.5.64/26[120/1]via10.1.12.1,00:00:09,FastEthernet0/0
R10.4.6.128/25[120/1]via10.1.12.1,00:00:09,FastEthernet0/0
Task24
ConfigureR2suchthatitONLYallowsthefollowingtwoprefixesinitsroutingtable:
10.4.4.32/27and10.4.5.64/26
R2(config)#ipprefixlistTSTpermit10.4.4.0/23ge24le27
R2(config)#routerrip
R2(configrouter)#distributelistprefixTSTinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
10.0.0.0/8isvariablysubnetted,3subnets,3masks
R10.4.4.32/27[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
R10.4.5.64/26[120/1]via10.1.12.1,00:00:06,FastEthernet0/0
Notetheprefixliststartswith10.4.4.0/23,becausethefirst23bitsareidenticalin
bothprefixes,therefore,thebitsmustspecify/23.Thesubnetmaskofthenetwork
shouldbeGE26andLE27,whichpicksonlyonthetwoprefixes.
Task25
Removethecommandsfromtheprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
OnR2
R2(config)#NoipprefixlistTSTpermit10.4.4.0/23ge24le27
R2(config)#routerrip
R2(configrouter)#NodistributelistprefixTSTinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
CCIER&SbyNarbikKocharians FREE LabsPage 98 of338
2007NarbikKocharians.Allrightsreserved
Codes:C connected,S static,RRIP,M mobile,BBGP
D EIGRP,EX EIGRPexternal,OOSPF,IA OSPFinterarea
N1 OSPFNSSAexternaltype1,N2 OSPFNSSAexternaltype2
E1 OSPFexternaltype1,E2 OSPFexternaltype2
i ISIS,su ISISsummary,L1ISISlevel1,L2 ISISlevel2
iaISISinterarea,* candidatedefault,U peruserstaticroute
o ODR, P periodicdownloadedstaticroute
Gatewayoflastresortisnotset
10.0.0.0/8isvariablysubnetted,11subnets,7masks
R10.4.2.8/29[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
C10.1.12.0/24isdirectlyconnected,FastEthernet0/0
R10.4.1.4/30[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
R10.7.1.0/24[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
R10.7.0.0/24[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
R10.7.3.0/24[120/1]via10.1.12.1,00:00:08,FastEthernet0/0
R10.7.2.0/24[120/1]via10.1.12.1,00:00:09,FastEthernet0/0
R10.4.3.16/28[120/1]via10.1.12.1,00:00:09,FastEthernet0/0
R10.4.4.32/27[120/1]via10.1.12.1,00:00:09,FastEthernet0/0
R10.4.5.64/26[120/1]via10.1.12.1,00:00:09,FastEthernet0/0
R10.4.6.128/25[120/1]via10.1.12.1,00:00:09,FastEthernet0/0
Task26
ConfigureR2toallowallsubnetsof10.4.0.0network.Youshouldbeveryspecificwhen
configuringtheprefixlist/s,youshouldNOTallowotherprefixesexcepttheonesinyour
routingtable.Useminimumnumberofprefixliststoaccomplishthistask.
OnR2
R2(config)#ipprefixlistTSTpermit10.4.0.0/22ge23le30
R2(config)#ipprefixlistTSTpermit10.4.4.0/22ge23le28
R2(config)#routerrip
R2(configrouter)#distributelistprefixTSTinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
R2#Showiprouterip
10.0.0.0/8isvariablysubnetted,7subnets,7masks
R10.4.2.8/29[120/1]via10.1.12.1,00:00:10,FastEthernet0/0
R10.4.1.4/30[120/1]via10.1.12.1,00:00:10,FastEthernet0/0
R10.4.3.16/28[120/1]via10.1.12.1,00:00:10,FastEthernet0/0
R10.4.4.32/27[120/1]via10.1.12.1,00:00:10,FastEthernet0/0
R10.4.5.64/26[120/1]via10.1.12.1,00:00:10,FastEthernet0/0
R10.4.6.128/25[120/1]via10.1.12.1,00:00:10,FastEthernet0/0
Task27
Removethecommandsfromtheprevioustaskandensurethatallthenetworksarein
R2sroutingtable.
OnR2
R2(config)#NoipprefixlistTSTpermit10.4.0.0/22ge23le30
R2(config)#NoipprefixlistTSTpermit10.4.4.0/22ge23le28
R2(config)#routerrip
R2(configrouter)#NodistributelistprefixTSTinf0/0
R2#Cleariproute*
Toverifytheconfiguration:
OnR2
R2#Showiprouterip
Gateway oflastresortisnotset
Task28
Erasethestartupconfigurationandreloadtheroutersbeforeproceedingtothenextlab.
NarbikKocharians
CCIE#12410
R&S,Security,SP
RIPv2
Answers
R1 R2
.1.2
FrameRelay
S0/0 S0/0
F0/0.2
.3
F0/0 .
.4 .3
FrameRelay
S0/0 S0/0
R4 R3
LabSetup
R2andR3sF0/0interfaceshouldbeconfiguredinVLAN23.
R1andR2shouldbeconfiguredinaframerelaypointtopoint.
R3andR4shouldbeconfiguredinaframerelaypointtopoint.
Task1
ConfigureRIPv2onallroutersandadvertisetheirdirectlyconnectednetworks.When
configuringRIP,ensurethatautosummarizationisdisabled.
OnR1
R1(config)#routerrip
R1(configrouter)#noau
R1(configrouter)#ver2
R1(configrouter)#network131.1.0.0
R1(configrouter)#network1.0.0.0
OnR2
R2(config)#routerrip
R2(configrouter)#noau
R2(configrouter)#ver2
R2(configrouter)#network131.1.0.0
R2(configrouter)#network2.0.0.0
OnR3
R3(config)#routerrip
R3(configrouter)#noau
R3(configrouter)#ver2
R3(configrouter)#network131.1.0.0
OnR4
R4(config)#routerrip
R4(configrouter)#noau
R4(configrouter)#ver2
R4(configrouter)#network131.1.0.0
R4(configrouter)#network4.0.0.0
Task2
Configuretheserouterssuch thatupdateinterval,invalidationtimer,Holddowntimerand
flushtimersaredoublethedefaultvalue.
Tofindoutthedefaultparameters:
OnR1
Showipprotocols
RoutingProtocolis"rip"
Outgoingupdatefilterlistforallinterfacesisnotset
Incomingupdatefilterlistforallinterfacesisnotset
Sendingupdatesevery30seconds,nextduein22seconds
Invalidafter180seconds,holddown180, flushedafter240
Redistributing:rip
Defaultversioncontrol:sendversion2,receiveversion2
InterfaceSendRecvTriggeredRIPKeychain
Serial0/0.12 22
Loopback0 22
Automaticnetworksummarizationisnotineffect
Maximumpath:4
RoutingforNetworks:
1.0.0.0
131.1.0.0
RoutingInformationSources:
GatewayDistanceLastUpdate
131.1.12.212000:00:19
Distance:(defaultis120)
OnR1
Routerrip
CCIER&SbyNarbikKocharians FREE LabsPage 105 of338
2007NarbikKocharians.Allrightsreserved
TimersBasic?
<04294967295> Intervalbetweenupdates
R1(configrouter)#timersbasic60?
<14294967295> Invalid
R1(configrouter)#timersbasic60360?
<04294967295> Holddown
R1(configrouter)#timersbasic60360360?
<14294967295> Flush
R1(configrouter)#timersbasic60360360480
OnAllRouters
(config)#Routerrip
(configrouter)#Timersbasic60360360480
Task3
Theseroutersshouldsuppressaflashupdateiftheregularupdateisduein10secondsor
less.
On AllRouter
(config)#routerrip
(configrouter)#flashupdatethreshold10
TheFlashupdatethresholdcommandsuppressesflashupdateswhenthearrivalof
aregularlyscheduledupdatematches,orislessthanthenumberofsecondsthatis
configured,inthiscase10seconds.Therangeis0 30seconds.
Theaboveconfigurationconfiguresallfourrouterstosuppressaregularly
scheduledflashupdate,iftheregularupdateisduein10secondsorless.
Toverifytheconfiguration:
Showipprotocols
RoutingProtocolis"rip"
Outgoingupdatefilterlistforallinterfacesisnotset
Incomingupdatefilterlistforallinterfacesisnotset
CCIER&SbyNarbikKocharians FREE LabsPage 106 of338
2007NarbikKocharians.Allrightsreserved
Sendingupdatesevery60seconds,nextduein35seconds
Flashupdateissuppressedwhennextupdateduewithin10seconds
Invalidafter360seconds,holddown360,flushedafter480
(Therestoftheoutputisomitted)
Task4
R1isahighspeedroutersendingupdatestoR2whichisalowspeedrouter.Becauseof
this,factR2mightnotbeabletoreceiveandprocessupdatesattheratethatR1operates,
therefore,configureR1suchthatwhenithasmultipleRIPpacketstosendtoR2,itwill
wait10millisecondsbetweenthepackets.Tofurtherremedythesesituations,configure
R2toincreaseitsRIPqueuedepthto75.
On R1
(config)#routerrip
(configrouter)#outputdelay10
TheaboveconfigurationwillhelpR2fromlosingroutinginformationbecausethis
commandintroducesadelayof10millisecondsbetweenpacketsinamultiplepacket
RIPupdates.Bydefaultthereisnointerpacketdelayandtherangeforthisdelayis
(850milliseconds).
On R2
(configrouter)#inputqueue75
ThiscommandwillalsohelptopreventroutinginformationfrombeinglostThe
valuespecifiesthedepthoftheinput queue,thelargerthevalue,thelargerthe
depthofthequeue.Therangeis(0 1024)andthedefaultvalueis50.
Donoterasetheconfiguration,proceedtothenextlab.
Task1
ConfigurecleartextauthenticationbetweenR1andR2andMD5authenticationbetween
R3andR4.Useciscotobethepassword.
ToenableauthenticationforRIPversion2,akeymustbedefinedandthenappliedto
theinterface.
RIPandEIGRPusekeychainauthentication,inwhichakeychainisconfigured.
Withinthatkeychainakeyisdefinedandakeystring(Password)isassignedtothe
definedkey.Lastlythekeychainisassignedtotheinterfaceandtheauthentication
typeisconfigured.RIPcanbeconfiguredtoauthenticatewithcleartextorMD5
OnR1
R1(config)#keychainTEST
R1(configkeychain)#key1
R1(configkeychainkey)#keystringcisco
R1(config)#intS0/0.12
R1(configif)#ipripauthenticationkeychainTEST
OnR2
R2(config)#keychainTEST
R2(configkeychain)#key1
R2(configkeychainkey)#keystringcisco
R2(config)#intS0/0.21
R2(configif)#ipripauthenticationkeychainTEST
OnR3
R3(config)#keychainTEST
R3(configkeychain)#key1
OnR4
R4(config)#keychainTEST
R4(configkeychain)#key1
R4(configkeychainkey)#keystringcisco
R4(configkeychainkey)#intS0/0.43
R4(configsubif)#ipripauthenticationkeychainTEST
R4(configsubif)#ipripauthenticationmodemd5
Toverifytheconfiguration:
OnR1
RoutingProtocolis"rip"
Outgoingupdatefilterlistforallinterfacesisnotset
Incomingupdatefilterlistforallinterfacesisnotset
Sendingupdatesevery60seconds,nextduein35seconds
Flashupdateissuppressedwhennextupdateduewithin10seconds
Invalidafter360seconds,holddown360,flushedafter480
Redistributing:rip
Defaultversioncontrol:sendversion2,receiveversion2
InterfaceSendRecvTriggeredRIP Keychain
FastEthernet0/022 Notethekeychainin
Serial0/0.2122 TEST UseisTEST
Loopback022
Task2
Removetheconfigurationcommandsfromthislabbeforeproceedingtothenextlab.
Task1
ConfigureRIPv2onR1,R2,R3,andR4andadvertisetheirdirectlyconnectednetworks,
ensurethatautosummarizationisdisabledonallrouters.
Task2
R1andR2shouldexchangetheirupdatesusingtheMulticastdestinationof224.0.0.9,
whereasR2andR3shouldexchangetheirupdatesviaUnicast.
RIPv2bydefaultsendsitsupdatestothedestinationaddressof224.0.0.9,this
behaviorcanbechangedsuchthattheupdatesaresenttotheneighborsIPaddress
(Unicast)ortothebroadcast(255.255.255.255)address,inthistaskweonlyneedto
beconcernedwithR2andR3sconfiguration,sinceR1andR2willsendtheir
updatesto224.0.0.9(Multicast)addressbydefault.
OnR2
R2(config)#routerrip
R2(configrouter)#passiveinterfaceF0/0
ThepassiveinterfacecommandstopsRIPfromsendingupdatesoutofaspecified
interface.ThisrouterwillstillprocesstheupdatesthatitreceivesthroughF0/0
interface.Anotherwaytohandlethistaskistoconfigurepassiveinterface
default.ThiscommandstopssendingRIPupdatesoutofallinterfaces,andthenwe
canconfigureneighborcommandtosendupdatesONLYtothespecified
neighbor.Iftheneighborcommandisusedwithoutthepassiveinterfacecommand,
RIPwillsendtwoupdates,onetoMulticastandanothertoaUnicastdestination.
R2(configrouter)#neighbor131.1.23.3
OnR3
R3(config)#routerrip
R3(configrouter)#passiveinterfaceF0/0
R3(configrouter)#neighbor131.1.23.2
CCIER&SbyNarbikKocharians FREE LabsPage 110 of338
2007NarbikKocharians.Allrightsreserved
Task 3
R3andR4shouldexchangeupdatesviaBroadcast.
OnR3
R3(config)#ints0/0.34
R3(configsubif)#ipripv2broadcast
OnR4
R4(config)#ints0/0.43
R4(configsubif)#ipripv2broadcast
TheIPripv2broadcastisusedtosendversion2updatestoadestinationaddress
of255.255.255.255forhosts/routersthatdonotlistentoMulticastaddresses.
Task 4
Removetheconfigurationcommandsformthislabbeforeproceedingtothenextlab.
Task1
R1shouldNOTbeconfiguredwithanyroutingprotocol.Configureastaticroutefor
network1.0.0.0/8onR2withanexthopIPaddressof131.1.12.1,andconfigureastatic
defaultrouteonR1pointingtoR2sS0/0.21IPaddress(131.1.12.2).
OnR1
R1(config)#iproute0.0.0.00.0.0.0131.1.12.2
OnR2
R2(config)#iproute1.0.0.0255.0.0.0131.1.12.1
Task2
ConfigureRIPv2onR2,R3andR4andadvertisetheirconnectednetworks.Ensurethat
autosummarizationisdisabled.
OnR2
R2(config)#routerrip
R2(configrouter)#netw131.1.0.0
R2(configrouter)#netw2.0.0.0
R2(configrouter)#ver2
R2(configrouter)#noau
OnR3
R3(config)#routerrip
R3(configrouter)#netw131.1.0.0
R3(configrouter)#netw3.0.0.0
Task3
ConfigureR2toinjectadefaultrouteintoRIProutingdomain.Thisconfigurationshould
betestedinthreedifferentways.
Defaultrouteinjectioncanbeconfiguredinthreewaysasfollows:
Defaultinformationoriginate
ConfiguringaStaticdefaultroute,andthenredistributingthestaticroute
intoRIProutingdomain.
IPdefaultnetworkcommand.
Firstmethod:
OnR2
R2(config)#routerrip
R2(configrouter)#defaultinformationoriginate
Toverifytheconfiguration:
Ping1.1.1.1
Youshouldbesuccessful
RemovethepreviouscommandfromR2.
OnR2
R2(configrouter)#nodefaultinformationoriginate
Removethestaticroutefornetwork1.0.0.0fromR2.
R2(config)#noiproute1.0.0.0255.0.0.0131.1.12.1
Configureastaticdefaultroutepointingto131.1.12.1andthenredistributestatic
routesintoRIProutingdomain.
R2(config)#iproute0.0.0.00.0.0.0131.1.12.1
R2(config)#routerrip
R2(configrouter)#redistributestatic
Note,thismethodcanalsobeconfiguredusingthefollowingsteps:
DonotremovethestaticroutefromR2fornetwork1.0.0.0/8.
CreateastaticdefaultroutepointingtoNULL0
RedistributestaticintoRIP.
Thethirdmethod:
RemovethestaticdefaultroutethatwasconfiguredinthepreviousstepfromR2:
R2(config)#Noiproute0.0.0.00.0.0.0131.1.12.1
RemovetheredistributestaticthatwasconfiguredinthepreviousstepfromR2:
R2(config)#routerrip
R2(configrouter)#Noredistributestatic
ConfigureipdefaultnetworkcommandtoinjectadefaultrouteintoRIPsrouting
domain.
OnR2
R2(config)#ipdefaultnetwork 2.0.0.0
CCIER&SbyNarbikKocharians FREE LabsPage 114 of338
2007NarbikKocharians.Allrightsreserved
TheabovecommandinjectsadefaultrouteintoRIPsroutingdomain.Thistellsthe
otherroutersthatiftheyarenotawareofanyroutes,theyshouldsendittoR2.
Toverifytheconfiguration:
OnR4
Ping1.1.1.1
Note,youshouldbegettingunreachablemessagesandyourpingshouldnotbe
successful.TheactualechomessagesaregettingtoR2,butR2doesnothavearoute
tonetwork1.0.0.0/8,therefore,torectifythisproblemwehavetoconfigureastatic
routeonR2thatispointingto131.1.12.1asfollows:
OnR2
Iproute1.0.0.0255.0.0.0131.1.12.1
Task4
Removethecommand/sfromTask1andTask3beforeproceedingtothenexttask.
OnR2
R2(config)#NoIproute1.0.0.0255.0.0.0131.1.12.1
R2(config)#Noipdefaultnetwork2.0.0.0
OnR1
R1(config)#Noiproute0.0.0.00.0.0.0131.1.12.2
Task5
ConfigureEIGRPAS100onR1andR2andadvertisethefollowingnetworksinthis
routingdomain:
OnR1Advertiseitsdirectlyconnectednetworksandremovethestaticdefault
routethatpointsto131.1.12.2.
CCIER&SbyNarbikKocharians FREE LabsPage 115 of338
2007NarbikKocharians.Allrightsreserved
OnR2Advertisenetwork131.1.12.0/24.
OnR1
Routereigrp100
Noau
Netw1.0.0.0
Netw131.1.12.00.0.0.255
Exit
Noiproute0.0.0.00.0.0.0131.1.12.2
OnR2
Routereigrp100
Noau
Netw131.1.12.00.0.0.255
Task6
DonotredistributebetweentheroutingprotocolsandinsteadconfigureR2toinjecta
defaultrouteintoRIPsroutingdomain.Chooseanymethodtoaccomplishthistask.R3
andR4mustusethedefaultroutetoreachnetwork1.0.0.0/8.
OnR2
Routerrip
Defaultinformationoriginate
Task7
SincetheusersthatareconnectedtoR3andR4willONLYusethedefaultroutefromthe
previoussteptoreachnetwork1.0.0.0/8,configureR2suchthatitinjectsthedefault
routeonlyifnetwork1.0.0.0isinR2sroutingtable.
OnR2
R2(config)#accesslist1permit1.0.0.00.255.255.255
R2(config)#routemapTESTpermit10
CCIER&SbyNarbikKocharians FREE LabsPage 116 of338
2007NarbikKocharians.Allrightsreserved
R2(configroutemap)#matchipaddr1
R2(config)#routerrip
R2(configrouter)#defaultinformationoriginateroutemapTEST
Thisconfigurationiscalledconditionaldefaultrouteinjection.Applyinga
condition,inthiscasearoutemap,candeterminewhentheroutemapisoriginated.
Theroutemapcanalsobeconfiguredtomatchanaccesslist,then,setinterface
F0/0,tobemorespecificastowhereandwhatinterfacethedefaultroutewillbe
originated.
Task8
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
LabSetup:
ConfigurethefollowingIPaddressingontherouters:
ConfigurethefollowingLoopbackinterfacesonR2:
Lo02.2.0.2/24 Lo52.2.5.2/24
Lo12.2.1.2/24 Lo62.2.6.2/24
Lo22.2.2.2/24 Lo7 2.2.7.2/24
Lo32.2.3.2/24 Lo82.2.8.2/24
Lo42.2.4.2/24 Lo92.2.9.2/24
Task1
ConfigureRIPv2routingprotocolonalltheroutersandadvertisetheirdirectlyconnected
interfaces.Ensurethatautosummarizationisdisabledonallrouters.
OnR1
R1(config)#routerrip
R1(configrouter)#netw1.0.0.0
R1(configrouter)#netw131.1.0.0
R1(configrouter)#noau
OnR2
R2(config)#routerrip
R2(configrouter)#netw131.1.0.0
R2(configrouter)#netw2.0.0.0
R2(configrouter)#noau
R2(configrouter)#ver2
OnR3
R3(config)#routerrip
R3(configrouter)#noau
R3(configrouter)#ver2
R3(configrouter)#netw131.1.0.0
R3(configrouter)#netw3.0.0.0
OnR4
R4(config)#routerrip
R4(configrouter)#noau
R4(configrouter)#ver2
R4(configrouter)#netw131.1.0.0
R4(configrouter)#netw4.0.0.0
Task2
EnsurethatR1onlyreceivestheevennumberedsubnets(2.2.0.0,2.2.2.0,2.2.4.0,2.2.6.0,
2.2.8.0)ofmajornetwork2.0.0.0fromR2.Useminimumnumberofcommandlinesto
accomplishthistask
OnR1
Beforeweconfigurethetask,weshouldchecktheroutingtableonthisrouter:
R1#Showiproute
Gatewayoflastresortisnotset
C1.0.0.0/8isdirectlyconnected,Loopback0
2.0.0.0/24issubnetted,10subnets
R2.2.0.0[120/1]via131.1.12.2,00:00:11,Serial0/0.12
R2.2.1.0[120/1]via131.1.12.2,00:00:11,Serial0/0.12
R2.2.2.0[120/1] via131.1.12.2,00:00:11,Serial0/0.12
R2.2.3.0[120/1]via131.1.12.2,00:00:11,Serial0/0.12
R2.2.4.0[120/1]via131.1.12.2,00:00:11,Serial0/0.12
R2.2.5.0[120/1]via131.1.12.2,00:00:11,Serial0/0.12
R2.2.6.0[120/1]via131.1.12.2,00:00:12,Serial0/0.12
R2.2.7.0[120/1]via131.1.12.2,00:00:12,Serial0/0.12
R2.2.8.0[120/1]via131.1.12.2,00:00:12,Serial0/0.12
R2.2.9.0[120/1]via131.1.12.2,00:00:12,Serial0/0.12
R3.0.0.0/8[120/2]via131.1.12.2,00:00:12,Serial0/0.12
R4.0.0.0/8[120/3]via131.1.12.2,00:00:14,Serial0/0.12
131.1.0.0/24issubnetted,3subnets
C131.1.12.0isdirectlyconnected,Serial0/0.12
R131.1.23.0[120/1]via131.1.12.2,00:00:14,Serial0/0.12
R 131.1.34.0[120/2]via131.1.12.2,00:00:14,Serial0/0.12
Tofiltersuchthatonlytheevennumberedsubnetsofnetwork2.0.0.0areinthe
routingtable:
OnR1
R1(config)#accesslist1deny2.2.1.00.0.254.255
R1(config)#accesslist1permitany
R1(config)#routerrip
R1(configrouter)#distributelist1inS0/0.12
Explanationoftheaccesslist:
Example:
Accesslist1permit2.0.0.00.255.255.255
Inthisaccesslistwearepermittinganynetworkthatmatchestheresultofthe
andingofnetwork 2.0.0.0withaninversemaskof0.255.255.255.Inorderforusto
dotheandingwemustgettheregularmask,togettheregularmask,weshould
subtract0.255.255.255from255.255.255.255,whichresultsto255.0.0.0
Therefore,theandingisasfollows:
Theresultofthisandingis2.0.0.0,thereforeiftheresultoftheANDmatches
network2.0.0.0,itispermitted,ifNOT,itsdenied.
Inthistasktheaccesslistis:
Accesslist1deny2.2.1.00.0.254.255
Therefore,inorderforustodotheanding,wehavetogettheregularmaskforthe
inversemaskof0.0.254.255,whichis255.255.255.255minus0.0.254.255equalsto
255.255.1.0
00000010.00000010.00000000.00000000(Network)
11111111.11111111.00000001.00000000(Regularmask)
TheresultofthisANDis2.2.0.0,therefore,ifitmatches2.2.0.0,itshouldbedenied,
ifthenetworkisreplacedwithothersubnetsofnetwork2.2.0.0,wewillseethatthe
ODDnumberednetworksarealldenied.
LastlyiftheaccesslistwaswrittentopermittheevennumberednetworksONLY,
theothernetworks(131.1.34.0/24,131.1.23.0/24,4.0.0.0/8,3.0.0.0.0/8)wouldnt
havebeenadvertised.
Toverifytheconfiguration:
Showiproute
Gatewayoflastresortisnotset
C1.0.0.0/8isdirectlyconnected,Loopback0
2.0.0.0/24issubnetted,5subnets
R2.2.0.0[120/1]via131.1.12.2,00:00:08,Serial0/0.12
R2.2.2.0[120/1]via131.1.12.2,00:00:08,Serial0/0.12
R2.2.4.0[120/1]via131.1.12.2,00:00:08,Serial0/0.12
R2.2.6.0[120/1]via131.1.12.2,00:00:08,Serial0/0.12
Task3
ConfigureR3suchthatitonlyreceivestheoddroutes.Useminimumnumberof
commandlinestoaccomplishthistask
OnR3
R3(config)#accesslist1deny2.2.0.00.0.254.255
R3(config)#accesslist1permitany
R3(config)#routerrip
R3(configrouter)#distributelist1inF0/0
ToVerifytheconfiguration:
Showiproute
Gatewayoflastresortisnotset
R1.0.0.0/8[120/2]via131.1.23.2,00:00:01,FastEthernet0/0
2.0.0.0/24issubnetted,5subnets
R2.2.1.0[120/1] via131.1.23.2,00:00:01,FastEthernet0/0
R2.2.3.0[120/1]via131.1.23.2,00:00:01,FastEthernet0/0
R2.2.5.0[120/1]via131.1.23.2,00:00:01,FastEthernet0/0
R2.2.7.0[120/1]via131.1.23.2,00:00:01,FastEthernet0/0
R2.2.9.0 [120/1]via131.1.23.2,00:00:01,FastEthernet0/0
C3.0.0.0/8isdirectlyconnected,Loopback0
R4.0.0.0/8[120/1]via131.1.34.4,00:00:02,Serial0/0.34
CCIER&SbyNarbikKocharians FREE LabsPage 122 of338
2007NarbikKocharians.Allrightsreserved
131.1.0.0/24issubnetted,3subnets
R131.1.12.0[120/1]via131.1.23.2,00:00:02,FastEthernet0/0
C131.1.23.0isdirectlyconnected,FastEthernet0/0
C131.1.34.0isdirectlyconnected,Serial0/0.34
Task4
R2shouldbeconfiguredsuchthatR4filtersnetwork1.0.0.0/8
OnR2
R2(config)#accesslist1permit1.0.0.00.255.255.255
R2(config)#routerrip
R2(configrouter)#offsetlist1out13f0/0
ToVerifytheconfiguration
OnR4
Showiproute
Gatewayoflastresortisnotset
2.0.0.0/24issubnetted,5subnets
R2.2.1.0[120/2]via131.1.34.3,00:00:11,Serial0/0.43
R2.2.3.0[120/2]via131.1.34.3,00:00:11,Serial0/0.43
R2.2.5.0[120/2]via131.1.34.3,00:00:11,Serial0/0.43
R2.2.7.0[120/2]via131.1.34.3,00:00:11,Serial0/0.43
R2.2.9.0[120/2]via131.1.34.3,00:00:11,Serial0/0.43
R3.0.0.0/8[120/1]via131.1.34.3,00:00:11,Serial0/0.43
C4.0.0.0/8isdirectlyconnected,Loopback0
131.1.0.0/24issubnetted,3subnets
R131.1.12.0[120/2]via131.1.34.3,00:00:12,Serial0/0.43
R131.1.23.0[120/1]via131.1.34.3,00:00:12,Serial0/0.43
C 131.1.34.0isdirectlyconnected,Serial0/0.43
CCIER&SbyNarbikKocharians FREE LabsPage 123 of338
2007NarbikKocharians.Allrightsreserved
Thingstorememberaboutoffsetlists:
1. ItonlyworkswithRIPandEigrproutingprotocols.
2. InRIP,itsusedtoaddtotheexistinghopcount.
3. InEigrpitsusedtoaddtotheexistingdelayvalue.
4. Ifanaccesslistisused,theoffsetlistwilloffsetthehopcountorthedelay
valueforthenetworksthatarepermittedintheaccesslist.
5. Ifallnetworksaretobeaffected,thenoffsetlist0shouldbeused.
Task5
Erasetheconfigurationfromthislabbeforeproceedingtothenextlab.
R1
F0/0
F0/0
R2
S0/0
FrameRelay
S0/0 S0/0
R4
R3 F0/0
F0/0
R5
Configuretheroutersbasedonthetopologyandipaddressingchart
R1andR2sF0/0interfaceshouldbeconfiguredinVLAN12.
R4andR5sF0/0interfaceshouldbeconfiguredinVLAN45
ConfiguretheFrameRelaycloudusingthefollowingpolicy:
a) RoutersR2,R3andR4shouldbeconfiguredinahubandspokemanner.R2
shouldbeconfiguredtobethehubwhereasR3andR4shouldbeconfigured
asspokes.
b) R2andR3shouldbeconfiguredinapointtopointmanner,whereasthe
connectionbetweenR2andR4shouldbeconfiguredinamultipointmanner.
c) R4shouldNOTbeconfiguredwithasubinterface.
IPaddressing:
ConfigureRIPv2betweenR1andR2andadvertisetheirdirectlyconnectednetworks.If
thisconfigurationissuccessful,R2shouldreceivetheLoopbacknetworkaddresses
advertisedbyR1.
OnR1
R1(config)#routerrip
R1(configrouter)#netw200.1.12.0
R1(configrouter)#netw10.0.0.0
R1(configrouter)#netw100.0.0.0
R1(configrouter)#netw111.0.0.0
R1(configrouter)#netw211.1.1.0
R1(configrouter)#ver2
R1(configrouter)#noau
R1(configrouter)#novalidateupdatesource
OnR2
R2(config)#routerrip
R2(configrouter)#netw2.0.0.0
R2(configrouter)#netw131.1.0.0
R2(configrouter)#noau
R2(configrouter)#ver2
R2(configrouter)#novalidateupdatesource
RIPandIGRParetheONLYtworoutingprotocolsthatvalidatethesourceIP
addressofincomingupdates.
BeforeRIPand/orIGRProutingprotocolsacceptroutesfromagivenneighbor,
theywanttomakesurethatthesourceIPaddressoftheadvertisingrouterisfrom
thesameIPaddressspaceasthelinkthatthetworoutersareconnectedto.
IftheroutersthathavetoexchangeroutinginformationarefromdifferentIP
addressspaces,thenthesourcevalidationshouldbenegatedusingnovalidate
updatesource
ToVerifytheconfiguration:
OnR2
R2#Showiproute
Gatewayoflastresortisnotset
C2.0.0.0/8isdirectlyconnected,Loopback0
100.0.0.0/24issubnetted,1subnets
R100.0.0.0[120/1]via200.1.12.1,00:00:00
111.0.0.0/8isvariablysubnetted,2subnets,2masks
R111.1.1.32/27[120/1]via200.1.12.1,00:00:00
R111.1.1.16/28[120/1]via200.1.12.1,00:00:00
10.0.0.0/24issubnetted,2subnets
R10.1.2.0[120/1]via200.1.12.1,00:00:00
R10.1.1.0 [120/1]via200.1.12.1,00:00:00
131.1.0.0/24issubnetted,3subnets
C131.1.12.0isdirectlyconnected,FastEthernet0/0
C131.1.23.0isdirectlyconnected,Serial0/0.23
C131.1.24.0isdirectlyconnected,Serial0/0.24
211.1.1.0/26issubnetted,1subnets
R211.1.1.64[120/1]via200.1.12.1,00:00:02
Note,eventhoughthenetworksareintheroutingtableofR2,theyareNOT
reachable,becauseR2doesNOThaveNLRI(NetworkLayerReachability
Information)tothenexthopIPaddress(200.1.12.1)thatisadvertised.
Task2
R2shouldonlyreceiveprefixeswithaprefixlengthof8to24andtheseprefixesshould
ONLYbereceivedfromR1andnootherrouter.DoNOTuseaneighborcommand,NAT
oranaccesslisttoaccomplishthistask.
OnR2
R2(config)#ipprefixlistTESTseq5permit0.0.0.0/0ge8le24
TheIPPrefixListcommandthatisnamedTESTstatesthatstartingwith0.0.0.0/0
(Anynetworkaddress)withaprefixlengthofGreaterthanorEqualto8,andLess
thanorequalto24.
ThisIPPrefixListcommandthatsnamedALLOW,permits200.1.12.1/32IP
address.
R2(config)#routerrip
R2(configrouter)#distributelistprefixTESTgatewayALLOWinF0/0
Thegatewaykeywordidentifiestherouterthatyouwillbeacceptingroutesfrom.
ThisrouterisidentifiedinaPrefixListcalledALLOW.Theroutesthatyouare
acceptingisidentifiedinthePrefixListcalledTEST.
ToVerifytheconfiguration:
OnR2
R2#Showiproute
Gatewayof lastresortisnotset
C2.0.0.0/8isdirectlyconnected,Loopback0
100.0.0.0/24 issubnetted,1subnets
R 100.0.0.0 [120/1]via200.1.12.1,00:00:18
10.0.0.0/24 issubnetted,2subnets
R 10.1.2.0 [120/1]via200.1.12.1,00:00:18
R 10.1.1.0 [120/1]via200.1.12.1,00:00:18
131.1.0.0/24issubnetted,3subnets
C131.1.12.0isdirectlyconnected,FastEthernet0/0
C131.1.23.0isdirectlyconnected,Serial0/0.23
C131.1.24.0isdirectlyconnected,Serial0/0.24
EnsurethatR2canpingR1andallthenetworksadvertisedbyR1.DoNOTusea
secondaryIPaddressorNATtoaccomplishthistask.Youareallowedonestaticroute
perroutertoaccomplishthistask.
InorderforR2topingthesenetworks,thenexthopIPaddressofallthenetworks
advertisedbyR1shouldbereachable,thiscanbeaccomplishedasfollows:
OnR2
R2(config)#iproute200.1.12.1255.255.255.255f0/0
OnR1
R1(config)#iproute131.1.12.2255.255.255.255f0/0
Task 4
ConfigureRIPv2betweenR2andR3R3shouldadvertiseitsdirectlyconnectednetwork
intotheRIPv2routingdomain.
R2shouldbeconfiguredsothatitonlysendsitsupdateswhenthereisatopologychange.
IftherearenotopologychangesR2shouldsuppressitsregularperiodicupdates.
ToaccomplishthistaskweneedtoenabletriggeredextensionstoRIP.Thisfeature
willsuppressregularupdatesunlessthereisatopologychange.Toverifythis
configurationwecanusedebugipripcommand.
On R2
R2(config)#intS0/0.23
R2(configsubif)#ipriptriggered
OnR3
R3(config)#intS0/0.32
R3(configsubif)#ipriptriggered
R3(configsubif)#routerrip
R2(configrouter)#netw3.0.0.0
R2(configrouter)#netw131.1.0.0
R2(configrouter)#noau
Toverifytheconfigurationandensurethattheseroutersare
exchangingroutes:
OnR2
R2#Showiproute
Codes:C connected,S static,RRIP,M mobile,BBGP
D EIGRP,EX EIGRPexternal,OOSPF,IA OSPFinterarea
N1 OSPFNSSAexternaltype1,N2 OSPFNSSAexternaltype2
E1 OSPFexternaltype1,E2 OSPFexternaltype2
i ISIS,su ISISsummary,L1ISISlevel1,L2 ISISlevel2
iaISISinterarea,* candidatedefault,U peruserstaticroute
o ODR,P periodicdownloadedstaticroute
Gatewayoflastresortisnotset
C2.0.0.0/8isdirectlyconnected,Loopback0
100.0.0.0/24issubnetted,1subnets
R100.0.0.0[120/1]via200.1.12.1,00:00:12
R3.0.0.0/8[120/1]via131.1.23.3,00:01:20,Serial0/0.23
200.1.12.0/32issubnetted,1subnets
S200.1.12.1isdirectlyconnected,FastEthernet0/0
10.0.0.0/24issubnetted,2subnets
R10.1.2.0[120/1]via200.1.12.1,00:00:12
R10.1.1.0[120/1]via200.1.12.1,00:00:12
131.1.0.0/24issubnetted,3subnets
C131.1.12.0isdirectlyconnected,FastEthernet0/0
C131.1.23.0isdirectlyconnected,Serial0/0.23
C131.1.24.0isdirectlyconnected,Serial0/0.24
R2#
Task 5
ConfigurethefollowingloopbackinterfacesonR4andadvertiseitsdirectlyconnected
networksinRIPv2.Thisroutershoulddisableautosummary.
Lo4040.1.0.4/24,Lo41 40.1.1.4/24,Lo42 40.1.2.4,Lo43 40.1.3.4/24
OnR4
R4(config)#intlo40
R4(configif)#intlo41
R4(configif)#ipaddr40.1.1.4255.255.255.0
R4(configif)#intlo42
R4(configif)#ipaddr40.1.2.4255.255.255.0
R4(configif)#intlo43
R4(configif)#ipaddr40.1.3.4255.255.255.0
R4(config)#routerrip
R4(configrouter)#netw40.0.0.0
R4(configrouter)#netw4.0.0.0
R4(configrouter)#netw131.1.0.0
R4(configrouter)#noau
R4(configrouter)#ver2
Toverifytheconfiguration:
OnR4
Showiproute
Gatewayoflastresortisnotset
R2.0.0.0/8[120/1]via131.1.24.2,00:00:19,Serial0/0
100.0.0.0/24issubnetted,1subnets
R100.0.0.0[120/2]via131.1.24.2,00:00:19,Serial0/0
R3.0.0.0/8[120/2]via131.1.24.2,00:00:19,Serial0/0
C4.0.0.0/8isdirectlyconnected,Loopback0
40.0.0.0/24issubnetted,4subnets
C40.1.1.0isdirectlyconnected,Loopback41
C40.1.0.0isdirectlyconnected,Loopback40
C40.1.3.0isdirectlyconnected,Loopback43
C40.1.2.0isdirectlyconnected,Loopback42
CCIER&SbyNarbikKocharians FREE LabsPage 132 of338
2007NarbikKocharians.Allrightsreserved
10.0.0.0/24issubnetted,2subnets
R10.1.2.0[120/2]via131.1.24.2,00:00:21,Serial0/0
R10.1.1.0[120/2]via131.1.24.2,00:00:21,Serial0/0
131.1.0.0/24issubnetted,4subnets
R131.1.12.0[120/1]via131.1.24.2,00:00:21,Serial0/0
R 131.1.23.0[120/1]via131.1.24.2,00:00:21,Serial0/0
C131.1.24.0isdirectlyconnected,Serial0/0
C131.1.45.0isdirectlyconnected,FastEthernet0/0
R4#
Task 6
ConfigureRIPv2betweenR4andR5.R5shouldadvertiseitsdirectlyconnected
networks.EnsurethatR5getsasummaryroutefromR4fortheLoopbackinterfacesthat
werecreatedintheprevioustask(Task5).R4shouldNOTenableautosummary.
OnR5
R5(config)#routerrip
R5(configrouter)#ver2
R5(configrouter)#noau
R5(configrouter)#netw131.1.0.0
R5(configrouter)#netw5.0.0.0
Toverifytheconfiguration:
Showiproute
Gatewayoflastresortisnotset
R2.0.0.0/8[120/2]via131.1.45.4,00:00:25,FastEthernet0/0
100.0.0.0/24issubnetted,1subnets
R100.0.0.0[120/3]via131.1.45.4,00:00:25,FastEthernet0/0
R3.0.0.0/8[120/3]via131.1.45.4,00:00:25,FastEthernet0/0
R4.0.0.0/8[120/1]via131.1.45.4,00:00:25,FastEthernet0/0
C5.0.0.0/8isdirectlyconnected,Loopback0
CCIER&SbyNarbikKocharians FREE LabsPage 133 of338
2007NarbikKocharians.Allrightsreserved
40.0.0.0/24issubnetted,4subnets
R40.1.1.0 [120/1]via131.1.45.4,00:00:25,FastEthernet0/0
R40.1.0.0[120/1]via131.1.45.4,00:00:00,FastEthernet0/0
R40.1.3.0[120/1]via131.1.45.4,00:00:00,FastEthernet0/0
R40.1.2.0[120/1]via131.1.45.4,00:00:00,FastEthernet0/0
10.0.0.0/24issubnetted,2subnets
R10.1.2.0[120/3]via131.1.45.4,00:00:00,FastEthernet0/0
R10.1.1.0[120/3]via131.1.45.4,00:00:00,FastEthernet0/0
131.1.0.0/24issubnetted,4subnets
R131.1.12.0[120/2]via131.1.45.4,00:00:00,FastEthernet0/0
R131.1.23.0[120/2]via131.1.45.4,00:00:00,FastEthernet0/0
R131.1.24.0[120/1]via131.1.45.4,00:00:00,FastEthernet0/0
C131.1.45.0isdirectlyconnected,FastEthernet0/0
Tosummarizeallthe40.1.0.0subnets:
OnR4
R4(config)#intf0/0
R4(configif)#ipsummaryaddressrip40.1.0.0255.255.252.0
ToVerifytheconfiguration:
OnR5
R5#Showiproute
Gatewayoflastresortisnotset
R2.0.0.0/8[120/2]via131.1.45.4,00:00:02,FastEthernet0/0
100.0.0.0/24issubnetted,1subnets
R 100.0.0.0[120/3]via131.1.45.4,00:00:02,FastEthernet0/0
R3.0.0.0/8[120/3]via131.1.45.4,00:00:02,FastEthernet0/0
R4.0.0.0/8[120/1]via131.1.45.4,00:00:02,FastEthernet0/0
C5.0.0.0/8isdirectlyconnected,Loopback0
40.0.0.0/22issubnetted,1subnets
R40.1.0.0[120/1]via131.1.45.4,00:00:02,FastEthernet0/0
10.0.0.0/24issubnetted,2subnets
CCIER&SbyNarbikKocharians FREE LabsPage 134 of338
2007NarbikKocharians.Allrightsreserved
R10.1.2.0[120/3]via131.1.45.4,00:00:03,FastEthernet0/0
R10.1.1.0[120/3]via131.1.45.4,00:00:03,FastEthernet0/0
131.1.0.0/24issubnetted,4subnets
R131.1.12.0[120/2]via131.1.45.4,00:00:03,FastEthernet0/0
R131.1.23.0[120/2]via131.1.45.4,00:00:05,FastEthernet0/0
R131.1.24.0[120/1]via131.1.45.4,00:00:05,FastEthernet0/0
C131.1.45.0isdirectlyconnected,FastEthernet0/0
Task 7
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextsection.
NarbikKocharians
CCIE#12410
R&S,Security,SP
EIGRP
Answers
R1 R2
.1.2
FrameRelay
S0/0 S0/0
F0/0 .2
.3
R4 F0/0 . R3
.4 .3
FrameRelay
S0/0 S0/0
LabSetup:
R2andR3sF0/0interfaceshouldbeconfiguredtobeinVLAN23.
R1andR2,R3andR4shouldbeconfiguredinaframerelaymultipointmanner.
Donotuseasubinterfacetoaccomplishthistask.
Task1
ConfigureEIGRPAS100onallroutersandadvertisetheirdirectly connectednetworks.
OnR1
R1(config)#routereigrp100
R1(configrouter)#noau
R1(configrouter)#netw131.1.12.00.0.0.255
R1(configrouter)#netw1.1.1.1255.255.255.255
OnR2
R2(config)#routereigrp100
R2(configrouter)#noau
R2(configrouter)#netw131.1.12.00.0.0.255
R2(configrouter)#netw2.0.0.00.255.255.255
R2(configrouter)#netw131.1.23.00.0.0.255
OnR3
R3(configif)#routereigrp100
R3(configrouter)#noau
R3(configrouter)#netw131.1.23.00.0.0.255
R3(configrouter)#netw131.1.34.00.0.0.255
R3(configrouter)#netw3.3.3.3255.255.255.255
OnR4
CCIER&SbyNarbikKocharians FREE LabsPage 138 of338
2007NarbikKocharians.Allrightsreserved
R4(config)#routereigrp100
R4(configrouter)#noau
R4(configrouter)#netw131.1.34.00.0.0.255
R4(configrouter)#netw4.0.0.0
Task2
Theseroutersshouldsendtheirhellosevery30secondsandiftheydontreceiveahello
fromtheirneighboringrouterfor120seconds,theneighboradjacencyshouldbe
terminated.
On R1
IntS0/0.12
R1(configsubif)#iphellointervaleigrp10030
R1(configsubif)#ipholdtimeeigrp100120
OnR2
IntS0/0.21
R2(configsubif)#iphellointervaleigrp10030
R2(configsubif)#ipholdtimeeigrp100120
IntF0/0
R2(configsubif)#iphellointervaleigrp10030
R2(configsubif)#ipholdtimeeigrp100120
OnR3
IntS0/0.34
R3(configsubif)#iphellointervaleigrp10030
R3(configsubif)#ipholdtimeeigrp100120
IntF0/0
R3(configsubif)#iphellointervaleigrp10030
R3(configsubif)#ipholdtimeeigrp100120
OnR4
IntS0/0.43
R4(configsubif)#iphellointervaleigrp10030
R4(configsubif)#ipholdtimeeigrp100120
EnsurethattheseroutersusebandwidthonlyandNOTbandwidth+delaytocalculate
theircompositemetricforagivennetwork.
ThistaskisaccomplishedbysettingtheKvalues,thecommandtoconfiguredtheK
valuesis:
Metricweighttosk1k2k3k4k5
ThiscommandisenteredinrouterEigrpconfigmode,wheretosvalueisalwaysset
to0,andthe defaultKvaluesareasfollows:
K1=1,K2=0,K3=1,K4=0,K50
TheKvalueseffecttheresultofthefollowingformula:
[(K1*Bandwidth)+(K2*bandwidth/256 load)+(K3*delay)]*256
IfK5doesnotequaltozero,thenanadditionaloperationisperformedasfollows:
[K5/K4+reliability]
Therefore,ifonlythebandwidthiswhatshouldbeconsidered,thenwemustsetthe
valueofK3tozero.Butrememberthatthischangemustoccuronallroutersorelse
therouterswontestablishneighboradjacency.
TodisplaythedefaultvaluesfortheKvariables,enterthefollowingcommand:
Showipprotocols
RoutingProtocolis"eigrp100"
Outgoingupdatefilterlistforallinterfacesisnotset
Incomingupdatefilterlistforallinterfacesisnotset
Defaultnetworksflaggedinoutgoingupdates
Defaultnetworksacceptedfromincomingupdates
EIGRPmetricweightK1=1,K2=0,K3=1,K4=0,K5=0
EIGRPmaximumhopcount100
EIGRPmaximummetricvariance1
Redistributing:eigrp100
EIGRPNSFawarerouteholdtimeris240s
Automaticnetworksummarizationisnotineffect ThedefaultvaluesfortheK
Maximumpath:4 Variables
RoutingforNetworks:
4.0.0.0
131.1.34.0/24
RoutingInformationSources:
GatewayDistanceLastUpdate
131.1.34.39000:14:15
Distance:internal90external170
On AllRouters
CCIER&SbyNarbikKocharians FREE LabsPage 140 of338
2007NarbikKocharians.Allrightsreserved
(configrouter)#metricweights010000
ToVerifytheconfiguration:
Showipprotocols
RoutingProtocolis"eigrp100"
Outgoingupdatefilterlistforallinterfacesisnotset
Incomingupdatefilterlistforallinterfacesisnot set
Defaultnetworksflaggedinoutgoingupdates
Defaultnetworksacceptedfromincomingupdates
EIGRPmetricweightK1=1,K2=0,K3=0,K4=0,K5=0
EIGRPmaximumhopcount100
EIGRPmaximummetricvariance1
Redistributing:eigrp100
EIGRPNSFawarerouteholdtimeris240s
Automaticnetworksummarizationisnotineffect
Maximumpath:4
RoutingforNetworks:
4.0.0.0
131.1.34.0/24
RoutingInformationSources:
GatewayDistanceLastUpdate
131.1.34.3 9000:00:05
Distance:internal90external170
Task4
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
UsethetopologyandIPaddressingfromLab1
Task1
RunRIPv2onR1andadvertiseitsdirectly connectednetworks.
OnR1
R1(config)#routerrip
R1(configrouter)#noau
R1(configrouter)#netw131.1.0.0
R1(configrouter)#netw1.0.0.0
R1(configrouter)#ver2
Task2
R2shouldadvertiseitsframerelayandLoopback0interfaceinRIPv2andLoopback1
(22.2.2.2/8)andF0/0interfaceinEIGRP100.
OnR2
R2(configsubif)#routerrip
R2(configrouter)#netw131.1.0.0
R2(configrouter)#netw2.0.0.0
R2(configrouter)#ver2
R2(configrouter)#noau
R2(configrouter)#passiveinterfaceF0/0
R2(configrouter)#routereigrp100
R2(configrouter)#netw22.0.0.0
R2(configrouter)#netw131.1.23.00.0.0.255
R3andR4shouldrunEIGRP100andadvertisetheirdirectlyconnectednetworksinthe
EIGRProutingdomain.
OnR3
R3(config)#routereigrp100
R3(configrouter)#noau
R3(configrouter)#netw131.1.23.00.0.0.255
R3(configrouter)#netw131.1.34.00.0.0.255
R3(configrouter)#netw3.0.0.0
OnR4
R4(configrouter)#routereigrp100
R4(configrouter)#netw4.0.0.0
R4(configrouter)#netw131.1.34.00.0.0.255
R4(configrouter)#noau
Task4
PerformamutualredistributionbetweenRIPv2andEIGRPsuchthatR1seestheEIGRP
routeswiththecorrecthopcount.Forexample,R1shouldseenetwork3.0.0.0twohops
away,andnetwork4.0.0.0threehopsaway.
On R2
R2(config)#accesslist3permit3.0.0.00.255.255.255
R2(config)#accesslist4permit4.0.0.00.255.255.255
R2(config)#accesslist34permit131.1.34.00.0.0.255
R2(config)#accesslist23permit131.1.23.00.0.0.255
R2(config)#accesslist22permit22.0.0.00.255.255.255
R2(config)#routemapTESTpermit10
R2(configroutemap)#matchipaddr3
R2(configroutemap)#setmetric2
R2(config)#routemapTESTpermit20
R2(configroutemap)#matchipaddr4
R2(configroutemap)#setmetric3
R2(config)#routemapTESTpermit40
R2(configroutemap)#matchipaddr34
R2(configroutemap)#setmetric2
R2(config)#routemapTESTpermit50
R2(configroutemap)#matchipaddr22
R2(configroutemap)#setmetric1
R2(config)#routemapTESTpermit50
R2(configroutemap)#setmetric1
Note,routemapTESTpermit50mustbeconfiguredforthefuturenetworksthat
mayberedistributedintoRIP.
R2(configrouter)#routerrip
R2(configrouter)#redistributeeigrp100routemapTEST
R2(config)#routereigrp100
R2(configrouter)#redistributeripmetric15002000025511500
Task5
Erasestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
.1.2
F0/0 F0/0
S0/0 .2
FrameRelay
.3
R4 S0/0 . R3
.4 .3
F0/0 F0/0
IPAddressing
LabSetup:
R1andR2sF0/0interfaceshouldbeconfiguredinVLAN12.
R3andR4sF0/0interfaceshouldbeconfiguredinVLAN34.
R2andR3sFramerelayconnectionshouldbeconfiguredinamultipoint
manner.Donotuseasubinterfacetoaccomplishthistask.
Task1
ConfigureEIGRPAS100onallroutersandadvertisetheirdirectlyconnectednetworks.
OnR1
R1(config)#routereigrp100
R1(configrouter)#noau
R1(configrouter)#netw131.1.0.0
R1(configrouter)#netw1.0.0.0
OnR2
R2(config)#routereigrp100
R2(configrouter)#noau
R2(configrouter)#netw131.1.0.0
R2(configrouter)#netw2.0.0.0
OnR3
R3(configif)#routereigrp100
CCIER&SbyNarbikKocharians FREE LabsPage 146 of338
2007NarbikKocharians.Allrightsreserved
R3(configrouter)#noau
R3(configrouter)#netw131.1.0.0
R3(configrouter)#netw3.0.0.0
OnR4
R4(configif)#routereigrp100
R4(configrouter)#noau
R4(configrouter)#netw131.1.0.0
R4(configrouter)#netw4.0.0.0
Task2
ConfigureR2suchthatitadvertisesasummaryrouteforitsLoopbackinterfacestoR3.
InEigrproutingprotocol,summarizationcanbeperformedonanyrouter,inEigrp
summarizationmustbeperformedintheinterfaceconfigurationmode.
OnR2
R2(configrouter)#intS0/0
R2(configif)#ipsummaryaddresseigrp1002.2.4.0255.255.252.0
Toverifytheconfiguration:
OnR2
R2#Showiproute
Gatewayoflastresortisnotset
1.0.0.0/24issubnetted,4subnets
D1.1.0.0[90/156160]via131.1.12.1,00:01:17,FastEthernet0/0
D1.1.1.0[90/156160] via131.1.12.1,00:01:17,FastEthernet0/0
D1.1.2.0[90/156160]via131.1.12.1,00:01:17,FastEthernet0/0
OnR3
R3#Showiproute
Gatewayoflastresortisnotset
1.0.0.0/24issubnetted,4subnets
D1.1.0.0[90/2300416]via131.1.23.2,00:11:26,Serial0/0
D1.1.1.0[90/2300416]via131.1.23.2,00:11:26,Serial0/0
D1.1.2.0[90/2300416]via131.1.23.2,00:11:26,Serial0/0
D1.1.3.0[90/2300416]via131.1.23.2,00:11:26,Serial0/0
2.0.0.0/22issubnetted,1subnets
D 2.2.4.0[90/2297856]via131.1.23.2,00:03:55,Serial0/0
3.0.0.0/24issubnetted,4subnets
Task3
R2shouldsummarizeitsloopbackinterfacesandadvertiseasinglesummaryrouteplus
allthespecificroutestoR1.
TheleakmapwasintroducedinIOS12.3(14)T anditmustbeconfiguredunderthe
physicalinterfaceandNOTasubinterface.
Configuringleakmapoptionallowsustoadvertiseacomponentroute(Oneor
morespecificnetworksofasummaryroute)thatwouldotherwisebesuppressedby
themanualsummarization.
Therearethreerulestoremember:
Iftheleakmapisconfiguredtoreferencearoutemapthatdoesnotexist,
onlythesummaryrouteisadvertisedandthemorespecificroutesare
suppressed.
Iftheleakmapisconfiguredtoreferencearoutemapandtheroutemapis
referencinganaccesslistthatdoesNOTexist,thenthesummaryrouteplus
allthespecificroutesareadvertised.
Iftheleakmapisconfiguredtoreferencearoutemapandtheroutemap
matchesonanaccesslist,allthepermittednetworksbytheaccesslistwillbe
advertisedalongwiththesummaryroute.
OnR2
R2(config)#intF0/0
R2(configif)#ipsummaryaddresseigrp1002.2.4.0255.255.252.0leakmapTEST21
R2(config)#routemapTEST21permit10
R2(configroutemap)#matchipaddr99
CCIER&SbyNarbikKocharians FREE LabsPage 149 of338
2007NarbikKocharians.Allrightsreserved
R2(configroutemap)#exit
Note,theleakmapisreferencingaroutemapandtheroutemapismatchingonan
accesslistthatdoesnotexist,therefore,thesummaryrouteplusallthespecific
routesareadvertised.Iftheroutemapdoesnot haveamatchcommandconfigured
thesamewillresult.
ToVerifytheconfiguration:
OnR1
R1#Showiproute
Gatewayoflastresortisnotset
Notethesummaryroute+
1.0.0.0/24issubnetted,4subnets allthespecificroutes
C1.1.0.0isdirectlyconnected,Loopback0 areadvertisedtoR1
C1.1.1.0isdirectlyconnected,Loopback1
C1.1.2.0isdirectlyconnected,Loopback2
C1.1.3.0isdirectlyconnected,Loopback3
2.0.0.0/8isvariablysubnetted,5subnets,2masks
D2.2.4.0/24[90/156160]via131.1.12.2,00:00:47,FastEthernet0/0
D2.2.4.0/22[90/156160]via131.1.12.2,00:01:15,FastEthernet0/0
D2.2.5.0/24[90/156160]via131.1.12.2,00:00:47,FastEthernet0/0
D2.2.6.0/24[90/156160]via131.1.12.2,00:00:48,FastEthernet0/0
D 2.2.7.0/24[90/156160]via131.1.12.2,00:00:48,FastEthernet0/0
3.0.0.0/24issubnetted,4subnets
D3.3.8.0[90/2300416]via131.1.12.2,00:18:00,FastEthernet0/0
D3.3.9.0[90/2300416]via131.1.12.2,00:18:01,FastEthernet0/0
D 3.3.10.0[90/2300416]via131.1.12.2,00:18:01,FastEthernet0/0
D3.3.11.0[90/2300416]via131.1.12.2,00:18:01,FastEthernet0/0
4.0.0.0/24issubnetted,4subnets
D4.4.12.0[90/2302976]via131.1.12.2,00:17:40,FastEthernet0/0
D 4.4.13.0[90/2302976]via131.1.12.2,00:17:40,FastEthernet0/0
D4.4.14.0[90/2302976]via131.1.12.2,00:17:40,FastEthernet0/0
D4.4.15.0[90/2302976]via131.1.12.2,00:17:40,FastEthernet0/0
131.1.0.0/24issubnetted,3subnets
C 131.1.12.0isdirectlyconnected,FastEthernet0/0
Task4
ConfigureR4tosummarizeitsloopbackinterfacesandadvertiseasummaryrouteplus
network4.4.13.0/24toR3.
OnR4
R4(config)#IntF0/0
R4(configif)#ipsummaryaddresseigrp1004.4.12.0255.255.252.0leakmapTEST43
R4(config)#routemapTEST43permit10
R4(configroutemap)#matchipaddr43
R4(config)#accesslist43permit4.4.13.00.0.0.255
Toverifytheconfiguration:
OnR3
R3#Showiproute
Gatewayoflastresortisnotset
1.0.0.0/24issubnetted,4subnets
D1.1.0.0[90/2300416]via131.1.23.2,01:47:09,Serial0/0
D1.1.1.0[90/2300416]via131.1.23.2,01:47:09,Serial0/0
D1.1.2.0[90/2300416]via131.1.23.2,01:47:09,Serial0/0
D1.1.3.0[90/2300416]via131.1.23.2,01:47:09,Serial0/0
2.0.0.0/22issubnetted,1subnets
D2.2.4.0[90/2297856]via131.1.23.2,01:39:38,Serial0/0
CCIER&SbyNarbikKocharians FREE LabsPage 151 of338
2007NarbikKocharians.Allrightsreserved
3.0.0.0/24issubnetted,4subnets
C3.3.8.0isdirectlyconnected,Loopback0
C3.3.9.0isdirectlyconnected,Loopback1
C3.3.10.0isdirectlyconnected,Loopback2
C3.3.11.0isdirectlyconnected,Loopback3
4.0.0.0/8isvariablysubnetted,2subnets,2masks
D4.4.12.0/22[90/156160]via131.1.34.4,00:01:35,FastEthernet0/0
D4.4.13.0/24[90/156160]via131.1.34.4,00:01:05,FastEthernet0/0
131.1.0.0/24issubnetted,3subnets
D131.1.12.0 [90/2172416]via131.1.23.2,01:47:12,Serial0/0
C131.1.23.0isdirectlyconnected,Serial0/0
C131.1.34.0isdirectlyconnected,FastEthernet0/0
R3#
Task5
ConfigureR3tosummarizeitsloopbackinterfacesandadvertiseasinglesummary plus
3.3.10.0/24and3.3.11.0/24toR4.
OnR3
R3(config)#intF0/0
R3(configif)#ipsummaryaddresseigrp1003.3.8.0255.255.252.0leakmapTEST34
R3(config)#routemapTEST34permit10
R3(configroutemap)#matchipaddr34
R3(config)#accesslist34permit3.3.10.00.0.0.255
R3(config)#accesslist34permit3.3.11.00.0.0.255
Toverifytheconfiguration:
OnR4
R4#Showiproute
1.0.0.0/24issubnetted,4subnets
D1.1.0.0[90/2302976]via131.1.34.3,00:07:13,FastEthernet0/0
D1.1.1.0[90/2302976]via131.1.34.3,00:07:13,FastEthernet0/0
D1.1.2.0[90/2302976]via131.1.34.3,00:07:13,FastEthernet0/0
D1.1.3.0[90/2302976]via131.1.34.3,00:07:13,FastEthernet0/0
2.0.0.0/22issubnetted,1subnets
D2.2.4.0 [90/2300416]via131.1.34.3,00:07:13,FastEthernet0/0
3.0.0.0/8isvariablysubnetted,3subnets,2masks
D3.3.8.0/22[90/156160]via131.1.34.3,00:00:41,FastEthernet0/0
D3.3.10.0/24[90/156160]via131.1.34.3,00:07:14,FastEthernet0/0
D3.3.11.0/24[90/156160]via131.1.34.3,00:07:14,FastEthernet0/0
4.0.0.0/8isvariablysubnetted,5subnets,2masks
C4.4.12.0/24isdirectlyconnected,Loopback0
D4.4.12.0/22isasummary,00:07:17,Null0
C4.4.13.0/24isdirectlyconnected,Loopback1
C4.4.14.0/24isdirectlyconnected,Loopback2
C4.4.15.0/24isdirectlyconnected,Loopback3
131.1.0.0/24issubnetted,3subnets
D131.1.12.0[90/2174976]via131.1.34.3,00:07:17,FastEthernet0/0
D131.1.23.0[90/2172416]via131.1.34.3,00:07:17,FastEthernet0/0
C131.1.34.0isdirectlyconnected,FastEthernet0/0
R4#
Task6
ConfigureR4toinjectadefaultrouteintoEigrp100routingdomain.DoNOTuseany
globalorrouterconfigurationcommandtoaccomplishthistask.
OnR4
R4(config)#intF0/0
R4(configif)#ipsummaryaddresseigrp1000.0.0.00.0.0.0
ToVerifytheconfiguration:
OnR3
R3#Showiproute
Gatewayoflastresortis131.1.34.4tonetwork0.0.0.0
1.0.0.0/24issubnetted,4subnets
D1.1.0.0[90/2300416]via131.1.23.2,00:10:40,Serial0/0
D1.1.1.0[90/2300416]via131.1.23.2,00:10:40,Serial0/0
D1.1.2.0[90/2300416]via131.1.23.2,00:10:40,Serial0/0
D1.1.3.0[90/2300416]via131.1.23.2,00:10:40,Serial0/0
2.0.0.0/22issubnetted,1subnets
D2.2.4.0[90/2297856]via131.1.23.2,00:10:40,Serial0/0
3.0.0.0/8isvariablysubnetted,5subnets,2masks
C3.3.8.0/24isdirectlyconnected,Loopback0
D3.3.8.0/22isasummary,00:10:41,Null0
C 3.3.9.0/24isdirectlyconnected,Loopback1
C3.3.10.0/24isdirectlyconnected,Loopback2
C3.3.11.0/24isdirectlyconnected,Loopback3
4.0.0.0/8isvariablysubnetted,2subnets,2masks
D4.4.12.0/22[90/156160]via131.1.34.4,00:10:42,FastEthernet0/0
D4.4.13.0/24[90/156160]via131.1.34.4,00:10:42,FastEthernet0/0
131.1.0.0/24issubnetted,3subnets
D131.1.12.0[90/2172416]via131.1.23.2,00:10:42,Serial0/0
C131.1.23.0isdirectlyconnected,Serial0/0
C131.1.34.0isdirectlyconnected,FastEthernet0/0
D*0.0.0.0/0[90/30720]via131.1.34.4,00:00:11,FastEthernet0/0
R3#
Task7
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1
F0/0
F0/0
R2
S0/0
FrameRelay
S0/0 S0/0
R3 R4
F0/0 F0/0
F0/0
R5
R1andR2sF0/0interfaceshouldbeinVLAN12
R3,R4andR5sF0/0interfaceshouldbeinVLAN345
Theframerelaycloudshouldbeconfiguredinahubandspokemanner,withR2
beingthehubandR3andR4asthespokes,R2shouldbeconfiguredwithtwo
subinterfacesinamultipointmanner,DLCI203connectingR2toR3andDLCI
204connectingR2toR4.
R3andR4shouldbeconfiguredinamultipointmannerthesetworoutersshould
notbeconfiguredwithasubinterface.
IPAddressing
Task1
ConfigureEigrp100onallroutersandadvertisetheirdirectlyconnectednetworks.
EnsurethattheseroutershaveNLRItoalltheprefixesadvertisedinthistopology.
TheseroutersshouldNOTtakesuboptimalroutestoreachanynetwork.
OnR1
R1(config)#routereigrp100
R1(configrouter)#noau
CCIER&SbyNarbikKocharians FREE LabsPage 156 of338
2007NarbikKocharians.Allrightsreserved
R1(configrouter)#netw131.1.0.0
R1(configrouter)#netw1.0.0.0
OnR2
R2(config)#routereigrp100
R2(configrouter)#noau
R2(configrouter)#netw131.1.0.0
R2(configrouter)#netw2.0.0.0
OnR3
R3(config)#routereigrp100
R3(configrouter)#netw131.1.0.0
R3(configrouter)#netw3.0.0.0
R3(configrouter)#noau
OnR4
R4(config)#routereigrp100
R4(configrouter)#noau
R4(configrouter)#netw131.1.0.0
R4(configrouter)#netw4.0.0.0
OnR5
R5(config)#routereigrp100
R5(configrouter)#noau
R5(configrouter)#netw131.1.0.0
R5(configrouter)#netw5.0.0.0
Toverifytheconfiguration:
OnR3
R3#Showiproute
D1.0.0.0/8[90/2300416]via131.1.23.2,00:00:44,Serial0/0
D2.0.0.0/8[90/2297856]via131.1.23.2,00:00:44,Serial0/0
C3.0.0.0/8isdirectlyconnected,Loopback0
D4.0.0.0/8[90/156160]via131.1.100.4,00:00:42,FastEthernet0/0
D5.0.0.0/8[90/156160]via131.1.100.5,00:00:23,FastEthernet0/0
131.1.0.0/24issubnetted,4subnets
D131.1.12.0[90/2172416]via131.1.23.2,00:00:44,Serial0/0
C131.1.23.0isdirectlyconnected,Serial0/0
D131.1.24.0[90/2172416]via131.1.100.4,00:00:46,FastEthernet0/0
C131.1.100.0isdirectlyconnected,FastEthernet0/0
Task2
ConfigureR2suchthatitwaits60minutesbeforedeclaringaroutetobeSIA.
OnR2
R2(configif)#routereigrp100
R2(configrouter)#timersactivetime60
Task3
ConfigureR5suchthattherouterdisablestheSIAtimersandpermitstheroutingwait
timetoremainactiveindefinitely
On R5
R5(configif)#routereigrp100
R5(configrouter)#timersactivetimedisabled
Task4
OnR2,changethebandwidthoftheserialsubinterfaceconnectiontoR3tohalfofits
defaultvalue.
OnR2
CCIER&SbyNarbikKocharians FREE LabsPage 158 of338
2007NarbikKocharians.Allrightsreserved
R2(config)#intS0/0.23
R2(configsubif)#bandwidth772
Task5
EnsurethatR2performsunequalcostloadbalancingforallthedownstreamnetworks.
TheVariancecommandallowsustoperformunequalcostloadbalancingifthe
feasibilityconditionismet.Onlypathsthatarefeasiblecanbeusedforload
balancingandincludedintheroutingtable.Alwaysrememberthefollowingrules:
Theadvertiseddistancemustbelowerthanthelocalroutersfeasibledistance.
Themultiplier(Variancecommandsvalue)timesthelocalbestmetricforthe
destinationmustbegreaterthanorequaltothemetricthroughthenextrouter.
Thepathmustbeintheroutingtablefortheroutertouseit.
Inthiscasethebestpathtonetworks5.0.0.0/8and131.1.100.0/24isreachable
throughR4.Wehavetofindout thecompositemetricthroughR4asfollows:
OnR2
R2#Showiproute
Gatewayoflastresortisnotset
D1.0.0.0/8[90/156160]via131.1.12.1,00:02:18,FastEthernet0/0
C2.0.0.0/8isdirectlyconnected,Loopback0
D3.0.0.0/8[90/2300416]via131.1.24.4,00:02:18,Serial0/0.24
D4.0.0.0/8[90/2297856]via131.1.24.4,00:02:18,Serial0/0.24
D5.0.0.0/8[90/2300416]via131.1.24.4,00:02:18,Serial0/0.24
131.1.0.0/24issubnetted,4subnets
C131.1.12.0isdirectlyconnected,FastEthernet0/0
C131.1.23.0isdirectlyconnected,Serial0/0.23
C131.1.24.0isdirectlyconnected,Serial0/0.24
D131.1.100.0[90/2172416]via131.1.24.4,00:02:20,Serial0/0.24
R2#
OnR2
R2#Showipeigrptopology5.0.0.0/8
IPEIGRP(AS100):Topologyentryfor5.0.0.0/8
StateisPassive,Query originflagis1,1Successor(s),FDis2300416
RoutingDescriptorBlocks:
131.1.24.4(Serial0/0.24),from131.1.24.4,Sendflagis0x0
Compositemetricis(2300416/156160),RouteisInternal
Vectormetric:
Minimumbandwidthis1544Kbit
Totaldelayis25100microseconds
Reliabilityis255/255
Loadis1/255
MinimumMTUis1500
Hopcountis2
131.1.23.3(Serial0/0.23),from131.1.23.3,Sendflagis0x0
Compositemetricis(3958528/156160),RouteisInternal
Vectormetric:
Minimumbandwidthis772Kbit
Totaldelayis25100microseconds
Reliabilityis255/255
Loadis1/255
MinimumMTUis1500
Hopcountis2
R2#
Note,thecostthroughR3is3958528
Thenextstepistoperformthefollowingdivision:
3958528(ThecostthroughR3)/2300416(ThecostthroughR4)
Theresultis1.720rounduptothenextvalue,whichis2
Ifthesametasksareperformedfornetwork131.1.100.0/24,youshouldseethe
following:
3830528/ 2172416=1.7632roundupto2
Thelaststepistoconfigurethevariancecommand,asfollows:
OnR2
CCIER&SbyNarbikKocharians FREE LabsPage 160 of338
2007NarbikKocharians.Allrightsreserved
R2(config)#routereigrp100
R2(configrouter)#variance2
Toverifytheconfiguration:
OnR2
R2#Showiproute
Gatewayoflastresortisnotset
D1.0.0.0/8[90/156160]via131.1.12.1,00:03:22,FastEthernet0/0
C2.0.0.0/8isdirectlyconnected,Loopback0
D3.0.0.0/8[90/2300416]via131.1.24.4,00:03:22,Serial0/0.24
[90/3955968]via131.1.23.3,00:03:22,Serial0/0.23
D4.0.0.0/8[90/2297856]via131.1.24.4,00:03:22,Serial0/0.24
[90/3958528]via131.1.23.3,00:03:22,Serial0/0.23
D5.0.0.0/8[90/2300416]via131.1.24.4,00:03:22,Serial0/0.24
[90/3958528]via131.1.23.3,00:03:22, Serial0/0.23
131.1.0.0/24issubnetted,4subnets
C131.1.12.0isdirectlyconnected,FastEthernet0/0
C131.1.23.0isdirectlyconnected,Serial0/0.23
C131.1.24.0isdirectlyconnected,Serial0/0.24
D131.1.100.0[90/2172416] via131.1.24.4,00:03:23,Serial0/0.24
[90/3830528]via131.1.23.3,00:03:23,Serial0/0.23
R2#
InthiscaseEigrpwillperformaninverseproportionalloadbalancingandthe
variancecommandmeansthateverytwooutofthebestpath,itwillsendoneout
ofthesecondbestpath.Thefollowingcommandrevealstheproportions:
OnR2
R2#Showiproute5.0.0.0
Routingentryfor5.0.0.0/8
Knownvia"eigrp100",distance90,metric2300416,typeinternal
CCIER&SbyNarbikKocharians FREE LabsPage 161 of338
2007NarbikKocharians.Allrightsreserved
Redistributingviaeigrp100
Lastupdatefrom131.1.23.3on Serial0/0.23,00:05:18ago
RoutingDescriptorBlocks:
*131.1.24.4,from131.1.24.4,00:05:18ago,viaSerial0/0.24
Routemetricis2300416,trafficsharecountis240
Totaldelayis25100microseconds,minimumbandwidthis1544Kbit
Reliability255/255,minimumMTU1500bytes
Loading1/255,Hops2
131.1.23.3,from131.1.23.3,00:05:18ago,viaSerial0/0.23
Routemetricis3958528,trafficsharecountis139
Totaldelayis25100microseconds,minimumbandwidthis772Kbit
Reliability255/255,minimumMTU1500bytes
Loading1/255,Hops2
Task6
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
S0/0 S0/0
FrameRelay
LabSetup:
Configuretheframerelayroutersinapointtopointmanner.
IPaddress:
ConfigureEIGRP100ontheroutersandadvertisetheirdirectlyconnectednetworks.
OnR1
R1(config)#routereigrp100
R1(configrouter)#noau
R1(configrouter)#netw131.1.0.0
R1(configrouter)#netw1.0.0.0
OnR2
R2(config)#routereigrp100
R2(configrouter)#noau
R2(configrouter)#netw2.0.0.0
R2(configrouter)#netw131.1.0.0
Task2
Enableauthenticationontherouters,useciscoasthepassword.
EigrpuseskeychainbaseauthenticationjustlikeRIPv2,theonlyauthentication
modeavailableinEigrpisMD5.
On BothRouters
(config)#keychainTEST
(configkeychain)#key1
(configkeychainkey)#keystringcisco
OnR1
R1(config)#intS0/0.12
R1(configsubif)#ipauthenticationkeychaineigrp100TEST
R1(configsubif)#ipauthenticationmodeeigrp100md5
OnR2
R2(config)#intS0/0.21
R2(configsubif)#ipauthenticationkeychaineigrp100TEST
R2(configsubif)#ipauthenticationmodeeigrp100md5
R1shouldbeconfiguredtologneighborwarningmessagesfortheEIGRP100andrepeat
thewarningmessagesevery10minutes.
ToenabletheloggingofEigrpneighborwarningmessagesyoumustentereigrp
logneighborwarningscommandundertheroutereigrpprocess.Thiswarning
messagecanberepeatedbasedonthenumberofsecondsconfigured.
Bydefault,neighborwarningmessagesarelogged.Ifthisbehaviorneedstobe
changed,thennoeigrplogneighborwarningmessagemustbeused.
OnR1
R1(configsubif)#routereigrp100
R1(configrouter)#eigrplogneighborwarning600
Task4
R2shouldnotloganyofitsadjacencychanges.
BydefaultEigrplogschangesinEigrpneighboradjacencies.Ifthisisnotneeded,
thisfeaturecanbeturnedoffusingthefollowingconfiguration:
OnR2
R2(config)#routereigrp100
R2(configrouter)#noeigrplogneighborchanges
Task5
ConfigureR2suchthatitadvertisesEIGRProuteswithgreaterthan110hopsas
unreachable.
OnR2
R2(config)#routereigrp100
R2(configrouter)#metricmaximumhops110
Theabovecommandwilladvertisetherouteswithahopcounthigherthan110as
unreachable,thedefaultsettingis100hops,anditcanbeincreasedupto255.
CreateastaticrouteonR2fornetwork3.0.0.0/8reachablebyR2andredistributethe
staticrouteintoEIGRProutingprocess.EnsurethatR1canseethisnetworkinitsrouting
table.
OnR2
R2(config)#iproute3.0.0.0255.0.0.0Null0
R2(config)#routereigrp100
R2(configrouter)#redistributestaticmetric15442000025511500
Task7
OnR1,changetheadministrativedistanceofallexternalnetworksto110.
Beforewechangetheadministrativedistanceoftheexternalroutes,weshouldsee
thedefaultsettings:
OnR1
R1#Showiproute
Gatewayoflastresortisnotset
C1.0.0.0/8isdirectlyconnected,Loopback0
D2.0.0.0/8[90/2297856]via131.1.12.2,00:00:05,Serial0/0.12
DEX3.0.0.0/8[170/7289856]via131.1.12.2,00:00:05,Serial0/0.12
131.1.0.0/24issubnetted,1subnets
C131.1.12.0isdirectlyconnected,Serial0/0.12
Note,bydefaulttheadministrativedistanceofEigrpexternalnetworksis170.
OnR1
R1(config)#routereigrp100
R1(configrouter)#distanceeigrp90110
Thefirstvalueafterthedistanceeigrpcommandspecifiestheadministrative
distanceofEigrpinternalroutesandthesecondvaluespecifiestheadministrative
distanceofEigrpexternalroutes.
ToVerifytheconfiguration:
OnR1
R1#Showiproute
Gatewayoflastresortisnotset
C1.0.0.0/8isdirectlyconnected,Loopback0
D2.0.0.0/8[90/2297856]via131.1.12.2,00:00:12,Serial0/0.12
DEX3.0.0.0/8[110/7289856]via131.1.12.2,00:00:12,Serial0/0.12
131.1.0.0/24issubnetted,1subnets
C131.1.12.0isdirectlyconnected,Serial0/0.12
R1#
Task8
EnsurethatR1neverusesmorethan45%ofthebandwidthforEIGRPupdatesyou
shoulduseanEIGRPspecificcommandtoaccomplishthistask.
OnR1
TheabovecommandcanbeusedtoconfigurethebandwidththatEigrpusesonan
interface.
Task9
YouwereaskedtolimitEigrpsBandwidthutilizationonR1to386Kbits/sec,butyou
cannotrememberthecommand,useanothermethodtoaccomplishthesametask.
OnR1
R1(configrouter)#intS0/0.12
R1(configsubif)#noipbandwidthpercenteigrp10045
R1(configsubif)#bandwidth772
BydefaultEigrputilizes50%ofthebandwidth,ifyoumultiplythedesiredvalueby
two(Inthiscase772)andsetthebandwidthoftheinterfacetothatnumber,Eigrp
willusehalfofthatnumberwhichisthedesiredvalue.
Task10
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
.1 .2
131.1.12.0/24
S0/0 S0/0
FrameRelay
Labsetup:
ConfiguretheIPaddressingandFramerelayconnectionbetweentherouters
accordingtotheabovediagram.Ensurethattheroutersareconfiguredinapoint
topointmanner.
ConfigureF0/0interfaceontheroutersasfollowing:
R1sF0/0=200.1.1.1/24,andR2sF0/0=200.2.2.2/24
ConfigurethefollowingLoopbackinterfacesonR1andR2andadvertisethemin
EIGRP100:
R2 Lo0 2.2.0.2/24
Lo1 2.2.1.2/24
Lo2 2.2.2.2/24
Lo3 2.2.3.2/24
CreatethefollowingstaticroutesonR1andR2andredistributetheminEIGRP:
Router Staticroute
R1 Createastaticroutetonetwork11.0.0.0/8viaF0/0
R2 Createastaticroutetonetwork22.0.0.0/8viaF0/0
AdvertisetheFastEthernetinterfacesoftheroutersasfollows:
RedistributetheRIProutesintoEIGRProutingprotocol.
Theabovebulletitemsmustbecompletedinordertotestthenextsixscenarios:
TEST#1
ConfigureEigrpstubroutingonR1usingtheconnectedoptions,andfillthefollowing
chart
OnR1
Routereigrp100
Eigrpstubconnected
Test#1iscompletedsothestudentswillunderstandwhattheyhavetodoforthenext5
tests.The1st columnidentifiesthenetworks,thesecondcolumniswhatR2seesinits
routingtable,andthethirdcolumniswhatR1seesinitsroutingtable.
R2routingtable R1sroutingtable
Connected YES NO
Static NO YES
Redistributed NO YES
AfterR1wasconfiguredwithEigrpstuboption,enteraShowiprouteandwrite
downthetypeofroutesinyourroutingtable.
Aftercompletingthechart,removetheeigrpstubroutingoptionandensurethatall
theroutesarereceivedbybothroutersbeforeproceedingtothenextTEST.
CCIER&SbyNarbikKocharians FREE LabsPage 171 of338
2007NarbikKocharians.Allrightsreserved
TEST#2
ConfigureEigrpstubroutingonR1usingthesummaryoptions,andfillthefollowing
chart:
OnR1
Routereigrp100
Noeigrpconnected
Eigrpstubsummary
R2routingtable R1sroutingtable
Connected NO NO
R1=1.1.0.0/24R2=2.2.0.0/24
1.1.1.0/242.2.1.0/24 Becausethe Becausethesummarized
1.1.2.0/242.2.2.0/24 summarizedroutes routeswillincludethemore
1.1.3.0/242.2.3.0/24 willincludethe specificroutes.
morespecific
routes.
Summarized YES YES
R1=1.1.0.0/22
Becausetheyarethe STUBroutingdoesNOT
R2=2.2.0.0/22 summarizedroutes, affectthisrouter.
andsummaryoption
wasconfigured.
Static NO YES
R1=11.0.0.0/8
Becauseonlythe STUBroutingdoesNOT
R2=22.0.0.0/8 summaryoptionis affectthisrouter
configured.
Redistributed NO YES
R1=200.1.1.0/24
11.0.0.0/8 Becauseonlythe STUBroutingdoesNOT
summaryoptionis affectthisrouter
R2=200.2.2.0 configured
22.0.0.0/8
Removetheeigrpstubroutingoptionandensurethatalltheroutesarereceivedby
bothroutersbeforeproceedingtothenexttest.
ConfigureEigrpstubroutingonR1usingtheStaticoptions,andfillthefollowingchart:
OnR1
Routereigrp100
Noeigrpsummary
Eigrpstubstatic
R2routingtable R1sroutingtable
Connected NO NO
Redistributed NO YES
R2=200.2.2.0
22.0.0.0/8
Removetheeigrpstubroutingoptionandensurethatalltheroutesarereceivedby
bothroutersbeforeproceedingtothenexttest.
ConfigureEigrpstubroutingonR1usingthereceiveonlyoptions,andfillthefollowing
chart:
OnR1
Routereigrp100
Noeigrpstubstatic
Eigrpstubreceiveonly
R2routingtable R1sroutingtable
Connected NO NO
Removetheeigrpstubroutingoptionandensurethatalltheroutesarereceivedby
bothroutersbeforeproceedingtothenexttest.
OnR1
Routereigrp100
Noeigrpstubreceiveonly
Eigrpstubredistributed
R2routingtable R1sroutingtable
Connected NO NO
Removetheeigrpstubroutingoptionandensurethatalltheroutesarereceivedby
bothroutersbeforeproceedingtothenexttest.
OnR1
Routereigrp100
Noeigrpredistributed
Eigrpstub
R2routingtable R1sroutingtable
Connected NO NO
Static NO YES
Redistributed NO YES
Erasethestartupconfigandreloadtheroutersbeforeyouproceedtothenext
protocol.
NarbikKocharians
CCIE#12410
R&S,Security,SP
OSPF
Answers
R1 R2
.1 .2
FrameRelay
S0/0 S0/0
F0/0.2
.3
R4 F0/0 . R3
.4 .3
FrameRelay
S0/0S0/0
LabSetup:
R2andR3sF0/0interfaceshouldbeconfiguredinVLAN23.
R1andR2,R3andR4shouldbeconfiguredinaframerelaypointtopoint
manner.
IPAddressing
Task1
ConfigureOSPFonallroutersandadvertisetheirdirectlyconnectednetworksinarea0.
OnR4
R4(config)#routerospf1
R4(configrouter)#net0.0.0.00.0.0.0are0
OnR3
R3(configif)#routerospf1
R3(configrouter)#network0.0.0.00.0.0.0are0
OnR2
R2(configif)#routerospf1
R2(configrouter)#netw0.0.0.00.0.0.0are0
OnR1
R1(configif)#routerospf1
R1(configrouter)#netw0.0.0.00.0.0.0are0
Task2
R4isgettingfloodedwithLSAtype6packetsensurethatR4doesnotgenerateasyslog
messageforthesepackets.
CiscoroutersdoNOTsupportLSAtype6packetsandeachtimeanOSPFrouter
receivesanMOSPF(LSAtype6)packetitsendsasyslogmessage.Iftherouters
receivemanyLSAtype6packetstheywillgeneratealargenumberofsyslog
CCIER&SbyNarbikKocharians FREE LabsPage 179 of338
2007NarbikKocharians.Allrightsreserved
messages.Thisfeatureshouldbedisabledtopreventthisfromoccurring.
OnR4
R4(config)#routerospf1
R4(configrouter)#ignorelsamospf
Task3
Toensurefastdetectionofaneighborbeingdown,configureR2andR3tosendtheir
hellosfourtimesasecondwithaholdtimeofonesecond.
OnR2
R2(config)#intf0/0
R2(configif)#ipospfdeadintervalminimalhellomultiplier4
OnR3
R3(configif)#intf0/0
R3(configif)#ipospfdeadintervalminimalhellomultiplier4
ThedeadintervalisadvertisedinOSPFhellopackets.Thevaluesofthisparameter
mustbethesamefortworoutersinorderforthemtoform aneighboradjacency.
Byspecifyingtheminimalandhellomultiplierkeywordswithamultiplier
value,youareenablingOSPFfasthellopackets.Theminimalkeywordsetsthe
deadintervalto1secondandthehellomultipliervaluesetsthenumber ofhello
packetssentduringthat1second.
Task4
EnsurethattheserouterslookupDNSnamesforuseinallOSPFshowcommands,test
thistasktoensureproperoperation.SincetherearenoDNSserversinthislabyoushould
usetheroutersforthatpurpose.
TotesttheOSPFShowcommandsbeforeimplementingthisfeature,enterthe
following:
Showipospfdatabaserouter
OSPFRouterwithID(1.1.1.1)(ProcessID1)
LSage:1575
Options:(NoTOScapability,DC)
LSType:RouterLinks
LinkStateID:1.1.1.1
AdvertisingRouter:1.1.1.1
LSSeqNumber:80000002
Checksum:0x1D3F
Length:60 Notetherouteridisdisplayed
NumberofLinks:3
OnAllRouters
(config)#ipospf namelookup
(config)#iphostR11.1.1.1
(config)#iphostR22.2.2.2
(config)#iphostR33.3.3.3
(config)#iphostR44.4.4.4
Showipospfdatabaserouter
OSPFRouterwithID(1.1.1.1)(ProcessID1)
RouterLinkStates(Area0)
LSage:1651
Options:(NoTOScapability,DC)
LSType:RouterLinks Notethechange,itsreplacedbythenameconfigured
LinkStateID:1.1.1.1 intheIPhostcommand.
AdvertisingRouter:R1
LSSeqNumber:80000002
Checksum:0x1D3F
Length:60
NumberofLinks:3
Task5
ConfigureR2suchthatifitdoesnotreceiveanacknowledgmentfromR3foragiven
LSA,itwaitsfor10secondsbeforeitresendsthatgivenLSA.
R2(config)#intf0/0
R2(configif)#ipospfretransmitinterval10
WhenanOSPFenabledroutersendsanLSAtoitsneighbor,itkeepstheLSAuntil
itreceivesanACKfromthatgivenneighbor.Iftheretransmissiontimerexpires
andtherouterreceivesnoACKs,therouterwillresendthatLSA.Thedefaulttimer
issetto5seconds,andtherangeis165535.
Task6
ConfigureR2suchthatitlimitsthenumberofnonselfgeneratedLSAsthatanOSPF
routingprocesscankeepintheOSPFLSDBto900.
OnR2
R2(configif)#routerospf1
R2(configrouter)#maxlsa900
BydefaultthenumberofnonselfgeneratedLSAsthatanOSPFroutingprocess
cankeepinthedatabaseisnotlimited.Tolimitthisnumber,wecanusethemax
lsacommandintherouterconfigurationmode.Thiscommandcontainsthe
followingfields:
Maxlsamaximumnumber[thresholdpercentage][warningonly][ignoretimeminutes]
[ignorecount#][resettimeminutes]
Maximumnumber ThemaximumnumberofnonselfgeneratedLSAsthatan
OSPFroutercankeepintheOSPFdatabase.
ThresholdpercentageThepercentageofthemaximumLSAnumber,as
specifiedbythemaximumnumber,atwhichawarningmessageislogged.The
defaultis75.
WarningonlyThisspecifiesthatonlyawarningmessageissentwhenthe
maximumlimitforLSAsisexceeded.
IgnoretimeminutesThisvaluespecifiesthetime,inminutes,toignoreall
neighborsafterthemaximumlimitofLSAshasbeenexceeded.Thedefaultis5
minutes.
Ignorecountcountnumber SpecifiesthenumberoftimestheOSPFprocess
canconsecutively beplacedintotheignorestate.Thedefaultis5times.The
routercannotexceedthisnumber.
Resettimeminutes Thisvaluespecifiesthetime,inminutes,afterwhichthe
CCIER&SbyNarbikKocharians FREE LabsPage 182 of338
2007NarbikKocharians.Allrightsreserved
ignorecountisresettozero.Thedefaultis10minutes.
Task7
TocontroltherateatwhichLSAupdatesoccur,R3shouldsettheinterpacketpacing
betweenconsecutiveLSUs(LinkstateUpdates)intheOSPFtransmissionqueueto60
milliseconds.
OnR3
R3(config)#routerospf1
R3(configrouter)#timerspacingretransmission60
Thiscounterspecifiestime(inmilliseconds)atwhichLSAsintheretransmission
queuearepaced.Thedefaultvalueis66millisecondsandtherangeis5 200
milliseconds.
Task8
R3andR4shouldexchangehellosevery15secondswithaholdtimeof60seconds.Do
NOTuseipospfdeadintervaltoaccomplishthistask.
OnR3
R3(configrouter)#IntS0/0.34
R3(configsubif)#ipospfhellointerval15
OnR4
R4(configrouter)#IntS0/0.43
R4(configsubif)#ipospfhellointerval15
Oncethehellointervalisset,OSPFprocesswillsetthedeadintervaltobefour
timesthehellointerval.Thedefaultvalueforthehellotimerisasfollows:
OnEthernetsegmentitssetto10seconds.
OnNonbroadcastnetworks,itssetto30seconds.
Toverifytheconfiguration:
OnR4
CCIER&SbyNarbikKocharians FREE LabsPage 183 of338
2007NarbikKocharians.Allrightsreserved
R4#ShowipospfintS0/0.43
Serial0/0.43isup,lineprotocolisup
InternetAddress131.1.34.4/24,Area0
ProcessID1,RouterID4.4.4.4,NetworkTypePOINT_TO_POINT,Cost:64
TransmitDelayis1sec,StatePOINT_TO_POINT,
Timerintervalsconfigured,Hello15,Dead60,Wait60,Retransmit5
oobresynctimeout60
Helloduein00:00:03
SupportsLinklocalSignaling(LLS)
(Therestoftheoutputisomitted)
Task9
Erasethestartupconfigurationandreloadtheroutersbeforeproceedingtothenextlab.
UsethetopologyandIPaddressingfromLab1
Task1
ConfiguretherouterswithOSPFroutingprotocolasfollows:
OnR1,allinterfacesshouldbeconfiguredinarea2
OnR2,theFramerelayandLoopback0interfaceshouldbeconfiguredinarea2,
andF0/0,Loopback1(22.2.2.2/8)shouldbeconfiguredinarea1.
OnR3,F0/0andLoopback0interfaceshouldbeconfiguredinarea1,andthe
framerelayandLoopback1(33.3.3.3/8)shouldbeconfiguredinarea0
OnR4,allinterfacesshouldbeconfiguredinarea0
TheseroutersshouldusetheirLo0interfacesIPaddressastheirOSPFrouterid.
OnR1
R1(config)#routerospf1
R1(configrouter)#routerid1.1.1.1
R1(configrouter)#netw0.0.0.00.0.0.0area2
OnR2
R2(config)#routerospf1
R2(configrouter)#routerid2.2.2.2
R2(configrouter)#netw131.1.12.20.0.0.0are2
R2(configrouter)#netw2.2.2.20.0.0.0are2
R2(configrouter)#netw22.2.2.20.0.0.0are1
R2(configrouter)#netw131.1.23.20.0.0.0are1
OnR3
R3(config)#routerospf1
R3(configrouter)#routerid3.3.3.3
CCIER&SbyNarbikKocharians FREE LabsPage 185 of338
2007NarbikKocharians.Allrightsreserved
R3(configrouter)#netw131.1.23.30.0.0.0are1
R3(configrouter)#netw3.3.3.30.0.0.0are1
R3(configrouter)#netw131.1.34.30.0.0.0are0
R3(configrouter)#netw33.3.3.30.0.0.0are0
OnR4
R4(config)#routerospf1
R4(configrouter)#routerid4.4.4.4
R4(configrouter)#netw0.0.0.00.0.0.0are0
WhenconfiguringOSPF,alwaysconfiguretherouteridoftherouter,itsmuch
bettertostaticallyconfiguretherouteridasopposetolettingtheOSPFprocessto
chooseonefortherouter.IfweallowtheOSPFprocesstoelectarouteridanda
virtuallinkiscreatedbasedonthatrouterid,letssaylateronaloopbackinterface
iscreatedwithanumericallyhigherIPaddressandtherouterisrebooted,the
routerwillelectthenewloopbackinterfaceasitsrouteridandthevirtuallinkwill
godown.
Task2
EnsurethattheseroutershaveNLRItotheadvertisedinterfacesintheOSPFrouting
domain.
OnR2
R2(config)#routerospf1
R2(configrouter)#area1virtuallink3.3.3.3
OnR3
R3(configif)#routerospf1
R3(configrouter)#area1virtuallink2.2.2.2
Toverifytheconfiguration:
OnR1
R1#Showiproute
Gatewayoflastresortisnotset
C1.0.0.0/8isdirectlyconnected,Loopback0
2.0.0.0/32 issubnetted,1subnets
O2.2.2.2[110/65]via131.1.12.2,00:10:31,Serial0/0.12
33.0.0.0/32issubnetted,1subnets
OIA33.3.3.3[110/66]via131.1.12.2,00:10:11,Serial0/0.12
3.0.0.0/32issubnetted,1subnets
OIA3.3.3.3[110/66]via131.1.12.2,00:10:31,Serial0/0.12
4.0.0.0/32issubnetted,1subnets
OIA4.4.4.4[110/130]via131.1.12.2,00:10:11,Serial0/0.12
22.0.0.0/32issubnetted,1subnets
OIA22.2.2.2[110/65]via131.1.12.2,00:10:32,Serial0/0.12
131.1.0.0/24issubnetted,3subnets
C131.1.12.0isdirectlyconnected,Serial0/0.12
OIA131.1.23.0[110/65]via131.1.12.2,00:10:33,Serial0/0.12
OIA131.1.34.0[110/129]via131.1.12.2,00:10:14,Serial0/0.12
R1#
Task3
Area2shouldbeconfiguredwithareabasedauthenticationusingCisco12asthe
password.Usethestrongestauthenticationmethod.
OnR1
R1(config)#routerospf1
R1(configrouter)#area2authenticationmessagedigest
R1(configrouter)#intS0/0.12
R1(configsubif)#ipospfmessagedigestkey1md5Cisco12
OnR2
R2(config)#routerospf1
R2(configrouter)#area2authenticationmessagedigest
R2(configrouter)#intS0/0.21
CCIER&SbyNarbikKocharians FREE LabsPage 187 of338
2007NarbikKocharians.Allrightsreserved
R2(configsubif)#ipospfmessagedigestkey1md5Cisco12
Toverifytheconfiguration:
OnR1
Debugipospfpacket
OSPFpacketdebuggingison
*Mar1101:44:27.847:OSPF:rcv.v:2t:1l:48rid:2.2.2.2
aid:0.0.0.2 chk:0aut:2 keyid:1seq:0x3C8D5AE3fromSerial0/0.12
Aid=areaidis2,Authenticationtypeis2,whichmeansMD5(Type1meanscleartext,
type0meansnoauthentication),andkeyed:1meansthekeynumberusedis1.
ShowipospfinterfaceS0/0.12
Serial0/0.12isup,lineprotocolisup
InternetAddress131.1.12.1/24,Area2
ProcessID1,RouterID1.1.1.1,NetworkTypePOINT_TO_POINT,Cost:64
TransmitDelayis1sec,StatePOINT_TO_POINT,
Timerintervalsconfigured,Hello10,Dead40,Wait40,Retransmit5
oobresynctimeout40
Helloduein00:00:07
SupportsLinklocalSignaling(LLS)
Index1/1,floodqueuelength0
Next0x0(0)/0x0(0)
Lastfloodscanlengthis1,maximumis1
Lastfloodscantimeis0msec,maximumis0msec
NeighborCountis1,Adjacentneighborcountis1
Adjacentwithneighbor2.2.2.2
Suppresshellofor0neighbor(s)
Messagedigestauthenticationenabled
Youngestkeyidis1
Task4
Area0shouldbeconfiguredwithareabasedauthenticationusingCisco0asthe
passwordthisauthenticationshouldonlybeappliedtothelinkthatconnectsR3toR4.
Usethestrongestauthenticationmethod.
OnR4
R4(configrouter)#intS0/0.43
R4(configsubif)#ipospfmessagedigestkey1md5Cisco0
OnR3
R3(configrouter)#routerospf1
R3(configrouter)#area0authenticationmessagedigest
R3(configrouter)#intS0/0.34
R3(configsubif)#ipospfmessagedigestkey1md5Cisco0
Toverifytheconfiguration:
OnR4
R4#Showiproute
Gatewayoflastresortisnotset
33.0.0.0/32issubnetted,1subnets
O33.3.3.3[110/65]via131.1.34.3,00:01:41,Serial0/0.43
3.0.0.0/32issubnetted,1subnets
OIA3.3.3.3[110/65]via131.1.34.3,00:01:41,Serial0/0.43
C4.0.0.0/8isdirectlyconnected,Loopback0
22.0.0.0/32issubnetted,1subnets
OIA22.2.2.2[110/66]via131.1.34.3,00:01:41,Serial0/0.43
131.1.0.0/24issubnetted,2subnets
OIA131.1.23.0[110/65]via131.1.34.3,00:01:41,Serial0/0.43
C131.1.34.0isdirectlyconnected,Serial0/0.43
Note,R4isnotgettingnetworksadvertisedinarea0.Whenconfiguringareabased
authentication,allroutersthathaveaninterface(PhysicalorLogical)shouldbe
configuredwiththearea0authenticationmessagedigestcommand,inthiscase
R2hasalogicallinktoarea0,thereforeitmustbeconfiguredasfollows:
CCIER&SbyNarbikKocharians FREE LabsPage 189 of338
2007NarbikKocharians.Allrightsreserved
OnR2
R2(config)#routerospf1
R2(configrouter)#area0authenticationmessagedigest
Iftheabovecommandisnotconfigured,theroutersinarea2willnothaveallthe
routesintheirroutingtable.
Toverifytheconfiguration:
OnR4
R4#Showiproute
Gatewayoflastresortisnotset
1.0.0.0/32issubnetted,1subnets
OIA1.1.1.1[110/130]via131.1.34.3,00:04:31,Serial0/0.43
2.0.0.0/32issubnetted,1subnets
OIA2.2.2.2[110/66]via131.1.34.3,00:04:31,Serial0/0.43
33.0.0.0/32issubnetted,1subnets
O33.3.3.3[110/65]via131.1.34.3,00:04:31, Serial0/0.43
3.0.0.0/32issubnetted,1subnets
OIA3.3.3.3[110/65]via131.1.34.3,00:04:31, Serial0/0.43
C4.0.0.0/8isdirectlyconnected,Loopback0
22.0.0.0/32issubnetted,1subnets
OIA22.2.2.2[110/66]via131.1.34.3,00:04:32,Serial0/0.43
131.1.0.0/24issubnetted,3subnets
OIA131.1.12.0[110/129]via131.1.34.3,00:04:32,Serial0/0.43
OIA131.1.23.0[110/65]via131.1.34.3,00:06:35,Serial0/0.43
C 131.1.34.0isdirectlyconnected,Serial0/0.43
R4#
Removetheauthenticationconfigurationfromtasks3and4beforeproceedingtothenext
task.
OnR1
R1(config)#intS0/0.12
R1(configsubif)#noipospfmessagedigestkey1md5Cisco12
R1(configsubif)#routerospf1
R1(configrouter)#noarea2authenticationmessagedigest
OnR2
R2(configsubif)#routerospf1
R2(configrouter)#noarea0authenticationmessagedigest
R2(configrouter)#noarea2authenticationmessagedigest
R2(config)#intS0/0.21
R2(configsubif)#noipospfmessagedigestkey1md5Cisco12
OnR3
R3(config)#intS0/0.34
R3(configsubif)#noipospfmessagedigestkey1md5Cisco0
R3(configsubif)#routerospf1
R3(configrouter)#noarea0authenticationmessagedigest
On R4
R4(config)#intS0/0.43
R4(configsubif)#noipospfmessagedigestkey1md5Cisco0
R4(configsubif)#routerospf1
R4(configrouter)#noarea0authenticationmessagedigest
Toverifytheconfiguration:
OnR1
R1#Showiproute
Gatewayoflastresortisnotset
C1.0.0.0/8isdirectly connected,Loopback0
2.0.0.0/32issubnetted,1subnets
O2.2.2.2[110/65]via131.1.12.2,00:02:41,Serial0/0.12
33.0.0.0/32issubnetted,1subnets
OIA33.3.3.3[110/66]via131.1.12.2,00:02:41,Serial0/0.12
3.0.0.0/32issubnetted,1subnets
OIA3.3.3.3[110/66]via131.1.12.2,00:02:41,Serial0/0.12
4.0.0.0/32issubnetted,1subnets
OIA4.4.4.4[110/130]via131.1.12.2,00:00:06,Serial0/0.
22.0.0.0/32issubnetted,1subnets
OIA22.2.2.2[110/65]via131.1.12.2,00:02:42,Serial0/0.12
131.1.0.0/24issubnetted,3subnets
C131.1.12.0isdirectlyconnected,Serial0/0.12
OIA131.1.23.0[110/65]via131.1.12.2,00:02:44,Serial0/0.12
OIA131.1.34.0[110/129]via131.1.12.2,00:02:44,Serial0/0.12
R1#
Task 6
Configureinterfacebasedcleartextauthenticationforalltheroutersinarea2.Use
cisco2asthepassword.
OnR1
R1(configrouter)#intS0/0.12
R1(configsubif)#ipospfauthentication
R1(configsubif)#ipospfauthenticationkeyCisco2
OnR2
R2(configrouter)#intS0/0.21
R2(configsubif)#ipospfauthentication
R2(configsubif)#ipospfauthenticationkeyCisco2
CCIER&SbyNarbikKocharians FREE LabsPage 192 of338
2007NarbikKocharians.Allrightsreserved
Toverifytheconfiguration:
OnR1
ShowipospfintS0/0.12
Serial0/0.12isup,lineprotocolisup
InternetAddress131.1.12.1/24,Area2
ProcessID1,RouterID1.1.1.1,NetworkTypePOINT_TO_POINT,Cost:64
TransmitDelayis1sec,StatePOINT_TO_POINT,
Timerintervalsconfigured,Hello10,Dead40,Wait40,Retransmit5
oobresynctimeout40
Helloduein00:00:07
SupportsLinklocalSignaling(LLS)
Index1/1,floodqueuelength0
Next0x0(0)/0x0(0)
Lastfloodscanlengthis1,maximumis1
Lastfloodscantimeis0msec,maximumis0msec
NeighborCountis1,Adjacentneighborcountis1
Adjacentwithneighbor2.2.2.2
Suppresshellofor0neighbor(s)
Simplepasswordauthenticationenabled
R1#Showiproute
Gatewayoflastresortisnotset
C1.0.0.0/8isdirectlyconnected,Loopback0
2.0.0.0/32issubnetted,1subnets
O2.2.2.2[110/65]via131.1.12.2,00:02:48,Serial0/0.12
33.0.0.0/32issubnetted,1subnets
OIA33.3.3.3[110/66]via131.1.12.2,00:02:48,Serial0/0.12
3.0.0.0/32issubnetted,1subnets
OIA3.3.3.3[110/66]via131.1.12.2,00:02:48,Serial0/0.12
4.0.0.0/32issubnetted,1subnets
OIA4.4.4.4[110/130]via131.1.12.2,00:02:48,Serial0/0.12
Task 7
ConfigureperareabasedMD5authenticationforalltheroutersinarea1usingcisco1
asthepassword.
OnR2
R2(config)#routerospf1
R2(configrouter)#area1authenticationmessagedigest
R2(configrouter)#intf0/0
R2(configif)#ipospfmessagedigestkey1md5Cisco1
OnR3
R3(config)#routerospf1
R3(configrouter)#area1authenticationmessagedigest
R3(configrouter)#intf0/0
R3(configif)#ipospfmessagedigestkey1md5Cisco1
Task 8
Area0shouldhavecleartextperinterfacebasedauthenticationusingcisco0asthe
password.DONOTapplyauthenticationonthevirtuallink/s.
OnR4
R4(config)#IntS0/0.43
R4(configsubif)#ipospfauthentication
R4(configsubif)#ipospfauthenticationkeyCisco0
OnR3
ToVerifytheconfiguration:
OnR1
R1#Showiproute
Gatewayoflastresortisnotset
C1.0.0.0/8isdirectlyconnected,Loopback0
2.0.0.0/32issubnetted,1subnets
O2.2.2.2[110/65]via131.1.12.2,00:06:28,Serial0/0.12
33.0.0.0/32issubnetted,1subnets
OIA 33.3.3.3[110/66]via131.1.12.2,00:06:08,Serial0/0.12
3.0.0.0/32issubnetted,1subnets
OIA3.3.3.3[110/66]via131.1.12.2,00:06:28,Serial0/0.12
4.0.0.0/32issubnetted,1subnets
OIA4.4.4.4[110/130]via131.1.12.2,00:00:52, Serial0/0.12
22.0.0.0/32issubnetted,1subnets
OIA22.2.2.2[110/65]via131.1.12.2,00:06:29,Serial0/0.12
131.1.0.0/24issubnetted,3subnets
C131.1.12.0isdirectlyconnected,Serial0/0.12
OIA131.1.23.0[110/65]via131.1.12.2,00:06:30,Serial0/0.12
OIA131.1.34.0[110/129]via131.1.12.2,00:06:10,Serial0/0.12
R1#
Note,thedifferencebetweentheperareabasedauthenticationandperinterface
authenticationisthatinperareabasedauthenticationeventherouterswithlogical
interfaceconnectiontoarea0musthaveauthenticationenabledundertherouter
configurationmode,whereasinperinterfacebasedauthentication,thisisnot
required.
R2andR3shouldchangetheirpasswordwithoutanyinterruptiontothelinkusing
ciscoasthepassword.DoNOTremoveanycommandstoaccomplishthistask.
OnR2
R2(config)#intf0/0
R2(configif)#ipospfmessagedigestkey2md5cisco
R2#shipospfintf0/0
FastEthernet0/0isup,lineprotocolisup
InternetAddress131.1.23.2/24,Area1
ProcessID1,RouterID2.2.2.2,NetworkTypeBROADCAST,Cost:1
TransmitDelayis1sec,StateBDR,Priority1
DesignatedRouter(ID)3.3.3.3,Interfaceaddress131.1.23.3
BackupDesignatedrouter(ID)2.2.2.2,Interfaceaddress131.1.23.2
Timerintervalsconfigured,Hello10,Dead40,Wait40,Retransmit5
oobresynctimeout40
Helloduein00:00:03
SupportsLinklocalSignaling(LLS)
Index2/4,floodqueuelength0
Next0x0(0)/0x0(0)
Lastfloodscanlengthis1,maximumis3
Lastfloodscantimeis0msec,maximumis0msec
NeighborCountis1,Adjacentneighborcountis1
Adjacentwithneighbor3.3.3.3(DesignatedRouter)
Suppresshellofor0neighbor(s)
Messagedigestauthentication enabled
Youngestkeyidis2
Rolloverinprogress,1neighbor(s)usingtheoldkey(s):
keyid1
R2#
Noteeventhoughthesecondkey(key2)isonlyconfiguredonR2,R2andR3are
stillauthenticatingbasedonthefirstkey(key1),thisisdisplayedonthelastlineof
theabovedisplay.
Buttherouterknowsthatthesecondkeyisconfigured(Thirdlastlineintheabove
display)anditknowsthattherolloverisinprogress(Secondlastlineofthedisplay)
,buttheotherend(R3)hasnotbeenconfiguredyet.
OnR3
R3#Showiproute
CCIER&SbyNarbikKocharians FREE LabsPage 196 of338
2007NarbikKocharians.Allrightsreserved
Codes:C connected,S static,RRIP,M mobile,BBGP
D EIGRP,EX EIGRPexternal,OOSPF,IA OSPFinterarea
N1 OSPFNSSAexternaltype1,N2 OSPFNSSAexternaltype2
E1 OSPFexternaltype1,E2 OSPFexternaltype2
i ISIS,su ISISsummary,L1ISISlevel1,L2 ISISlevel2
iaISISinterarea,* candidatedefault,U peruserstaticroute
o ODR,P periodicdownloadedstaticroute
Gatewayoflastresortisnotset
1.0.0.0/32issubnetted,1subnets
OIA1.1.1.1[110/66]via131.1.23.2,00:06:16,FastEthernet0/0
2.0.0.0/32issubnetted,1subnets
OIA2.2.2.2[110/2]via131.1.23.2,00:06:16,FastEthernet0/0
C33.0.0.0/8isdirectlyconnected,Loopback1
C3.0.0.0/8isdirectlyconnected,Loopback0
4.0.0.0/32issubnetted,1subnets
O4.4.4.4[110/65]via131.1.34.4,00:06:16, Serial0/0.34
22.0.0.0/32issubnetted,1subnets
O22.2.2.2[110/2]via131.1.23.2,00:06:17,FastEthernet0/0
131.1.0.0/24issubnetted,3subnets
OIA131.1.12.0[110/65]via131.1.23.2,00:06:17,FastEthernet0/0
C131.1.23.0isdirectlyconnected,FastEthernet0/0
C131.1.34.0isdirectly connected,Serial0/0.34
R3#
R3#ShowipospfintF0/0
FastEthernet0/0isup,lineprotocolisup
InternetAddress131.1.23.3/24,Area1
ProcessID1,RouterID3.3.3.3,NetworkTypeBROADCAST,Cost:1
TransmitDelayis1sec,StateDR,Priority1
DesignatedRouter(ID)3.3.3.3,Interfaceaddress131.1.23.3
BackupDesignatedrouter(ID)2.2.2.2,Interfaceaddress131.1.23.2
Timerintervalsconfigured,Hello10,Dead40,Wait40,Retransmit5
oobresynctimeout40
Helloduein00:00:09
SupportsLinklocalSignaling(LLS)
Index1/1,floodqueuelength0
Next0x0(0)/0x0(0)
Lastfloodscanlengthis1,maximumis4
Lastfloodscantimeis0msec,maximumis0msec
NeighborCountis1,Adjacentneighborcountis1
Adjacentwithneighbor2.2.2.2(BackupDesignatedRouter)
Suppresshellofor0neighbor(s)
Note,theauthenticationwithR2isbasedonthefirstkey(key1)
R3(config)#intf0/0
R3(configif)#ipospfmessagedigestkey2md5cisco
Toverifytheconfiguration:
OnR3
R3#ShowipospfintF0/0
FastEthernet0/0isup,lineprotocolisup
InternetAddress131.1.23.3/24,Area1
ProcessID1,RouterID3.3.3.3,NetworkTypeBROADCAST,Cost:1
TransmitDelayis1sec,StateDR,Priority1
DesignatedRouter(ID)3.3.3.3,Interfaceaddress131.1.23.3
BackupDesignatedrouter(ID)2.2.2.2,Interfaceaddress131.1.23.2
Timerintervalsconfigured,Hello10,Dead40,Wait40,Retransmit5
oobresynctimeout40
Helloduein00:00:01
SupportsLinklocalSignaling(LLS)
Index1/1,floodqueuelength0
Next0x0(0)/0x0(0)
Lastfloodscanlengthis1,maximumis4
Lastfloodscantimeis0msec,maximumis0msec
NeighborCountis1,Adjacentneighborcountis1
Adjacentwithneighbor2.2.2.2(BackupDesignatedRouter)
Suppresshellofor0neighbor(s)
Messagedigestauthenticationenabled
Youngestkeyidis2
R3#
Task10
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
.1.2
FrameRelay
S0/0 S0/0
F0/0.2
.3
F0/0 . R3
.3
LabSetup:
ConfigureR2andR3inVlan23
ConfiguretheframerelayconnectionbetweenR1andR2inapointtopoint
manner.
Router InterfaceandIPaddress
R1 Lo0=1.1.1.1/8
FramerelayinterfacetoR2=131.1.12.1/24
R2 Lo0=2.2.2.2/8
FramerelayinterfacetoR1=131.1.12.2/24
F0/0interfacetoR3=131.1.23.2/24
R3 Lo0=3.3.3.3/8
F0/0interfacetoR2=131.1.23.3/24
Task1
ConfigureallthreeroutersinOSPFarea0andadvertisetheirdirectlyconnected
networksinthisarea.EnsurethatallroutershaveNLRItoeveryadvertisednetwork.
Ensurethatloopbackinterface/sisadvertisedwiththeircorrectmask.
On R1
R1(config)#routerospf1
R1(configrouter)#netw0.0.0.00.0.0.0are0
R1(configrouter)#intlo0
R1(configif)#ipospfnetpointtopoint
Thistaskisaskingustoensurethattheloopbackinterfacesareadvertisedwith
theircorrectmask,onewaytoaccomplishthistaskistochangetheirnetworktype
topointtopoint.
OnR2
R2(config)#routerospf1
R2(configrouter)#netw0.0.0.00.0.0.0are0
R2(configrouter)#intlo0
R2(configif)#ipospfnetworkpointtopoint
OnR3
R3(config)#routerospf1
R3(configrouter)#netw0.0.0.00.0.0.0are0
Toverifytheconfiguration:
OnR1
R1#Showiproute
Gatewayoflastresortisnotset
C1.0.0.0/8isdirectlyconnected,Loopback0
O2.0.0.0/8[110/65]via131.1.12.2,00:00:16,Serial0/0.12
O3.0.0.0/8[110/66]via131.1.12.2,00:00:16,Serial0/0.12
131.1.0.0/24issubnetted,2subnets
C131.1.12.0isdirectlyconnected,Serial0/0.12
O131.1.23.0[110/65]via131.1.12.2,00:00:16,Serial0/0.12
R1#
Task 2
ConfigureR1suchthatitadvertisesacostof20foritsloopback0interface.
Youshouldcheckthecostofnetwork1.0.0.0/8thatisadvertisedtoR2byR1.
OnR2
R2#Showiproute
Gatewayoflastresortisnotset
O1.0.0.0/8[110/65] via131.1.12.1,00:01:24,Serial0/0.21
C2.0.0.0/8isdirectlyconnected,Loopback0
O3.0.0.0/8[110/2]via131.1.23.3,00:01:24,FastEthernet0/0
131.1.0.0/24issubnetted,2subnets
C131.1.12.0isdirectlyconnected,Serial0/0.21
C131.1.23.0isdirectlyconnected,FastEthernet0/0
R2#
Note,thecostoftheloopbackinterfaceis65thisistheresultofaddingthecostof
theserialinterface(100,000,000/1,544,000=64,remembertodropthedecimal
points)plusthecostoftheloopbackinterface(100,000,000/8000,000,000=1,
rememberthatyoucantusedecimals,therefore,youshouldroundupto1).
Enterthefollowingtochangethecostofthelo0interfaceonR1:
OnR1
R1(configif)#intlo0
R1(configif)#ipospfcost20
Toverifytheconfiguration:
OnR2
R2#Showiproute
Gatewayoflastresortisnotset
O1.0.0.0/8[110/84]via131.1.12.1,00:00:07,Serial0/0.21
C2.0.0.0/8isdirectlyconnected,Loopback0
O3.0.0.0/8[110/2]via131.1.23.3,00:00:07,FastEthernet0/0
131.1.0.0/24issubnetted,2subnets
Note,thecostaftertheconfigurationis84,whichisthesumof64(Thecostofthe
serialinterface)plus20(Whichisthecostofthelo0interface).
Task 3
Inthefutureagigabitinterfacewillbeinstalledononeoftheroutersinthisrouting
domain.Ensurethatthecostsoftheotherinterfacesareadjustedproportionally.
OnAllRouters
(configif)#routerospf1
(configrouter)#autocostreferencebandwidth1000
(config)#End
#Clearipospfproc
ResetALLOSPFprocesses?[no]:y
Bydefault,OSPFcalculatesthecostofaninterfacebydividingthebandwidth ofthe
interfaceinto100million.Usingthedefaultvalue,whenyournetworkhasinterfaces
withabandwidthgreaterthan100millionisnotrecommended,because,OSPFwill
notbeabletodifferentiatebetween100mbpsinterfaceandaninterfacewitha
bandwidththatisgreaterthan100mbps,IPOSPFCOSTcommandenablesyou
tochangetheOSPFcostforaninterface,butabetterwaytoaccomplishthisisto
changethedefaultreferencevalueusedtocalculatetheOSPFcostofaninterface.
Thisvaluecanbemodifiedusingthecommandautocostreferencebandwidth.If
youareplanningtousethiscommand,rememberthateveryrouterintheOSPF
routingdomainmustbeconfiguredaswell.
Task 4
Removethecommandconfiguredintask3.
OnAllRouters
(configif)#routerospf1
(configrouter)#noautocostreferencebandwidth1000
(config)#End
CCIER&SbyNarbikKocharians FREE LabsPage 203 of338
2007NarbikKocharians.Allrightsreserved
#Clearipospfproc
ResetALLOSPFprocesses?[no]:y
Task 5
ConfiguretherouterssuchthattheFastEthernetinterfaceoftheserouterswillhavea
costof 70.Theotherinterfacesshouldhavetheircostcalculatedproportionally.
OnAllRouters
(configrouter)#routerospf1
(configrouter)#autocostreferencebandwidth7000
TheequationusedbyOSPFisasfollows:
Reference/Bandwidth=Cost
Rearrangingtheformula,wegetthefollowingequation:
Reference=CostXBandwidth=70X100,000,000=7,000,000,000
ReferenceisinunitsofMbps,andbydefaultitssetto100whichmeans100,000,000
bps,nowwehavetodividetheresultby1000,000togettheactualreference,which
is7000.
Sothecostreferenceshouldbechangedto7000
Toverifytheconfiguration:
OnR3
R3#Showipospfintf0/0
FastEthernet0/0isup,lineprotocolisup
InternetAddress131.1.23.3/24,Area0
ProcessID1,RouterID3.3.3.3,NetworkTypeBROADCAST,Cost:70
TransmitDelayis1sec,StateBDR,Priority1
(Therestoftheoutputisomitted)
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
.1.2
FrameRelay
S0/0 S0/0
F0/0.2
.3
R4 F0/0 . R3
.4 .3
FrameRelay
S0/0S0/0
Labsetup:
ConfigureR2F0/0andR3sF0/0inVLAN23
ConfiguretheframerelayconnectionbetweenR1,R2andR3,R4inapointto
pointmanner.
Task1
Configuretheroutersasfollows:
R4shouldredistributethefourloopbackinterfaces(4.4.0.4/24 4.4.3.4/24)in
theOSPFroutingdomain.
R4shouldadvertiseitsLoopback4andFramerelayinterfaceinArea2.
R1shouldadvertiseallofitsinterfacesinOSPFarea1.
R2shouldadvertiseitsLoopback0,F0/0interfaceinarea0andtheframerelay
interfaceinarea1.
R3shouldadvertiseitsLoopback0,F0/0interfaceinarea0,anditsframerelay
interfaceinarea2.
OnR1
R1(config)#routerospf1
R1(configrouter)#netw0.0.0.00.0.0.0area1
OnR2
R2(config)#routerospf1
CCIER&SbyNarbikKocharians FREE LabsPage 207 of338
2007NarbikKocharians.Allrightsreserved
R2(configrouter)#netw2.2.2.20.0.0.0are0
R2(configrouter)#netw131.1.23.20.0.0.0are0
R2(configrouter)#netw131.1.12.20.0.0.0are1
OnR3
R3(config)#routerospf1
R3(configrouter)#netw3.3.3.30.0.0.0area0
R3(configrouter)#netw131.1.23.30.0.0.0area0
R3(configrouter)#netw131.1.34.30.0.0.0area2
OnR4
R4(config)#accesslist4permit4.4.0.00.0.3.255
R4(config)#routemapTESTpermit10
R4(configroutemap)#matchipaddr4
R4(configif)#routerospf1
R4(configrouter)#netw4.4.4.40.0.0.0are2
R4(configrouter)#netw131.1.34.40.0.0.0are2
R4(configrouter)#redistributeconnectedsubnetsroutemapTEST
WhenredistributingroutesintoOSPF,thesubnetskeywordwillredistributeallthe
subnetsintoOSPF,ifthiskeywordisomitted,thenonlyclassfulnetworkswillbe
redistributedintoOSPF.
Task2
ConfiguretheOSPFrouterssuchthattheexternalroutesaresummarized.
OnR4
R4(config)#routerospf1
R4(configrouter)#summaryaddress4.4.0.0255.255.252.0
InOSPF,summarizationcanbeconfiguredontwotypesofrouters:ABR/sand/or
ASBRs.
TheinternalOSPFroutescanonlybesummarizedonABRswhereastheexternal
(redistributed)routescanonlybesummarizedonASBRs.
WhensummarizinginternalroutesonABRstheareaxxrangecommandmustbe
used,wherexxistheareaid.
SummarizationonASBRcanbeaccomplishedbyusingthesummaryaddress
CCIER&SbyNarbikKocharians FREE LabsPage 208 of338
2007NarbikKocharians.Allrightsreserved
command.
Toverifytheconfiguration:
OnR3
R3#Showiproute
Gatewayoflastresortisnotset
1.0.0.0/32issubnetted,4subnets
OIA1.1.1.1[110/66]via131.1.23.2,00:13:18,FastEthernet0/0
OIA1.1.0.1[110/66]via131.1.23.2,00:13:18,FastEthernet0/0
OIA1.1.3.1[110/66]via131.1.23.2,00:13:18,FastEthernet0/0
OIA1.1.2.1[110/66]via131.1.23.2,00:13:18,FastEthernet0/0
2.0.0.0/32issubnetted,1subnets
O2.2.2.2[110/2]via131.1.23.2,00:13:50,FastEthernet0/0
C3.0.0.0/8isdirectlyconnected,Loopback0
4.0.0.0/8isvariablysubnetted,2subnets,2masks
O4.4.4.4/32[110/65]via131.1.34.4,00:13:19,Serial0/0.34
OE24.4.0.0/22[110/20]via131.1.34.4,00:00:06,Serial0/0.34
131.1.0.0/24issubnetted,3subnets
OIA131.1.12.0[110/65]via131.1.23.2,00:13:19,FastEthernet0/0
C131.1.23.0isdirectlyconnected,FastEthernet0/0
C131.1.34.0isdirectlyconnected,Serial0/0.34
Notetheexternalroutesaresummarized.
Task3
ConfigureArea1suchthatnetworks(1.1.0.0/24,1.1.1.0/24,1.1.2.0/24and1.1.3.0/24)
aresummarizedintotheOSPFroutingdomain.
OnR2
NotetheseroutesareoriginatedbyR1,buttheycanonlybesummarizedbythe
ABR,inthistopologytheABRisR2.Sincetheroutesthatarebeingsummarized
originatedinarea1,thearearangecommandmustspecifytheareaarea1
rangefollowedbythesummarynetworkaddress(1.1.0.0)andthenthesubnet
mask(255.255.252.0).
Task4
TheroutersshouldNOTinstallanull0routeintheroutingtablewhentheysummarize
internalorexternalroutes.
InOSPF,thediscardrouteiscreatedautomaticallywheneverasummaryrouteis
configured,therearetwotypesofsummaryroutes:InternalandExternal.
Wheninternalsummaryroutesareconfigured,OSPFwillinjectaninternaldiscard
route,andwhenanexternalsummaryrouteisconfigured,theOSPFprocesswillcreate
anexternaldiscardroute.Thediscardroutesarecreatedtostopforwardingloops.
OnR2
R2#Showiproute
Gatewayoflastresortisnotset Thisistheinternaldiscardroute
1.0.0.0/8isvariablysubnetted,5subnets,2masks
O 1.1.1.1/32[110/65]via131.1.12.1,00:13:53,Serial0/0.21
O1.1.0.0/22isasummary,00:13:53,Null0
O1.1.0.1/32[110/65]via131.1.12.1,00:13:53,Serial0/0.21
O1.1.3.1/32[110/65]via131.1.12.1,00:13:53,Serial0/0.21
O 1.1.2.1/32[110/65]via131.1.12.1,00:13:53,Serial0/0.21
C 2.0.0.0/8isdirectlyconnected,Loopback0
OnR2
R2(config)#routerospf1
R2(configrouter)#nodiscardrouteinternal
Thediscardroutethatwearediscardingistheresultofsummarizingtheinternal
routes,thereforeweneedtospecifyinternal.
ToVerifytheconfiguration:
OnR4
R4(config)#routerospf1
R4(configrouter)#nodiscardrouteexternal
Intheabovecommandwearediscardingtheexternaldiscardroutethatwascreatedas
aresultofsummarizingtheexternalroutes.
Task5
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
.1.2
FrameRelay
S0/0 S0/0
F0/0.2
.3
R4 F0/0 . R3
.4 .3
FrameRelay
F0/0 S0/0S0/0
F0/0
R5
UsetheIPaddressingchartbelowtoassignIPaddressestotheinterfaces.
TheframerelayconnectionbetweenR1andR2shouldbeconfiguredinapoint
topointmanner.
R2andR3sF0/0interfaceshouldbeconfiguredinVLAN23.
TheframerelayconnectionbetweenR3andR4shouldbeconfiguredinapoint
topointmanner.
R4andR5sF0/0interfaceshouldbeconfiguredinVLAN45.
IPAddressing
R1sLoopback1interfaceshouldbeadvertisedinarea3anditsFramerelayand
Loopback0interfaceshouldbeadvertisedinarea1
R2sLoopback0anditsframerelayinterfaceshouldbeconfiguredin area1and
itsLoopback1andF0/0interfaceshouldbeconfiguredinarea0
R3sLoopback0andF0/0interfaceshouldbeconfiguredinarea0anditsframe
relayandLoopback1interfaceshouldbeconfiguredinarea2.
R4sframerelayandLoopback0interfaceshouldbeconfiguredinarea2andits
F0/0andLoopback1interfaceshouldbeconfiguredinarea4.
R5sLoopbackandF0/0interfaceshouldbeconfiguredinarea4.
OnR1
R1(configif)#routerospf1
R1(configrouter)#routerid1.1.1.1
R1(configrouter)#netw10.1.1.10.0.0.0are3
R1(configrouter)#netw131.1.12.10.0.0.0are1
R1(configrouter)#netw1.1.1.10.0.0.0are1
OnR2
R2(config)#routerospf1
R2(configrouter)#routerid2.2.2.2
R2(configrouter)#netw131.1.12.20.0.0.0are1
R2(configrouter)#netw2.2.2.20.0.0.0are1
R2(configrouter)#netw131.1.23.20.0.0.0are0
R2(configrouter)#netw20.2.2.20.0.0.0are0
OnR3
R3(configif)#routerospf1
R3(configrouter)#routerid3.3.3.3
R3(configrouter)#netw131.1.23.30.0.0.0are0
R3(configrouter)#netw3.3.3.30.0.0.0are0
R3(configrouter)#netw131.1.34.30.0.0.0are2
R3(configrouter)#netw30.3.3.30.0.0.0are2
R4(config)#routerospf1
R4(configrouter)#routerid4.4.4.4
R4(configrouter)#netw131.1.34.40.0.0.0area2
R4(configrouter)#netw4.4.4.40.0.0.0are2
R4(configrouter)#netw131.1.45.40.0.0.0are4
R4(configrouter)#netw40.4.4.40.0.0.0are4
OnR5
R5(config)#routerospf1
R5(configrouter)#routerid5.5.5.5
R5(configrouter)#netw131.1.45.50.0.0.0are4
R5(configrouter)#netw5.5.5.50.0.0.0are4
Task2
Ensurethattheroutesfromarea3arereachablebyR1,R2,R3andR4.DoNOTusea
GRETunneltoaccomplishthistask.
Area3isfragmentedtheotherrouterswontbeabletoseetherouteadvertisedbythis
area(10.1.1.0/24).AvirtuallinkmustbecreatedthatconnectsR1(TheABRofarea3)
toarea0.
OnR1
R1(config)#routerospf1
R1(configrouter)#area1virtuallink2.2.2.2
OnR2
R2(config)#routerospf1
R2(configrouter)#area1virtuallink1.1.1.1
ToVerifytheconfiguration:
R2#Showiproute
Gatewayoflastresortisnotset
1.0.0.0/24issubnetted,1subnets
O1.1.1.0[110/65]via131.1.12.1,00:00:09,Serial0/0.21
2.0.0.0/24issubnetted,1subnets
C2.2.2.0isdirectlyconnected,Loopback0
3.0.0.0/24issubnetted,1subnets
O3.3.3.0[110/2]via131.1.23.3,00:00:09,FastEthernet0/0
4.0.0.0/24issubnetted,1subnets
OIA4.4.4.0[110/66]via131.1.23.3,00:00:09,FastEthernet0/0
20.0.0.0/24issubnetted,1subnets Notetheroutefromarea3isadvertised
C20.2.2.0isdirectlyconnected,Loopback1
10.0.0.0/24issubnetted,1subnets
OIA10.1.1.0[110/65]via131.1.12.1,00:00:00,Serial0/0.21
131.1.0.0/24issubnetted,3subnets
C131.1.12.0isdirectlyconnected,Serial0/0.21
C131.1.23.0isdirectlyconnected,FastEthernet0/0
OIA131.1.34.0[110/65]via131.1.23.3,00:00:02,FastEthernet0/0
30.0.0.0/24issubnetted,1subnets
OIA30.3.3.0[110/2]via131.1.23.3,00:00:02,FastEthernet0/0
Task3
Ensurethatalltheadvertisednetworksarereachablebyalltherouters.UseanyIP
addressinganddoNOTuseaVirtuallinktoaccomplishthistask.
TheroutingtableofR5revealsthatonlynetwork40.4.4.0/24waspropagatedby
R4.Thereasonforthisbehaviorisasfollows:
Area4isfragmentedanddoesnothaveaconnection(LogicalorPhysical)toarea0.
Inordertorectifythisproblemwemustcreateavirtuallink,sincevirtuallinkis
notallowedinthistaskaGREtunnelmustbeused.
TodisplaytheroutingtableofR5beforecreatingaGREtunnel:
OnR5
R5#Showiproute
Gatewayoflastresortisnotset
5.0.0.0/24issubnetted,1subnets
C5.5.5.0isdirectlyconnected,Loopback0
40.0.0.0/24issubnetted,1subnets
O 40.4.4.0[110/2]via131.1.45.4,00:04:00,FastEthernet0/0
131.1.0.0/24issubnetted,1subnets
C131.1.45.0isdirectlyconnected,FastEthernet0/0
TofixthisproblemwemustcreateaGREtunnelasfollows:
OnR4
R4(configif)#router ospf1
R4(configrouter)#netw200.1.34.40.0.0.0are0
R4(config)#inttu1
R4(configif)#ipaddr200.1.34.4255.255.255.0
R4(configif)#tunnelsource131.1.34.4
R4(configif)#tunneldestination131.1.34.3
OnR3
R3(config)#routerospf1
R3(configrouter)#netw200.1.34.30.0.0.0are0
R3(config)#inttu1
R3(configif)#ipaddr200.1.34.3255.255.255.0
R3(configif)#tunnelsource131.1.34.3
R3(configif)#tunneldestination131.1.34.4
ToVerifytheconfiguration:
OnR5
R5#Showiproute
Gatewayoflastresortisnotset
1.0.0.0/24issubnetted,1subnets
OIA1.1.1.0[110/11178]via131.1.45.4,00:00:07,FastEthernet0/0
2.0.0.0/24issubnetted,1subnets
OIA2.2.2.0[110/11114]via131.1.45.4,00:00:07,FastEthernet0/0
3.0.0.0/24issubnetted,1subnets
OIA3.3.3.0[110/11113]via131.1.45.4,00:00:07,FastEthernet0/0
4.0.0.0/24issubnetted,1subnets
OIA4.4.4.0[110/2]via131.1.45.4,00:00:47,FastEthernet0/0
OIA200.1.34.0/24[110/11112]via131.1.45.4,00:00:47,FastEthernet0/0
20.0.0.0/24issubnetted,1subnets
OIA20.2.2.0[110/11114]via131.1.45.4,00:00:08,FastEthernet0/0
5.0.0.0/24issubnetted,1subnets
C5.5.5.0isdirectlyconnected,Loopback0
40.0.0.0/24issubnetted,1subnets
O40.4.4.0[110/2]via131.1.45.4,00:00:49,FastEthernet0/0
10.0.0.0/24issubnetted,1subnets
OIA10.1.1.0[110/11178]via131.1.45.4,00:00:09,FastEthernet0/0
131.1.0.0/24issubnetted,4subnets
OIA131.1.12.0[110/11177]via131.1.45.4,00:00:09,FastEthernet0/0
OIA131.1.23.0[110/11113]via131.1.45.4,00:00:09,FastEthernet0/0
OIA131.1.34.0[110/65]via131.1.45.4,00:00:49,FastEthernet0/0
C131.1.45.0isdirectlyconnected,FastEthernet0/0
30.0.0.0/24issubnetted,1subnets
OIA30.3.3.0[110/66]via131.1.45.4,00:00:49,FastEthernet0/0
Notealltheroutesareadvertised.TheIPaddressofthetunnelinterfaceMUSTbe
advertisedinarea0orelsethetunnelwillnotwork.
Task4
Removetheconfigurationfromtheprevioustaskandreplaceitwithvirtuallink.
OnR4
R4(configif)#routerospf1
CCIER&SbyNarbikKocharians FREE LabsPage 218 of338
2007NarbikKocharians.Allrightsreserved
R4(configrouter)#nonetw200.1.34.40.0.0.0are0
R4(config)#nointtu1
R4(config)#routerospf1
R4(configrouter)#area2virtuallink3.3.3.3
OnR3
R3(config)#routerospf1
R3(configrouter)#nonetw200.1.34.30.0.0.0are0
R3(config)#nointtu1
R3(config)#routerospf1
R3(configrouter)#area2virtuallink4.4.4.4
Task5
Configureasimplecleartextauthenticationforthevirtuallinkthatconnectsarea3to
area0.UseCiscoasthepassword.
OnR1
R1(config)#routerospf1
R1(configrouter)#area1virtuallink2.2.2.2authentication
R1(configrouter)#area1virtuallink2.2.2.2authenticationkeyCisco
OnR2
R2(config)#routerospf1
R2(configrouter)#area1virtuallink1.1.1.1authentication
R2(configrouter)#area1virtuallink1.1.1.1authenticationkeyCisco
Task6
ConfigureMD5authenticationforthevirtuallinkthatconnectsarea4toarea0,use
ciscoasthepassword.
OnR4
CCIER&SbyNarbikKocharians FREE LabsPage 219 of338
2007NarbikKocharians.Allrightsreserved
R4(config)#routerospf1
R4(configrouter)#area2virtuallink3.3.3.3authenticationmessagedigest
R4(configrouter)#area2virtuallink3.3.3.3messagedigestkey1md5cisco
OnR3
R3(config)#routerospf1
R3(configrouter)#area2virtuallink4.4.4.4authenticationmessagedigest
R3(configrouter)#area2virtuallink4.4.4.4messagedigestkey1md5cisco
Task7
ChangethepasswordfromciscotoCCIEforthevirtuallinkthatconnectsarea4to
area0,withoutinterruptingthelink.
OnR4
R4(config)#routerospf1
R4(configrouter)#area2virtuallink3.3.3.3messagedigestkey2md5CCIE
OnR3
R3(config)#routerospf1
R3(configrouter)#area2virtuallink4.4.4.4messagedigestkey2md5CCIE
Task8
Erasethestartupconfigandreloadtheroutersbeforeproceedingto thenextlab.
R1 S0/0S0/0 . R2
S0/0
FrameRelay
F0/0
F0/0 R3
R4 S0/0
S0/0 Frame
Relay
F0/0
F0/0
R5
LabSetup:
R4andR5sF0/0interfaceshouldbeconfiguredinVLAN45.
R2andR3sF0/0interfaceshouldbeconfiguredinVLAN23.
TheframerelayconnectionbetweenR1,R2andR3,R4shouldbeconfiguredina
pointtopointmanner.
UsetheIPaddressingchartbelowtoassignIPaddressestotherouters.
Task1
ConfigureOSPFasfollows:
ConfigureR1sLoopback0andFramerelayinterfaceinarea1
ConfigureR2sLoopback0andFramerelayinterfaceinarea1andR2s
Loopback1andF0/0interfaceshouldbeconfiguredinarea0.
ConfigureR3sLoopback0,F0/0,andFramerelayinterfaceinOSPFarea0.
ConfigureR4sLoopback0,andFramerelayinterfacein area0,andits
Loopback1andF0/0inOSPFarea2.
ConfigureR5sLoopback0andF0/0interfaceinOSPFarea2.
Theloopbackinterfacesmustbeadvertisedwiththeircorrectmask.
OnR1
R1(config)#routerospf1
R1(configrouter)#netw1.1.1.10.0.0.0are1
CCIER&SbyNarbikKocharians FREE LabsPage 222 of338
2007NarbikKocharians.Allrightsreserved
R1(configrouter)#netw131.1.12.10.0.0.0are1
R1(config)#InterfaceLo0
R1(configif)#Ipospfnetworkpointtopoint
OnR2
R2(configif)#routerospf1
R2(configrouter)#netw2.2.2.20.0.0.0area1
R2(configrouter)#netw22.2.2.20.0.0.0are0
R2(configrouter)#netw131.1.12.20.0.0.0are1
R2(configrouter)#netw131.1.23.20.0.0.0are0
R2(config)#InterfaceLo0
R2(configif)#Ipospfnetworkpointtopoint
OnR3
R3(configif)#routerospf1
R3(configrouter)#netw3.3.3.30.0.0.0are0
R3(configrouter)#netw131.1.23.30.0.0.0are0
R3(configrouter)#netw131.1.34.30.0.0.0are0
R3(config)#InterfaceLo0
R3(configif)#Ipospfnetworkpointtopoint
OnR4
R4(configif)#routerospf1
R4(configrouter)#netw4.4.4.40.0.0.0are0
R4(configrouter)#netw131.1.34.40.0.0.0are0
R4(configrouter)#netw44.4.4.40.0.0.0are2
R4(configrouter)#netw131.1.45.40.0.0.0are2
R4(config)#InterfaceLo0
R4(configif)#Ipospfnetworkpointtopoint
OnR5
R5(configif)#routerospf1
R5(configrouter)#netw5.5.5.50.0.0.0are2
R5(configrouter)#netw131.1.45.50.0.0.0are2
R5(config)#InterfaceLo0
R5(configif)#Ipospfnetworkpointtopoint
CCIER&SbyNarbikKocharians FREE LabsPage 223 of338
2007NarbikKocharians.Allrightsreserved
Task 2
Configurearea1suchthatitdoesnotreceiveLSAtypes4and5.
OnR1
R1(config)#routerospf1
R1(configrouter)#area1stub
OnR2
R2(config)#routerospf1
R2(configrouter)#area1stub
ImportantpointstounderstandaboutaSTUBarea:
ASTUBareacannotbeatransitareaforVirtuallink,butaGREtunnelcan
beusedinstead.
ASTUBareacannothaveanASBR.
ThebackboneareacannotbeconfiguredasaSTUBarea.
EveryrouterandtheABRofthatareashouldhaveareaxxstub
command.
NoLSAtype5(E1,orE2)isallowedinaSTUBarea,buttheroutersinthe
STUBareacanconnecttotheExternalroutesviathedefaultroutethatis
injectedintheareabytheABR.
Bydefault,thecostofthedefaultrouteis1thiscanbeverifiedbyShowip
ospf,andShowiproute.Thecostofthedefaultroutecanbechangedby
areaxxdefaultcostcc,wherexxistheareanumber,andccisthedesired
cost
Task 3
Area2shouldnotreceiveLSAtypes3,4and5.
OnR5
R5(config)#routerospf1
R5(configrouter)#area2stub
OnR4
R4(config)#routerospf1
R4(configrouter)#area2stubnosummary
TheabovecommandmustonlybeconfiguredontheABRofthisarea.
Noteyoucanreducetheroutingtablefurtherbyconfiguringanareaastotally
stubby.SincealltheIAandE(InterareaandExternal)routesarereachedthrough
theABRandtheABRhasinjecteda0/0routeintothearea,thereisnotreasonto
maintaintheIAroutesandtheyshouldbefiltered.
Task 4
Create/configurethefollowingloopbackinterfacesonR1andredistributetheminto
OSPFroutingdomain:
Lo1=11.1.0.1/24,Lo2=11.1.1.1/24,Lo3=11.1.2.1/24andLo4=11.1.3.1/24
Aftertheredistribution,area1shouldonlyreceiveandpropagateLSAtypes1,2,3and
7.Thisareashouldnothavetheability toconnecttoanyexternalroutesredistributedelse
wherewithinthisroutingdomain.
OnR1
R1(config)#routerospf1
R1(configrouter)#noarea1stub
R1(configrouter)#area1nssa
OnR2
R2(config)#routerospf1
R2(configrouter)#noarea1stub
R2(configrouter)#area1nssa
R1(configif)#intlo1
R1(configif)#ipaddr11.1.0.1255.255.255.0
R1(configif)#intlo2
R1(configif)#ipaddr11.1.1.1255.255.255.0
R1(configif)#intlo3
R1(configif)#ipaddr11.1.2.1255.255.255.0
R1(config)#accesslist1permit11.1.0.00.0.3.255
R1(config)#routemapTESTpermit
R1(configroutemap)#matchipaddr1
R1(config)#routerospf1
R1(configrouter)#redistributeconnectedroutemapTESTsubnets
NotewhenconfiguringanareaasanNSSAarea,bydefaultthe0/0routewillnotbe
injectedbytheABRofthatarea.
Task 5
Create/configurethefollowingloopbackinterfacesonR5andredistributetheminto
OSPFroutingdomain:
Lo1=55.1.0.5/24,Lo2=55.1.1.5/24,Lo3=55.1.2.5/24andLo4=55.1.3.5/24
Aftertheredistribution,theroutersinthisareashouldonlymaintainandpropagateLSA
types1,2,3,7andadefaultroute.
OnR5
R5(config)#intlo1
R5(configif)#ipaddr55.1.0.5255.255.255.0
R5(configif)#intlo2
R5(configif)#ipaddr55.1.1.5255.255.255.0
R5(configif)#intlo3
R5(configif)#ipaddr55.1.2.5255.255.255.0
R5(configif)#intlo4
R5(configif)#ipaddr55.1.3.5255.255.255.0
R5(config)#accesslist1permit55.5.0.00.0.3.255
R5(configif)#routemapTESTpermit10
R5(configroutemap)#matchipaddr1
OnR4
R4(config)#routerospf1
R4(configrouter)#noarea2stubnosummary
R4(configrouter)#are2nssadefaultinformationoriginate
OSPF:Areaisconfiguredasstubareaalready
Notewhentheareastubnosummarycommandisconfiguredandmustbe
removed,thenoarea2stubnosummarycommandwillonlyremovetheno
summarypartofthecommand.Youmustremembertoenterthenoarea2stub
commandagaintoremovetheentirecommand.
R4(configrouter)#noare2stub
R4(configrouter)#area2nssadefaultinformationoriginate
Notethedefaultinformationoriginatecommandattheendofarea2nssawillinject
adefaultrouteintothearea.
Task 6
Area1shouldbechangedsuchthatitreceivesandpropagatesLSAtypes1,2,7plusa
defaultroute.ThisareashouldNOTmaintainInterarearoutes,butmusthavetheability
toconnecttotheseroutes.
OnR2
R2(config)#routerospf1
R2(configrouter)#area1nssanosummary
ThenosummarykeywordfiltersthesummaryLSAswhicharetheLSAtype3s.
Task 7
Thedefaultroutethatwasinjectedintoarea1shouldhaveacostof50.
R2(config)#routerospf1
R2(configrouter)#area1defaultcost50
Bydefault,thecostofthedefaultrouteinjectedintotheareais1thiscanbe
verifiedbyShowiproute.Thecostofthedefaultroutecanbechangedbyarea
xxdefaultcostcc,wherexxistheareanumber,andccisthedesiredcost.
Task 8
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab
R1 R2
.1.2
FrameRelay
S0/0 S0/0
F0/0.2
.3
R4 F0/0 . R3
.4 .3
FrameRelay
S0/0S0/0
Labsetup:
ConfigureR2F0/0andR3sF0/0inVLAN23
ConfiguretheframerelayconnectionbetweenR1,R2andR3,R4inapointto
pointmanner.
Task1
ConfigureOSPFontheroutersaccordingtotheaboveIPaddressingchart.Ensurethat
theadvertisednetworksarereachablebyallrouters.Theloopbackinterfacesshouldbe
advertisedwiththeircorrectmask.
OnR1
R1(config)#routerospf1
R1(configrouter)#routerid1.1.1.1
R1(configrouter)#netw0.0.0.00.0.0.0area1
R1(config)#InterfaceLo0
R1(configif)#Ipospfnetworkpointtopoint
R1(config)#InterfaceLo1
R1(configif)#Ipospfnetworkpointtopoint
R1(config)#InterfaceLo2
R1(configif)#Ipospfnetworkpointtopoint
OnR2
R2(config)#routerospf1
R2(configrouter)#routerid2.2.2.2
R2(configrouter)#netw2.2.2.20.0.0.0area0
R2(configrouter)#netw131.1.12.20.0.0.0area1
R2(configrouter)#netw131.1.23.20.0.0.0are 0
R2(config)#InterfaceLo0
R2(configif)#Ipospfnetworkpointtopoint
OnR3
R3(config)#routerospf1
R3(configrouter)#routerid3.3.3.3
R3(configrouter)#netw3.3.3.30.0.0.0area0
R3(configrouter)#netw131.1.34.30.0.0.0area2
R3(configrouter)#netw131.1.23.30.0.0.0area0
R3(config)#InterfaceLo0
R3(configif)#Ipospfnetworkpointtopoint
OnR4
R4(config)#routerospf1
R4(configrouter)#routerid4.4.4.4
R4(configrouter)#netw0.0.0.00.0.0.0area2
R4(config)#InterfaceLo0
R4(configif)#Ipospfnetworkpointtopoint
R4(config)#InterfaceLo1
R4(configif)#Ipospfnetworkpointtopoint
R4(config)#InterfaceLo2
R4(configif)#Ipospfnetworkpointtopoint
R4(config)#InterfaceLo3
R4(configif)#Ipospfnetworkpointtopoint
R4(config)#InterfaceLo4
Task2
ConfigureR3suchthattheroutersinarea2dontreceiveanyLSAsfromtheotherareas,
however,theotherareasshouldreceiveroutesfromarea2.DoNOTusedistributelist,
accesslist,oranycommandintherouterospfprocesstoaccomplishthistask.All
networksmustbeadvertised.
OnR3
R3(configrouter)#intS0/0.34
R3(configsubif)#ipospfdatabasefilterallout
BydefaultalloutgoingLSAsarefloodedtotheinterface.Thiscommandprevents
floodingofOSPFLSAsoutofagiveninterface.
Toverifytheconfiguration:
OnR4
R4#Showiproute
Gatewayoflastresortisnotset
4.0.0.0/24issubnetted,5subnets
C4.4.0.0isdirectlyconnected,Loopback0
C4.4.1.0isdirectlyconnected,Loopback1
C4.4.2.0isdirectlyconnected,Loopback2
C4.4.3.0isdirectlyconnected,Loopback3
C4.4.4.0isdirectlyconnected,Loopback4
131.1.0.0/24issubnetted,1subnets
C131.1.34.0isdirectlyconnected,Serial0/0.43
NoteR4doesnothaveanyLSAsinitsroutingtable
R1#Showiproute
Gatewayoflastresortisnotset
1.0.0.0/24issubnetted,4subnets
C1.1.0.0isdirectlyconnected,Loopback0
C1.1.1.0isdirectlyconnected,Loopback1
C1.1.2.0isdirectlyconnected,Loopback2
C1.1.3.0isdirectlyconnected,Loopback3
2.0.0.0/32issubnetted,1subnets
OIA2.2.2.2[110/65]via131.1.12.2,00:12:15,Serial0/0.12
3.0.0.0/32issubnetted,1subnets
OIA3.3.3.3[110/66]via131.1.12.2,00:02:11,Serial0/0.12
4.0.0.0/32issubnetted,5subnets
OIA4.4.4.4[110/130]via131.1.12.2,00:02:02,Serial0/0.12
OIA4.4.0.4[110/130]via131.1.12.2,00:02:02,Serial0/0.12
OIA4.4.1.4[110/130]via131.1.12.2,00:02:02,Serial0/0.12
OIA4.4.2.4[110/130]via131.1.12.2,00:02:03,Serial0/0.12
OIA4.4.3.4[110/130]via131.1.12.2,00:02:03,Serial0/0.12
131.1.0.0/24issubnetted,3subnets
C131.1.12.0isdirectlyconnected,Serial0/0.12
OIA131.1.23.0[110/65]via131.1.12.2,00:02:08,Serial0/0.12
OIA131.1.34.0[110/129]via131.1.12.2,00:02:13,Serial0/0.12
NoteR1hasalltheLSAsfromR4.
Task3
ConfigureR2suchthatitfiltersalllocallygeneratedLSAsandtheLSAsfromR1
reachingR3andR4.R1andR2shouldreceiveallLSAsfromR3andR4.DoNOTuse
anyglobalconfigcommand/saspartofthesolutiontoaccomplishthistask.
R3(configif)#intf0/0
R3(configif)#ipospfnetpointtomultipoint
OnR2
R2(configrouter)#intf0/0
R2(configif)#ipospfnetpointtomultipoint
R2(configif)#routerospf1
R2(configrouter)#neighbor131.1.23.3databasefilterallout
Inorderfortheneighbordatabasefilteralloutcommandtoworkthenetwork
typehastobeconfiguredinapointtomultipointmanner.
Youmayhavetouseclearipospfprocesscommandforthiscommandtotake
effect.
ToVerifytheconfiguration:
OnR3
R3#Showiproute
Gatewayoflastresortisnotset
3.0.0.0/24issubnetted,1subnets
C3.3.3.0isdirectlyconnected,Loopback0
4.0.0.0/32issubnetted,5subnets
O4.4.4.4[110/65]via131.1.34.4,00:01:16,Serial0/0.34
O4.4.0.4[110/65]via131.1.34.4,00:01:16,Serial0/0.34
O4.4.1.4[110/65]via131.1.34.4,00:01:16,Serial0/0.34
O4.4.2.4[110/65]via131.1.34.4,00:01:16,Serial0/0.34
O4.4.3.4[110/65]via131.1.34.4,00:01:16,Serial0/0.34
131.1.0.0/24issubnetted,2subnets
C131.1.23.0isdirectlyconnected,FastEthernet0/0
C131.1.34.0isdirectlyconnected,Serial0/0.34
CCIER&SbyNarbikKocharians FREE LabsPage 234 of338
2007NarbikKocharians.Allrightsreserved
NoteR3ONLYhastheLSAsfromR4initsroutingtable.
OnR2
R2#Showiproute
Gatewayoflastresortisnotset
1.0.0.0/24issubnetted,4subnets
O1.1.0.0[110/65]via131.1.12.1,00:00:32,Serial0/0.21
O1.1.1.0[110/65]via131.1.12.1,00:00:32,Serial0/0.21
O1.1.2.0[110/65]via131.1.12.1,00:00:32,Serial0/0.21
O1.1.3.0[110/65]via131.1.12.1,00:00:32,Serial0/0.21
2.0.0.0/24issubnetted,1subnets
C2.2.2.0isdirectlyconnected,Loopback0
3.0.0.0/32issubnetted,1subnets
O3.3.3.3[110/2]via131.1.23.3,00:00:02,FastEthernet0/0
4.0.0.0/32issubnetted,5subnets
OIA4.4.4.4[110/66]via131.1.23.3,00:00:03,FastEthernet0/0
OIA4.4.0.4[110/66]via131.1.23.3,00:00:03,FastEthernet0/0
OIA4.4.1.4[110/66]via131.1.23.3,00:00:03,FastEthernet0/0
OIA4.4.2.4[110/66]via131.1.23.3,00:00:04,FastEthernet0/0
OIA4.4.3.4[110/66]via131.1.23.3,00:00:04,FastEthernet0/0
131.1.0.0/16isvariablysubnetted,4subnets,2masks
C131.1.12.0/24isdirectlyconnected,Serial0/0.21
C131.1.23.0/24isdirectlyconnected,FastEthernet0/0
O131.1.23.3/32[110/1]via131.1.23.3,00:00:04,FastEthernet0/0
OIA131.1.34.0/24[110/65]via131.1.23.3,00:00:04,FastEthernet0/0
NoteR2canseealltheLSAs.
Task4
Removealltheconfigurationcommandsfromtheprevioustwosteps.
R3(config)#intS0/0.34
R3(configsubif)#noipospfdatabasefilterallout
R3(configif)#intf0/0
R3(configif)#noipospfnetpointtomultipoint
OnR2
R2(configrouter)#intf0/0
R2(configif)#noipospfnetpointtomultipoint
R2(configif)#routerospf1
R2(configrouter)#noneighbor131.1.23.3databasefilterallout
Task5
ConfigureR3orR4suchthatR4doesnothavereachabilitytoNetwork3.0.0.0.You
mustusedistributelisttoaccomplishthistask.
OnR4
R4(config)#accesslist3deny3.0.0.00.255.255.255
R4(config)#accesslist3permitany
R4(config)#routerospf1
R4(configrouter)#distributelist3inS0/0.43
NotesincedistributelistoutdoesNOTworkinOSPF,theconfigurationofthis
taskmustbeperformedonR4usingthedistributelistincommand.
Task6
OnR4stopadvertisingnetworks4.4.0.0/24 4.4.3.0/24andredistributethesenetworks
intoOSPF.Ensurethatotherroutersseetheroutes asexternal.
OnR4
R4(config)#accesslist4permit4.4.0.00.0.3.255
R4(config)#routerospf1
R4(configrouter)#nonetw0.0.0.00.0.0.0are2
R4(configrouter)#netw131.1.34.40.0.0.0area2
R4(configrouter)#redistributeconnectedsubnetsroutemapTEST
Task7
ConfiguretheOSPFrouterssuchthattheydonthavereachabilitytonetwork4.4.3.0/24.
DoNOTuseanyglobalconfigcommand,neighborcommand,interfaceconfig
command,oranyipospfcommandtoaccomplishthistask.
OnR4
R4(configsubif)#routerospf1
R4(configrouter)#summaryaddress4.4.3.0255.255.255.0notadvertise
NotethiscommandwasusedtosummarizetheexternalroutesintoOSPF
routingdomain.Thiscommandcanalsobeusedtofilteranexternalnetwork/s
whenconfiguredonASBR/s. Thiscommandcannotbeusedtofilterinternal
networks.
Task8
ConfiguretheOSPFrouterssuchthatR3andR4donthavereachabilityto1.1.3.0/24
network.
On R2
R2(config)#routerospf1
R2(configrouter)#area1range1.1.3.0255.255.255.0notadvertise
Notethiscommandwasusedtosummarizetheinternalroutesfromoneareainto
anotherareawithinanOSPFroutingdomain.Thiscommandcanalsobeusedto
filterinternalrouteswithinanOSPFroutingdomainandcanonlybeusedonthe
ABR/s.ThiscommandcanNOTbeusedtofilterexternalnetworks.
Removetheconfigurationcommandsfromthepreviousstep.
OnR2
R2(config)#routerospf1
R2(configrouter)#noarea1range1.1.3.0255.255.255.0notadvertise
Task10
ConfigureR3suchthatnetwork1.1.1.0/24isnotadvertisedtoarea2.
OnR3
R3(config)#ipprefixlistTESTseq5deny1.1.1.0/24
R3(config)#ipprefixlistTESTseq10permit0.0.0.0/0le32
R3(config)#routerospf1
R3(configrouter)#area2filterlistprefixTESTin
ThiscommandfiltersprefixesadvertisedinLSAtype3betweenOSPFareaofan
ABR.
ToVerifytheconfiguration:
OnR4
R4#Showiproute
Gatewayoflastresortisnotset
1.0.0.0/24issubnetted,3subnets
OIA1.1.0.0[110/130]via131.1.34.3,00:01:20,Serial0/0.43
NoteNetwork1.1.1.0/24isnotintheroutingtableofR4.IftheroutingtableofR3
isdisplayed,youwillseenetwork1.1.1.0/24intheroutingtable.RememberthatR3
isanABRanditconnectsarea0toarea2.
Task11
Erasethestartupconfigurationandreloadtheroutersbeforeproceedingtothenextlab.
R1
S0/0
FrameRelay
R3
R2 S0/0S0/0
F0/0 F0/0
F0/0
.
R4
LabSetup:
R1shouldbeconfiguredwithtwopointtopointlinks,oneconnectingR1toR2
andtheotherconnectingR1toR3.R2andR3shouldalsobeconfiguredina
pointtopointmanner.
R2,R3andR4sF0/0interfacesshouldbeconfiguredtobeinVLAN234.
UsetheIPaddresschartbelowtoassignIPaddressestotherouters.
Task1
ConfigureOSPFonallroutersandadvertisetheirdirectlyconnectednetworkinarea0
andensurethattheserouterscanreachalltheadvertisednetworks.Ensurethatthe
loopbackinterfacesareadvertisedwiththeircorrectmask.
OnAllRouters
(configif)#routerospf1
(configrouter)#netw0.0.0.00.0.0.0are0
(configrouter)#interfaceLo0
(configif)#ipospfnetworkpointtopoint
Task2
R1hastwowaystoreachnetwork4.0.0.0/8,ensurethatR1usesR2toreachthis
network.R1shouldgodirectlytoR3toreachnetwork3.0.0.0.
However,ifR2goesdown,R3shouldbeusedasatransitroutertoreachnetwork4.0.0.0
/8.
DONOTUSETHEFOLLOWINGCOMMANDS:
Bandwidth,anyglobalconfigcommand,OSPFcostcommandorthedistance
command.
OnR1
R1#Showiproute
Gatewayoflastresortisnotset
C1.0.0.0/8isdirectlyconnected,Loopback0
O2.0.0.0/8[110/65]via131.1.12.2,00:00:21,Serial0/0.12
O3.0.0.0/8[110/65]via131.1.13.3,00:00:21,Serial0/0.13
O4.0.0.0/8[110/66]via131.1.13.3,00:00:21,Serial0/0.13
[110/66]via131.1.12.2,00:00:21,Serial0/0.12
131.1.0.0/24issubnetted,3subnets
O 131.1.234.0[110/65]via131.1.13.3,00:00:21,Serial0/0.13
[110/65]via131.1.12.2,00:00:21, Serial0/0.12
C131.1.12.0isdirectlyconnected,Serial0/0.12
C131.1.13.0isdirectlyconnected,Serial0/0.13
OnR3
R3(config)#routerospf1
R3(configrouter)#maxmetricrouterlsa
TheabovecommandwillcausearoutertooriginateLSAswithamaximummetric
of0xffff(LSInfinity).Thisisdonesothatotherroutersdonotprefertherouterasa
transithopintheirpath toagivennetwork.
ToVerifytheconfiguration:
OnR1
Showiproute
Gatewayoflastresortisnotset
C1.0.0.0/8isdirectlyconnected,Loopback0
O2.0.0.0/8[110/65]via131.1.12.2,00:04:12,Serial0/0.12
O3.0.0.0/8[110/65]via131.1.13.3,00:04:12,Serial0/0.13
O4.0.0.0/8[110/66]via131.1.12.2,00:04:12,Serial0/0.12
131.1.0.0/24issubnetted,3subnets
O131.1.234.0[110/65]via131.1.12.2,00:04:12,Serial0/0.12
C131.1.12.0isdirectlyconnected,Serial0/0.12
C131.1.13.0isdirectlyconnected,Serial0/0.13
Task3
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
FrameRelay
S0/0S0/0
F0/0
R3 F0/0
LabSetup:
TheframerelayconnectionbetweenR1andR2mustbeconfiguredinapointto
pointmanner.
R2andR3sF0/0interfaceshouldbeconfiguredinVLAN23.
Task1
Configuretheroutersasfollows:
OnR1,configureEigrp100andadvertisenetworks1.0.0.0/8 5.0.0.0/8and
theframerelayinterfacetoR2.
OnR2,configureEigrp100andadvertisenetworks2.0.0.0/8andtheframe
relayinterfacelinktoR1.
OnR2,configureOSPFandadvertisenetwork22.0.0.0/8andtheF0/0interface
toR3inarea0.
OnR3,configureOSPFandadvertiseallofitsinterfacesinarea0.
OnR1
R1(config)#routereigrp100
R1(configrouter)#noau
R1(configrouter)#netw1.0.0.0
R1(configrouter)#netw2.0.0.0
CCIER&SbyNarbikKocharians FREE LabsPage 245 of338
2007NarbikKocharians.Allrightsreserved
R1(configrouter)#netw3.0.0.0
R1(configrouter)#netw4.0.0.0
R1(configrouter)#netw5.0.0.0
R1(configrouter)#netw131.1.12.00.0.0.255
OnR2
R2(configif)#routerospf1
R2(configrouter)#netw22.2.2.20.0.0.0are0
R2(configrouter)#netw131.1.23.20.0.0.0are0
R2(configrouter)#routereigrp100
R2(configrouter)#netw131.1.12.00.0.0.255
R2(configrouter)#netw2.0.0.0
R2(configrouter)#passiveinterfaceF0/0
R2(configrouter)#PassiveinterfaceLo1
OnR3
R2(configif)#routerospf1
R2(configrouter)#netw0.0.0.00.0.0.0are0
Task2
OnR2,performamutualredistributionbetweenOSPFandEigrp100.
OnR2
R2(config)#routereigrp100
R2(configrouter)#redistributeospf1metric15002000025511500
R2(configrouter)#routerospf1
R2(configrouter)#redistributeeigrp100subnets
NotewhenredistributingroutesintoOSPF,theywillberedistributedwithametric
of20.
Toverifytheconfiguration:
Showiproute
Gatewayoflastresortisnotset
OE21.0.0.0/8[110/20]via131.1.23.2,00:01:18,FastEthernet0/0
OE22.0.0.0/8[110/20]via131.1.23.2,00:01:18,FastEthernet0/0
C3.0.0.0/8isdirectlyconnected,Loopback0
OE24.0.0.0/8[110/20]via131.1.23.2,00:01:18,FastEthernet0/0
OE25.0.0.0/8[110/20]via131.1.23.2,00:01:18, FastEthernet0/0
22.0.0.0/32issubnetted,1subnets
O22.2.2.2[110/2]via131.1.23.2,00:01:18,FastEthernet0/0
131.1.0.0/24issubnetted,2subnets
OE2131.1.12.0[110/20]via131.1.23.2,00:01:20,FastEthernet0/0
C131.1.23.0isdirectlyconnected,FastEthernet0/0
Task3
R2shouldbeconfiguredsuchthatthemaximumnumberofprefixesthatcanbe
redistributedintoOSPFroutingprotocolis10.
R2shouldgeneratetwowarningmessages.Thefirstmessageshouldoccurwhenthe
numberofredistributedprefixesreaches70%oftheconfiguredthreshold(10).The
secondmessageshouldoccurwhenthe10th prefixisredistributed.
OnR2
R2(configrouter)#routerospf1
R2(configrouter)#redistributemaximumprefix1070warningonly
Theabovecommandlimitsthenumberofprefixesthatcanberedistributedinto
OSPFroutingdomain.Inthiscase,therouterwillgeneratetwowarningmessages,
thefirstonewillbegeneratedwhen70%oftheconfiguredthreshold(10)isreached
andthe secondmessagewillbegeneratedwhentheconfiguredthreshold(10)is
exceeded.
Theinitialconfigfilehascreated11Loopbackinterfacesfortestingpurpose.Test
thispolicybyadvertisingtheseloopbackinterfacesoneatatimeandobservethe
warningmessages.
TheadministratorofR1isconstantlyviolatingthemaximumroutespolicy,inorderto
safeguardagainstthis,youshouldconfigureR2suchthatonly10prefixesareallowedto
beredistributedintoOSPF,ifR1advertisesmorethan10prefixesinEigrp100,R2
shouldignoretheextraprefixes.
OnR2
R2(config)#routerospf1
R2(configrouter)#noredistributemaximumprefix1070warningonly
R2(configrouter)#redistributemaximumprefix1070
Sincethewarningonlykeywordisnotused,R2willignoreanyadvertisement
abovethesetthreshold.
Task5
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
NarbikKocharians
CCIE#12410
R&S,Security,SP
BGP
Answers
R1 R2
.1.2
FrameRelay
S0/0 S0/0
AS100 AS200
LabSetup
R1andR2shouldbeconfiguredinaframerelaypointtopoint.
IPAddressing
Task1
ConfigureanEBGPneighboradjacencybetweenthetworoutersandonlyadvertisetheir
LoopbackinterfaceinBGP.
OnR1
R1(config)#router bgp100
CCIER&SbyNarbikKocharians FREE LabsPage 250 of338
2007NarbikKocharians.Allrightsreserved
R1(configrouter)#neighbor131.1.12.2remoteas200
R1(configrouter)#network1.0.0.0
R1(configrouter)#noautosummary
OnR2
R2(config)#routerbgp200
R2(configrouter)#neighbor131.1.12.1remoteas100
R2(configrouter)#network2.0.0.0
R2(configrouter)#noautosummary
NoteeventhoughBGPisaclasslessroutingprotocol,ithasaclassfulnature,
becausebydefaultitsummarizesnetworkstotheirclassfulboundary.RIPv2and
Eigrphavethesamebehaviorandthisbehaviorcanbedisabledbyusingtheno
autosummarycommand.
Toverifytheconfiguration:
OnR1
Showipbgp
BGPtableversionis3,localrouterIDis1.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
R1#Showiproute
Gatewayoflastresortisnotset
C1.0.0.0/8isdirectlyconnected,Loopback0
B2.0.0.0/8[20/0]via131.1.12.2,00:02:31
131.1.0.0/24issubnetted,1subnets
C 131.1.12.0isdirectlyconnected,Serial0/0.12
Task2
OnR2,restrictthenumberofprefixesreceivedfromR1to10R2shouldgeneratea
messageif70%ofthisthresholdisreached,ifR1advertisesmorethan10prefixes,R2
shouldterminatetheneighboradjacency.
CCIER&SbyNarbikKocharians FREE LabsPage 252 of338
2007NarbikKocharians.Allrightsreserved
OnR2
R2(config)#routerbgp200
R2(configrouter)#neighbor131.1.12.1maximumprefix1070
Tolimitthenumberofprefixesfromagivenneighbor,usetheneighbor
maximumprefixcommandintherouterconfigmode.
Neighbor131.1.12.1maximumprefix1070
Maximumprefix10specifiesthemaximumnumberofprefixes(inthiscase
10)thatthelocalrouterisallowedtoreceivefromthespecifiedneighbor
(131.1.12.1).
Thenextvalue(70)aftertheNeighbor131.1.12.1maximumprefix10
commandspecifies,atwhatpercentageofthemaximumprefixlimitthe
routerstartstogenerateawarningmessage.Therangeis1100.
RestartOptionalkeywordthatcanbeconfiguredtotelltherouterto
automaticallyreestablishapeeringsessionthathasbeendisabledbecause
themaximumprefixlimithasbeenexceeded.Ifthiskeywordisnot
configured,adisabledsessionwillstaydown.Iftherestartkeywordis
configured,itmustbefollowedwithatimerestartinterval.Timeinterval
valueisinminutesthatapeeringsessionisreestablished.Therangeis1
65535.
WarningonlyThismessagetellsthelocalroutertogeneratealogmessage
whenthemaximumprefixlimitisexceeded.Ifthiskeywordisomitted,the
peersessionwillbeterminated.
Task3
ConfigurethefollowingEthernetlinkbetweentheroutersandassigntheIPaddressing
specifiedinthediagram:
200.1.1.0/24
R1F0/0IPaddress=200.1.1.1/24andR2sF0/0IPaddress=200.1.1.2/24
R1andR2sF0/0interfacemustbeconfiguredinVLAN12.
Donotadvertisenetworks1.0.0.0and2.0.0.0inBGP
AdvertisetheLoopbackinterfaces(1.0.0.0/8and2.0.0.0/8)andthelinks
betweentheroutersinRIPv2.
Cat1
Switch(config)#intrangeF0/12
Switch(configifrange)#swimodeacc
Switch(configifrange)#swiaccv12
OnR1
R1(configrouter)#intf0/0
R1(configif)#ipaddress200.1.1.1255.255.255.0
R1(configif)#noshut
OnR2
R2(configrouter)#intf0/0
R2(configif)#ipaddr200.1.1.2255.255.255.0
R2(configif)#noshut
ConfigurethefollowingLoopbackinterfacesonR1andR2andensurethatthese
loopbackinterfacesaretheonlyonesadvertisedinBGP:
R1Lo1=11.1.1.1/8andR2Lo1=22.2.2.2/8
Toensurethatthisneighboradjacencyisnotterminatedbecauseofaframerelaylink
failure,theEthernetlinkwasaddedandshouldbeusedwithoutanyinterruptiontothe
neighboradjacency.
OnR1
R1(configif)#routerbgp100
R1(configrouter)#noneighbor131.1.12.2remoteas200
R1(configrouter)#neighbor2.2.2.2remoteas200
R1(configrouter)#neighbor2.2.2.2updatesourcelo0
R1(configrouter)#neighbor2.2.2.2ebgpmultihop2
R1(configrouter)#nonetw1.0.0.0
R1(configrouter)#netw11.0.0.0
R1(config)#routerrip
R1(configrouter)#ver2
R1(configrouter)#netw1.0.0.0
R1(configrouter)#netw131.1.12.0
R1(configrouter)#netw200.1.1.0
OnR2
R2(configif)#routerbgp200
R2(configrouter)#noneighbor131.1.12.1remoteas100
R2(configrouter)#neighbor1.1.1.1remoteas100
R2(configrouter)#neighbor1.1.1.1updatesourcelo0
R2(configrouter)#network22.0.0.0
BydefaultBGPusesthebestlocalIPaddressforitsTCPconnection.ThesourceIP
addressoftheupdatesissettotheIPaddressofthebestlocalinterface.Usethe
neighborupdatesourcecommandtochangethisbehavior.
R2(configrouter)#neighbor1.1.1.1ebgpmultihop2
BydefaultBGPestablishesapeersessionwithneighborsthataredirectlyconnected
andbecauseofthispolicy,theTTLofthesepacketsissetto1.Tochangethis
behaviortheneighborebgpmultihopcommandcanbeused,thiscommand
changestheTTLofthepackets.IftheTTLvalueisnotspecifiedaTTLof255is
added.
CCIER&SbyNarbikKocharians FREE LabsPage 255 of338
2007NarbikKocharians.Allrightsreserved
R2(configrouter)#nonetw2.0.0.0
R2(config)#routerrip
R2(configrouter)#netw2.0.0.0
R2(configrouter)#ver2
R2(configrouter)#netw131.1.12.0
R2(configrouter)#netw200.1.1.0
Task5
EnsurethattheroutersusetheirexistingLoopback0interfaceastheirrouterID.
OnR1
R1(config)#routerbgp100
R1(configrouter)#bgprouterid1.1.1.1
OnR2
R2(config)#routerbgp200
R2(configrouter)#bgprouterid2.2.2.2
Task6
EnsurethattheseroutersauthenticateeachotherbeforeexchangingBGPupdates.They
shoulduseciscoasthepasswordforthisauthentication.
OnR1
R1(config)#routerbgp100
R1(configrouter)#neighbor2.2.2.2passwordcisco
OnR2
R2(config)#routerbgp200
R2(configrouter)#neighbor1.1.1.1passwordcisco
Task7
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R2 R3
F0/0F0/0
S0/0 S0/0
Frame
Relay
S0/0
R1
LabSetup:
ConfigureR1tohavetwopointtopointframerelayconnections,oneconnecting
R1toR2,andtheotherconnectingR1toR3.
R2andR3shouldeachbeconfiguredwithasinglepointtopointconnectionto
R1.
ConfigureR2andR3sF0/0interfacetobeinVLAN23.
Task1
ConfigureEBGPpeersessionsasfollows:
R1tohaveapeersessiontoR2
R1tohaveapeersessiontoR3
R2tohaveapeersessiontoR1
R3tohaveapeersessiontoR1
OnR1
R1(config)#routerbgp100
R1(configrouter)#noauto
R1(configrouter)#neighbor131.1.12.2remoteas200
R1(configrouter)#neighbor131.1.13.3remoteas300
OnR2
R2(config)#routerbgp200
R2(configrouter)#noau
R2(configrouter)#neighbor131.1.12.1remoteas100
OnR3
R3(configif)#routerbgp300
R3(configrouter)#noau
R3(configrouter)#neighbor131.1.13.1remoteas100
R1shouldadvertiseitsLoopback0,itsframerelayconnectiontoR2andR3in
BGP
R2shouldadvertiseitsLoopback0inBGP.
R3shouldadvertiseitsLo0andLo1inBGPusingthecorrectmask.
OnR1
R1(configrouter)#routerbgp100
R1(configrouter)#network1.0.0.0
R1(configrouter)#network131.1.12.0mask255.255.255.0
R1(configrouter)#network131.1.13.0mask255.255.255.0
OnR2
R2(configrouter)#network2.0.0.0
OnR3
R3(config)#routerbgp300
R3(configrouter)#network3.0.0.0
R3(configrouter)#network150.1.2.0mask255.255.255.0
Task3
ConfigureEIGRPAS#100onthefollowingrouters:
R2andR3shouldadvertisenetwork150.1.0.0inEigrpAS#100
Theabovetworoutersshouldadvertise150.1.0.0networkasfollows,ensurethat
autosummarizationisenabled:
Routereigrp100
Network150.1.0.0
Autosum
OnR2andR3
R2(config)#routereigrp100
R2(configrouter)#netw150.1.0.0
R2(configrouter)#autosummary
NoteR2takesthescenic(R2toR1toR3)routetoreachnetwork150.1.2.0/24,ensure
thatR2reachesnetwork150.1.2.0/24throughitsF0/0interface.DoNOTusePolicy
BasedRoutingyoushoulduseaBGPsolutiontothisproblem.
AshowiproutecommandwillrevealtheroutingtableofR2asfollows:
OnR2
Showiprout
Gatewayoflastresortisnotset
B1.0.0.0/8[20/0]via131.1.12.1,00:20:51
C2.0.0.0/8isdirectlyconnected,Loopback0
B3.0.0.0/8[20/0]via131.1.12.1,00:20:51
131.1.0.0/24issubnetted,2subnets
C131.1.12.0isdirectlyconnected,Serial0/0.21
B131.1.13.0[20/0]via131.1.12.1,00:04:02
150.1.0.0/24issubnetted,2subnets
B150.1.2.0[20/0]via131.1.12.1,00:03:32
C150.1.0.0isdirectlyconnected,FastEthernet0/0
NoteR2goesthroughR1andthenR3toreachnetwork150.1.2.0/24
ATraceroutecommandwillshowthecompletepathto150.1.2.3:
Traceroute150.1.2.3
Typeescapesequencetoabort.
Tracingtherouteto150.1.2.3
1131.1.12.128msec28msec32msec
2131.1.13.3[AS100]56msec*56msec
OnR2
R2(config)#routerbgp200
R2(configrouter)#network150.1.2.0mask255.255.255.0backdoor
NoteR2receivesroutinginformationfornetwork150.1.2.0/24fromtwosources,BGPand
Eigrp.R2willaccepttheroutinginformationfromBGPbecauseithasalower
administrativedistance(20versus90).NetworkbackdoorisaBGPsolutiontothis
situation,BGPbackdoorassignsanadministrativedistanceof200totheadvertised
network,inthiscase150.1.2.0/24.AfterenteringtheBGPbackdoorcommand,R2will
acceptEigrpsadvertisement,becauseEigrpwillhavealoweradministrativedistance(90
versus200).
OnR2
R2#Showiproute
Gatewayoflastresortisnotset
B1.0.0.0/8[20/0]via131.1.12.1,00:38:26
C2.0.0.0/8isdirectlyconnected,Loopback0
B3.0.0.0/8[20/0]via131.1.12.1,00:38:26
131.1.0.0/24issubnetted,2subnets
C131.1.12.0isdirectlyconnected,Serial0/0.21
B131.1.13.0[20/0]via131.1.12.1,00:21:37
150.1.0.0/24issubnetted,2subnets
D150.1.2.0[90/156160]via150.1.0.3,00:00:08,FastEthernet0/0
C150.1.0.0isdirectlyconnected,FastEthernet0/0
ATracerouterevealsthepath:
Traceroute150.1.2.3
Typeescapesequencetoabort.
1150.1.0.34msec*0msec
Toactuallyseethenewlyassignedadministrativedistance:
OnR2
R2(config)#Routereigrp100
R2(configrouter)#Nonetwork150.1.0.0
R2#Showiproute
Gatewayoflastresortisnotset
B1.0.0.0/8[20/0]via131.1.12.1,00:41:10
C2.0.0.0/8isdirectlyconnected,Loopback0
B3.0.0.0/8[20/0]via131.1.12.1,00:41:10 Noteanadministrativedistanceof200is
131.1.0.0/24issubnetted,2subnets assignedtonetwork150.1.2.0
C131.1.12.0isdirectlyconnected,Serial0/0.21
B131.1.13.0[20/0]via131.1.12.1,00:24:21
150.1.0.0/24issubnetted,2subnets
B150.1.2.0[200/0]via131.1.12.1,00:00:04
C150.1.0.0isdirectlyconnected,FastEthernet0/0
Task5
Removethefollowingfromtheroutersbeforeproceedingtothenexttask:
ShutdownandremovetheIPaddressofF0/0interfaceonR2andR3.
RemoveEigrp100fromtheseroutersbeforeproceedingtothenexttask.
R3shouldstopadvertisingnetwork150.1.2.0/24inBGP
OnR2
R2(config)#intf0/0
CCIER&SbyNarbikKocharians FREE LabsPage 262 of338
2007NarbikKocharians.Allrightsreserved
R2(configif)#shut
R2(configif)#noipaddr
R2(config)#noroutereigrp100
OnR3
R3(config)#intf0/0
R3(configif)#shut
R3(configif)#noipaddr
R3(config)#noroutereigrp100
R3(config)#routerbgp300
R3(configrouter)#nonetwork150.1.2.0mask255.255.255.0
Task 6
ConfigureR1asfollows:
Ifnetwork2.0.0.0isupanditsadvertisedtoR1anditsinR1sBGPtable,R1should
takethefollowingactions:
R1shouldNOTadvertiseitsnetwork1.0.0.0/8toR3.
R1shouldadvertise2.0.0.0/8toR3
However,ifnetwork2.0.0.0/8isdown,thenR1shouldtakethefollowingactions
R1shouldadvertisenetwork1.0.0.0/8toR3.
R1shouldremovenetwork2.0.0.0/8fromitsBGPtable.
Notetheroutershaveconvergedandtheyareawareofallrouteswithinthe
topology:
R1#Showipbgp
BGPtableversionis7,localrouterIDis1.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
Toconditionallyadvertiseselectedrouteswecanusethefollowingcommands:
Advertisemap
Nonexistmap
Existmap
Thissituationcallsfortheuseoftheadvertisemapandnonexistmapas
follows:
OnR1
R1(config)#accesslist1permit1.0.0.00.255.255.255
R1(config)#accesslist2permit2.0.0.00.255.255.255
R1(config)#routemapADVpermit10
R1(configroutemap)#matchipaddr1
R1(configroutemap)#exit
R1(config)#routemapNotTherepermit10
R1(configroutemap)#matchipaddr2
R1(configroutemap)#exit
Topreventconfusionyoushouldselectmeaningfulnamesfortheroutemaps.Note
theaccesslistnumbersandthenamesoftheroutemap.
R1(config)#routerbgp100
R1(configrouter)#neighbor131.1.13.3advertisemapADVnonexistmapNotThere
Theneighborcommandhasthefollowingroutemaps:
TheadvertisemapSpecifiesthenameoftheroutemapthatwillbe
advertisediftheconditionsofthenonexistmaparemet.
Nonexistmapspecifiesthenameoftheroutemapthatwillbecompared
totheadvertisemap.Iftheconditionismetandnomatchoccurs,theroute
willbeadvertised.Ifamatchoccurs,thentheconditionisNOTmet,andthe
routeiswithdrawn.
Noteifnetwork2.0.0.0isup,thennetwork1.0.0.0shouldNOTbeadvertisedtoR3,
CCIER&SbyNarbikKocharians FREE LabsPage 264 of338
2007NarbikKocharians.Allrightsreserved
sinceallthenetworksareupandadvertised,R1shouldwithdrawitsnetwork
(1.0.0.0/8):
OnR1
R1#Showipbgp
BGPtableversionis7,localrouterIDis1.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.00.0.0.0032768i
*>2.0.0.0131.1.12.20 0200i
*>3.0.0.0131.1.13.300300i
*>131.1.12.0/240.0.0.0032768i
*>131.1.13.0/240.0.0.00 32768i
NoteR1doesNOTadvertiseitsnetwork(1.0.0.0/8)toR3:
R1#Showipbgpneighbors131.1.13.3advertisedroutes
BGPtableversionis7,localrouterIDis1.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>2.0.0.0131.1.12.20 0200i
*>131.1.12.0/240.0.0.0032768i
*>131.1.13.0/240.0.0.0032768i
NotethebgptableofR3doesnothavenetwork1.0.0.0network:
OnR3
R3#Showipbgp
BGPtableversionis34,localrouterIDis150.1.2.3
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
Network NextHopMetricLocPrfWeightPath
*>2.0.0.0131.1.13.10100200i
OnR2
R2(config)#intlo0
R2(configif)#shut
Notenetwork2.0.0.0isDOWN,therefore,R1shouldadvertiseitsnetwork(1.0.0.0)
toR3:
OnR1
R1#Showipbgpneighbors131.1.13.3advertisedroutes
BGPtableversionis7,localrouterIDis1.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.00.0.0.0032768i
*>131.1.12.0/240.0.0.0 032768i
*>131.1.13.0/240.0.0.0032768i
Notenetwork1.0.0.0isadvertisedtoR3.
Task7
RemovetheconfigurationcommandsenteredinTask6beforeyouproceedtothenext
task.
OnR1
R1(config)#noaccesslist1
R1(config)#noaccesslist2
R1(config)#noroutemapADV
R1(config)#noroutemapNotThere
R1(config)#routerbgp100
R1(configrouter)#noneighbor131.1.13.3advertisemapADVnonexistmapNotThere
CCIER&SbyNarbikKocharians FREE LabsPage 266 of338
2007NarbikKocharians.Allrightsreserved
Task8
SecondLabpolicy:
R1shouldbeconfiguredasfollows:
Ifbothnetworksareup,thenbothnetworksshouldbeadvertisedtoR3.
Ifnetwork1.0.0.0/8isdown,R2shouldNOTadvertisenetwork2.0.0.0/8toR3.
OnR1
R1(config)#accesslist1permit1.0.0.00.255.255.255
R1(config)#accesslist2permit2.0.0.00.255.255.255
R1(config)#routemapADVpermit10
R1(configroutemap)#matchipaddr2
R1(configroutemap)#exit
R1(config)#routemapEXISTpermit10
R1(configroutemap)#matchipaddr1
R1(configroutemap)#exit
R1(config)#routerbgp100
R1(configrouter)#neighbor131.1.13.3advertisemapADVexistmapEXIST
Notenetwork1.0.0.0isshutdown,therefore,R1willnotadvertisenetwork2.0.0.0to
R3.
OnR1
R1#Showipbgpneighbors131.1.13.3advertisedroutes
BGPtableversionis7,localrouterIDis1.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
Network NextHopMetricLocPrfWeightPath
*>131.1.12.0/240.0.0.0032768i
*>131.1.13.0/240.0.0.0032768i
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
S0/0 S0/0
FrameRelay F0/0
R4 R3
F0/0
S0/0S0/0
F0/0 FrameRelay
F0/0
R5
ConfigureR2andR3sF0/0interfaceinVLAN23.
ConfigureR4andR5sF0/0interfaceinVLAN45.
Ipaddressing
Task1
ConfigureanEBGPpeersessionbetweenR1andR2andonlyadvertisetheir
Loopback0interfaceinBGP.EnsurethattheseroutershaveNLRItoeachothers
Loopbackinterface.R1shouldbeinAS100andR2shouldbeinAS200.
OnR1
R1(config)#routerbgp100
R1(configrouter)#noau
R1(configrouter)#neighbor131.1.12.2remoteas200
OnR2
R2(config)#routerbgp200
R2(configrouter)#network2.0.0.0
R2(configrouter)#neighbor131.1.12.1remoteas100
R2(configrouter)#noau
Toverifytheconfiguration:
R1#Showipbgp
BGPtableversionis3,localrouterIDis1.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHop MetricLocPrfWeightPath
*>1.0.0.00.0.0.0032768i
*>2.0.0.0131.1.12.200200i
Task2
ConfigureroutedampeningonR1usingthedefaultparameters.
OnR1
R1(configrouter)#routerbgp100
R1(configrouter)#bgpdampening
TheparametersofBGPdampeningareasfollows:
HalftimeOncearoutehasbeenassignedapenalty,thepenaltyis
decreasedevery5secondssuchthatwhenthehalfperiodexpires,the
accumulatedpenaltyisreducedbyhalf.Thedefaultvalueofhalftimeis15
minutesandtherangeis1to45minutes.
ReuseIfthepenaltiesforaflappingrouteisdecreasedenoughtofallbelow
thisvalue,therouteisreusable.Thedefaultis750andtherangeis1to
20000.
SuppressOncetheaccumulatedpenaltiesreachthisvalue,therouteis
CCIER&SbyNarbikKocharians FREE LabsPage 271 of338
2007NarbikKocharians.Allrightsreserved
suppressed.Thedefaultvalueis2000andtherangeis1 20000.
MaxSuppressTimeThemaximumtimeinminutesthataroutecanbe
suppressed.Thedefaultvalueis4timesthehalftimevalue(60)andthe
rangeis1to20000.
Thereforethisconfigurationperformsthefollowing:
Halftime=15minutes,reuse=750,Suppress=2000andMaxSuppressTime=60.
Task3
ConfigureanEBGPpeersessionbetweenR2andR3,andadvertisetheirLoopback0
interfaceinBGP.EnsurethattheseroutershaveNLRItoeachothersLoopback
interface.
R3shouldbeinAS300.
OnR2
R2(config)#routerbgp200
R2(configrouter)#neighbor131.1.23.3remoteas300
OnR3
R3(config)#routerbgp300
R3(configrouter)#noau
R3(configrouter)#network3.0.0.0
R3(configrouter)#neighbor131.1.23.2remoteas200
Toverifytheconfiguration:
R3#Showipbgp
BGPtableversionis4,local routerIDis3.3.3.3
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.0131.1.23.20200100i
*>2.0.0.0131.1.23.200200i
*>3.0.0.00.0.0.00 32768i
ConfigureroutedampeningonR3suchthatthehalflifeparameterissetto30
minutes.Thisroutershouldusethedefaultparametersforsuppresslimit,reuse,and
maximumsuppresstime.
OnR3
R3(configrouter)#bgpdampening30750200060
Task5
ConfigureanEBGPsessionbetweenR3andR4.AdvertiseLoopback0,Loopback1
andLoopback2interfaceofR4inBGP.
R4shouldbeconfiguredinAS400.
OnR4
R4(config)#routerbgp400
R4(configrouter)#netw4.0.0.0
R4(configrouter)#netw40.4.4.0mask255.255.255.0
R4(configrouter)#netw44.4.4.0mask255.255.255.0
R4(configrouter)#neighbor131.1.34.3remoteas300
R4(configrouter)#noau
OnR3
R3(config)#routerbgp300
R3(configrouter)#neighbor131.1.34.4remoteas400
Toverifytheconfiguration:
OnR4
R4#Showipbgp
BGPtableversionis7,localrouterIDis44.4.4.4
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
CCIER&SbyNarbikKocharians FREE LabsPage 273 of338
2007NarbikKocharians.Allrightsreserved
*>1.0.0.0131.1.34.30300200100i
*>2.0.0.0131.1.34.3 0300200i
*>3.0.0.0131.1.34.300300i
*>4.0.0.00.0.0.0032768i
*>40.4.4.0/240.0.0.00 32768i
*>44.4.4.0/240.0.0.0032768i
Task6
ConfigureanEBGPpeersessionbetweenR4andR5.R5shouldadvertiseitsLoopback0
interfaceinBGP.EnsurethattheseroutershaveNLRItoeachothersLoopbackinterface.
R5shouldbeinAS500.
OnR5
R5(config)#routerbgp500
R5(configrouter)#noau
R5(configrouter)#neighbor131.1.45.4remoteas400
R5(configrouter)#netw5.0.0.0
OnR4
R4(config)#routerbgp400
R4(configrouter)#neighbor131.1.45.5remoteas500
Toverifytheconfiguration:
R5#Showipbgp
BGPtableversionis8,localrouterIDis5.5.5.5
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.0131.1.45.40400300200100i
*>2.0.0.0131.1.45.4 0400300200i
*>3.0.0.0131.1.45.40400300i
*>4.0.0.0131.1.45.40 0400i
*>5.0.0.00.0.0.0032768i
*>40.4.4.0/24131.1.45.400400i
*>44.4.4.0/24131.1.45.40 0400i
ConfigureroutedampeningonR4asfollows:
Network40.4.4.0/24shouldhavethefollowingdampeningparametersapplied:
MaxSuppressTimeof90
Reuse800
Suppress2400
HalfTimeof20
Network44.4.4.0/24shouldhavethefollowingdampeningparametersapplied:
MaxSuppressTimeof60
Reuse700
Suppress2000
HalfTimeof15
OnR4
R4(config)#accesslist40permit40.4.4.00.0.0.255
R4(config)#accesslist44permit44.4.4.00.0.0.255
R4(config)#routemapTESTpermit10
R4(configroutemap)#matchipaddr40
R4(configroutemap)#setdampening20800240090
R4(config)#routemapTESTpermit20
R4(configroutemap)#matchipaddr44
R4(configroutemap)#setdampening15700200060
R4(config)#routerbgp400
R4(configrouter)#bgpdampeningroutemapTEST
Notetheroutemapgivesusflexibility.Inthiscasewehaveappliedtwodifferent
routedampeningparameterstodifferentroutes.Thetwonetworksareidentified
withaccesslists.Theroutemapreferencestheaccesslistsandsetsthedampening
parametersbasedonthenetworks.
ConfigureroutedampeningonR2usingthefollowingpolicy:
AlltheexistingandfutureprefixesfromAS300shouldhavethefollowing
parametersapplied:
MaxSuppressTimeof80
Reuse750
Suppress2200
HalfTime30
OnR2
R2(config)#ipaspathaccesslist1permit^300$
R2(config)#routemapTESTpermit10
R2(configroutemap)#matchaspath1
R2(configroutemap)#setdampening30750220080
R2(configroutemap)#exit
R2(config)#routerbgp200
R2(configrouter)#bgpdampeningroutemapTEST
Thecombinationofroutemapandtheaspathaccesslistcommandcanapply
bgpdampeningtoanASbasedontheASnumber.
Task 9
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
S0/0S0/0
FrameRelay
.
LabSetup:
Configureframerelayconnectionbetweentheroutersinapointtopointmanner.
Ipaddressing
ConfigureanEBGPsessionbetweentheroutersandonlyadvertisetheirLoopback
interfacesinBGP.
OnR1
R1(config)#routerbgp100
R1(configrouter)#noau
R1(configrouter)#netw1.0.0.0
R1(configrouter)#neighbor131.1.12.2remoteas200
OnR2
R2(config)#routerbgp200
R2(configrouter)#noau
R2(configrouter)#neighbor131.1.12.1remoteas100
R2(configrouter)#network2.2.0.0mask255.255.255.0
R2(configrouter)#network2.2.1.0mask255.255.255.0
R2(configrouter)#network2.2.2.0mask255.255.255.0
R2(configrouter)#network2.2.3.0mask255.255.255.0
Toverifytheconfiguration
R2#Showipbgp
BGPtableversionis6,localrouterIDis2.2.3.2
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
Network NextHopMetricLocPrfWeightPath
*>1.0.0.0131.1.12.100100i
*>2.2.0.0/240.0.0.0032768i
*>2.2.1.0/240.0.0.0032768i
*>2.2.2.0/240.0.0.0032768i
*>2.2.3.0/240.0.0.0032768i
Task2
ConfigureR2suchthatitsummarizesitsLoopbackinterfacesandadvertisesasingle
summarytoR1.R2shouldnotassignanatomicaggregatetothesummaryroute
whenitadvertisesittoanyofitsneighbors.
R2(config)#Routerbgp200
R2(configrouter)#aggregateaddress2.2.0.0255.255.252.0
OnR1
R1#Showipbgp
BGPtableversionis7,localrouterIDis1.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.00.0.0.0 032768i
*>2.2.0.0/24131.1.12.200200i
*>2.2.0.0/22131.1.12.200200i
*>2.2.1.0/24131.1.12.20 0200i
*>2.2.2.0/24131.1.12.200200i
*>2.2.3.0/24131.1.12.200200i
Notebydefaulttheaggregateandallthespecificroutesareadvertised.A
summaryonlyargumentwillsuppresstheroutessothatonlythesummaryroute
isadvertised.
OnR2
R2#Showipbgp
BGPtableversionis7,localrouterIDis2.2.3.2
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.0131.1.12.100100i
*>2.2.0.0/240.0.0.0032768i
*>2.2.0.0/220.0.0.032768i
*>2.2.1.0/240.0.0.0032768i
*>2.2.2.0/240.0.0.00 32768i
*>2.2.3.0/240.0.0.0032768i
OnR2
R2(config)#routerbgp200
R2(configrouter)#aggregateaddress2.2.0.0255.255.252.0 summaryonly
NotethesummaryonlyargumentwillsuppressalltheprefixesonR2suchthat
R2sneighborswontseethemorespecificroutes.
OnR2
R2#Showipbgp
BGPtableversionis11,localrouterIDis2.2.3.2
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.0131.1.12.100100i
s> 2.2.0.0/240.0.0.0032768i
*>2.2.0.0/220.0.0.032768i
s> 2.2.1.0/240.0.0.0032768i
s> 2.2.2.0/240.0.0.0032768i
s> 2.2.3.0/240.0.0.0 032768i
Notetheletterstotheleftofthe>sign.Thesmeansthattheseprefixesare
suppressed.
OnR1
R1#Showipbgp
BGPtableversionis11,localrouterIDis1.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.00.0.0.0032768i
*>2.2.0.0/22131.1.12.200200i
NotetheonlyroutethatisadvertisedtoR1isthesummaryroute.Ifthesummary
routeisdisplayedinBGP,weshouldseetheatomicaggregateattribute
CCIER&SbyNarbikKocharians FREE LabsPage 280 of338
2007NarbikKocharians.Allrightsreserved
OnR2
R2#Showipbgp2.2.0.0/22
BGProutingtableentryfor2.2.0.0/22,version7
Paths:(1available,best#1,tableDefaultIPRoutingTable)
Advertisedtoupdategroups:
1
Local,(aggregatedby2002.2.3.2)
0.0.0.0from0.0.0.0(2.2.3.2)
OriginIGP,localpref100,weight32768,valid,aggregated,local,atomicaggregate,
best
Notetheoutputofthisdisplayrevealstwoattributesaggregatorandatomic
aggregate.
Theaggregatorattributeidentifiestherouterthatperformedtheaggregation.
Theatomicattributetellsusthatsomeinformationislostbecauseoftheaggregate.
OnR2
R2(config)#routerbgp200
R2(configrouter)#aggregateaddress2.2.0.0255.255.252.0summaryonly asset
NoteinBGP,anaggregateisonlycreatedifatleastamorespecificrouteofthe
aggregateexistsintheBGPtable.Itisrecommendedtoconfiguremostifnotallthe
specificrouteswithaNetworkstatement,becauseifonlyasingleNetworkis
configuredtosatisfytherequirements,andthatparticularNetworkgoesdownfor
whateverreason,thentheaggregateisremoved.
Anotherwaytoadvertiseanaggregateisbycreatingastaticroutethatmatchesthe
summaryrouteandthenredistributingthestaticintoBGPasfollows:
Iproute172.16.0.0255.255.252.0null0
Routerbgp200
Redistributestatic
Butsincethatisnotanoptionhere,weneedtoadvertiseeveryspecificprefix.
AnatomicaggregateThisisanattributethatisassignedtotheaggregateroute
automaticallyiftheassetargumentisnotusedintheaggregateaddress
command.
Whenanaggregationisperformed,certaininformationislost.InBGPthat
informationcanbetheASnumbersthattheprefixestraversedthroughtogettothe
routerthatisperformingtheaggregation.Ifitsnotcorrectedaroutingloopcan
occur.Inordertopreventtheroutingloopsfromoccurring,theASSET
argumentshouldbeusedwhenperformingaggregation.
Reconfiguretheroutersusingthefollowsdiagram/IPaddressinginformationandONLY
advertisetheirLoopbackinterfacesin BGP.
R1 R2
S0/0S0/0
FrameRelay F0/0
R3
F0/0
Ipaddressing:
OnR1
R1(config)#routerbgp100
R1(configrouter)#noau
R1(configrouter)#netw3.1.0.0mask255.255.255.0
CCIER&SbyNarbikKocharians FREE LabsPage 282 of338
2007NarbikKocharians.Allrightsreserved
R1(configrouter)#neighbor131.1.12.2remoteas200
OnR2
R2(config)#routerbgp200
R2(configrouter)#noau
R2(configrouter)#neighbor131.1.23.3remoteas300
R2(configrouter)#neighbor131.1.12.1remoteas100
R2(configrouter)#network2.0.0.0
OnR3
R3(config)#routerbgp300
R3(configrouter)#neighbor131.1.23.2remoteas200
R3(configrouter)#netw3.1.1.0mask255.255.255.0
R3(configrouter)#netw3.1.2.0mask255.255.255.0
R3(configrouter)#netw3.1.3.0mask255.255.255.0
R3(configrouter)#netw3.1.4.0mask255.255.255.0
Toverifytheconfiguration:
OnR3
R3#Showipbgp
BGPtableversionis7,localrouterIDis3.1.4.3
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>2.0.0.0131.1.23.200200i
*>3.1.0.0/24131.1.23.20200100i
*>3.1.1.0/24 0.0.0.0032768i
*>3.1.2.0/240.0.0.0032768i
*>3.1.3.0/240.0.0.0032768i
*>3.1.4.0/240.0.0.0 032768i
Task4
R2shouldaggregateallthenetworksin3.1.0.0/16addressspace.Thisaggregation
shouldbedonesuchthatR1inAS100istheonlyASthatreceivestheaggregateroute,
OnR2
R2(config)#ipaspathaccesslist1permit^300
TheabovecommandidentifiesASnumber300.
R2(config)#routemapTESTpermit10
R2(configroutemap)#matchaspath 1
Theroutemapcommandreferencestheaspathaccesslist.
R2(configrouter)#aggregateaddress3.1.0.0255.255.0.0assetsummaryonlyadvertisemapTEST
TheadvertisemapcommandassignstheroutemapTESTtotheaggregateaddress
command.
Toverifytheconfiguration:
OnR1
R1#Showipbgp
BGPtableversionis12,localrouterIDis3.1.0.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>2.0.0.0131.1.12.200200i
*>3.1.0.0/240.0.0.0032768i
*>3.1.0.0/16 131.1.12.200200300i
OnR3
Showipbgp
BGPtableversionis8,localrouterIDis3.1.4.3
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>2.0.0.0131.1.23.200200i
NoteR3getstheaggregateroutebutitrejectsitbecauseitseesitsownASnumberintheas
pathlist.R1receivesandprocessestheaggregateroutebecauseitdoesnotseeitsownAS
numberintheaspathlistadvertisedbyR2.
Task5
ConfigureR2suchthatacostof50isassignedtotheaggregateroute.
OnR2
R2(config)#routemapCOSTpermit10
R2(configroutemap)#setmetric50
R2(config)#routerbgp200
R2(configrouter)# aggregateaddress3.1.0.0255.255.0.0summaryonlyadvertisemapTESTasset
attributemapCOST
Theattributemapidentifiesthenameoftheroutemapusedtosettheattribute/softheaggregate
route.
Toverifytheconfiguration:
OnR1
R1#Showipbgp
BGPtableversionis13,localrouterIDis3.1.0.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
Network NextHopMetricLocPrfWeightPath
*>2.0.0.0 131.1.12.20 0200i
*>3.1.0.0/24 0.0.0.00 32768i
*>3.1.0.0/16131.1.12.2 50 0200300i
NoteR1gettheaggregateroutewithacostof50.
ThepolicyforR1requiresthatitshouldreceivetheaggregaterouteplusoneofthemore
specificsubnets(3.1.3.0/24).Thisshouldbeperformedandtestedusingasuppressmap,
andunsuppressmap,butonlyoneofthesolutionsshouldbeimplemented.
TotesttheSuppressmap:
OnR2
R2(config)#accesslist1deny3.1.3.00.0.0.255
R2(config)#accesslist1permitany
R2(config)#routemapSUPPpermit10
R2(configroutemap)#matchipaddr1
R2(config)#routerbgp200
R2(configrouter)# aggregateaddress3.1.0.0255.255.0.0summaryonlyadvertisemap
TESTassetattributemapCOSTsuppressmapSUPP
Toverifytheconfiguration:
Showipbgp
BGPtableversionis14,localrouterIDis3.1.0.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrf WeightPath
*>2.0.0.0131.1.12.20 0200i
*>3.1.0.0/24 0.0.0.0 0 32768i
*>3.1.0.0/16131.1.12.250 0200300i
*>3.1.3.0/24131.1.12.20200300i
TotesttheUnsuppressmap:
OnR2
R2(config)#noaccesslist1
R2(config)#accesslist1permit3.1.3.00.0.0.255
R2(config)#routerbgp200
R2(configrouter)#no aggregateaddress3.1.0.0255.255.0.0summaryonlyadvertise
R2(configrouter)#aggregateaddress3.1.0.0255.255.0.0summaryonlyadvertisemap
TESTassetattributemapCOST
R2(configrouter)#neighbor131.1.12.1unsuppressmapSUPP
OnR1
R1#Showipbgp
BGPtableversionis4,localrouterIDis3.1.0.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>2.0.0.0131.1.12.200200i
*>3.1.0.0/16131.1.12.2500200300i
*>3.1.0.0/24 0.0.0.0 32768i
*>3.1.3.0/24131.1.12.2 0200300i
Task7
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
S0/0S0/0
FrameRelay F0/0
R4 R3
F0/0
S0/0S0/0
FrameRelay
LabSetup:
Configuretheroutersthatareconnectedtotheframerelaycloudsinapointto
pointmanner.
R2andR3sF0/0interfaceshouldbeconfiguredinVLAN23.
Task1
ConfiguretheroutersaccordingtotheabovechartandONLYadvertisetheirLoopback
interface/sinBGP.
OnR1
R1(config)#routerbgp100
R1(configrouter)#netw1.0.0.0
R1(configrouter)#netw11.0.0.0
R1(configrouter)#noau
R1(configrouter)#neighbor131.1.12.2remoteas200
OnR2
R2(config)#routerbgp200
R2(configrouter)#netw2.0.0.0
R2(configrouter)#noau
R2(configrouter)#neighbor131.1.12.1remoteas100
R2(configrouter)#neighbor131.1.23.3remoteas300
OnR3
R3(config)#routerbgp300
R3(configrouter)#netw3.0.0.0
R3(configrouter)#noau
R3(configrouter)#neighbor131.1.23.2remoteas200
R3(configrouter)#neighbor131.1.34.4remoteas400
R4(config)#routerbgp400
R4(configrouter)#netw4.0.0.0
R4(configrouter)#noau
R4(configrouter)#neighbor131.1.34.3remoteas300
Toverifytheconfiguration:
R1#Showipbgp
BGPtableversionis6,localrouterIDis11.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.0 0.0.0.0032768i
*>2.0.0.0131.1.12.200200i
*>3.0.0.0131.1.12.20200300i
*>4.0.0.0131.1.12.20200300400i
*>11.0.0.00.0.0.0032768i
Task2
ConfigureR1suchthatwhenitadvertisesnetwork1.0.0.0/8toR2inAS200,the
networkisnotadvertisedtoanyofR2sIBGPorEBGPneighbors.
OnR1
R1(config)#routerbgp100
R1(configrouter)#neighbor131.1.12.2sendcommunity
R1(configrouter)#neighbor131.1.12.2routemapTESTout
R1(config)#routemapTESTpermit10
R1(configroutemap)#matchipaddr1
R1(configroutemap)#setcommunitynoadvertise
R1(configroutemap)#routemapTESTpermit20
R1(config)#accesslist1permit1.0.0.00.255.255.255
Bydefaultnocommunityattributeissenttoanyneighbor.Tospecifythata
communityattributeshouldbesenttoaBGPneighbor,theneighborsend
communitycommandisconfiguredintherouterconfigmode.
Thewellknowncommunitiesareasfollows:
InternetIfassignedtoanetwork/s,thatnetwork/sshouldbeadvertised.
LocalasIfassignedtoanetwork/s,thatnetwork/sshouldONLYbe
advertisedwithinthatAS.
NoadvertiseIfassignedtoanetwork/s.thatnetwork/sshouldNOTbe
advertisedtoanyBGPneighbor.
NoexportIfassignedtoanetwork/s,thatnetwork/sshouldNOTbe
advertisedtoanEBGPneighbor.
To verifytheconfiguration:
OnR3
R#Showipbgp
BGPtableversionis8,localrouterIDis3.3.3.3
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>2.0.0.0131.1.23.200200i
*>3.0.0.00.0.0.0032768i
*>4.0.0.0131.1.34.400400i
*>11.0.0.0131.1.23.2 0200100i
Task3
ConfigureR2suchthatwhenitadvertisesitsnetwork2.0.0.0toR3inAS300,the
networkisonly advertisedtoAS300routers,AS300shouldNOTadvertisethisnetwork
toanyEBGPneighbor.DoNOTconfigureAS300toaccomplishthistask.
OnR2
CCIER&SbyNarbikKocharians FREE LabsPage 291 of338
2007NarbikKocharians.Allrightsreserved
R2(configrouter)#accesslist1permit2.0.0.00.255.255.255
R2(config)#routemapTESTpermit10
R2(configroutemap)#matchipaddr1
R2(configroutemap)#setcommunitynoexport
R2(configroutemap)#routemapTESTpermit20
R2(config)#routerbgp200
R2(configrouter)#neighbor131.1.23.3sendcommunity
R2(configrouter)#neighbor131.1.23.3routemapTESTout
Thisisanotherwellknowncommunity.Inthiscasenetwork2.0.0.0willONLYbe
advertisedtotheroutersinAS300.AS300routerswillNOTadvertisethisnetwork
toanyoftheirEBGPneighbor/s.
Toverifytheconfiguration:
OnR4
R4#Showipbgp
BGPtableversionis12,localrouterIDis4.4.4.4
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHop MetricLocPrfWeightPath
*>3.0.0.0131.1.34.300300i
*>4.0.0.00.0.0.0032768i
*>11.0.0.0131.1.34.3 0300200100i
Task4
ConfigureR3inAS300toadvertisenetwork2.0.0.0/8toitsEBGPneighbors.DoNOT
removetheconfigurationcommand/sfromtheprevioustask.
OnR3
R3(config)#accesslist1permit2.0.0.00.255.255.255
R3(config)#routemapTESTpermit10
R3(configroutemap)#matchipaddr1
CCIER&SbyNarbikKocharians FREE LabsPage 292 of338
2007NarbikKocharians.Allrightsreserved
R3(configroutemap)#setcommunityinternet
R3(configroutemap)#routemapTESTpermit20
R3(config)#routerbgp300
R3(configrouter)#neighbor131.1.23.2sendcommunity
R3(configrouter)#neighbor131.1.23.2routemapTESTin
NoteinthiscasetheroutemapTESTcommandisappliedtotheinbound,
becauseitshouldaffectthelocalrouterforthatnetworkandcommunity.
Toverifytheconfiguration:
OnR4
R4#Showipbgp
BGPtableversionis17,localrouterIDis4.4.4.4
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>2.0.0.0131.1.34.30300200i
*>3.0.0.0131.1.34.30 0300i
*>4.0.0.00.0.0.0 0 32768i
*>11.0.0.0131.1.34.3 0300200100i
Task5
ConfigureR4suchthatwhenitadvertisesitsnetwork4.0.0.0/8inBGP,thisnetworkis
onlyadvertisedwithinitsownAS(AS400).DoNOTusefilteringofanykindto
accomplishthistask.
OnR4
R4(config)#accesslist1permit4.0.0.00.255.255.255
R4(config)#routemapTESTpermit10
R4(configroutemap)#matchipaddr1
R4(configroutemap)#setcommunitylocalas
R4(config)#routerbgp400
R4(configrouter)#network4.0.0.0routemapTEST
NotethelocalascommunityattributeisNOTsenttoagivenneighbor,its
advertisedusingaroutemapthathasthelocalascommunityattributeattached.
Toverifytheconfiguration:
OnR3
R3#Showipbgp
BGPtableversionis6,localrouterIDis3.3.3.3
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
Task6
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenexttask.
R1 R2
S0/0S0/0
F0/0 FrameRelay F0/0
R4 R3
F0/0F0/0
S0/0 S0/0
FrameRelay
LabSetup:
Configuretheroutersthatareconnectedtotheframerelaycloudsinapointto
pointmanner.
R1andR4sF0/0interfaceshouldbeconfiguredinVLAN14.
R2andR3sF0/0interfaceshouldbeconfiguredinVLAN23.
Task1
ConfiguretheroutersastheabovediagramwithIPaddressingandASnumbersidentified
inthechart,andonlyadvertisetheLoopbackinterfaceoftheroutersinBGP.
EnsurethattheroutersONLYadvertisetheirlinks(131.1.12.0/24,131.1.23.0/24,
131.1.34.0/24and131.1.14.0/24)inRIPv2,disableautosummarizationinRIPv2
routingprotocol.
OnR1
R1(configif)#routerbgp100
R1(configrouter)#noau
R1(configrouter)#neighbor131.1.14.4remoteas 200
R1(configrouter)#neighbor131.1.12.2remoteas200
R1(configrouter)#netw11.0.0.0
R1(configrouter)#netw1.0.0.0
R1(config)#routerrip
R1(configrouter)#noau
R1(configrouter)#ver2
R1(configrouter)#network131.1.0.0
OnR2
R2(config)#routerbgp200
R2(configrouter)#noau
CCIER&SbyNarbikKocharians FREE LabsPage 296 of338
2007NarbikKocharians.Allrightsreserved
R2(configrouter)#nosyn
R2(configrouter)#netw2.0.0.0
R2(configrouter)#neighbor131.1.12.1remoteas100
R2(configrouter)#neighbor131.1.23.3remoteas 200
R2(configrouter)#neighbor131.1.34.4remoteas200
R2(configrouter)#neighbor131.1.23.3nexthopself
R2(configrouter)#neighbor131.1.34.4nexthopself
R2(config)#routerrip
R2(configrouter)#noau
R2(configrouter)#ver2
R2(configrouter)#netw131.1.0.0
OnR3
R3(config)#routerbgp200
R3(configrouter)#noau
R3(configrouter)#nosyn
R3(configrouter)#netw3.0.0.0
R3(configrouter)#neighbor131.1.34.4remoteas 200
R3(configrouter)#neighbor131.1.23.2remoteas200
R3(config)#routerrip
R3(configrouter)#noau
R3(configrouter)#ver2
R3(configrouter)#netw131.1.0.0
OnR4
R4(config)#routerbgp200
R4(configrouter)#nosyn
R4(configrouter)#noau
R4(configrouter)#netw4.0.0.0
R4(configrouter)#neighbor131.1.34.3remoteas 200
R4(configrouter)#neighbor131.1.23.2remoteas200
R4(configrouter)#neighbor131.1.34.3nexthopself
R4(configrouter)#neighbor131.1.23.2nexthopself
R4(configrouter)#neighbor131.1.14.1remoteas100
R4(config)#routerrip
R4(configrouter)#noau
R4(configrouter)#ver2
R4(configrouter)#netw131.1.0.0
ConfigureR1inAS100suchthatroutersinAS200usethelinkthroughR2toreachits
network1.0.0.0/8.UsetheASPathattributetoaccomplishthistask.
OnR1
R1(config)#accesslist1permit1.0.0.00.255.255.255
R1(config)#routemapTEST1permit10
R1(configroutemap)#matchipaddr1
R1(configroutemap)#setaspathprepend100100100100
R1(configroutemap)#exit
R1(config)#routemapTEST1permit20
R1(configroutemap)#routerbgp100
R1(configrouter)#neighbor131.1.14.4routemapTEST1out
OnR4
R4#Showipbgp
BGPtableversionis17,localrouterIDis4.4.4.4
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NotetheASpathattributeisusedtoinfluencethedegreeofpreferenceinanother
AS.R4willgothroughR2toreachnetwork1.0.0.0/8.
ConfigureR1inAS100suchthattheroutersinAS200usethelinkthroughR4toreach
network11.0.0.0/8.UsetheASPathattributetoaccomplishthistask
OnR1
R1(config)#accesslist11permit11.0.0.00.255.255.255
R1(config)#routemapTEST11 permit10
R1(configroutemap)#matchipaddr11
R1(configroutemap)#setaspathprepend100100100100
R1(configroutemap)#routerbgp100
R1(configrouter)#neighbor131.1.12.2routemapTEST11 out
Toverifytheconfiguration:
OnR2
R2#Showipbgp
BGPtableversionis28,localrouterIDis2.2.2.2
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
Task 4
Erasethestartupconfigurationandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
S0/0S0/0
F0/0 FrameRelay F0/0
R4 R3
F0/0F0/0
S0/0 S0/0
FrameRelay
Ipaddressing:
ConfiguretheroutersbasedonthepreviouslabstopologyandIPaddressingscheme.
OnlyadvertisetheLoopbackinterface/softheroutersinBGP.
EnsurethattheroutersONLYadvertisetheirlinks(131.1.12.0/24,131.1.23.0/24,
131.1.34.0/24and131.1.14.0/24)inRIPv2,disableautosummarizationinRIPv2
routingprotocol.
OnR1
R1(configif)#routerbgp100
R1(configrouter)#noau
R1(configrouter)#neighbor131.1.14.4remoteas 200
R1(configrouter)#neighbor131.1.12.2remoteas200
R1(configrouter)#netw11.0.0.0
R1(configrouter)#netw1.0.0.0
R1(config)#routerrip
R1(configrouter)#noau
R1(configrouter)#ver2
R1(configrouter)#network131.1.0.0
OnR2
R2(config)#routerbgp200
R2(configrouter)#noau
R2(configrouter)#nosyn
R2(configrouter)#netw2.0.0.0
R2(configrouter)#neighbor131.1.12.1remoteas100
R2(configrouter)#neighbor131.1.23.3remoteas 200
R2(configrouter)#neighbor131.1.34.4remoteas200
R2(configrouter)#neighbor131.1.23.3nexthopself
R2(configrouter)#neighbor131.1.34.4nexthopself
R2(config)#routerrip
R2(configrouter)#noau
R2(configrouter)#ver2
R2(configrouter)#netw131.1.0.0
OnR3
R3(config)#routerbgp200
R3(configrouter)#noau
R3(configrouter)#nosyn
CCIER&SbyNarbikKocharians FREE LabsPage 301 of338
2007NarbikKocharians.Allrightsreserved
R3(configrouter)#netw3.0.0.0
R3(configrouter)#neighbor131.1.34.4remoteas 200
R3(configrouter)#neighbor131.1.23.2remoteas200
R3(config)#routerrip
R3(configrouter)#noau
R3(configrouter)#ver2
R3(configrouter)#netw131.1.0.0
On R4
R4(config)#routerbgp200
R4(configrouter)#nosyn
R4(configrouter)#noau
R4(configrouter)#netw4.0.0.0
R4(configrouter)#neighbor131.1.34.3remoteas 200
R4(configrouter)#neighbor131.1.23.2remoteas200
R4(configrouter)#neighbor131.1.34.3nexthopself
R4(configrouter)#neighbor131.1.23.2nexthopself
R4(configrouter)#neighbor131.1.14.1remoteas100
R4(config)#routerrip
R4(configrouter)#noau
R4(configrouter)#ver2
R4(configrouter)#netw131.1.0.0
Task2
Ensurethattheroutersin AS200useR4toreachnetwork1.0.0.0/8inAS100.Local
Prefattributemustbeusedtoaccomplishthistask.
OnR4
R4(config)#accesslist1permit1.0.0.00.255.255.255
R4(config)#routemapTEST1permit10
R4(configroutemap)#matchipaddr1
R4(configroutemap)#setLocalpreference400
R4(configroutemap)#exit
R4(config)#routemapTEST1permit20
R4(configroutemap)#routerbgp200
R4(configrouter)#neighbor131.1.14.1routemapTEST1in
CCIER&SbyNarbikKocharians FREE LabsPage 302 of338
2007NarbikKocharians.Allrightsreserved
ThelocalpreferenceattributeisusedtopreferanexitpointfromthelocalAS.
Unliketheweightattribute,thelocalpreferenceattributeispropagatedthroughout
thelocalAS.IftherearemultipleexitpointsfromthelocalAS,thelocalpreference
attributeisusedtoselecttheexitpointforaspecificorallroutes.Sincethelocal
preferenceattributeaffectstherouterswithintheAS,theroutemapshouldbe
configuredintheindirection.
Toverifytheconfiguration:
OnR2
R2#Showipbgp
BGPtableversionis9,localrouterIDis2.2.2.2
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>i1.0.0.0131.1.34.4 04000100i
*131.1.12.100100i
*>2.0.0.00.0.0.0032768i
*>i3.0.0.0131.1.23.3 01000i
*>i4.0.0.0131.1.34.401000i
*i11.0.0.0131.1.34.401000100i
*>131.1.12.10 0100i
Task 3
EnsurethattheroutersinAS200useR2toreachnetwork11.0.0.0/8.LocalPref
attributemustbeusedtoaccomplishthistask.
OnR2
R2(config)#accesslist11permit11.0.0.00.255.255.255
R2(config)#routemapTEST permit10
R2(configroutemap)#matchipaddr11
R2(configroutemap)#setLocalpreference400
R2(config)#routemapTEST permit20
Toverifytheconfiguration:
OnR2
R2#Showipbgp
BGPtableversionis7,localrouterIDis2.2.2.2
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*1.0.0.0 131.1.12.100100i
*>i131.1.34.404000100i
*>2.0.0.00.0.0.0 032768i
*>i3.0.0.0131.1.23.301000i
*>i4.0.0.0131.1.34.401000i
*>11.0.0.0131.1.12.104000 100i
OnR3
R3#Showipbgp
BGPtableversionis14,localrouterIDis3.3.3.3
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>i1.0.0.0131.1.34.404000100i
*>i2.0.0.0131.1.23.201000i
*>3.0.0.00.0.0.0 032768i
*>i4.0.0.0131.1.34.401000i
*>i11.0.0.0131.1.23.204000100i
OnR4
R4#Showipbgp
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.0 131.1.14.104000100i
*>i2.0.0.0131.1.23.201000i
*>i3.0.0.0131.1.34.301000i
*>4.0.0.00.0.0.0 032768i
*>i11.0.0.0131.1.23.204000100i
*131.1.14.100100i
Task 4
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
S0/0S0/0
F0/0 FrameRelay F0/0
R4 R3
F0/0 F0/0
S0/0S0/0
FrameRelay
Ipaddressing:
ConfigureBGPontheroutersbasedonthetopologyandtheIPaddressingchartprovided
above.ONLYadvertisetheLoopbackinterface/sinBGP.TheBGPPeersessionsshould
beestablishedaccordingtothetopology.Ensurethattherouterscanreachtheadvertised
Loopbackinterfaces.
EnsurethattheroutersONLYadvertisetheirlinks(131.1.12.0/24,131.1.23.0/24,
131.1.34.0/24and131.1.14.0/24)inRIPv2,disableautosummaryinRIPv2routing
protocol.
OnR1
R1(configif)#routerbgp100
R1(configrouter)#noau
R1(configrouter)#neighbor131.1.14.4remoteas 400
R1(configrouter)#neighbor131.1.12.2remoteas200
R1(configrouter)#netw11.0.0.0
R1(configrouter)#netw1.0.0.0
R1(config)#routerrip
R1(configrouter)#noau
R1(configrouter)#ver2
R1(configrouter)#network131.1.0.0
On R2
R2(config)#routerbgp200
R2(configrouter)#noau
R2(configrouter)#netw2.0.0.0
R2(configrouter)#netw22.0.0.0
R2(configrouter)#neighbor131.1.12.1remoteas100
R2(configrouter)#neighbor131.1.23.3remoteas 300
R2(config)#routerrip
R2(configrouter)#noau
R2(configrouter)#ver2
R2(configrouter)#netw131.1.0.0
OnR3
R3(config)#routerbgp300
R3(configrouter)#noau
R3(configrouter)#netw3.0.0.0
R3(configrouter)#netw33.0.0.0
CCIER&SbyNarbikKocharians FREE LabsPage 307 of338
2007NarbikKocharians.Allrightsreserved
R3(configrouter)#neighbor131.1.34.4remoteas 400
R3(configrouter)#neighbor131.1.23.2remoteas200
R3(config)#routerrip
R3(configrouter)#noau
R3(configrouter)#ver2
R3(configrouter)#netw131.1.0.0
OnR4
R4(config)#routerbgp400
R4(configrouter)#nosyn
R4(configrouter)#netw4.0.0.0
R4(configrouter)#neighbor131.1.34.3remoteas 300
R4(configrouter)#neighbor131.1.14.1remoteas100
R4(config)#routerrip
R4(configrouter)#noau
R4(configrouter)#ver2
R4(configrouter)#netw131.1.0.0
Toverifytheconfiguration:
OnR4
R4#Showipbgp
BGPtableversionis8,localrouterIDis4.4.4.4
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrf WeightPath
*1.0.0.0131.1.34.30300200100i
*>131.1.14.100100i
*2.0.0.0131.1.34.3 0300200i
*>131.1.14.10100200i
*3.0.0.0131.1.14.10100200300i
*>131.1.34.3 00300i
*>4.0.0.00.0.0.0032768i
*11.0.0.0131.1.34.30300200100i
*>131.1.14.100100i
*22.0.0.0131.1.34.30300200i
*>131.1.14.10100200i
*33.0.0.0131.1.14.10100200300i
CCIER&SbyNarbikKocharians FREE LabsPage 308 of338
2007NarbikKocharians.Allrightsreserved
*>131.1.34.300300i
Task2
ConfigureR1inAS100touseAS200toreachalltheprefixeswithinthistopologyyou
mustuseTheWeightattributetoaccomplishthistask.
OnR1
R1(config)#routerbgp100
R1(configrouter)#neighbor131.1.12.2weight40000
TheweightattributeisaCiscodefinedattributethatislocaltotherouter.This
attributeisNOTadvertisedtoanyneighboringrouter.Iftherearemorethanone
routetoagivendestination,theweightattributecandecidewhichpathisbetter.
Thehigherthevaluethehigherthepreference.
Toverifytheconfiguration:
OnR1
R1#Showipbgp
BGPtableversionis13,localrouterIDis11.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHop MetricLocPrfWeightPath
*>1.0.0.00.0.0.0032768i
*>2.0.0.0131.1.12.2040000200i
*131.1.14.4 0400300200i
*>3.0.0.0131.1.12.240000200300i
*131.1.14.40400300i
*>4.0.0.0131.1.12.2 40000200300400i
*131.1.14.400400i
*>11.0.0.00.0.0.0032768i
*>22.0.0.0131.1.12.20 40000200i
*131.1.14.40400300200i
*>33.0.0.0131.1.12.240000200300i
*131.1.14.4 0400300i
ThepolicyofAS100ischangedtothefollowing:
R1inAS100shoulduseR4inAS400toreachprefixes33.0.0.0/8
ExistingandfutureprefixesfromAS200shouldhaveaweightattributeof54000
throughR2.
OnR1
R1(config)#accesslist33permit33.0.0.0
R1(config)#routemapTEST33permit10
R1(configroutemap)#matchipaddr33
R1(configroutemap)#setweight45000
R1(config)#routemapTEST33permit20
R1(config)#ipaspathaccesslist1permit^200$
R1(config)#routemapTEST1permit10
R1(configroutemap)#matchaspath1
R1(configroutemap)#setweight54000
R1(config)#routemapTEST1permit20
R1(configroutemap)#routerbgp100
R1(configrouter)#neighbor131.1.12.2routemapTEST1in
R1(configrouter)#neighbor131.1.14.4routemapTEST33in
Toverifytheconfiguration:
OnR1
R1#Showipbgp
BGPtableversionis12,localrouterIDis11.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.00.0.0.0032768i
CCIER&SbyNarbikKocharians FREE LabsPage 310 of338
2007NarbikKocharians.Allrightsreserved
*>2.0.0.0131.1.12.2054000200i
*131.1.14.40400300200i
*>3.0.0.0131.1.12.240000200300i
* 131.1.14.40400300i
*>4.0.0.0131.1.12.240000200300400i
*131.1.14.400400i
*>11.0.0.00.0.0.0032768i
*>22.0.0.0131.1.12.2054000200i
*131.1.14.40400300 200i
*33.0.0.0131.1.12.240000200300i
*>131.1.14.445000400300i
Task4
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
S0/0S0/0
F0/0 FrameRelay F0/0
R4 R3
F0/0 F0/0
S0/0S0/0
FrameRelay
LabSetup:
Ipaddressing:
Task1
ConfigureBGPonallroutersaccordingtothetopologyandtheIPaddressingchart,and
onlyadvertisetheirLoopbackinterface/sinBGP.Ensurethattheroutershave
reachabilitytoeveryadvertisednetwork
EnsurethattheroutersONLYadvertisetheirlinks(131.1.12.0/24,131.1.23.0 /24,
131.1.34.0/24and131.1.14.0/24)inRIPv2,disableautosummaryinRIPv2routing
protocol.
OnR1
R1(config)#routerbgp100
R1(configrouter)#noau
R1(configrouter)#netw1.0.0.0
R1(configrouter)#netw11.0.0.0
R1(configrouter)#neighbor131.1.12.2remoteas200
R1(configrouter)#neighbor131.1.14.4remoteas200
R1(config)#routerrip
R1(configrouter)#noau
R1(configrouter)#ver2
R1(configrouter)#netw131.1.0.0
OnR2
R2(config)#routerbgp200
R2(configrouter)#noau
R2(configrouter)#netw2.0.0.0
R2(configrouter)#netw22.0.0.0
R2(configrouter)#neighbor131.1.12.1remoteas100
R2(configrouter)#neighbor131.1.23.3remoteas200
R2(configrouter)#neighbor131.1.34.4remoteas200
R2(configrouter)#neighbor131.1.34.4nexthopself
R2(configrouter)#neighbor131.1.23.3nexthopself
R2(config)#routerrip
CCIER&SbyNarbikKocharians FREE LabsPage 313 of338
2007NarbikKocharians.Allrightsreserved
R2(configrouter)#noau
R2(configrouter)#ver2
R2(configrouter)#netw131.1.0.0
OnR3
R3(config)#routerbgp200
R3(configrouter)#noau
R3(configrouter)#netw3.0.0.0
R3(configrouter)#netw33.0.0.0
R3(configrouter)#neighbor131.1.23.2remoteas200
R3(configrouter)#neighbor131.1.34.4remoteas200
R3(config)#routerrip
R3(configrouter)#noau
R3(configrouter)#ver2
R3(configrouter)#netw131.1.0.0
OnR4
R4(configif)#routerbgp200
R4(configrouter)#noau
R4(configrouter)#netw4.0.0.0
R4(configrouter)#neighbor131.1.34.3remoteas200
R4(configrouter)#neighbor131.1.23.2remoteas200
R4(configrouter)#neighbor131.1.23.2nexthopself
R4(configrouter)#neighbor131.1.34.3nexthopself
R4(configrouter)#neighbor131.1.14.1remoteas100
R4(config)#routerrip
R4(configrouter)#noau
R4(configrouter)#ver2
R4(configrouter)#netw131.1.0.0
Toverifytheconfiguration:
OnR1
R1#Showipbgp
BGPtableversionis22,localrouter IDis11.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.00.0.0.0032768i
*2.0.0.0131.1.14.40200i
*>131.1.12.200200i
* 3.0.0.0131.1.12.20200i
*>131.1.14.40200i
*4.0.0.0131.1.14.40 0200i
*>131.1.12.20200i
*>11.0.0.00.0.0.0032768i
*22.0.0.0131.1.14.4 0200i
*>131.1.12.200200i
*33.0.0.0131.1.12.20200i
*>131.1.14.4 0200i
Task2
ConfigureAS200suchthattheroutersinAS100takeR4toreachanyprefixes
advertisedinAS200.ManipulateMEDtoaccomplishthistask.
OnR2
R2(config)#routemapTESTpermit10
R2(configroutemap)#setmetric100
R2(config)#routerbgp200
R2(configrouter)#neighbor131.1.12.1routemapTESTout
MEDisusedasasuggestiontoanexternalASregardingthepreferredrouteinto
theASthatisadvertisingthemetric.Thereasonsuggestionisusedhereisbecause
theASthatisreceivingMEDattributecoulduseanotherattributesuchasWeight
thatwilloverridetheMEDattribute.Thelowerthevaluethebetterthepath.
Toverifytheconfiguration:
OnR1
R1#Showipbgp
BGPtableversionis27,localrouterIDis11.1.1.1
Task3
Removetheconfigurationcommandfromtheprevioustaskbeforeproceedingtothe
nexttask.
OnR2
R2(config)#noroutemapTESTpermit10
R2(config)#routerbgp200
R2(configrouter)#noneighbor131.1.12.1routemapTESTout
Task4
ConfigureAS200suchthatAS100canreachprefix33.0.0.0/24throughR4andPrefix
3.0.0.0/8throughR2.UtilizeMEDtoaccomplishthistask.
OnR2
R2(config)#accesslist3permit3.0.0.0
R2(config)#accesslist33permit33.0.0.0
R2(config)#routemapTESTpermit10
CCIER&SbyNarbikKocharians FREE LabsPage 316 of338
2007NarbikKocharians.Allrightsreserved
R2(configroutemap)#matchipaddr3
R2(configroutemap)#setmetric50
R2(config)#routemapTESTpermit20
R2(configroutemap)#matchipaddr33
R2(configroutemap)#setmetric100
R2(config)#routemapTESTpermit30
R2(config)#routerbgp200
R2(configrouter)#neighbor131.1.12.1routemapTESTout
OnR4
R4(config)#accesslist3permit3.0.0.0
R4(config)#accesslist33permit33.0.0.0
R4(config)#routemapTESTpermit10
R4(configroutemap)#matchipaddr3
R4(configroutemap)#setmetric100
R4(config)#routemapTESTpermit20
R4(configroutemap)#matchipaddr33
R4(configroutemap)#setmetric50
R4(config)#routemapTESTpermit30
R4(config)#routerbgp200
R4(configrouter)#neighbor131.1.14.1routemapTESTout
To verifytheconfiguration
OnR1
R1#Showipbgp
BGPtableversionis8,localrouterIDis11.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.00.0.0.0032768i
*2.0.0.0131.1.12.200200i
*> 131.1.14.40200i
CCIER&SbyNarbikKocharians FREE LabsPage 317 of338
2007NarbikKocharians.Allrightsreserved
*>3.0.0.0131.1.12.2500200i
*131.1.14.41000200i
*4.0.0.0131.1.12.20200i
*>131.1.14.400200i
*>11.0.0.00.0.0.0032768i
*22.0.0.0 131.1.12.200200i
*>131.1.14.40200i
NetworkNextHopMetricLocPrfWeightPath
*33.0.0.0131.1.12.21000200i
*>131.1.14.4500200i
Task5
RemoveBGProutingprotocolandanypreviousBGPrelatedcommand/sfromthe
previoustasksandreconfigurethembasedonthechartbelow.Theseroutersshould
ONLYadvertisetheirloopbackinterface/sinBGP.
OnR1
R1(config)#Norouterbgp100
OnR2
R2(config)#norouterbgp200
OnR4
R4(config)#norouterbgp200
R4(config)#noaccesslist3
R4(config)#noaccesslist33
R4(config)#noroutemapTEST
OnR1
R1(config)#routerbgp100
R1(configrouter)#noau
R1(configrouter)#netw1.0.0.0
R1(configrouter)#netw11.0.0.0
R1(configrouter)#neighbor131.1.12.2remoteas200
R1(configrouter)#neighbor131.1.14.4remoteas400
OnR2
R2(config)#routerbgp200
R2(configrouter)#netw2.0.0.0
R2(configrouter)#netw22.0.0.0
R2(configrouter)#noau
R2(configrouter)#neighbor131.1.12.1remoteas100
R2(configrouter)#neighbor131.1.23.3remoteas300
OnR3
R3(config)#routerbgp300
R3(configrouter)#noau
R3(configrouter)#netw3.0.0.0
R3(configrouter)#netw33.0.0.0
R3(configrouter)#neighbor131.1.23.2remoteas200
R3(configrouter)#neighbor131.1.34.4remoteas400
OnR4
R4(config)#routerbgp400
R4(configrouter)#noau
R4(configrouter)#netw4.0.0.0
R4(configrouter)#neighbor131.1.14.1remoteas100
Toverifytheconfiguration:
OnR1
R1#Showipbgp
BGPtableversionis8,localrouterIDis11.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origin codes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.00.0.0.0032768i
*>2.0.0.0131.1.12.20 0200i
*3.0.0.0131.1.12.20200300i
*>131.1.14.40400300i
*4.0.0.0131.1.12.2 0200300400i
*>131.1.14.400400i
*>11.0.0.00.0.0.0032768i
*>22.0.0.0131.1.12.20 0200i
*33.0.0.0131.1.12.20200300i
*>131.1.14.40400300i
Task6
ConfigureR4inAS400topassaMED of100toR1inAS100andconfigureR2inAS
200topassaMEDof120toR1inAS100.
OnR2
R2(config)#routemapTESTpermit10
R2(configroutemap)#setmetric120
R2(config)#routerbgp200
R2(configrouter)#neighbor131.1.12.1routemapTESTout
OnR4
R4(config)#routemapTESTpermit10
R4(config)#routerbgp400
R4(configrouter)#neighbor131.1.14.1routemapTESTout
Toverifytheconfiguration:
R1#Showipbgp
BGPtableversionis18,localrouterIDis11.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
Task7
EnsurethatR1inAS100alwaystakesR4toreachallotherprefixesadvertisedinthis
topology.UtilizeMEDinAS100toaccomplishthistask.
OnR1
R1(config)#routerbgp100
R1(configrouter)#bgpalwayscomparemed
R1(configrouter)#bgpbestpathaspathignore
Notethetabkeywillnotworkwhenenteringthebgpbestpathaspathignore
command.
TheMEDasstatedinRFC1771,isanoptionalnontransitiveattribute.Thevalue
ofthisattributemaybeusedbytheBGPbestpathselectionprocesstodiscriminate
amongmultipleexistpointstoaneighboringAS.Thelowerthevaluethebetterthe
path.TheMEDvaluecomparisonisdoneonlyamongpathsfromthesameAS.The
CCIER&SbyNarbikKocharians FREE LabsPage 321 of338
2007NarbikKocharians.Allrightsreserved
bgpalwayscomparemedcommandisusedtochangethisbehaviorbyenforcing
MEDcomparisonbetweenallpaths,regardlessoftheASfromwhichthepathsare
received.
Notethesecondcommandbgpbestpathaspathignoreisusedtoaccomplishthis
task,thiscommandisneededbecauseaspathislookedatfirstbeforeMED.Once
BGProutingprotocolistoldtoignoretheaspathattributeinbestpathcalculation,
BGPwilllookattheMEDvaluenext.
Notethefollowingdisplayisperformedbeforethebgpbestpathaspathignore
command.
OnR1
R1#Showipbgp
BGPtableversionis8,localrouterIDis11.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.00.0.0.0032768i
*>2.0.0.0131.1.12.21200200i
*131.1.14.41000400300200i
*3.0.0.0131.1.12.21200200300i
*>131.1.14.4100 0400300i
*4.0.0.0131.1.12.21200200300400i
*>131.1.14.41000400i
*>11.0.0.00.0.0.00 32768i
*>22.0.0.0131.1.12.21200200i
*131.1.14.41000400300200i
*33.0.0.0131.1.12.2120 0200300i
*>131.1.14.41000400300i
Enterthefollowingcommandtoseethebgptableafterthebgpbestpathaspath
ignorecommand:
R1#Showipbgp
BGPtableversionis8,localrouterIDis11.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
Task8
RemovetheBGPconfigurationfromtheprevioustwotasks(Task6).ConfigureR4in
AS400topassaMEDvalueof100toR1inAS100R2inAS200shouldNOTpass
anyMEDvaluestoR1.EnsurethatR1inAS100takesR4toreachanyprefixadvertised
inthistopology.
NoteR2isnotgivingaMEDvaluetoR1.R1willalwaystakethepathwiththe
lowestMED.R4isgivingaMEDvalueof100toR1.
R1willtakethepaththroughR2.
Totestthescenario:
OnR2
ToremovethecommandfromR2
R2(config)#routerbgp200
R2(configrouter)#noneighbor131.1.12.1routemapTESTout
R2(config)#noroutemapTEST
OnR4
ToremovethecommandfromR4
R4(config)#routerbgp400
R4(configrouter)#noneighbor131.1.14.1routemapTESTout
OnR1
ToremovethecommandfromR1
R1(config)#routerbgp100
R1(configrouter)#nobgpalwayscomparemed
R1(configrouter)#nobgpbestpathaspathignore
OnR4
ToconfigureR4togiveaMEDvalueof100toR1
R4(config)#routemapTESTpermit10
R4(configroutemap)#setmetric100
R4(config)#routerbgp400
R4(configrouter)#neighbor131.1.14.1routemapTESTout
Toverifytheconfiguration:
OnR1
R1#Showipbgp
BGPtableversionis12,localrouterIDis11.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHop MetricLocPrfWeightPath
*>1.0.0.0 0.0.0.00 32768i
*>2.0.0.0131.1.12.20 0200i
*3.0.0.0 131.1.14.4100 0400300i
*> 131.1.12.2 0200300i
*>4.0.0.0131.1.14.4100 0400i
*>11.0.0.0 0.0.0.00 32768i
*>22.0.0.0131.1.12.20 0200i
*33.0.0.0 131.1.14.4100 0400300i
*> 131.1.12.2 0200300i
NoteR1takesthepathwiththelowerMEDvalue,inthiscaseR2.
R1(config)#routerbgp100
R1(configrouter)#bgpbestpathmedmissingasworst
NotetheabovecommandtellsBGPtosetthepathwiththemissingMEDtobethe
worstpath.
Toverifytheconfiguration:
OnR1
R1#Showipbgp
BGPtableversionis8,localrouterIDis11.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.00.0.0.0032768i
*>2.0.0.0131.1.12.200200i
* 131.1.14.41000400300200i
*3.0.0.0131.1.12.242949672950200300i
*>131.1.14.41000400300i
*4.0.0.0131.1.12.242949672950200300400i
*>131.1.14.41000400i
*>11.0.0.00.0.0.0032768i
*>22.0.0.0 131.1.12.200200i
*131.1.14.41000400300200i
*33.0.0.0131.1.12.242949672950200300i
*> 131.1.14.41000400300i
NoteR1takesthepaththroughR4togetalltheroutesexceptthenetwork/s
advertisedbyR2.Canyouguessthecommandtofixthissituation?
Ifyoucannotthinkofthecommandtoresolvethisproblem,doNOTsignupfor
thelabexamyet(justkidding),checkthesolutionintask7.
Task 9
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
S0/0S0/0
F0/0 FrameRelay F0/0
R4 R3
F0/0F0/0
S0/0 S0/0
FrameRelay
LabSetup:
Ipaddressing:
Task1
ConfigureBGPontheroutersaccordingtotheabovechartandthediagram.TheBGP
routersshouldonlyadvertisetheirLoopbackinterfacesinBGP.Ensurethattherouters
canreachalltheadvertisednetworksinthistopology.
EnsurethattheroutersONLYadvertisetheirlinks(131.1.12.0/24,131.1.14.0/24,
131.1.34.0/24and131.1.23.0/24)inRIPv2,disableautosummaryinRIPv2routing
protocol.
OnR1
R1(config)#routerbgp100
R1(configrouter)#noau
R1(configrouter)#netw1.1.0.0 mask255.255.255.0
R1(configrouter)#netw1.1.1.0 mask255.255.255.0
R1(configrouter)#netw1.1.2.0 mask255.255.255.0
R1(configrouter)#netw1.1.3.0 mask255.255.255.0
R1(configrouter)#netw1.1.4.0 mask255.255.255.0
R1(configrouter)#neighbor131.1.12.2remoteas200
R1(configrouter)#neighbor131.1.14.4remoteas400
R1(configrouter)#routerrip
R1(configrouter)#netw131.1.0.0
R1(configrouter)#noau
R1(configrouter)#ver2
OnR2
R2(config)#routerbgp200
R2(configrouter)#netw2.0.0.0
R2(configrouter)#netw22.0.0.0
R2(configrouter)#noau
CCIER&SbyNarbikKocharians FREE LabsPage 327 of338
2007NarbikKocharians.Allrightsreserved
R2(configrouter)#neighbor131.1.12.1remoteas100
R2(configrouter)#neighbor131.1.23.3remoteas300
R2(configrouter)#routerrip
R2(configrouter)#netw131.1.0.0
R2(configrouter)#noau
R2(configrouter)#ver2
OnR3
R3(config)#routerbgp300
R3(configrouter)#noau
R3(configrouter)#netw3.0.0.0
R3(configrouter)#netw33.0.0.0
R3(configrouter)#neighbor131.1.23.2remoteas200
R3(configrouter)#neighbor131.1.34.4 remoteas 400
R3(configrouter)#routerrip
R3(configrouter)#ver2
R3(configrouter)#noau
R3(configrouter)#netw131.1.0.0
OnR4
R4(config)#routerbgp400
R4(configrouter)#noau
R4(configrouter)#netw4.0.0.0
R4(configrouter)#neighbor131.1.14.1remoteas100
R4(configrouter)#neighbor131.1.34.3 remoteas 300
R4(configrouter)#routerrip
R4(configrouter)#netw131.1.0.0
R4(configrouter)#noau
R4(configrouter)#ver2
Toverifytheconfiguration:
OnR4
R4#Showipbgp
BGPtableversionis11,localrouterIDis4.4.4.4
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
CCIER&SbyNarbikKocharians FREE LabsPage 328 of338
2007NarbikKocharians.Allrightsreserved
NetworkNextHopMetricLocPrfWeightPath
*>1.1.0.0/24131.1.14.100100i
*>1.1.1.0/24131.1.14.1 00100i
*>1.1.2.0/24131.1.14.100100i
*>1.1.3.0/24131.1.14.100100i
*>1.1.4.0/24131.1.14.10 0100i
*>2.0.0.0131.1.14.10100200i
*>3.0.0.0131.1.14.10100300i
NetworkNextHopMetricLocPrfWeightPath
*>4.0.0.00.0.0.0032768i
*>22.0.0.0131.1.14.10100200i
*>33.0.0.0131.1.14.10100300i
Task2
ConfigureR2toblocknetwork1.1.4.0/24fromgettingintoitsroutingandBGPtables.
Usedistributelistandaccesslisttoaccomplishthistask.
OnR2
R2(config)#accesslist4deny 1.1.4.00.0.0.255
R2(config)#accesslist4permitany
R2(config)#routerbgp200
R2(configrouter)#neighbor131.1.12.1distributelist4in
R2(configrouter)#neighbor131.1.23.3distributelist4in
Notethetrickypartwastounderstandthetopology,ifthetopologyinnot
understoodsillymistakescanoccurwhichcancostyoupoints.Thetrickypartof
thistaskistoblocktheprefixfrombothneighbors.
Task 3
Removetheconfigurationcommandfromprevioustask,andaccomplishthesametask
usingprefixlistanddistributelist.
OnR2
R2(config)#noaccesslist4
R2(config)#routerbgp200
CCIER&SbyNarbikKocharians FREE LabsPage 329 of338
2007NarbikKocharians.Allrightsreserved
R2(configrouter)#noneighbor131.1.12.1 distributelist1in
R2(configrouter)#noneighbor131.1.23.3 distributelist1in
R2(config)#ipprefixlistTESTseq5deny1.1.4.0/24
R2(config)#ipprefixlistTESTseq10permit0.0.0.0/0le32
R2(config)#routerbgp200
R2(configrouter)#neighbor131.1.12.1prefixlistTESTin
R2(configrouter)#neighbor131.1.23.3prefixlistTESTin
Notetherearemanywaystoaccomplishagiventask,understandingand
rememberingthedifferentwayscanbethekeytosuccess.
Task 4
ConfigureR3inAS300toblocknetwork22.0.0.0/8fromenteringitsroutingandBGP
table.DoNOTusedistributelistorprefixlist.Aroutemapandanaccesslistshouldbe
usedtoaccomplishthistask.Usingaroutemapandanaccesslistaccomplishthistaskin
anotherway.
OnR3
R3(config)#accesslist22deny22.0.0.0
R3(config)#accesslist22permitany
R3(config)#routemapTESTpermit10
R3(configroutemap)#matchipaddr22
R3(config)#routerbgp300
R3(configrouter)#neighbor131.1.23.2routemapTESTin
R3(configrouter)#neighbor131.1.13.1routemapTESTin
Notethesametaskcanbeaccomplishedinanotherway:
R3(config)#accesslist22permit22.0.0.0
R3(config)#routemapTESTdeny10
R3(configroutemap)#matchipaddr22
R3(config)#routemapTESTpermit20
R3(config)#routerbgp300
R3(configrouter)#neighbor131.1.23.2routemapTESTin
CCIER&SbyNarbikKocharians FREE LabsPage 330 of338
2007NarbikKocharians.Allrightsreserved
R3(configrouter)#neighbor131.1.13.1routemapTESTin
Task5
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.
R1 R2
S0/0 S0/0
FrameRelay F0/0
R4 R3
F0/0
S0/0S0/0
FrameRelay
LabSetup:
Configuretheroutersthatareconnectedtotheframerelaycloudsinapointto
pointmanner.
R2andR3sF0/0interfaceshouldbeconfiguredinVLAN23.
Task 1
ConfigureBGPontheroutersandONLYadvertisetheirLoopbackinterface/sinBGP.
EnsurethattheroutershaveNLRItoeveryadvertisedLoopbackinterfaceinthis
topology.
EnsurethattheroutersONLYadvertisetheirlinks(131.1.12.0/24,131.1.23.0/24,and
131.1.34.0/24)inRIPv2,disableautosummaryinRIPv2routingprotocol.
OnR1
R1(configif)#routerbgp100
R1(configrouter)#noau
R1(configrouter)#netw1.0.0.0
R1(configrouter)#neighbor131.1.12.2remoteas200
R1(configrouter)#routerrip
R1(configrouter)#noau
R1(configrouter)#ver2
R1(configrouter)#netw131.1.0.0
OnR2
R2(configif)#routerbgp200
R2(configrouter)#noau
R2(configrouter)#netw2.0.0.0
R2(configrouter)#neighbor131.1.12.1remoteas100
R2(configrouter)#neighbor131.1.23.3remoteas300
R2(configrouter)#routerrip
R2(configrouter)#noau
CCIER&SbyNarbikKocharians FREE LabsPage 333 of338
2007NarbikKocharians.Allrightsreserved
R2(configrouter)#ver2
R2(configrouter)#netw131.1.0.0
OnR3
R2(configif)#routerbgp300
R2(configrouter)#noau
R2(configrouter)#netw3.0.0.0
R2(configrouter)#neighbor131.1.34.4remoteas400
R2(configrouter)#neighbor131.1.23.2remoteas200
R2(configrouter)#routerrip
R2(configrouter)#noau
R2(configrouter)#ver2
R2(configrouter)#netw131.1.0.0
OnR4
R4(configif)#routerbgp400
R4(configrouter)#noau
R4(configrouter)#netw4.0.0.0
R4(configrouter)#neighbor131.1.34.3remote300
R4(configrouter)#routerrip
R4(configrouter)#noau
R4(configrouter)#ver2
R4(configrouter)#netw131.1.0.0
Toverifytheconfiguration:
OnR1
R1#Showipbgp
BGPtableversionis5,localrouterIDis1.1.1.1
Statuscodes:ssuppressed,ddamped,hhistory,*valid,>best,i internal,
rRIBfailure,SStale
Origincodes:i IGP,e EGP,? incomplete
NetworkNextHopMetricLocPrfWeightPath
*>1.0.0.00.0.0.0032768i
*>2.0.0.0131.1.12.200200i
*>3.0.0.0131.1.12.2 0200300i
*>4.0.0.0131.1.12.20200300400i
ConfigureR1suchthatitblocksalltheprefixesthatoriginatedinAS300.
OnR1
R1(config)#ipaspathaccesslist1deny_300$
R1(config)#ipaspathaccesslist1permit.*
R1(config)#routerbgp100
R1(configrouter)#neighbor131.1.12.2filterlist1in
Task 3
Removetheconfigurationcommand/sfromthepreviousLabbeforeproceedingtothe
nexttask.
OnR1
R1(config)#noipaspathaccesslist1
R1(config)#routerbgp100
R1(configrouter)#noneighbor131.1.12.2filterlist1in
Task5
ConfigureR1suchthattheyblockalltheprefixesthattraversedthroughAS300.
OnR1
R1(config)#ipaspathaccesslist1deny_300_
R1(config)#ipaspathaccesslist1permit.*
R1(config)#routerbgp100
R1(configrouter)#neighbor131.1.12.2filterlist1in
Task6
RemovetheconfigurationcommandfromthepreviousLabbeforeproceedingtothenext
task.
R1(config)#routerbgp100
R1(configrouter)#noneighbor131.1.12.2filterlist1in
Task7
ConfigureR3suchthatitdoesntadvertisetheprefixesthatoriginatedinitsownASto
anyofitsneighbors.
OnR3
R3(config)#ipaspathaccesslist1deny^$
R3(config)#ipaspathaccesslist1permit.*
R3(config)#routerbgp300
R3(configrouter)#neighbor131.1.23.2filterlist1out
R3(configrouter)#neighbor131.1.34.4filterlist1out
Task8
RemovetheconfigurationcommandfromthepreviousLabbeforeproceedingtothenext
task.
OnR3
R3(config)#noipaspathaccesslist1deny^$
R3(config)#routerbgp300
R3(configrouter)#noneighbor131.1.23.2filterlist1out
R3(configrouter)#noneighbor131.1.34.4filterlist1 out
Task9
ConfigureR3suchthatitblocksalltheprefixesfromitsneighboringAS200.
R3(config)#ipaspathaccesslist1deny^200$
R3(config)#ipaspathaccesslist1permit.*
R3(config)#routerbgp300
R3(configrouter)#neighbor131.1.23.2filterlist1in
Task10
RemovetheconfigurationcommandfromthepreviousLabbeforeproceedingtothenext
task.
OnR3
R3(config)#noipaspathaccesslist1
R3(config)#routerbgp300
R3(configrouter)#noneighbor131.1.23.2filterlist1in
Task11
ConfigureR3suchthatitblocksalltheprefixesfromitsexistingandfuturedirectly
connectedneighbors.
OnR3
R3(config)#ipaspathaccesslist1deny^[09]+$
R3(config)#ipaspathaccesslist1permit.*
R3(config)#routerbgp300
R3(configrouter)#neighbor131.1.23.2filterlist1in
R3(configrouter)#neighbor131.1.34.4filterlist1in
Task12
RemovetheconfigurationcommandfromthepreviousLabbeforeproceedingtothenext
task.
R3(config)#noipaspathaccesslist1
R3(config)#routerbgp300
R3(configrouter)#noneighbor131.1.23.2filterlist1in
R3(configrouter)#noneighbor131.1.34.4filterlist1in
Task13
ConfigureR1suchthatitblocksalltheprefixesthatoriginatedinAS300andtraversed
throughAS200.
OnR1
R1(config)#ipaspathaccesslist1deny_200_300$
R1(config)#ipaspathaccesslist1permit.*
R1(config)#routerbgp100
R1(configrouter)#neighbor131.1.12.2filterlist1in
Task14
Erasethestartupconfigandreloadtheroutersbeforeproceedingtothenextlab.