Strony

Saturday, 10 October 2015

Cisco - useful commands

#To copy file from server to Cisco device (command executed on Cisco device)
copy scp://username@server_IP//path_to_file/file_name flash:file_name

#To create md5 checksum of the file
verify /md5 flash:file_name

#To set up boot from new image
configure terminal
boot system flash:file_name

#To check md5 checksum on Cisco Nexus
show file bootflash:file_name md5sum

#To upgrade Cisco Nexus (kickstart and system)
install all kickstart kickstart_file_name system system_file_name

#To copy files to Cisco ASA (command executed on the server)
#Username on Cisco ASA need to have proper privilege level
scp -1 -v file_name username@ASA_IP:disk0:file_name
scp -2 -v file_name username@ASA_IP:disk0:file_name

No comments:

Post a Comment