0% found this document useful (0 votes)
23 views

Router Basic

Uploaded by

pavithra aishu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views

Router Basic

Uploaded by

pavithra aishu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

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 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!

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 10.0.0.1 255.255.255.0
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 []? 10.0.0.2
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 []? 10.0.0.2
Source filename []? R1-confg
Destination filename [startup-config]?

Accessing tftp://10.0.0.2/R1-confg....
Loading R1-confg from 10.0.0.2: !
[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 []? 10.0.0.2
Source filename []? R1-confg
Destination filename [startup-config]?

Accessing tftp://10.0.0.2/R1-confg....
Loading R1-confg from 10.0.0.2: !
[OK - 706 bytes]

706 bytes copied in 3.011 secs (234 bytes/sec)

How to break ios password


Located isr4300-universalk9.16.06.04.SPA.bin
################################ =>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

You might also like