recovery-router

ASIX M07-PAX Planificació i administració de xarxes

Recuperació del password del router:

18-01-2010

ud2-na1: introducció als routers

Crackejar el password

Arrancada crack passwd router:

1) reboot + break = rommon

2) registre de configuració a 0x2142

3) boot

4) entrar a mode enable

5) copiar l'startup a la running

6) posar el nou password

7) copyar la running a la startup

8)posar el valor per defecte del registre de configuració (0x2102)

9)reload

Restaurar el ios dels routers

How to Download a Software Image to a Cisco 2600 via TFTP Using the tftpdnld ROMMON Command

http://www.cisco.com/en/US/products/hw/routers/ps259/products_tech_note09186a008015bf9e.shtml

rommon 16 > IP_ADDRESS=171.68.171.0

rommon 17 > IP_SUBNET_MASK=255.255.254.0

rommon 18 > DEFAULT_GATEWAY=171.68.170.3

rommon 19 > TFTP_SERVER=171.69.1.129

rommon 20 > TFTP_FILE=c2600-is-mz.113-2.0.3.Q

rommon 21 > tftpdnld

IP_ADDRESS: 171.68.171.0

IP_SUBNET_MASK: 255.255.254.0

DEFAULT_GATEWAY: 171.68.170.3

TFTP_SERVER: 171.69.1.129

TFTP_FILE: c2600-is-mz.113-2.0.3.Q

Invoke this command for disaster recovery only. WARNING: all existing data in all partitions on flash will be lost! Do you wish to continue? y/n: [n]: y

Receiving c2600-is-mz.113-2.0.3.Q from 171.69.1.129 !!!!!.!!!!!!!!!!!!!!!!!!!.!! File reception completed. Copying file c2600-is-mz.113-2.0.3.Q to flash. Erasing flash at 0x607c0000 program flash location 0x60440000

rommon 22 >