How to take ios backup
First copy ios file name from flash memory and past it
Router#conf t
Router(config)#interface g0/0/0
Router(config-if)#ip address [Link] [Link]
Router(config-if)#no shutdown
Router#copy flash: tftp
Source filename []? [Link]
Address or name of remote host []? [Link]
Destination filename [[Link]]?
How to delete ios image and install ios using tftp server
Router#delete flash:[Link]
Delete filename [[Link]]?
Delete flash:/[Link]? [confirm]
Router#reload
Rommon1>
Installing ios
rommon 3 > IP_ADDRESS=[Link]
rommon 4 > IP_SUBNET_MASK=[Link]
rommon 5 > DEFAULT_GATEWAY=[Link]
rommon 6 > TFTP_SERVER=[Link]
rommon 7 > TFTP_FILE=[Link]
rommon 8 >tftpdnld
IP_ADDRESS: [Link]
IP_SUBNET_MASK: [Link]
DEFAULT_GATEWAY: [Link]
TFTP_SERVER: [Link]
TFTP_FILE: [Link]
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
rommon 11 > boot
how to save running-config(ram) to startup-config(nvram)
Router>enable
Router#configure termina
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname R1
R1(config)#enable secret pass@123
R1(config)#interface g0/0/0
R1(config-if)#ip address [Link] [Link]
R1(config-if)#no shutdown
R1(config-if)#ctrl+z =>key takes u to privilege mode
R1#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
(Or)
R1#write
How to take startup-config backup to tftp server
R1#copy startup-config tftp
Address or name of remote host []? [Link]
Destination filename [R1-confg]?
Writing startup-config....!!
[OK - 706 bytes]
How to erase startup-config
R1#erase startup-config
Erasing the nvram filesystem will remove all configuration files! Continue? [confirm]
[OK]
Erase of nvram: complete
%SYS-7-NV_BLOCK_INIT: Initialized the geometry of nvram
How to download configuration files from tftp to startup-config
Router must have one ip address
PE#show startup-config
startup-config is not present
PE#copy tftp startup-config
Address or name of remote host []? [Link]
Source filename []? R1-confg
Destination filename [startup-config]?
Accessing t[Link]
Loading R1-confg from [Link]: !
[OK - 706 bytes]
706 bytes copied in 3.011 secs (234 bytes/sec)
How to copy file from startup-config to running-config
PE#show startup-config
startup-config is not present
PE#copy tftp startup-config
Address or name of remote host []? [Link]
Source filename []? R1-confg
Destination filename [startup-config]?
Accessing t[Link]
Loading R1-confg from [Link]: !
[OK - 706 bytes]
706 bytes copied in 3.011 secs (234 bytes/sec)
How to break ios password
Located [Link]
################################ =>press ctrl+pauseBreak key to break
the operation
monitor: command "boot" aborted due to user interrupt
monitor: command "confreg0x2142" not found
rommon 3 > confreg 0x2142
rommon 4 > boot
Router#copy startup-config running-config