Procisa
Manual de Configuração Cisco
APRESENTAÇÃO
COMANDOS
TESTE DE PING
CONFIGURAÇÕES
QUEBRA DE SENHA
IOS
LICENÇA
Atualizado: 04/02/2015
02ª Edição
Sumário
Apresentação do Roteador CISCO ..................................................................................................................................... 3
Comandos Cisco ................................................................................................................................................................ 5
Senha Padrão .................................................................................................................................................................... 6
Teste de ping ..................................................................................................................................................................... 7
Configuração acima 4M (GigabitEthernet) ....................................................................................................................... 8
Configuração VLAN (GigabitEthernet) ARPA .................................................................................................................. 10
Configuração até 2M (Serial) PPP ................................................................................................................................... 11
Configuração 4M (Serial 2x 2048k) Multilink .................................................................................................................. 13
Configuração 10M (Serial 5x 2048k) Multilink................................................................................................................ 15
Configuração Serial (FRAME-RELAY) ............................................................................................................................... 19
Quebra de senha ............................................................................................................................................................. 20
Usando um dos Emuladores ...................................................................................................................................... 20
Backup de IOS com TFTP ................................................................................................................................................. 22
Atualização de IOS com TFTP .......................................................................................................................................... 23
Backup de IOS com Pen Driver ........................................................................................................................................ 26
Atualização de IOS com Pen Driver ................................................................................................................................. 28
Procedimento para Instalação de licença ....................................................................................................................... 29
Rogério T. Fernandes 2
Apresentação do Roteador CISCO
Descrição LED área
SYS: Operação normal verde.
Verde piscando - sistema está inicializando ou está no modo ROM MONITOR.
Âmbar - erro de sistema.
Off - energia está desligado ou placa de sistema está com defeito.
ACT: Solid ou piscando - todos os pacotes são transmitidos / recebidos em qualquer WAN /
LAN, ou ao monitorar a atividade do sistema.
PoE: Verde - PoE está disponível.
Âmbar - Fonte de alimentação não está fornecendo POE POWER.
Rogério T. Fernandes 3
Nota:
SLOT de EHWIC: integradas para configurações flexíveis e apoio de dois módulos:
1 cama de casal ampla MÓDULO EHWIC / HWIC HWIC-D ou único de largura;
ou 2 único módulo EHWIC / HWIC de largura.
EHWIC: interface Gigabitethernet auxiliares ( fazem a função de Switch no roteador ).
EHWIC 1T1/ E1: utilização para o PABX + Cabo proprietário usado para conexão entre
roteador e PABX.
HWIC: Interface Serial com cabo V.35 Interliga o modem / Fracionador (LOWSPEED -
baixa velocidade até 2M).
Porta AUX (entrada auxiliar) - interface backup para configuração remota, exemplo, interligação
entre dois roteadores e modem discado.
Porta Console: interface de configuração do roteador.
Porta GigabitEthernet (GE 0/0 e 0/1) - Duas portas GigabitEthernet (RJ-45).
S (Speed): 1 blink + pausa - porta GE operando a 10 Mb/s (velocidade até 2M).
2 blink + pausa - porta GE operando a 100 Mb/s (velocidade até 20M).
3 blink + pausa - porta GE opera em 1000 Mb/s (velocidade até 1G).
L (Link): Verde - ligação GE está estabelecida.
Off - Nenhuma ligação GE está estabelecido.
Porta USB 2.0: utilizado para atualizações de IOS e instalação de licença através do PEN DRIVE
de 2G de memória.
PVDM: memória física para expansão de memória no roteador.
Rogério T. Fernandes 4
Comandos Cisco
enable: (INICIA MODULO PRIVILEGIADO DO CPE).
configure terminal: (INICIA MODULO DE CONFIGURAÇÃO DO CPE).
ip address: (ADICIONA NA INTERFACE O IP + MASCARA CONFIGURADO).
no ip address: (RETIRA DA INTERFACE O IP + MASCARA CONFIGURADO).
no ip domain-lookup: (DESABILITA A ESPECIFICAÇÃO DE ORIGEM PARA A RESOLUÇÃO).
no shutdown: (HABILITA AS INTERFACES).
shutdown: (BLOQUEIA A INTERFACE).
service password- encryption: (CRIPTOGRAFA TODAS AS SENHAS NO ROTEADOR).
hostname: (RENOMEIA O CPE).
show version: (VERIFICA VERSÃO DE IOS, QUANTIDADE DE MEMORIA RAM E FLASH,
REGISTRADOR QUE ESTA SETADO E QUANTIDADE DE INTERFACES EXISTENTES NO ROUTER).
show running-config: (VERIFICA AS CONFIGURAÇÕES QUE ESTÃO PRESENTES NO ROUTER MAS
NÃO ESTÃO SALVAS).
show startup-config: (VERIFICA AS CONFIGURAÇÕES QUE ESTÃO SALVAS NA NVRAM).
show flash: (VERIFICA A IOS QUE ESTA GRAVADA NA MEMORIA FLASH DO ROUTER).
show ip interface brief: (VERIFICA STATUS DAS INTERFACES DO ROUTER RESUMIDAS).
show interface: (VERIFICA O DIAGNÓSTICO DAS INTERFACES).
confreg 0x2142: (ALTERA O REGISTRADOR QUANDO O ROUTER ESTIVER EM MODO ROMMON).
config-register 0x2102: (ALTERA O REGISTRADOR QUANDO O ROUTER ESTIVER EM MODO
NORMAL).
copy tftp flash: (COPIA A IOS DA MAQUINA PARA O ROTEADOR).
copy flash tftp: (COPIA A IOS DO ROTEADOR PARA A MAQUINA – BACKUP).
delete flash: (DELETA QUALQUER ARQUIVO ARMAZENADO NA MEMÓRIA FLASH).
copy usbflash1: (COPIA A IOS DO PEN DRIVER PARA O ROTEADOR).
copy flash usbflash1: (COPIA A IOS DO ROTEADOR PARA O PEN DRIVER – BACKUP).
Rogério T. Fernandes 5
boot system flash: (PRIORIZA A IOS SELECIONADA QUANDO HÁ MAIS DE UMA).
copy running-config startup-config: (COPIA AS CONFIGURAÇÕES QUE ESTÃO NA RAM PARA
NVRAM).
ping+ip: (TESTA CONECTIVIDADE DE UM PONTO DA REDE A OUTRO).
terminal lenght 0: ( EXECUTA O COMANDO ATÉ O FINAL).
Obs:_______________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
__________________________________________________________________
Senha Padrão
#
conf t
enable secret PRO1AN
username EBT password CQMR
line console 0
password CQMR
login local
exit
line vty 0 4
password CQMR
login local
exit
line aux 0
password CQMR
login local
exit
!
exit
#
write ( salvar as configurações )
Rogério T. Fernandes 6
Teste de ping
#
ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/4 ms
#
ping [Link] repeat 40 size 500
Type escape sequence to abort.
Sending 40, 500-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (40/40), round-trip min/avg/max = 1/1/4 ms
#
ping
Protocol [ip]:
Target IP address: [Link]
Repeat count [5]: 40
Datagram size [100]: 500
Timeout in seconds [2]:
Extended commands [n]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 40, 500-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (40/40), round-trip min/avg/max = 1/1/4 ms
Router#
Obs: no teste de ping pode ocorre duas situações teste não ok e teste ok, por exemplo:
Teste de ping não ok ( ..... )
Rogério T. Fernandes 7
Teste de ping ok ( !!!!! )
Obs:_______________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Configuração acima 4M (GigabitEthernet)
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
>enable
#
Configure e salve a senha padrão EBT (conforme página 06)
#
sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/0/0 unassigned YES NVRAM administratively down down
!
Rogério T. Fernandes 8
#
conf t
interface GigabitEthernet0/0
description *** NOME DO CLIENTE| VELOCIDADE | DESIGNAÇÃO DO ACESSO ***
bandwidth VELOCIDADE
ip address [Link] [Link] (IP SERIAL CLIENTE + MASCARA /30)
duplex full
speed 100
no shutdown
exit
!
ip route [Link] [Link] [Link] (IP SERIAL EBT)
exit
!
interface GigabitEthernet0/1
description *** CONEXAO LAN ***
ip address [Link] [Link] ( IP DE LAN + MASCARA /28 )
duplex auto
speed auto
no shutdown
exit
!
host name NOME DO CLIENTE (NOME DO CLIENTE)
exit
!
#
sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 [Link] YES NVRAM up up
GigabitEthernet0/1 [Link] YES NVRAM up up
Serial0/0/0 unassigned YES NVRAM administratively down down
!
#
copy running-config startup-config
yes
!
write ( salvar as configurações)
Obs:_______________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Rogério T. Fernandes 9
Configuração VLAN (GigabitEthernet) ARPA
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
>enable
#
Configure e salve a senha padrão EBT (conforme página 06)
#
sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/0/0 unassigned YES NVRAM administratively down down
!
#
conf t
interface GigabitEthernet0/0
no ip address
duplex full
speed 100
no shutdown
exit
!
interface GigabitEthernet0/0.57
description *** NOME DO CLIENTE | VELOCIDADE | DESIGNAÇÃO DO ACESSO ***
encapsulation dot1q 57
ip address [Link] [Link] (IP SERIAL CLEINTE + MASCARA)
no shutdown
exit
!
ip route [Link] [Link] [Link] (IP SERIAL EBT)
!
interface GigabitEthernet0/1
description *** CONEXAO LAN ***
ip address [Link] [Link] (IP DE LAN + MASCARA /30)
duplex auto
speed auto
no shutdown
exit
!
Rogério T. Fernandes 10
host name NOME DO CLIENTE (NOME DO CLIENTE)
!
exit
!
#
sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM up up
GigabitEthernet0/0.57 [Link] YES NVRAM up up
GigabitEthernet0/1 [Link] YES NVRAM up up
Serial0/0/0 unassigned YES NVRAM administratively down down
!
#
copy running-config startup-config
yes
!
write ( salvar as configurações)
Obs:_______________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Configuração até 2M (Serial) PPP
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
>enable
#
Configure e salve a senha padrão EBT (conforme página 06)
Rogério T. Fernandes 11
#
sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/0/0 unassigned YES NVRAM administratively down down
!
#
conf t (CONFIGURE TERMINAL)
Int serial 0/0/0
description *** NOME DO CLIENTE | VELOCIDADE | DESIGNAÇÃO DO ACESSO ***
bandwidth 2048
ip add [Link] [Link] (SERIAL CLIENTE + MASCARA /30)
encapsulation PPP
no fair-queue
no shutdown
exit
!
ip route [Link] [Link] [Link] (IP SERIAL EBT)
!
int gigabitethernet 0/0
ip add [Link] [Link] (IP DE LAN + MASCARA /28)
duplex auto
speed auto
no shutdown
exit
!
host name NOME DO CLIENTE (NOME DO CLIENTE)
exit
!
#
Sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 [Link] YES manual up up
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/0/0 [Link] YES manual up up
!
#
copy running-config startup-config
yes
!
write ( salvar as configurações)
Rogério T. Fernandes 12
Obs:_______________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Configuração 4M (Serial 2x 2048k) Multilink
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
>enable
#
Configure e salve a senha padrão EBT (conforme página 06)
#
sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/0/0 unassigned YES NVRAM administratively down down
Serial0/0/1 unassigned YES NVRAM administratively down down
!
#
conf t (CONFIGURE TERMINAL)
interface Multilink1
description *** NOME DO CLIENTE | VELOCIDADE | DESIGNAÇÃO MULTILINK ***
bandwidth 4096
ip address [Link] [Link] (IP SERIAL CLIENTE +MASCARA /30)
ppp multilink
ppp multilink fragment delay 10
ppp multilink links minimum 1
ppp multilink interleave
ppp multilink group 1
max-reserved-bandwidth 99
no shutdown
exit
!
Hostname NOME DO CLIENTE (NOME DO CLIENTE)
exit
!
#
Rogério T. Fernandes 13
sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/0/0 unassigned YES NVRAM administratively down down
Serial0/0/1 unassigned YES NVRAM administratively down down
Multilink1 [Link] YES manual down down
!
#
conf t
interface Serial0/0/0
description *** SPOIP12345 *** (DESIGNAÇÃO DE CADA ACESSO)
bandwidth 2048
no ip address
encapsulation ppp
no fair-queue
ppp chap hostname MULTI54321 (DESIGNAÇÃO MULTILINK)
ppp multilink
ppp multilink group 1
max-reserved-bandwidth 99
no shutdown
exit
!
interface Serial0/0/1
description *** SPOIP12345 *** (DESIGNAÇÃO DE CADA ACESSO)
bandwidth 2048
no ip address
encapsulation ppp
no fair-queue
ppp chap hostname MULTI54321 (DESIGNAÇÃO MULTILINK)
ppp multilink
ppp multilink group 1
max-reserved-bandwidth 99
no shutdown
exit
!
ip forward-protocol nd
ip route [Link] [Link] Multilink1
ip route [Link] [Link] [Link] (IP DA SERIAL EBT)
!
interface GigabitEthernet0/0
description *** CONEXAO LAN ***
ip address [Link] [Link] (IP DE LAN + MASCARA /28)
duplex auto
speed auto
no shutdown
exit
Rogério T. Fernandes 14
!
hostname NOME DO CLIENTE
exit
!
#
sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 [Link] YES manua l up up
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/0/0 unassigned YES manual up up
Serial0/0/1 unassigned YES manual up up
Multilink1 [Link] YES manual up up
#
copy running-config startup-config
yes
!
write (salvar as configurações)
Obs:_______________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Configuração 10M (Serial 5x 2048k) Multilink
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
>enable
#
Configure e salve a senha padrão EBT (conforme página 06)
#
sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/1/0 unassigned YES NVRAM administratively down down
Rogério T. Fernandes 15
Serial0/2/0 unassigned YES NVRAM administratively down down
Serial0/2/1 unassigned YES NVRAM administratively down down
Serial0/3/0 unassigned YES NVRAM administratively down down
Serial0/3/1 unassigned YES NVRAM administratively down down
!
#
conf t
!
interface Multilink1
description NOME CLIENTE | 10240K |DESIGNAÇÃO MULTILINK
bandwidth 10240
ip address [Link] [Link] ( IP SERIAL CLIENTE + MASCARA)
ppp multilink
ppp multilink links minimum 1
ppp multilink interleave
ppp multilink group 1
ppp multilink fragment delay 10
max-reserved-bandwidth 99
no shutdown
exit
!
host name NOME DO CLIENTE (NOME DO CLIENTE)
exit
!
#
sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/1/0 unassigned YES NVRAM administratively down down
Serial0/2/0 unassigned YES NVRAM administratively down down
Serial0/2/1 unassigned YES NVRAM administratively down down
Serial0/3/0 unassigned YES NVRAM administratively down down
Serial0/3/1 unassigned YES NVRAM administratively down down
Multilink1 [Link] YES manual down down
!
#
conf t
interface Serial0/1/0
description *** SPOIP12345 *** (DESIGNAÇÃO DE CADA ACESSO)
bandwidth 2048
no ip address
encapsulation ppp
no fair-queue
ppp chap hostname MULTI54321 (DESIGNAÇÃO MULTILINK)
ppp multilink
Rogério T. Fernandes 16
ppp multilink group 1
max-reserved-bandwidth 99
no shutdown
exit
!
interface Serial0/2/0
description *** SPOIP12345 *** (DESIGNAÇÃO DE CADA ACESSO)
bandwidth 2048
no ip address
encapsulation ppp
no fair-queue
ppp chap hostname MULTI54321 (DESIGNAÇÃO MULTILINK)
ppp multilink
ppp multilink group 1
max-reserved-bandwidth 99
no shutdown
exit
!
interface Serial0/2/1
description *** SPOIP12345 *** (DESIGNAÇÃO DE CADA ACESSO)
bandwidth 2048
no ip address
encapsulation ppp
no fair-queue
ppp chap hostname MULTI54321 (DESIGNAÇÃO MULTILINK)
ppp multilink
ppp multilink group 1
max-reserved-bandwidth 99
no shutdown
exit
!
interface Serial0/3/0
description *** SPOIP12345 *** (DESIGNAÇÃO DE CADA ACESSO)
bandwidth 2048
no ip address
encapsulation ppp
no fair-queue
ppp chap hostname MULTI54321 (DESIGNAÇÃO MULTILINK)
ppp multilink
ppp multilink group 1
max-reserved-bandwidth 99
no shutdown
exit
!
interface Serial0/3/1
description *** SPOIP12345 *** (DESIGNAÇÃO DO ACESSO)
bandwidth 2048
Rogério T. Fernandes 17
no ip address
encapsulation ppp
no fair-queue
ppp chap hostname MULTI54321 (DESIGNAÇÃO MULTILINK)
ppp multilink
ppp multilink group 1
max-reserved-bandwidth 99
no shutdown
exit
!
ip route [Link] [Link] [Link] (IP SERIAL EBT)
!
interface GigabitEthernet0/0
description ***CONEXAO LAN***
ip address [Link] (IP DE LAN + MASCARA /28)
duplex auto
speed auto
no shutdown
exit
!
hostname NOME DO CLIENTE
exit
!
#
sh ip int br
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 [Link] YES manual up up
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/1/0 unassigned YES manual up up
Serial0/2/0 unassigned YES manual up up
Serial0/2/1 unassigned YES manual up up
Serial0/3/0 unassigned YES manual up up
Serial0/3/1 unassigned YES manual up up
Multilink1 [Link] YES manual up up
!
#
copy running-config startup-config
yes
!
write ( salvar as configurações)
Obs:_______________________________________________________________
___________________________________________________________________
Rogério T. Fernandes 18
___________________________________________________________________
___________________________________________________________________
Configuração Serial (FRAME-RELAY)
--- System Configuration Dialog ---
Continue with configuration dialog? [yes/no]: no
>enable
#
Configure e salve a senha padrão EBT (conforme página 06)
#
sh ip int br
!
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/0/0 unassigned YES NVRAM administratively down down
!
#
conf t
interface Serial0/1/0
description *** SPOIP12345 (DESIGNAÇÃO DO ACESSO)
bandwidth 64
no ip address
encapsulation frame-relay
load-interval 30
serial restart-delay 0
frame-relay traffic-shaping
frame-relay lmi-type cisco
frame-relay ip rtp header-compression
frame-relay intf-type dce
no shutdow
exit
!
interface Serial0/1/0.1 point-to-point
bandwidth 64
ip address [Link] [Link] (IP SERIAL CLIENTE + MASCARA /30)
ip pim sparse-mode
Rogério T. Fernandes 19
frame-relay interface-dlci 100
class OMEGA
no shutdown
exit
ip route [Link] [Link] [Link] (IP SERIAL DA EBT)
!
Hostname NOME DO CLIENTE (NOME DO CLIENTE)
!
exit
#
!
sh ip int br
!
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/1 unassigned YES NVRAM administratively down down
Serial0/1/0 unassigned YES unset up up
Serial0/1/0.1 [Link] YES manual up up
!
#
copy running-config startup-config
yes
!
write ( salvar as configurações)
Obs:_______________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Quebra de senha
Usando um dos Emuladores
Ctrl + Break ( HIPER-TERMINAL )
Ctrl + Break ( PUTTY )
Alt + B ( TERA-TERMINAL )
Rogério T. Fernandes 20
1. Desligue o roteador no botão Power ON/OFF e o liga em seguida, antes do mesmo rodar a
IOS seguir orientação abaixo:
2. Pressionar alternadamente os botões acima (DEPENDENDO DO EMULADOR) roteador
inicia em modo ROMMON onde irá aparecer a seguinte informação:
Monitor: command "boot" aborted due to user interrupt
rommon 1 > confreg 0x2142
3. Após setar o registro de configuração em 0x2142 aplica -se um reload no roteador com o
comando reset;
Rommon 2 > reset
4. O roteador irá reinicializar e assim que fazer o BOOT, irá fazer uma pergunta se você
gostaria de realizar uma configuração inicial por dialogo, responda NO;
Would you like to enter the initial configuration dialog ? [ Yes / no ] = NO
Recuperar configuração
Router> enable
Router# copy startup-config running-config
Alterar o registrador
Router> enable
Router#conf t
Router (configure)#config-register 0x2102
Alterar a senha para padrão EBT
#
configure terminal
enable secret PRO1AN
username EBT password CQMR
line console 0
password CQMR
login local
exit
line vty 0 4
Rogério T. Fernandes 21
password CQMR
login local
exit
line aux 0
password CQMR
login local
exit
exit
write
show version
reload
Obs:_______________________________________________________________
___________________________________________________________________
___________________________________________________________________
Backup de IOS com TFTP
Antes mesmo de realizar uma atualização da IOS é possível realizar um Backup da IOS como
nos procedimentos a seguir:
1. Configurar IP na Interface de LAN do Roteador.
exemplo:
enable
config terminal
interface GigabitEthernet 0/0
ip address [Link] [Link]
no shutdown
exit
2. Configurar o seguinte IP na placa de rede no notebook:
3. Testar a conectividade entre o Roteador e o Computador no com o comando PING.
Rogério T. Fernandes 22
4. Executar o Start no Servidor de TFTP do notebook.
Obs: o servidor de TFTP deverá estar com o IP e apontando para a pasta e o nome IOS com
a versão correta.
Exemplo:
Crie uma pasta na área de trabalho do
notebook e aponte para a pasta nova
onde será realizado o Backup.
5. No roteador executar o comando Copy flash tftp:
Será solicitado as informações abaixo:
Exemplo:
#copy flash tftp:[Link]
Address or name of remote host []? [Link] obs: ( IP do Notebook )
Source filename []?[Link] (nome da IOS Backup)
Destination filename [[Link]]? (Se tiver ok “ Enter “)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
6. Após finalizar o processo acima confirme na área de trabalho na pasta nova se foi realizado
o backup.
Atualização de IOS com TFTP
Nota:
7. Verificar a plataforma (equipamento) com a versão de IOS a ser baixada.
Exemplo:
Roteador - CISCO 1905
Versão de IOS: [Link]
8. Verificar a quantidade de memória exigida pela IOS (tamanho do arquivo).
Rogério T. Fernandes 23
9. Verificar a quantidade de memória existente no Roteador. ( Show Version ).
Obs: A quantidade de memória existente no Roteador deverá ser igual ou superior a memória
exigida pela IOS.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
[Link]
If you require further assistance please contact us by sending email to
export@[Link].
Cisco CISCO1905BR/K9 (revision 1.0) with 225280K/36864K bytes of memory.
Processor board ID TSP1819ABGF
2 Gigabit Ethernet interfaces
1 Serial(sync/async) interface
1 terminal line
DRAM configuration is 64 bits wide with parity disabled.
255K bytes of non-volatile configuration memory.
249840K bytes of USB Flash usbflash0 (Read/Write)
10. Configurar IP na Interface de LAN do Roteador.
ex: enable
config terminal
interface fastethernet 0/0
ip address [Link] [Link]
no shutdown
end
11. Configurar IP no computador ( notebook ).
12. Testar a conectividade entre o Roteador e o Computador com o comando PING.
13. Executar o Start no Servidor de TFTP do notebook.
Obs: o servidor de TFTP deverá estar com o IP e apontando para a pasta e o nome IOS com
a versão correta.
Exemplo:
Rogério T. Fernandes 24
Browse = Crie uma pasta na área de trabalho do notebook e aponte para a pasta nova onde será
realizado o Backup.
Show Dir = Aponte na pasta a nova IOS que deseja atualizar e de um ok.
14. No roteador executar o comando Copy tftp flash:
Será solicitado as informações abaixo:
Exemplo:
#copy tftp flash: [Link]
Address or name of remote host []? [Link] obs: ( IP do Notbook )
Source filename []?[Link] (nome da IOS nova)
Destination filename [[Link]]? (Se tiver ok confirmar)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
15. Após finalizar o processo acima executar o comando Show Flash e verificar se foi atualizado
corretamente.
Ex:
Router#sh flash:
System flash directory:
File Length Name/status
1 13072996 [Link]
[13073060 bytes used, 20219224 available, 33292284 total]
32768K bytes of processor board System flash (Read/Write)
Router#
16. Agora basta configurar para o roteador reiniciar com a Aponte a pasta
nova IOS na inicialização:
Aponte a IOS para atualização
Exemplo:
Rogério T. Fernandes 25
Router(config)#boot system flash [Link]
17. Estando correta a IOS atualizada executar o comando RELOAD para a inicialização com a
nova versão de IOS.
18. Após reinicializar o Roteador, executar o comando SHOW VERSION e verificar a IOS .
Ex:
Router#show version
Cisco IOS Software, C1900 Software (C1900-SY7-M), Version 12.4(19b), RELEASE
SOFTWARE (fc1)
Technical Support: [Link]
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Fri 13-Jun-08 00:17 by prod_rel_team
ROM: System Bootstrap, Version 12.1(5r)T1, RELEASE SOFTWARE (fc1)
Router uptime is 29 minutes
System returned to ROM by power-on
System image file is “[Link]"
Cisco 1905 (MPC860P) processor (revision 0x200) with 83559K/14745K bytes of memory.
Processor board ID JAD054803K2 (2314666373), with hardware revision 1187
MPC860P processor: part number 5, mask 2
1 GigabitEthernet interface
2 Serial(sync/async) interfaces
32K bytes of NVRAM.
32768K bytes of processor board System flash (Read/Write)
Configuration register is 0x2102
Router#
Obs:_______________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Backup de IOS com Pen Driver
Rogério T. Fernandes 26
1. Insira o Pen Drive no roteador, conecte o seu notebook na porta de console e digite o seu
nome de usuário e senha.
2. Digite "copy flash usbflash1:Nome-do-backup-do-IOS" para fazer uma cópia de segurança
do IOS atual.
Exemplo:
Router#copy flash usbflash1:[Link]
Destination filename [[Link]]? ( confirmar )
progress...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
53509352 bytes copied in 108.052 secs (495219 bytes/sec)
Router#
3. Digite “show ushflash1” para confirmar se o Backup-do-IOS foi realizado com sucesso.
Exemplo:
Router#show flash:
flash:/
1 -rw- 35083660 Jul 14 2010 16:54:30 -03:00 [Link]
2 -rw- 53509352 Jan 7 2010 20:20:16 -03:00 [Link]
129748992 bytes total (35168256 bytes free)
Router#
Obs:_______________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Rogério T. Fernandes 27
Atualização de IOS com Pen Driver
Atualização de IOS via USB
Pré-requisitos:
Pen Drive de 2G de memória formatado como FAT;
Roteadores família 1800, 2800, 3800 entre outros modelos com porta USB.
19. Primeiramente baixar a IOS desejada e copiar na raiz de um Pen Drive.
20. Após copiar a IOS inserir o Pen Driver na porta USB do roteador.
21. Quando inserimos o Pen Drive no roteador, imediatamente ele nos informa a seguinte
mensagem:
Exemplo: Jan 7 11:03:10.251: %USBFLASH-5-CHANGE: usbflash1 has been inserted!
22. Digite no roteador o comando (show usbflash1:). Esse comando exibe o arquivos contidos no
Pen Driver, confirmar se o arquivo da IOS exibe no mesmo.
Exemplo:
Router#show usbflash1:?
Usbflash1:[Link]
Usbflash1:[Link]
Usbflash1:Notes 5.03
Usbflash1:[Link]
23. Após confirmado no PenDriver copie no nome da IOS e digite no roteador o comando (copy
usbflash1:[Link] flash:). Esse comando copia a IOS da origem de um Pen Driver
para a memória flash do roteador.
Exemplo:
Router#copy usbflash1:[Link] flash:
Destination filename [[Link]]? ( confirmar )
progress...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
53509352 bytes copied in 108.052 secs (495219 bytes/sec)
Router#
Rogério T. Fernandes 28
24. Agora vamos ver se realmente a IOS foi copiada no roteador:
Exemplo:
Router#show flash:
flash:/
1 -rw- 35083660 Jul 14 2010 16:54:30 -03:00 [Link]
2 -rw- 2903 Jul 14 2010 17:03:08 -03:00 [Link]
3 -rw- 2938880 Jul 14 2010 17:03:22 -03:00 [Link]
4 -rw- 1038 Jul 14 2010 17:03:32 -03:00 [Link]
5 -rw- 122880 Jul 14 2010 17:03:40 -03:00 [Link]
6 -rw- 793739 Jul 14 2010 17:03:48 -03:00 [Link]
7 -rw- 1697952 Jul 14 2010 17:04:02 -03:00 [Link]
8 -rw- 415956 Jul 14 2010 17:04:16 -03:00 [Link]
9- rw-53509352 Jan7 2010 20:20:16 -03:00 [Link]
129748992 bytes total (35168256 bytes free)
Router#
25. Agora basta configurar para o roteador subir a nova IOS na inicialização:
Exemplo:
Router(config)#boot system flash:[Link]
Obs:_______________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Procedimento para Instalação de licença
Este tutorial tem como objetivo ensinar a instalar a licença CISCO copiando o arquivo de um Pen
Drive para a memória flash do roteador.
Obviamente o roteador deverá ter uma interface USB.
O roteador utilizado no tutorial foi o Cisco 2911.
1° - Copiar o arquivo de licença,“.LIC”, para o Pen Drive.
Rogério T. Fernandes 29
2° - Conectar o pendrive na porta USB do roteador e identificar em qual porta foi conectado (0 ou
Ao conectá-lo aparecerá a mensagem abaixo.
Executando o comando SHOW USBFLASH0, listará todos os arquivos armazenados no
pendrive.
Identifique se a imagem está na lista.
3° - Copie o arquivo do pendrive para a memória flash do roteador inserindo o seguinte comando:
Router#copy usbflash0:[Link] flash
4° Para verificar se o arquivo foi copiado para a memória flash do roteador, execute o comando:
Router:show flash
Serão listados todos os arquivos da memória interna em ordem de armazenamento, portanto o
ultimo arquivo enviado irá para o final da lista.
Rogério T. Fernandes 30
5° Após copiar o arquivo para o roteador deverá instalar a licença com o seguinte comando:
Router:license install flash:[Link]
6° Realizar o reset no roteador.
Obs:_______________________________________________________________
___________________________________________________________________
___________________________________________________________________
___________________________________________________________________
Rogério T. Fernandes 31