Displaying The Current Directory; Displaying File Checksums; Listing The Files In A Directory - Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual

Mds 9000 family
Table of Contents

Advertisement

Chapter 2
Before You Begin
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m .
This example changes the current directory to the mystorage directory that resides in the current
directory.
switch# cd mystorage
If the current directory is slot0:mydir, this command changes the current directory to
slot0:mydir/mystorage.

Displaying the Current Directory

The pwd command displays the current directory location. This example changes the directory and
displays the current directory.
switch# cd bootflash:
switch# pwd
bootflash:
If you issue this command from the active supervisor module in a Cisco MDS 9500 Series (for example,
Note
module-5
"Supervisor Modules" section on page

Displaying File Checksums

The show file file md5sum command provides the MD5 checksum of file. MD5 is an electronic
fingerprint for the file. MD5 is the latest implementation of the internet standards described in RFC 1321
and is useful for data security as well as integrity.
The show file file cksum command provides the checksum of file. The checksum values compute a
cyclic redundancy check (CRC) for each named file. Use this command to verify that are not
corrupted—compare the checksum output for the received file against the checksum output for the
original file.
This example provides the output of the show file command when a file is specified.
switch# show file bootflash://sup-1/ultimate_file.tar cksum
2569913991
switch# show file bootflash://sup-1/ultimate_file.tar md5sum
52479aae2dce1fd849b6f4916d750392

Listing the Files in a Directory

The dir command displays the contents of the current directory or the specified directory. The syntax
for this command is dir directory or file name.
This example shows how to list the files on the default volatile: file system:
switch# dir
OL-6973-03, Cisco MDS SAN-OS Release 2.x
), then you cannot change the current working directory to the bootflash: of
Usage for volatile: filesystem
0 bytes total used
20971520 bytes free
20971520 bytes available
10-2.
Cisco MDS 9000 Family Configuration Guide
Using the File System
. See the
module-6
2-23

Advertisement

Table of Contents
loading

Table of Contents