Вы находитесь на странице: 1из 37

4/14/12

Router Cisco 2600

ConfiguraodeRoteadores(CISCO)
DicaseToques
ConexodaportaCOM(AdaptadorDB9/RJ45)doComputadoreaportaCONSOLE
doRoteadorusandoumcaboROLLOVER(18/81)

www.professorramos.com/roteador.htm

1/37

4/14/12

Router Cisco 2600

EscolhaaPortaserialCOM1ouCOM2.

Bitsporsegundo9600BitsdeParada2eControledefluxoNenhum

www.professorramos.com/roteador.htm

2/37

4/14/12

Router Cisco 2600

OrdemdeBootdoRoteador

www.professorramos.com/roteador.htm

3/37

4/14/12

Router Cisco 2600

1ROMBOOTSTARP(TestedeHardware)
2BuscaIOS
2.1FLASH
2.2TFTP(ServidorComputadorcomBACKUP)
2.3ROM
3BuscadeArquivodeConfigurao
3.1NVRAM
3.2SETUP(Assistentecomperguntas)

Obs*
PerguntandosequerentrarnomodoSETUP
Wouldyouliketoentertheinitialconfigurationdialog?[yes/no]:
ParaSairdoModoSetupCtrl+C
RespondaNoeoroteadorvailigarsemconfiguraes

InicializaodoRoteadorCISCO2600semArquivosdeConfigurao
SmartInitisenabled
smartinitissizingiomem
IDMEMORY_REQTYPE
00036C0X000BA600C2620XMSingleFastEthernet
0X000F3BB0publicbufferpools
0X00211000publicparticlepools
TOTAL:0X003BF1B0

IfanyoftheaboveMemoryRequirementsare
"UNKNOWN",youmaybeusinganunsupported
configurationorthereisasoftwareproblemand
systemoperationmaybecompromised.
RoundedIOMEMupto:4Mb.
Using12percentiomem.[4Mb/32Mb]

RestrictedRightsLegend

Use,duplication,ordisclosurebytheGovernmentis
subjecttorestrictionsassetforthinsubparagraph
(c)oftheCommercialComputerSoftwareRestricted
RightsclauseatFARsec.52.22719andsubparagraph
(c)(1)(ii)oftheRightsinTechnicalDataandComputer
SoftwareclauseatDFARSsec.252.2277013.

ciscoSystems,Inc.
170WestTasmanDrive
SanJose,California951341706

CiscoInternetworkOperatingSystemSoftware
IOS(tm)C2600Software(C2600DM),Version12.2(17a),RELEASESOFTWARE(fc1)
Copyright(c)19862003byciscoSystems,Inc.

www.professorramos.com/roteador.htm

4/37

4/14/12

Router Cisco 2600

CompiledThu19Jun0316:34bypwade
Imagetextbase:0x8000808C,database:0x80B55190
cisco2620XM(MPC860P)processor(revision0x100)with28672K/4096Kbytesofmem
ory.
ProcessorboardIDJAD0645069H(2079948430)
M860processor:partnumber5,mask2
Bridgingsoftware.
X.25software,Version3.0.0.
1FastEthernet/IEEE802.3interface(s)
2Serial(sync/async)networkinterface(s)
32Kbytesofnonvolatileconfigurationmemory.
16384KbytesofprocessorboardSystemflash(Read/Write)

SystemConfigurationDialog

Wouldyouliketoentertheinitialconfigurationdialog?[yes/no]:n

PressRETURNtogetstarted!

00:00:07:%LINK3UPDOWN:InterfaceSerial0/0,changedstatetoup
00:00:07:%LINK3UPDOWN:InterfaceSerial0/1,changedstatetoup
00:00:08:%LINEPROTO5UPDOWN:LineprotocolonInterfaceFastEthernet0/0,chang
edstatetodown
00:00:08:%LINEPROTO5UPDOWN:LineprotocolonInterfaceSerial0/0,changedsta
tetoup
00:00:08:%LINEPROTO5UPDOWN:LineprotocolonInterfaceSerial0/1,changedsta
tetoup
00:00:36:%LINEPROTO5UPDOWN:LineprotocolonInterfaceSerial0/1,changedsta
tetodown
00:01:00:%LINEPROTO5UPDOWN:LineprotocolonInterfaceSerial0/0,changedsta
tetodown
00:02:50:%LINK5CHANGED:InterfaceFastEthernet0/0,changedstatetoadministr
ativelydown
00:02:50:%LINK5CHANGED:InterfaceSerial0/0,changedstatetoadministrativel
ydown
00:02:50:%LINK5CHANGED:InterfaceSerial0/1,changedstatetoadministrativel
ydown
00:02:52:%IP5WEBINST_KILL:TerminatingDNSprocess
00:02:58:%SYS5RESTART:Systemrestarted
CiscoInternetworkOperatingSystemSoftware
IOS(tm)C2600Software(C2600DM),Version12.2(17a),RELEASESOFTWARE(fc1)
Copyright(c)19862003byciscoSystems,Inc.
CompiledThu19Jun0316:34bypwade
00:02:58:%SNMP5COLDSTART:SNMPagentonhostRouterisundergoingacoldstar
t
Router>
www.professorramos.com/roteador.htm

5/37

4/14/12

Router Cisco 2600

Ocomando?exibeaajudadoRoteador
EstePromptRouter>omodousuriolimitandooscomandos
Router>
Router>?
Execcommands:
accessenableCreateatemporaryAccessListentry
accessprofileApplyuserprofiletointerface
clearResetfunctions
connectOpenaterminalconnection
disableTurnoffprivilegedcommands
disconnectDisconnectanexistingnetworkconnection
enableTurnonprivilegedcommands
exitExitfromtheEXEC
helpDescriptionoftheinteractivehelpsystem
lockLocktheterminal
loginLoginasaparticularuser
logoutExitfromtheEXEC
mrinfoRequestneighborandversioninformationfromamulticast
router
mstatShowstatisticsaftermultiplemulticasttraceroutes
mtraceTracereversemulticastpathfromdestinationtosource
nameconnectionNameanexistingnetworkconnection
padOpenaX.29PADconnection
pingSendechomessages
pppStartIETFPointtoPointProtocol(PPP)
resumeResumeanactivenetworkconnection
rloginOpenanrloginconnection
showShowrunningsysteminformation
slipStartSeriallineIP(SLIP)
systatDisplayinformationaboutterminallines
telnetOpenatelnetconnection
terminalSetterminallineparameters
tracerouteTraceroutetodestination
tunnelOpenatunnelconnection
udptnOpenanudptnconnection
whereListactiveconnections
x28BecomeanX.28PAD
x3SetX.3parametersonPAD

