File system naming conventions

On a single-chassis fabric, you can use its storage device name to access its file system.

On a multichassis IRF fabric, you can use the storage device name to access the file system of the master. To access the file system of any other member device, use the name in the slotmember-ID#storage-device-name format.

For example:

To access the test folder under the root directory of the flash memory on the master device:

<Master> mkdir test
Creating directory flash:/test... Done.
<Master> dir
Directory of flash:
   0 -rw-    43548660 Jan 01 2011 08:21:29   system.ipe
   1 drw-           - Jan 01 2011 00:00:30   diagfile
   2 -rw-         567 Jan 02 2011 01:41:54   dsakey
   3 -rw-         735 Jan 02 2011 01:42:03   hostkey
   4 -rw-          36 Jan 01 2011 00:07:52   ifindex.dat
   5 -rw-           0 Jan 01 2011 00:53:09   lauth.dat
   6 drw-           - Jan 01 2011 06:33:55   log
   7 drw-           - Jan 02 2000 00:00:07   logfile
   8 -rw-    23724032 Jan 01 2011 00:49:47   switch-cmw710-system.bin
   9 drw-           - Jan 01 2000 00:00:07   seclog
  10 -rw-         591 Jan 02 2011 01:42:03   serverkey
  11 -rw-        4609 Jan 01 2011 00:07:53   startup.cfg
  12 -rw-        3626 Jan 01 2011 01:51:56   startup.cfg_bak
  13 -rw-       78833 Jan 01 2011 00:07:53   startup.mdb
  14 drw-           - Jan 01 2011 00:15:48   test
  25 drw-           - Jan 01 2011 04:16:53   versionInfo

1048576 KB total (889580 KB free)

To create and access the test folder under the root directory of the flash memory on member device 3:

<Master> mkdir slot3#flash:/test
Creating directory slot3#flash:/test... Done.
<Master> cd slot3#flash:/test
<Master> pwd
slot3#flash:/test

Or:

<Master> cd slot3#flash:/
<Master> mkdir test
Creating directory slot3#flash:/test... Done.

To copy the file test.ipe on the master to the root directory of the flash memory on member device 3:

# Display the current working path. In this example, the current working path is the root directory of the flash memory on member device 3.

<Master> pwd
slot3#flash:

# Change the current working path to the root directory of the flash memory on the master device.

<Master> cd flash:/
<Master> pwd
flash:

# Copy the file to member device 3.

<Master> copy test.ipe slot3#flash:/
Copy flash:/test.ipe to slot3#flash:/test.ipe?[Y/N]:y
Copying file flash:/test.ipe to slot3#flash:/test.ipe... Done.

For more information about storage device naming conventions, see Fundamentals Configuration Guide.