117
Examples
# In standalone mode, display all files and folders in the current directory.
<Sysname> dir /all
Directory of flash:/
...
# In standalone mode, display files and folders in the root directories of all storage media on the device.
<Sysname> dir /all-filesystems
Directory of flash:/
...
Directory of usb0:/
...
Directory of slot7#flash:/
...
Directory of slot7#usb0:/
...
# In standalone mode, display files and folders in the root directory of the flash memory on the standby
MPU (in slot 16).
<Sysname> cd slot16#flash:/
<Sysname> dir /all
...
# In IRF mode, display information about all files and folders on the global active MPU's storage media.
<Sysname> dir /all
Directory of flash:/
...
# In IRF mode, display files and folders in the root directories of every storage medium in the IRF fabric.
<Sysname> dir /all-filesystems
Directory of flash:/
...
Directory of chassis1#slot1#flash:/
...
# In IRF mode, display information about all files and folders in the storage medium of the global standby
MPU that resides in slot 16 of member device 1:
•
Method 1
<Sysname> dir /all chassis1#slot16#flash:/
Directory of chassis1#slot16#flash:/
...
•
Method 2
<Sysname> cd chassis1#slot16#flash:/
<Sysname> dir /all
...
Table 17
Command output
Field Description
Directory of
Current directory.