ParamudardeModousuarioparamodoprevilegiadousamosocomandoenable,se
solicitadodigiteasenhaparaentrarnestemodoopromptmudaparaRouter#
?paraajuda(HELP)

Obs*podemosdigitarapenasosprimeiroscaracteresdeumcomandoeeleserexecutado
Ex:enexecutaenable
Ex:showrunexecutashowrunningconfig
SedigitarmosapenasoiniciodeumcomandoeteclarmosTABoIOSdoroteadorcompletara

www.professorramos.com/roteador.htm

6/37

4/14/12

Router Cisco 2600

ocomando.
Ex:encompletaparaenable
Ex:showruncompletaparashowrunningconfig

Router>enable
Password:
Router#
Router#?
Execcommands:
accessenableCreateatemporaryAccessListentry
accessprofileApplyuserprofiletointerface
accesstemplateCreateatemporaryAccessListentry
archivemanagearchivefiles
bfeFormanualemergencymodessetting
cdChangecurrentdirectory
clearResetfunctions
clockManagethesystemclock
configureEnterconfigurationmode
connectOpenaterminalconnection
copyCopyfromonefiletoanother
debugDebuggingfunctions(seealso'undebug')
deleteDeleteafile
dirListfilesonafilesystem
disableTurnoffprivilegedcommands
disconnectDisconnectanexistingnetworkconnection
enableTurnonprivilegedcommands
eraseEraseafilesystem
exitExitfromtheEXEC
helpDescriptionoftheinteractivehelpsystem
isdnRunanISDNEXECcommandonaBRIinterface
lockLocktheterminal
loginLoginasaparticularuser
logoutExitfromtheEXEC
moreDisplaythecontentsofafile
mrinfoRequestneighborandversioninformationfromamulticast
router
mrmIPMulticastRoutingMonitorTest
mstatShowstatisticsaftermultiplemulticasttraceroutes
mtraceTracereversemulticastpathfromdestinationtosource
nameconnectionNameanexistingnetworkconnection
noDisabledebuggingfunctions
padOpenaX.29PADconnection
pingSendechomessages
pppStartIETFPointtoPointProtocol(PPP)
pwdDisplaycurrentworkingdirectory
reloadHaltandperformacoldrestart
renameRenameafile
restartRestartConnection

www.professorramos.com/roteador.htm

7/37

4/14/12

Router Cisco 2600

resumeResumeanactivenetworkconnection
rloginOpenanrloginconnection
rshExecutearemotecommand
rtrRTRExecConfiguration
sendSendamessagetootherttylines
setupRuntheSETUPcommandfacility
showShowrunningsysteminformation
slipStartSeriallineIP(SLIP)
squeezeSqueezeafilesystem
startchatStartachatscriptonaline
systatDisplayinformationaboutterminallines
telnetOpenatelnetconnection
terminalSetterminallineparameters
testTestsubsystems,memory,andinterfaces
tracerouteTraceroutetodestination
tunnelOpenatunnelconnection
udptnOpenanudptnconnection
undebugDisabledebuggingfunctions(seealso'debug')
upgradeUpgradefirmware
verifyVerifyafile
whereListactiveconnections
writeWriterunningconfigurationtomemory,network,orterminal
x28BecomeanX.28PAD
x3SetX.3parametersonPAD
Router#

ParaobterajudadeumcomandodigiteoComandoseguidode?
Router#Show?
accessexpressionListaccessexpression
accesslistsListaccesslists
accountingAccountingdataforactivesessions
adjacencyAdjacentnodes
aliasesDisplayaliascommands
appletalkAppleTalkinformation
arapShowAppletalkRemoteAccessstatistics
arpARPtable
asyncInformationonterminallinesusedasrouterinterfaces
backupBackupstatus
bridgeBridgeForwarding/FilteringDatabase[verbose]
buffersBufferpoolstatistics
c2600Showc2600information
ccaCCAinformation
cdapiCDAPIinformation
cdpCDPinformation
cefCiscoExpressForwarding
classmapShowQoSClassMap
clockDisplaythesystemclock
compressShowcompressionstatistics

www.professorramos.com/roteador.htm

8/37

4/14/12

Router Cisco 2600

configurationContentsofNonVolatilememory
connectionShowConnection
contextShowcontextinformation
controllersInterfacecontrollerstatus
copsCOPSinformation
debuggingStateofeachdebuggingoption
decnetDECnetinformation
derivedconfigDerivedoperatingconfiguration
dhcpDynamicHostConfigurationProtocolstatus
diagShowdiagnosticinformationforportadapters/modules
dialerDialerparametersandstatistics
dnsixShowsDnsix/DMDPinformation
dxiatmdxiinformation
entryQueuedterminalentries
environmentEnvironmentalmonitorstatistics
exceptionexceptioninformations
fileShowfilesysteminformation
flash:displayinformationaboutflash:filesystem
framerelayFrameRelayinformation
historyDisplaythesessioncommandhistory
hostsIPdomainname,lookupstyle,nameservers,andhost
table
htmlHTMLhelpercommands
idbListofHardwareInterfaceDescriptorBlocks
interfacesInterfacestatusandconfiguration
ipIPinformation
ipxNovellIPXinformation
keyKeyinformation
lineTTYlineinformation
llc2IBMLLC2circuitinformation
locationDisplaythesystemlocation
loggingShowthecontentsofloggingbuffers
memoryMemorystatistics
modemcapShowModemCapabilitiesdatabase
ntpNetworktimeprotocol
parserDisplayparserinformation
pasPortAdaptorInformation
pciPCIInformation
policymapShowQoSPolicyMap
pppPPPparametersandstatistics
printersShowLPDprinterinformation
privilegeShowcurrentprivilegelevel
processesActiveprocessstatistics
protocolsActivenetworkroutingprotocols
qdmShowinformationaboutQoSDeviceManager
queueShowqueuecontents
queueingShowqueueingconfiguration
radiusShowsradiusinformation
randomdetectgroupdisplayrandomdetetctgroup
www.professorramos.com/roteador.htm

9/37

4/14/12

Router Cisco 2600

regionRegionManagerStatus
registryFunctionregistryinformation
reloadScheduledreloadinformation
rhostsRemotehost+userequivalences
rifRIFcacheentries
rmonrmonstatistics
routemaproutemapinformation
rtrResponseTimeReporter(RTR)
runningconfigCurrentoperatingconfiguration
sessionsInformationaboutTelnetconnections
smdsSMDSinformation
smfSoftwareMACfilter
smrpSimpleMulticastRoutingProtocol(SMRP)information
snapshotSnapshotparametersandstatistics
snmpsnmpstatistics
spanningtreeSpanningtreetopology
stacksProcessstackutilization
standbyHotStandbyRouterProtocol(HSRP)information
startupconfigContentsofstartupconfiguration
subscriberpolicySubscriberpolicy
subsysShowsubsysteminformation
tacacsShowstacacs+serverstatistics
tcpStatusofTCPconnections
techsupportShowsysteminformationforTechSupport
templateTemplateinformation
terminalDisplayterminalconfigurationparameters
tgrmTrunkGroupResourceManangerinfo
timerangeTimerange
trafficshapetrafficrateshapingconfiguration
usersDisplayinformationaboutterminallines
versionSystemhardwareandsoftwarestatus
vlansVirtualLANsInformation
vtemplateVirtualTemplateinterfaceinformation
whoamiInfooncurrentttyline
x25X.25information
x29X.29information

