Cisco Catalyst 9500 Manual page 261

Hide thumbs Also See for Catalyst 9500:
Table of Contents

Advertisement

Working with the Flash File System
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
Step 3
archive tar /xtract source-url flash:/file-url [dir/file...]
Example:
System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 9500 Switches)
Creating, Displaying and Extracting Files
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.
You can also limit the file displays by specifying a list of
files or directories after the file. Only those files appear. If
none are specified, all files and directories appear.
Extracts a file into a directory on the flash file system.
247

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents