5
File system naming conventions
On a standalone switch, you can use the name of storage device to access its file system. For more
information about storage device naming conventions, see
Fundamentals Configuration Guide
.
On an IRF fabric, you can use the name of storage device to access the file system of the master. To
access the file system of any other member switch, use the name in the
slot
member-ID#storage-device-name
format. For example:
To access the
test
folder under the root directory of the Flash on the master switch:
<Master> mkdir test
...
%Created dir flash:/test.
<Master> dir
Directory of flash:/
0 -rw- 10105088 Apr 26 2000 13:44:57 test.bin
1 -rw- 2445 Apr 26 2000 15:18:19 config.cfg
2 drw- - Jul 14 2008 15:20:35 test
515712 KB total (505812 KB free)
To create and access the test folder under the root directory of the Flash on member switch 3:
<Master> mkdir slot3#flash:/test
%Created dir slot3#flash:/test.
<Master> cd slot3#flash:/test
<Master> pwd
slot3#flash:/test
Or:
<Master> cd slot3#flash:/
<Master> mkdir test
%Created dir slot3#flash:/test.
To copy the file
test.bin
on the master to the root directory of the Flash on member switch 3:
# Display the current working path. In this example, the current working path is the root directory of
the Flash on member switch 3.
<Master> pwd
slot3#flash:
# Change the current working path to the root directory of the Flash on the master switch:
<Master> cd flash:/
<Master> pwd
flash:
# Copy the file to member switch 3.
<Master> copy test.bin slot3#flash:/
Copy flash:/test.bin to slot3#flash:/test.bin?[Y/N]:y
%Copy file flash:/test.bin to slot3#flash:/test.bin...Done.
Configuration synchronization mechanism
IRF uses a strict running-configuration synchronization mechanism so all chassis in an IRF fabric
can work as a single node, and after the master fails, other members can operate normally.