VerificaroStatusdasInterfaces
Router>enable
Router#showinterfaces
FastEthernet0/0isadministrativelydown,lineprotocolisdown
HardwareisAmdFE,addressis000b.5f63.1f00(bia000b.5f63.1f00)
MTU1500bytes,BW100000Kbit,DLY100usec,
reliability255/255,txload1/255,rxload1/255
EncapsulationARPA,loopbacknotset
Keepaliveset(10sec)
Autoduplex,AutoSpeed,100BaseTX/FX
ARPtype:ARPA,ARPTimeout04:00:00

www.professorramos.com/roteador.htm

10/37

4/14/12

Router Cisco 2600

Lastinputnever,output00:06:50,outputhangnever
Lastclearingof"showinterface"countersnever
Inputqueue:0/75/0/0(size/max/drops/flushes)Totaloutputdrops:0
Queueingstrategy:fifo
Outputqueue:0/40(size/max)
5minuteinputrate0bits/sec,0packets/sec
5minuteoutputrate0bits/sec,0packets/sec
0packetsinput,0bytes
Received0broadcasts,0runts,0giants,0throttles
0inputerrors,0CRC,0frame,0overrun,0ignored
0watchdog
0inputpacketswithdribbleconditiondetected
15packetsoutput,900bytes,0underruns
0outputerrors,0collisions,0interfaceresets
0babbles,0latecollision,0deferred

MostrarosroteadoresVisinhossomenteCISCO
Router#showcdpneighbors
^
%Invalidinputdetectedat'^'marker.

Router#

ExibiraTabeladeRoteamento
Router#showiproute
Codes:Cconnected,Sstatic,IIGRP,RRIP,Mmobile,BBGP
DEIGRP,EXEIGRPexternal,OOSPF,IAOSPFinterarea
N1OSPFNSSAexternaltype1,N2OSPFNSSAexternaltype2
E1OSPFexternaltype1,E2OSPFexternaltype2,EEGP
iISIS,suISISsummary,L1ISISlevel1,L2ISISlevel2
iaISISinterarea,*candidatedefault,Uperuserstaticroute
oODR,Pperiodicdownloadedstaticroute

Gatewayoflastresortisnotset

Router#

EntraremmododeConfiguraoGlobal,comocomandoConfigureTerminal

Router#configureterminal
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Router(config)#

MapadaSala(LaboratrioCISCO)

www.professorramos.com/roteador.htm

11/37

4/14/12

Router Cisco 2600

ExemplodeConfiguraoparaoRoteadorLabB
Modelo_LabB.txt

hostnameLab_B

enablesecret5$1$7Sv8$1jg.sasx.3Rv59zC117Vi/
enablepasswordcisco

ipsubnetzero
noipdomainlookup
iphostLAB_A192.5.5.1205.7.5.1201.100.11.1
iphostLAB_B219.17.100.1199.6.13.1201.100.11.2
iphostLAB_C223.8.151.1204.204.7.1199.6.13.2
iphostLAB_D211.93.105.1204.204.7.2
iphostLAB_E210.93.105.1

interfacefa0/0
descriptionConectadoaRede_A
ipaddress219.17.100.1255.255.255.0
noipdirectedbroadcast
noshutdown

interfaceSerial0/0
bandwidth56
ipaddress199.6.13.1255.255.255.0

www.professorramos.com/roteador.htm

12/37

4/14/12

Router Cisco 2600

noipdirectedbroadcast
clockrate56000
noshutdown

interfaceSerial0/1
ipaddress201.100.11.2255.255.255.0
noipdirectedbroadcast
noshutdown

routerrip
network219.17.100.0
network199.6.13.0
network201.100.11.2

iphttpserver
noipclassless

linecon0
passwordcisco
transportinputnone
lineaux0
linevty04
passwordtelnet
login

end

DescarregaroArquivodeexemplonoroteador

MenuTransferirEnviararquivodetexto

EscolheroArquivoCorreto

www.professorramos.com/roteador.htm

13/37

4/14/12

Router Cisco 2600

TransfernciaCompleta

ParaTransferirconfiguraodoRoteadorparaarquivo

Tudoqueconfigurado(digitado)guardadonoarquivoindicado(formato.txt).

www.professorramos.com/roteador.htm

14/37

4/14/12

Router Cisco 2600

ParaderrubarumasessoTELNET,primeiroverificamosquemestaconectadocomocomandoshow
users,notequenoprimeirocomandoningumestaconectadonoroteadorenosegundocomandoum
usurio66daconexoIP:219.17.100.3estaconectado.OComandoparaderrubarousurioclearline
ndoUSR.

Lab_B#showusers
LineUserHost(s)IdleLocation
*0con0idle00:00:00

InterfaceUserModeIdlePeerAddress

Lab_B#showusers
LineUserHost(s)IdleLocation
*0con0idle00:00:00
66vty0idle00:00:06219.17.100.3

InterfaceUserModeIdlePeerAddress

Lab_B#clearline66
[confirm]
[OK]
Lab_B#

EnviarMensagensusarocomandoshowusers,paradescobrirondosusurios
conectadosedepoisocomandosendneCTRL+Zparaenviaramensagem.

Lab_B#showusers
LineUserHost(s)IdleLocation
*0con0idle00:00:00
66vty0idle00:00:03219.17.100.3

InterfaceUserModeIdlePeerAddress

Lab_B#send66

www.professorramos.com/roteador.htm

15/37

4/14/12

Router Cisco 2600

Entermessage,endwithCTRL/ZabortwithCTRL/C:
OLinkestaONLINE
ConfiguraaPORTAF0/0comoIP200.100.10.12
LeandroRamos
^Z
Sendmessage?[confirm]
Lab_B#

Mensagemrecebida
***
***
***Messagefromtty66totty0:
***
Portaconfigurada
LinkOK
Faaoteste

Quandodigitadoumcomandoerradonoroteadorocaractere'^'informaolocalondeo
comandoestadigitadoerrado.Noexemploocomandocorretoseriashowstartupconfig,
masfoidigitadoerradoeoIOSdoroteadorinformaapartirdeondeocomandoesta
digitadoerrado(umramais).

Lab_B#showstarrtupconfig
^
%Invalidinputdetectedat'^'marker.

Lab_B#

Visualizaratabeladeroteamento
Lab_C#showiproute
Codes:Cconnected,Sstatic,IIGRP,RRIP,Mmobile,BBGP
DEIGRP,EXEIGRPexternal,OOSPF,IAOSPFinterarea
N1OSPFNSSAexternaltype1,N2OSPFNSSAexternaltype2
E1OSPFexternaltype1,E2OSPFexternaltype2,EEGP
iISIS,suISISsummary,L1ISISlevel1,L2ISISlevel2
iaISISinterarea,*candidatedefault,Uperuserstaticroute
oODR,Pperiodicdownloadedstaticroute

Gatewayoflastresortisnotset

R210.93.105.0/24[120/2]via204.204.7.2,00:00:09,Serial0/0
R211.93.105.0/24[120/1]via204.204.7.2,00:00:09,Serial0/0
R219.17.100.0/24[120/1]via199.6.13.1,00:00:02,Serial0/1
R192.168.10.0/24[120/2]via204.204.7.2,00:00:09,Serial0/0
[120/2]via199.6.13.1,00:00:02,Serial0/1
C199.6.13.0/24isdirectlyconnected,Serial0/1
www.professorramos.com/roteador.htm

16/37

4/14/12

Router Cisco 2600

R193.114.41.0/24[120/1]via204.204.7.2,00:00:09,Serial0/0
C204.204.7.0/24isdirectlyconnected,Serial0/0
R192.5.5.0/24[120/2]via199.6.13.1,00:00:03,Serial0/1
C223.8.151.0/24isdirectlyconnected,FastEthernet0/0
R201.100.11.0/24[120/1]via199.6.13.1,00:00:03,Serial0/1
Lab_C#

VisualizaraVersodoIOSe
Lab_C>showversion
CiscoInternetworkOperatingSystemSoftware
IOS(tm)C2600Software(C2600DM),Version12.2(17a),RELEASESOFTWARE(fc1)
Copyright(c)19862003byciscoSystems,Inc.
CompiledThu19Jun0316:34bypwade
Imagetextbase:0x8000808C,database:0x80B55190

ROM:SystemBootstrap,Version12.2(7r)[cmong7r],RELEASESOFTWARE(fc1)

Lab_Cuptimeis20minutes
SystemreturnedtoROMbyreload
Systemimagefileis"flash:c2600dmz.12217a.bin"

cisco2620XM(MPC860P)processor(revision0x100)with28672K/4096Kbytesofmem
ory.
ProcessorboardIDJAD06450GSV(3223792012)
M860processor:partnumber5,mask2
Bridgingsoftware.
X.25software,Version3.0.0.
1FastEthernet/IEEE802.3interface(s)
2Serial(sync/async)networkinterface(s)
32Kbytesofnonvolatileconfigurationmemory.
16384KbytesofprocessorboardSystemflash(Read/Write)

Configurationregisteris0x2102

Lab_C>

RetirarSenhadoRoteador.
DeveestarconectadonaportaCONSOLE.
TodavezqueligaroRouter,oroteadorloRegister
Register0x2102Hexadecimalde16bits

Alteraros4ltimosparamudarainicializao

0ROMMonitor
1ROM
2atFNVRAM

Mudaronumerodoregistropara0x2142

www.professorramos.com/roteador.htm

17/37

4/14/12

Router Cisco 2600

DesligareLigaroRoteadoreCtrl+CnomomentodainicializaoqueaparecerCISCO2600

rommon1>confreg0x2142

Youmustresetorpowercyclefornewconfigtotakeeffect
rommon2>i

SystemBootstrap,Version12.2(7r)[cmong7r],RELEASESOFTWARE(fc1)
Copyright(c)2002byciscoSystems,Inc.

Wouldyouliketoentertheinitialconfigurationdialog?[yes/no]:n

Router>
Router>ena
Router#copystarrun
Destinationfilename[runningconfig]?

920bytescopiedin0.568secs(1620bytes/sec)
Lab_C#
Lab_C#configureterminal
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Lab_C(config)#enablesecretsenha123
Lab_C(config)#
Lab_C(config)#configregister0x2102
CTRL+Z
Lab_C#copyrunningconfigstartupconfig
Destinationfilename[startupconfig]?
Buildingconfiguration...
[OK]
Lab_C#
Lab_C#reload
Proceedwithreload?[confirm]

00:09:56:%SYS5RELOAD:Reloadrequestedbyconsole.
SystemBootstrap,Version12.2(7r)[cmong7r],RELEASESOFTWARE(fc1)
Copyright(c)2002byciscoSystems,Inc.
...

rommon1>opromptROMMonitor,eocomandoconfreg0x2142mudaoparmetrode0x2102
para0x2142eocomandoiinicializaoroteador.
OComandoconfigureterminalalteradomodoPrivilegiadoLab_C#paraomododeconfigurao
GlobalLab_C(config)#.
OComandoenablesecretsenha123defineasenha.
OComandoconfigregister0x2102alteraoparametrode0x2142para0x2102quepadro.
AteclaCTRL+ZvoltaparaomododeconfiguraoPrivilegiado.

Obs*AsinterfacesaposreiniciartodasinterfacesficamDOWN,devemosLEVANTARasInterfaces.

www.professorramos.com/roteador.htm

18/37

4/14/12

Router Cisco 2600

interfaceFastEthernet0/0
descriptionConectadoaoSW
ipaddress223.8.151.1255.255.255.0
shutdown
duplexauto
speedauto
!
interfaceSerial0/0
bandwidth56
ipaddress204.204.7.1255.255.255.0
shutdown
clockrate56000
!
interfaceSerial0/1
ipaddress199.6.13.2255.255.255.0
shutdown

Lab_C(config)#interfacefastEthernet0/0
Lab_C(configif)#noshutdown
00:02:02:%LINEPROTO5UPDOWN:LineprotocolonInterfaceFastEthernet0/0,chang
edstatetoup
Lab_C(configif)#exit
Lab_C(config)#interfaceserial0/0
Lab_C(configif)#
Lab_C(configif)#
00:03:00:%LINK3UPDOWN:InterfaceSerial0/0,changedstatetodown
Lab_C(configif)#
Lab_C(config)#ints0/1
Lab_C(configif)#noshut
Lab_C(configif)#
Lab_C(configif)#exit
Lab_C(config)#exit
Lab_C#

OComandointerfaceserial0/0acessaainterfaceserial0/0paraacessaroutrainterfacemudeonomeda
interfaceeoseunumero(ex.interfacefastEthernet0/0).OComandonoshutdownlevantaaporta.,O
comandoshutdowndesabilitaaporta.

VisualizarInformaessobreasinterfacesinterface.

