Router Basic
Router Basic
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 10.0.0.1 255.255.255.0
Router(config-if)#no shutdown
Router#copy flash: tftp
Source filename []? isr4300-universalk9.16.06.04.SPA.bin
Address or name of remote host []? 10.0.0.2
Destination filename [isr4300-universalk9.16.06.04.SPA.bin]?
How to delete ios image and install ios using tftp server
Router#delete flash:isr4300-universalk9.16.06.04.SPA.bin
Delete filename [isr4300-universalk9.16.06.04.SPA.bin]?
Delete flash:/isr4300-universalk9.16.06.04.SPA.bin? [confirm]
Router#reload
Rommon1>
Installing ios
rommon 3 > IP_ADDRESS=10.0.0.1
rommon 4 > IP_SUBNET_MASK=255.255.255.0
rommon 5 > DEFAULT_GATEWAY=10.0.0.1
rommon 6 > TFTP_SERVER=10.0.0.2
rommon 7 > TFTP_FILE=isr4300-universalk9.16.06.04.SPA.bin
rommon 8 >tftpdnld
IP_ADDRESS: 10.0.0.1
IP_SUBNET_MASK: 255.255.255.0
DEFAULT_GATEWAY: 10.0.0.1
TFTP_SERVER: 10.0.0.2
TFTP_FILE: isr4300-universalk9.16.06.04.SPA.bin
Invoke this command for disaster recovery only.
WARNING: all existing data in all partitions on flash will be lost!
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
Accessing tftp://10.0.0.2/R1-confg....
Loading R1-confg from 10.0.0.2: !
[OK - 706 bytes]
Accessing tftp://10.0.0.2/R1-confg....
Loading R1-confg from 10.0.0.2: !
[OK - 706 bytes]