- When in ROMMON mode, complete this procedure using the ROMMON confreg utility.
rommon 2 > confreg do you wish to change the configuration? y/n [n]: y enable "diagnostic mode"? y/n [n]: n enable "use net in IP bcast address"? y/n [n]: n disable "load rom after netboot fails"? y/n [n]: n enable "use all zero broadcast"? y/n [n]: n enable "break/abort has effect"? y/n [n]: n enable "ignore system config info"? y/n [n]: n change console baud rate? y/n [n]: y enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400 4 = 19200, 5 = 38400, 6 = 57600, 7 = 115200 [7]: 7 change the boot characteristics? y/n [n]: y enter to boot: 0 = ROM Monitor 1 = the boot helper image 2-15 = boot system [0]: 0 Configuration Summary enabled are: load rom after netboot fails console baud: 115200 boot: the ROM Monitor do you wish to change the configuration? y/n [n]: n You must reset or power cycle for new config to take effect rommom 2 > reset
- Open a new hyperterminal with these settings:
Bits per second - 115200 Data bits - 8 Parity - None Stop bits - 1 Flow control - Hardware
- After setting the hyperterminal, you receive a rommon prompt. Enter the xmodem command. Before you enter an xmodem command, there should be a software image residing in your terminal or your local hard drive.
rommon 2 > xmodem -c c3640-i-mz.121-7.bin Do not start the sending program yet... File size Checksum File name 4936800 bytes (0x4b5460) 0x2dd7 c3640-i-mz.121-7.bin (bad checksum: 0x13eb) WARNING: All existing data in flash will be lost! Invoke this application only for disaster recovery. Do you wish to continue? y/n [n]: y Ready to receive file c3640-i-mz.121-7.bin ...
- After this message appears, you have to download the file using xmodem and this procedure:
- Go to Hyperterminal and click the Transfer menu.
- Select Send File.
- In the dialog box which appears, click on browse and look for the file name on your local hard drive.
- Under the filename field is the Protocol drop-down box. Choose Xmodem.
- Click Send to initiate the file transfer.
- After the transfer completes, the router will reload itself. When the reload completes, press the return key to be taken to a prompt and to reset the configuration register and the console line speed.
Router> enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)#configure terminal Router(config)#config-register 0x2102 Router(config)#line con 0 Router(config-line)# speed 9600
- Upon changing the console speed, you will lose connectivity. Go to your terminal program, change the baud rate to 9600, and reconnect to the router console.
Router(config-line)#ctrl z Router #write mem Router #reload
0 comments:
Post a Comment