Lab_C#showinterfaces
FastEthernet0/0isup,lineprotocolisup
HardwareisAmdFE,addressis000b.5f76.7900(bia000b.5f76.7900)
Description:ConectadoaoSW
Internetaddressis223.8.151.1/24
MTU1500bytes,BW100000Kbit,DLY100usec,
reliability255/255,txload1/255,rxload1/255

www.professorramos.com/roteador.htm

19/37

4/14/12

Router Cisco 2600

EncapsulationARPA,loopbacknotset
Keepaliveset(10sec)
Fullduplex,100Mb/s,100BaseTX/FX
ARPtype:ARPA,ARPTimeout04:00:00
Lastinput00:00:00,output00:00:08,outputhangnever
Lastclearingof"showinterface"countersnever
Inputqueue:0/75/0/0(size/max/drops/flushes)Totaloutputdrops:0
Queueingstrategy:fifo
Outputqueue:0/40(size/max)
5minuteinputrate0bits/sec,0packets/sec
5minuteoutputrate0bits/sec,0packets/sec
2064packetsinput,253354bytes
Received1185broadcasts,0runts,0giants,0throttles
0inputerrors,0CRC,0frame,0overrun,0ignored
0watchdog
0inputpacketswithdribbleconditiondetected
1293packetsoutput,202255bytes,0underruns
0outputerrors,0collisions,1interfaceresets
0babbles,0latecollision,0deferred
3lostcarrier,0nocarrier
0outputbufferfailures,0outputbuffersswappedout
Serial0/0isup,lineprotocolisup
HardwareisPowerQUICCSerial
Internetaddressis204.204.7.1/24
MTU1500bytes,BW56Kbit,DLY20000usec,
reliability255/255,txload1/255,rxload1/255
EncapsulationHDLC,loopbacknotset
Keepaliveset(10sec)
Lastinput00:00:02,output00:00:02,outputhangnever
Lastclearingof"showinterface"countersnever
Inputqueue:0/75/0/0(size/max/drops/flushes)Totaloutputdrops:0
Queueingstrategy:weightedfair
Outputqueue:0/1000/64/0(size/maxtotal/threshold/drops)
Conversations0/1/256(active/maxactive/maxtotal)
ReservedConversations0/0(allocated/maxallocated)
AvailableBandwidth42kilobits/sec
5minuteinputrate0bits/sec,0packets/sec
5minuteoutputrate0bits/sec,0packets/sec
613packetsinput,41356bytes,0nobuffer
Received597broadcasts,0runts,0giants,0throttles
1inputerrors,0CRC,1frame,0overrun,0ignored,0abort
614packetsoutput,49668bytes,0underruns
0outputerrors,0collisions,2interfaceresets
0outputbufferfailures,0outputbuffersswappedout
1carriertransitions
DCD=upDSR=upDTR=upRTS=upCTS=up

Serial0/1isup,lineprotocolisup
HardwareisPowerQUICCSerial
www.professorramos.com/roteador.htm

20/37

4/14/12

Router Cisco 2600

Internetaddressis199.6.13.2/24
MTU1500bytes,BW1544Kbit,DLY20000usec,
reliability255/255,txload1/255,rxload1/255
EncapsulationHDLC,loopbacknotset
Keepaliveset(10sec)
Lastinput00:00:05,output00:00:04,outputhangnever
Lastclearingof"showinterface"countersnever
Inputqueue:0/75/0/0(size/max/drops/flushes)Totaloutputdrops:0
Queueingstrategy:weightedfair
Outputqueue:0/1000/64/0(size/maxtotal/threshold/drops)
Conversations0/1/256(active/maxactive/maxtotal)
ReservedConversations0/0(allocated/maxallocated)
AvailableBandwidth1158kilobits/sec
5minuteinputrate0bits/sec,0packets/sec
5minuteoutputrate0bits/sec,0packets/sec
618packetsinput,44888bytes,0nobuffer
Received585broadcasts,0runts,0giants,0throttles
0inputerrors,0CRC,0frame,0overrun,0ignored,0abort
615packetsoutput,46260bytes,0underruns
0outputerrors,0collisions,1interfaceresets
0outputbufferfailures,0outputbuffersswappedout
0carriertransitions
DCD=upDSR=upDTR=upRTS=upCTS=up

Lab_C#

ParmetrosdaInterface
MTU
Mximodebytes(1500)
RELY
Confiabilidade255/255(100%)
LOAD
Cargadainterface1/255
RUNT
Qtd.dequadrosmenoresque64bytes
GIANT
Qtd.dequadrosmaioresque1518bytes

Paraalterarevisualizarocalendriodoroteador

Lab_C#clockset12:42:0913aug2003
Lab_C#showclock
12:42:19.199UTCWedAug132003
Lab_C#

Visualizaroscomandosinseridosanteriormente

Lab_C#showhistory
ENA
showinterfaces
showclock
clock

www.professorramos.com/roteador.htm

21/37

4/14/12

Router Cisco 2600

clockset13/08/2003
clockset12:42:0913aug2003
showclock
showusers
showhistory
Lab_C#

VisualizaraTabelaARPdoroteador

Lab_C#showarp
ProtocolAddressAge(min)HardwareAddrTypeInterface
Internet223.8.151.1000b.5f76.7900ARPAFastEthernet0/0
Internet223.8.151.380001.02c6.a589ARPAFastEthernet0/0
Internet223.8.151.500001.0287.f076ARPAFastEthernet0/0
Internet223.8.151.24230001.0287.f109ARPAFastEthernet0/0

Visualizarosprotocolosdoroteador,exibindoosprotocolosrateveisederoteamento.

Lab_C#showprotocols
Globalvalues:
InternetProtocolroutingisenabled
FastEthernet0/0isup,lineprotocolisup
Internetaddressis223.8.151.1/24
Serial0/0isup,lineprotocolisup
Internetaddressis204.204.7.1/24
Serial0/1isup,lineprotocolisup
Internetaddressis199.6.13.2/24

ConfiguraroRoteadorviaTELNET

PrimeiramentedevemosmudaroIPdaestaoparaamesmarededaportaEthernet/FastEthernetdo
roteadorequeexistaconexofsicaentreoRoteadoreestaestao.

www.professorramos.com/roteador.htm

22/37

4/14/12

Router Cisco 2600

CopiarparaumservidorTFTPoudeumServidorTFTPparaoroteador.

www.professorramos.com/roteador.htm

23/37

4/14/12

Router Cisco 2600

PrimeiroabreoservidorTFTPemumaestao,depoisusaocomandocopyoque?tftp(ondeoque?Pode
seraflash,NVRAM,RAM,etc...)informeoip(223.8.151.3)desteservidoreonomedoArquivode
BACKUP(leandro_router).

