hit counter script

Displaying The Filenames In An Archive File; Examples Of Using The File System; Accessing Directories On Standby Supervisor Modules - Cisco Nexus 5500 Series Configuration Manual

Nx-os fundamentals configuration guide, release 7.x
Hide thumbs Also See for Nexus 5500 Series:
Table of Contents

Advertisement

Displaying the Filenames in an Archive File

DETAILED STEPS
Command or Action
Step 1
tar extract {bootflash: |
volatile:}archive-filename [keep-old]
[screen] [to {bootflash: |
volatile:}[/directory-name]] [verbose]
This example shows how to extract files from an existing archive file:
switch# tar extract bootflash:config-archive.tar.gz
Displaying the Filenames in an Archive File
You can display the names of the files in an archive files using the tar list command.
tar list {bootflash: | volatile:}archive-filename
The archive filename is not case sensitive.
switch# tar list bootflash:config-archive.tar.gz
config-file
new-config

Examples of Using the File System

This section includes example of using the file system on the Cisco NX-OS device.

Accessing Directories on Standby Supervisor Modules

This example shows how to list the files on the standby supervisor module:
switch# dir bootflash://sup-remote
12198912
12097024
41574014
Usage for bootflash://sup-remote
67747169 bytes used
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
118
Purpose
Extracts files from an existing archive file. The archive filename is not case sensitive.
The keep-old keyword indicates that the Cisco NX-OS software should not overwrite
files with the same name as the files being extracted.
The screen keyword specifies that the Cisco NX-OS software should display the
contents of the extracted files to the terminal screen.
The to keyword specifies the target file system. You can include a directory name.
The directory name is alphanumeric, case sensitive, and has a maximum length of
240 characters.
The verbose keyword specifies that the Cisco NX-OS software should display the
names of the files as they are extracted.
Aug 27 16:29:18 2003
1864931
Apr 29 12:41:59 2003
12288
Apr 18 20:23:11 2003
Nov 21 16:34:18 2003
Nov 21 16:34:47 2003
Using the Device File Systems, Directories, and Files
m9500-sf1ek9-kickstart-mzg.1.3.0.39a.bin
dplug2
lost+found/
m9500-sf1ek9-kickstart-mz.1.3.1.1.bin
m9500-sf1ek9-mz.1.3.1.1.bin
OL-30890-01

Advertisement

Table of Contents
loading

Table of Contents