[Cisco] IOS weg, hoe terug ?

Pagina: 1
Acties:

  • L0g0ff
  • Registratie: April 2001
  • Laatst online: 23:17
Beste mensen keb een "Klein" vraagje,

Ik ben niet zo handig met cisco routers maar ik moest gisteren even de instellingen uit een cisco soho 77H halen. Dus ik ? in getikt en kwam zo achter het commando erase. Dus ik per ongeluk het commando erase flash uitgevoerd ipv erase nvram |:( .

Dus 3 kaar raden: mijn hele IOS weg. Ik heb nu van onze leverancier een nieuwe IOS gehad en deze wil ik graag weer op de router zetten.

Via het commando ? zag ik dat het commando tftpdnld. Alleen als ik intik tftpdnld=192.168.101.1 dan krijg ik de melding invalid or illegal ip address.

Ik heb al wel eens vaker een IOS moeten up of downgraden alleen dit altijd vanuit een andere IOS. Wie kan mij even helpen :?

Gegevens (zoals deze zouden moeten zijn)

Router
IP:192.168.101.1
Subnet: 255.255.255.0
Gtway: 192.168.101.254

Ttfpserver
IP:192.168.101.34
Subnet: 255.255.255.0

Filenaam: soho70-oy1-mz.122-11.YU.bin

Tnx alvast

Blog.wapnet.nl KompassOS.nl


  • Leon T
  • Registratie: Juni 2001
  • Niet online

Leon T

Ni!

Ervan uitgaand dat je wel nog in Romman kunt komen en dat je een tftp server met de flash image draait; kan je de volgende command gebruiken:

copy tftp flash

Het systeem vraagt dan om een Address or name of remote host en een Source en Destination filename. Hier kan je dus de gegevens van jouw situatie invullen.

Mocht dit niet werken kan je met xmodem gaan werken: xmodem bestandsnaam.bin. Vervolgens dit bestandje sturen via hyperterminal en klaar ben je.

  • Ecl!pS
  • Registratie: Juni 2004
  • Laatst online: 20-09-2024
moet je niet bij tftpdnld= het ip van de tftp server invullen? en dan de tftp sever starten en het filetje laden. en de bestands naam van de ios opgeven achter het IP in de router.
ik kan me iig zoiets herinneren van school.

  • L0g0ff
  • Registratie: April 2001
  • Laatst online: 23:17
Ik kan idd in minn rommon komen. Copy gaat alleen niet.

Dit zijn mijn commando's:


?
break: set/show/clear the breakpoint
confreg: configuration register utility
cont: continue executing a downloaded image
context: display the context of a loaded image
cookie : display contents of cookie PROM in hex
dev : list the device table
dir : list files in file system
dis : display instruction stream
dnld : serial download a program module
frame : print out a selected stack frame
help : monitor builtin command help
history : monitor command history
meminfo : main memory information
repeat : repeat a monitor command
reset : system reset
set : display the monitor variables
stack : produce a stack trace
sync : write monitor environment to NVRAM
sysret : print out info from last system return
tftpdnld : tftp image download
unalias : unset an alias
unset : unset a monitor variable
xmodem : x/ymodem image download


tftp
usage: tftpdnld [-ur]
Use this command for disaster recovery only to recover an image via TFTP.
Monitor variables are used to set up parameters for the transfer.
(Syntax: "VARIABLE_NAME=value" and use "set" to show current variables.)
"ctrl-c" or "break" stops the transfer before flash erase begins.

The following variables are REQUIRED to be set for tftpdnld:
IP_ADDRESS: The IP address for this unit
IP_SUBNET_MASK: The subnet mask for this unit
DEFAULT_GATEWAY: The default gateway for this unit
TFTP_SERVER: The IP address of the server to fetch from
TFTP_FILE: The filename to fetch

The following variables are OPTIONAL:
TFTP_VERBOSE: Print setting. 0=quiet, 1=progress(default), 2=verbose
TFTP_RETRY_COUNT: Retry count for ARP and TFTP (default=7)
TFTP_TIMEOUT: Overall timeout of operation in seconds (default=7200)
TFTP_CHECKSUM: Perform checksum test on image, 0=no, 1=yes (default=1)

Command line options:
-r: do not write flash, load to DRAM only and launch image
-u: upgrade the rommon, system will reboot once upgrade is complete

Blog.wapnet.nl KompassOS.nl


  • L0g0ff
  • Registratie: April 2001
  • Laatst online: 23:17
Laat maar dit document helpt wel een handje :)

http://www.cisco.com/en/U...ote09186a008015bf9e.shtml

tnx btw

Blog.wapnet.nl KompassOS.nl