Lab_C#copystartftp
Addressornameofremotehost[]?223.8.151.3
Destinationfilename[lab_cconfg]?leandro_router
!!
950bytescopiedin2.340secs(406bytes/sec)
Lab_C#

ParacopiardoservidorTFTPuseocomandocopytftprun,onderunpodesersubstitudoporqualquer
tipodememriadoroteador.

www.professorramos.com/roteador.htm

24/37

4/14/12

Router Cisco 2600

DescobrirosVisinhosdoseuroteador,atravsdoprotocoloCDPdeCamadadeEnlace(2)

Lab_C#showcdpneighbors
CapabilityCodes:RRouter,TTransBridge,BSourceRouteBridge
SSwitch,HHost,IIGMP,rRepeater

DeviceIDLocalIntrfceHoldtmeCapabilityPlatformPortID
SuperiorFas0/0142SIWSC29502Fas0/7
Lab_BSer0/1150R2620XMSer0/0
Lab_DSer0/0149R2620XMSer0/1
Lab_C#

TELNETdeRoteadorparaRoteador.

Lab_C#telnetlab_a
TryingLAB_A(192.5.5.1)...Open
ine
BemvindoAoLeandroRamosRoteadorA

UserAccessVerification

Password:
Lab_A>

PINGparatestarconectividadeentreredes(Camada1at3)
Exemploemsucedido
Lab_C#ping192.168.10.2

Typeescapesequencetoabort.
Sending5,100byteICMPEchosto192.168.10.2,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=64/78/116ms

Exemplodefalha
Lab_C#ping200.100.10.2

Typeescapesequencetoabort.
Sending5,100byteICMPEchosto200.100.10.2,timeoutis2seconds:
.....
Successrateis0percent(0/5)

ParaAlteraroNomedoRoteador
LAB_B#configureterminal
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
LAB_B(config)#hostnameRouter_Leandro
Router_Leandro(config)#

www.professorramos.com/roteador.htm

25/37

4/14/12

Router Cisco 2600

Alterarasenhadeacessoparaconsole
Lab_B(config)#linecon0
Lab_B(configline)#login
Lab_B(configline)#password1234
Lab_B(configline)#

Alterarasenhadeacessoparatelnet
Lab_B(config)#linevty04
Lab_B(configline)#login
Lab_B(configline)#password1234
Lab_B(configline)#

AlterarasenhadeacessoparaAuxiliar
Lab_B(config)#lineaux0
Lab_B(configline)#login
%Logindisabledonline65,until'password'isset
Lab_B(configline)#password1234
Lab_B(configline)#

Alterarasenhadeacessoparaentradanomodoprivilegiadocomsenhacriptografada,estaa
senhavalida.
Lab_B(config)#enablesecret1234

Alterarasenhadeacessoparaentradanomodoprivilegiadocomsenhanocriptografada,esta
senhasservalidaseexistirproblemascomasenhacriptografada.
Lab_B(config)#enablepassword1234
Theenablepasswordyouhavechosenisthesameasyourenablesecret.
Thisisnotrecommended.Reentertheenablepassword.

ApagaraconfiguraodamemriaNVRAMdoroteador.
Lab_B#erasestar
Erasingthenvramfilesystemwillremoveallconfigurationfiles!Continue?[con
firm]
[OK]
Eraseofnvram:complete
Lab_B#
01:09:42:%SYS7NV_BLOCK_INIT:Initializedthegeometryofnvram
Lab_B#

ReniniciaroRoteador
Lab_B#reload

Systemconfigurationhasbeenmodified.Save?[yes/no]:n
Proceedwithreload?[confirm]

www.professorramos.com/roteador.htm

26/37

4/14/12

Router Cisco 2600

01:13:08:%SYS5RELOAD:Reloadrequestedbyconsole.

Mensagem(Banner)deEntradadoRoteador
Lab_B(config)#bannermotd"RoteadorLeandroRamos"
Lab_B(config)#

DescriodaportadoRoteador
Lab_B#conft
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Lab_B(config)#intf0/0
Lab_B(configif)#description#Porta100MbpsligadaaoSW7daRede1#

interfaceFastEthernet0/0
description#Porta100MbpsligadaaoSW7daRede1#
ipaddress219.17.100.1255.255.255.0
duplexauto
speedauto

ComandosparaconfiguraodasInterfaces
DentrodomododeconfiguraoGlobalusamosocomandointerfaceXXXparaentrardentrodainterface
(interfacef0/0paraportaFastEthernet0/0einterfaces0/1paraserial0/1),notequeopromptdoroteador
mudouparaLab_B(configif)#,depoisdeveremosatribuiroIPeaMascaraparaaportadoRoteadorcom
ocomandoipaddressIPMASK(ipaddress219.17.100.1255.255.255.0)esubiraportacomocomando
noshutdowneocomandodescriptionparainserirumcomentrionaporta.

Lab_B>enable
Password:
Lab_B#conft
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Lab_B(config)#interfacef0/0
Lab_B(configif)#ipaddress219.17.100.1255.255.255.0
Lab_B(configif)#noshutdown
Lab_B(configif)#descriptionPortaligadaaoSW

CopiaroIOSdaFlashparaumservidorTFTP(BackupdeIOS)

Lab_B#copyflashtftp
Sourcefilename[]?c2600dmz.12217a(2620XM).bin
Addressornameofremotehost[]?219.17.100.3
Destinationfilename[c2600dmz.12217a(2620XM).bin]?
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6215052bytescopiedin78.896secs(78775bytes/sec)

MudaraSeqnciadeBootdoRoteador,aoinvsdebuscaroIOSnaFLASH,buscaremosem
www.professorramos.com/roteador.htm

27/37

4/14/12

Router Cisco 2600

umservidorTFTP

Lab_B#conft
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Lab_B(config)#bootsystemtftpc2600dmz.12217a(2620XM).bin219.17.100.3
Lab_B(config)#^Z
Lab_B#
00:51:27:%SYS5CONFIG_I:Configuredfromconsolebyconsole
Lab_B#copyrunstar
Destinationfilename[startupconfig]?
Buildingconfiguration...
[OK]
Lab_B#

ConfiguraodoProtocoloRIP,paratrocadetabeladeroteamentocomseusvizinhos.OComando
routerripativaomododeconfigurao,notequeopromptalterouparaLab_B(configrouter)#eo
comandonetworkxx.xx.xx.xx,ondedevemosdeclararosendereosderededetodasasportas
locaisdoseuroteador.

Lab_B#conft
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Lab_B(config)#routerrip
Lab_B(configrouter)#network219.17.100.0
Lab_B(configrouter)#network199.6.13.0
Lab_B(configrouter)#network201.100.11.2
Lab_B(configrouter)#^Z
Lab_B#
Lab_B#showrun

Buildingconfiguration...
routerrip
network199.6.13.0
network201.100.11.0
network219.17.100.0

