Cisco Catalyst 9200 Configuration Manual page 234

Hide thumbs Also See for Catalyst 9200:
Table of Contents

Advertisement

Creating, Displaying and Extracting Files
SUMMARY STEPS
1. archive tar /create destination-url flash: /file-url
2. archive tar /table source-url
3. archive tar /xtract source-url flash:/file-url [dir/file...]
4. more [ /ascii | /binary | /ebcdic] /file-url
DETAILED STEPS
Command or Action
Step 1
archive tar /create destination-url flash: /file-url
Example:
device# archive tar /create
tftp:172.20.10.30/saved.
flash:/new-configs
Step 2
archive tar /table source-url
Example:
device# archive tar /table
flash: /new_configs
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
220
Working with the Flash File System
Purpose
Creates a file and adds files to it.
For destination-url, specify the destination URL alias for
the local or network file system and the name of the file to
create:
• Local flash file system syntax:
flash:
• FTP syntax:
ftp:[[//username[:password]@location]/directory]/-filename.
• RCP syntax:
rcp:[[//username@location]/directory]/-filename.
• TFTP syntax:
tftp:[[//location]/directory]/-filename.
For flash:/file-url, specify the location on the local flash
file system in which the new file is created. You can also
specify an optional list of files or directories within the
source directory to add to the new file. If none are specified,
all files and directories at this level are written to the newly
created file.
Displays the contents of a file.
For source-url, specify the source URL alias for the local
or network file system. The -filename. is the file to display.
These options are supported:
• Local flash file system syntax:
flash:
• FTP syntax:
ftp:[[//username[:password]@location]/directory]/-filename.
• RCP syntax:
rcp:[[//username@location]/directory]/-filename.
• TFTP syntax:
tftp:[[//location]/directory]/-filename.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents