System information

36
How to work with files
To copy between file systems, you need to specify the file system prefix (nvs: or card:).
For example, to copy from Flash to NVS when your current directory is the top-level Flash
directory, enter Privileged Exec mode and enter the command:
awplus#copy <source-filename> nvs:
The switch prompts you for the filename, as described in the previous section.
To copy from NVS to Flash when your current directory is the top-level Flash directory, enter
the command:
awplus#copy nvs:<source-filename> <destination-filename>
Example To copy the file “example.txt” from the directory in NVS called “example” to the top level of
Flash, enter the command:
awplus#copy nvs:example/example.txt example.txt
To copy a file from a TFTP server to Flash memory,
enter Privileged Exec mode and enter the command:
awplus#copy tftp flash
The switch prompts you for the:
TFTP server hostname (you can enter its IP
address instead)
source filename on the TFTP server
destination filename in Flash on the switch
To copy a file from Flash to a TFTP server, enter the command:
awplus#copy flash tftp
Follow the prompts for source filename, server, and destination filename.
Example To copy example.cfg to the TFTP server at
1
72.
1
.
1
.
1
, enter the command:
awplus#copy flash tftp
The prompts, responses, and messages look like this:
Copying to and from NVS or SD card
Copying to and from a TFTP server
Enter source file name []:example.cfg
Enter destination host name []:172.1.1.1
Enter destination file name [example.cfg]:
Copying from source file, please wait...
Copying to destination file, please wait...
0: Successful operation