www.professorramos.com/roteador.htm

28/37

4/14/12

Router Cisco 2600

SubRedescomRoteadores

IP200.16.45.0/28
MASK255.255.255.240

24 214Subredes
24 214Hostsemcadasubrede

1SubRedeentreroteadores5
1SubRedeparacadaportaEthernet6
TotaldeSubredes11

PortasdoRoteador SubRedes EndereodeRede 1Host UltimoHost Broadcast

0
1
14
15
A(F0/0)
1
16
17
30
31
A(F0/1)
2
32
33
46
47
A(S0/0)B(S0/1)
3
48
49
62
63
A(S0/1)E(S0/0)
4
64
65
78
79
BF0/0
5
80
81
94
95
B(S0/0)C(S0/1)
6
96
97
110
111
C(F0/0)
7
112
113
126
127
C(S0/0)D(S0/1)
8
128
129
142
143
D(F0/1)
9
144
145
158
159
D(S0/0)E(S0/1)
10
160
161
174
175
E(F0/0)
11
176
177
190
191

12
192
193
206
207

13
208
209
222
223

14
224
225
238
239

Mapadarede(IPPortaConexo)

www.professorramos.com/roteador.htm

29/37

4/14/12

Router Cisco 2600

ResoluodoExerccioLab_B
Router>ena
Router#conft
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Router(config)#ints0/0
Router(configif)#ipadd200.16.45.97255.255.255.240
Router(configif)#noshut
Router(configif)#
00:04:48:%LINK3UPDOWN:InterfaceSerial0/0,changedstatetoup
00:04:49:%LINEPROTO5UPDOWN:LineprotocolonInterfaceSerial0/0,changedsta
tetoup
Router(configif)#clockrate56000
Router(configif)#exit
Router(config)#ints0/1
Router(configif)#ipadd200.16.45.50255.255.255.240
Router(configif)#noshut
00:06:05:%LINK3UPDOWN:InterfaceSerial0/1,changedstateipadd200.16.45.50

Router(configif)#clockrate56000
Router(configif)#exit
Router(config)#intf0/0
Router(configif)#ipadd200.16.45.81255.255.255.240
Router(configif)#noshut
00:07:14:%LINEPROTO5UPDOWN:LineprotocolonInterfaceFastEthernet0/0,chang
edstatetoup
Router(configif)#exit
Router(config)#hostnameLab_B
Lab_B(config)#routerrip
www.professorramos.com/roteador.htm

30/37

4/14/12

Router Cisco 2600

Lab_B(configrouter)#network200.16.45.96
Lab_B(configrouter)#network200.16.45.48
Lab_B(configrouter)#network200.16.45.80
Lab_B(configrouter)#exit
Lab_B(config)#enablesecretclass
Lab_B(config)#enablepasswordcisco
Lab_B(config)#noipdomainlookup
Lab_B(config)#iphostLab_A200.16.45.33200.16.45.65200.16.45.49200.16.45.17
Lab_B(config)#iphostLab_B200.16.45.97200.16.45.50200.16.45.81
Lab_B(config)#iphostLab_C200.16.45.98200.16.45.129200.16.45.113
Lab_B(config)#iphostLab_D200.16.45.130200.16.45.145200.16.45.161
Lab_B(config)#iphostLab_E200.16.45.162200.16.45.66200.16.45.177
Lab_B(config)#exit
Lab_B#
00:17:03:%SYS5CONFIG_I:Configuredfromconsolebyconsole
Lab_B#copyrunstar
Destinationfilename[startupconfig]?
Buildingconfiguration...
[OK]
Lab_B#shstar
Using890outof29688bytes
!
version12.2
servicetimestampsdebuguptime
servicetimestampsloguptime
noservicepasswordencryption
!
hostnameLab_B
!
enablesecret5$1$jPuB$E6k3C.o3Z0b8zAbbJRfYm.
enablepasswordcisco
!
ipsubnetzero
!
!
noipdomainlookup
iphostLab_E200.16.45.162200.16.45.66200.16.45.177
iphostLab_D200.16.45.130200.16.45.145200.16.45.161
iphostLab_C200.16.45.98200.16.45.129200.16.45.113
iphostLab_B200.16.45.97200.16.45.50200.16.45.81
iphostLab_A200.16.45.33200.16.45.65200.16.45.49200.16.45.17
!
!
!
!
interfaceFastEthernet0/0
ipaddress200.16.45.81255.255.255.240
duplexauto
speedauto
www.professorramos.com/roteador.htm

31/37

4/14/12

Router Cisco 2600

!
interfaceSerial0/0
ipaddress200.16.45.97255.255.255.240
nofairqueue
clockrate56000
!
interfaceSerial0/1
ipaddress200.16.45.50255.255.255.240
!
routerrip
network200.16.45.0
!
ipclassless
iphttpserver
!
!
linecon0
lineaux0
linevty04
!
end

Lab_B#pingLab_E

Typeescapesequencetoabort.
Sending5,100byteICMPEchosto200.16.45.162,timeoutis2seconds:
!!!!!
Successrateis100percent(5/5),roundtripmin/avg/max=92/95/96ms
Lab_B#tracerouteLab_C

Typeescapesequencetoabort.
TracingtheroutetoLab_C(200.16.45.98)

1Lab_C(200.16.45.98)16msec*16msec
Lab_B#

