Administrator Guide

Switch Management Commands 1969
Example – Downloading and applying ias users file
console#copy tftp://10.131.17.104/aaa_users.txt ias-users
Transfer Mode.................................. TFTP
Server IP Address.............................. 10.131.17.104
File Path...................................... ./
File Name...................................... aaa_users.txt
Data Type...................................... IAS Users
Management access will be blocked for the duration of the transfer
Are you sure you want to start? (y/n) y
File transfer operation completed successfully.
Validating and updating the users to the IAS users database.
Updated IAS users database successfully.
Example – Script Download
copy tftp://10.27.9.99/jmclendo/max-acl.scr script maxacl.scr
Example – USB copy operations
console#copy usb:/start-config startup-config
console#copy operational-log usb://olog.txt
console#copy usb://backup-config.txt backup-config
console#copy active usb://image1.stk
console#copy flash://crashdump.0 usb://crashdump.0
Example – Crash Log
This example copies the most recent crash log from stack unit 5 to the TFTP
server located at 10.27.9.99. The crash dump is transferred to the TFTP server
into subdirectory ~/jcm and is named crashlog.txt
console#copy core-dump 0 unit 5 tftp://10.27.9.99/jcm/crashlog.txt
delete
Use the delete command to delete files from flash. Files cannot be deleted
from the USB device.
Syntax
delete {
filename
| backup | backup-config | startup-config | core-dump-file
{
file-name
| all}
filename
— Name of the file to be deleted.
2CSNXXX_SWUM204.book Page 1969 Monday, January 25, 2016 1:25 PM