9-9
Catalyst 2900 Series XL and Catalyst 3500 Series XL Software Configuration Guide
78-6511-05
Chapter 9 Troubleshooting
Copying Configuration Files to Troubleshoot Configuration Problems
Copying Configuration Files to Troubleshoot
Configuration Problems
You can use the file system in Flash memory to copy files and to troubleshoot
configuration problems. This could be useful if you wanted to save configuration
files on an external server in case a switch fails. You can then copy the
configuration file to a replacement switch and avoid having to reconfigure the
switch.
Step 1
Enter the privileged EXEC dir flash: command to display the contents of Flash
memory:
switch# dir flash:
Directory of flash:
2 -rwx 843947 Mar 01 1993 00:02:18 C2900XL-h-mz-112.8-SA
4 drwx 3776 Mar 01 1993 01:23:24 html
66 -rwx 130 Jan 01 1970 00:01:19 env_vars
68 -rwx 1296 Mar 01 1993 06:55:51 config.text
1728000 bytes total (456704 bytes free)
The file system uses a URL-based file specification. The following example uses
the TFTP protocol to copy the file config.text from the host arno to the switch
Flash memory:
switch# copy tftp://arno//2900/config.text flash:config.text
You can enter the following parameters as part of a filename:
•
TFTP
•
Flash
•
RCP
•
XMODEM