Configurarusuriosparaacessaroroteadordevemosdefinironomedousurioesenhacomo
comandousernameNOMEpasswordSENHAeloginLOCAL,paraoroteadorsolicitarasenha
(Lab_B(config)#linevty04Lab_B(configline)#loginlocal)

Lab_B#conft
Enterconfigurationcommands,oneperline.EndwithCNTL/Z.
Lab_B(config)#usernameleandropasswordpaocomovo
Lab_B(config)#usernamejoilsonpassword123senha
Lab_B(config)#linevty04
Lab_B(configline)#loginlocal
Lab_B(configline)#exit
Lab_B(config)#linecon0

www.professorramos.com/roteador.htm

32/37

4/14/12

Router Cisco 2600

Lab_B(configline)#loginlocal

AgoraoUSERNAMEaSENHAsersolicitadanologinviaCONSOLEeviaTELNET.

Lab_Bcon0isnowavailable

PressRETURNtogetstarted.

UserAccessVerification

Username:leandro
Password:
Lab_B>

Paracriptografartodasassenhasdoroteador

Lab_B(config)#servicepasswordencryption

Antes
Lab_B#showrun

usernameleandropassword0paocomovo
usernamejoilsonpassword0123senha

Depois
Lab_B#showrun

usernameleandropassword705080F1C2243
usernamejoilsonpassword70205085A1815

Comandotracerouteindicaocaminhopercorridoparaatingirumarede,podemosutilizareste
comandocomoipdodestinooucomseunomeseutilizadoservidorDNS.

Lab_B#traceroutelab_e

Typeescapesequencetoabort.
TracingtheroutetoLab_E(210.93.105.1)

1Lab_C(199.6.13.2)16msec16msec16msec
2Lab_D(204.204.7.2)32msec32msec28msec
3193.114.41.248msec*44msec
Asconfiguraesdarotaestticassoadministradasmanualmenteporumadministradorderedeque
ainsereemumaconfiguraodoroteador.Oadministradordeveatualizarmanualmenteessa

www.professorramos.com/roteador.htm

33/37

4/14/12

Router Cisco 2600

entradaderotaestticasemprequeumaatualizaodaalteraodatopologiadeinternetworkfor
necessria.ParaconfiguirarasrotasestticasusamosocomandoiprouteRede_DestinoMask
Porta_de_SadaouiprouteRede_DestinoMaskIP_do_1_Salto.
Lab_B(config)#iproute211.93.105.0255.255.255.0s0/0
Lab_B(config)#iproute223.8.151.0255.255.255.0199.6.13.2
Lab_B(config)#exit
Lab_B#showrun

iproute210.93.105.0255.255.255.0199.6.13.2
iproute223.8.151.0255.255.255.0199.6.13.2

VisualizarstatusdosProtocolosdeRoteamento

RIP
Update(Atualizao)
Invalid(Invalidar)
HoldDown(ContadorparaRemover)
Flush(Descartado)
DistanciaAdministrativa

30
180
180
240
120

Lab_B#showipprotocols
RoutingProtocolis"rip"
Sendingupdatesevery30seconds,nextduein16seconds
Invalidafter180seconds,holddown180,flushedafter240
Outgoingupdatefilterlistforallinterfacesisnotset
Incomingupdatefilterlistforallinterfacesisnotset
Redistributing:rip
Defaultversioncontrol:sendversion1,receiveanyversion
InterfaceSendRecvTriggeredRIPKeychain
FastEthernet0/0112
Serial0/0112
Serial0/1112
Automaticnetworksummarizationisineffect
Maximumpath:4
RoutingforNetworks:
199.6.13.0
200.16.45.0
201.100.11.0
219.17.100.0
RoutingInformationSources:
GatewayDistanceLastUpdate
199.6.13.212000:00:18
Distance:(defaultis120)

Lab_B#

www.professorramos.com/roteador.htm

34/37

4/14/12

Router Cisco 2600

Showiproute,visualizaatabeladeroteamentocontendoasrotaseotipoSEsttica,RRIP,
CDiretamenteConectada,etc..

Lab_B#showiproute
Codes:Cconnected,Sstatic,IIGRP,RRIP,Mmobile,BBGP
DEIGRP,EXEIGRPexternal,OOSPF,IAOSPFinterarea
N1OSPFNSSAexternaltype1,N2OSPFNSSAexternaltype2
E1OSPFexternaltype1,E2OSPFexternaltype2,EEGP
iISIS,suISISsummary,L1ISISlevel1,L2ISISlevel2
iaISISinterarea,*candidatedefault,Uperuserstaticroute
oODR,Pperiodicdownloadedstaticroute

Gatewayoflastresortisnotset

S210.93.105.0/24[1/0]via199.6.13.2
S211.93.105.0/24isdirectlyconnected,Serial0/0
R205.7.5.0/24[120/1]via201.100.11.1,00:00:01,Serial0/1
C219.17.100.0/24isdirectlyconnected,FastEthernet0/0
R192.168.10.0/24[120/1]via201.100.11.1,00:00:01,Serial0/1
C199.6.13.0/24isdirectlyconnected,Serial0/0
R193.114.41.0/24[120/2]via199.6.13.2,00:00:10,Serial0/0
[120/2]via201.100.11.1,00:00:01,Serial0/1
R204.204.7.0/24[120/1]via199.6.13.2,00:00:11,Serial0/0
R192.5.5.0/24[120/1]via201.100.11.1,00:00:02,Serial0/1
S223.8.151.0/24[1/0]via199.6.13.2
C201.100.11.0/24isdirectlyconnected,Serial0/1
Lab_B#

OComandodebugiprip,permiteavisualizaodaConfiguraodastabelasderoteamentoem
temporeal.

Lab_B#debugiprip
RIPprotocoldebuggingison
06:47:14:RIP:sendingv1updateto255.255.255.255viaFastEthernet0/0(219.17.
100.1)
06:47:14:RIP:buildupdateentries
06:47:14:network192.5.5.0metric2
06:47:14:network192.168.10.0metric2
06:47:14:network193.114.41.0metric3
06:47:14:network199.6.13.0metric1
06:47:14:network201.100.11.0metric1
06:47:14:network204.204.7.0metric2
06:47:14:network205.7.5.0metric2
06:47:14:RIP:sendingv1updateto255.255.255.255viaSerial0/0(199.6.13.1)
06:47:14:RIP:buildupdateentries
06:47:14:network192.5.5.0metric2
06:47:14:network192.168.10.0metric2

www.professorramos.com/roteador.htm

35/37

4/14/12

Router Cisco 2600

06:47:14:network201.100.11.0metric1
06:47:14:network205.7.5.0metric2
06:47:14:network219.17.100.0metric1
06:47:27:204.204.7.0in1hops
06:47:27:211.93.105.0in2hops
06:47:27:223.8.151.0in1hops
Lab_B#nodebugiprip
RIPprotocoldebuggingisoff

AlteraraversodoprotocoloRIPparaverso2.0quetrabalhacomSubRedes.

Lab_B(config)#routerrip
Lab_B(configrouter)#version?
<12>version
Lab_B(configrouter)#version2

ConfigurarRotaPadro,comocomandoipdefaultnetworkNdaRede

Lab_B(config)#ipdefaultnetwork223.8.151.0

DesabilitaroProtocoloderoteamentodinmicoRIP

Lab_B(config)#norouterrip

ConfiguraroProtocoloderoteamentodinmicoIGRPdefinindonocomandorouterigrp
N_do_sistema_autnomo.Estendeveseromesmodentrodetodasuainternetwork.

Lab_B(config)#routerigrp?
<165535>Autonomoussystemnumber

Lab_B(config)#routerigrp100
Lab_B(configrouter)#network199.6.13.0
Lab_B(configrouter)#network201.100.11.0
Lab_B(configrouter)#network219.17.100.0
Lab_B(configrouter)#^Z
Lab_B#shrun

routerigrp100
network199.6.13.0
network201.100.11.0
network219.17.100.0
!
....

www.professorramos.com/roteador.htm

36/37

4/14/12

Router Cisco 2600

www.professorramos.com

LeandroRamosleandro@professorramos.com

www.professorramos.com/roteador.htm

37/37