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
2-29
Cisco MDS 9000 Family CLI Configuration Guide
OL-16184-01, Cisco MDS SAN-OS Release 3.x
Chapter 2 Before You Begin
Using Switch File Systems
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
dir
filename
.
This example shows how to list the files on the default volatile: file system.
switch#
dir
Usage for volatile: filesystem
0 bytes total used
20971520 bytes free
20971520 bytes available
Creating a Directory
The
mkdir
command creates a directory at the current directory level or at a specified directory level.
The syntax for this command is
mkdir
directory name.
This example creates a directory called test in the slot0 directory.
switch#
mkdir slot0:test
This example creates a directory called test at the current directory level.
switch#
mkdir test
If the current directory is slot0:mydir, this command creates a directory called
slot0:mydir/test.
Deleting an Existing Directory
The
rmdir
command deletes an existing directory at the current directory level or at a specified directory
level. The directory must be empty to be deleted.
The syntax for this command is
rmdir
directory name.
This example deletes the directory called test in the slot0 directory.
switch#
rmdir slot0:test
This is a directory. Do you want to continue (y/n)? [y]
y
The
delete
command is also capable of deleting empty and non-empty directories. When you issue this
command a warning is displayed to confirm your intention to delete the directory.
This example deletes the directory called test at the current directory level.
switch#
rmdir test
This is a directory. Do you want to continue (y/n)? [y]
y
If the current directory is slot0:mydir, this command deletes the slot0:mydir/test
directory.
Moving Files
The
move
command removes a file from the source directory and places it in the destination directory.
Содержание 9124 - Cisco MDS Fabric Switch
Страница 76: ...Se 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 ck d o c c i s c o c o m ...
Страница 122: ...Se 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 ck d o c c i s c o c o m ...
Страница 328: ...Se 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 ck d o c c i s c o c o m ...
Страница 482: ...Se 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 ck d o c c i s c o c o m ...
Страница 733: ...Se 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 ck d o c c i s c o c o m P A R T 5 Security ...
Страница 734: ...Se 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 ck d o c c i s c o c o m ...
Страница 957: ...Se 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 ck d o c c i s c o c o m P A R T 6 IP Services ...
Страница 958: ...Se 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 ck d o c c i s c o c o m ...
Страница 1182: ...Se 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 ck d o c c i s c o c o m ...
Страница 1214: ...Se 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 ck d o c c i s c o c o m ...
Страница 1307: ...Se 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 ck d o c c i s c o c o m P A R T 9 Traffic Management ...
Страница 1308: ...Se 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 ck d o c c i s c o c o m ...
Страница 1331: ...Se 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 ck d o c c i s c o c o m P A R T 1 0 Troubleshooting ...
Страница 1332: ...Se 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 ck d o c c i s c o c o m ...