You are on page 1of 1

Switch>enable

Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname S1
S1(config)#interface vlan 1
S1(config-if)#ip address 192.168.1.254 255.255.255.0
S1(config-if)#no shutdown

save the configuration to NV-RAM

S1#copy running-config startup-config

Backup Startup Configuration to TFTP

S1#copy startup-config tftp -- backup configuration file from router/switch

To Restore the configuration

1. Configure the router/switch with atleast 1 ip address


2. restore the configuration from tftp server

S1#copy tftp startup-config

reload..do not save

we are restoring startup configuration, if this needs to be effective restart the


router/switch

running configuration will overwrite the startup configuration..do not save

-----------------------------------------------------------------------------------
------

OS Backup

S1#copy flash tftp

OS Restore

S1#copy tftp flash

OS Update

S1#copy tftp flash

R1#show version

flash0:c2900-universalk9-mz.SPA.151-1.M4.bin -- os image name

R1(config)#boot system flash c2900-universalk9-mz.SPA.155-3.M4a.bin -- to change


the OS Boot image

You might also like