Displaying a directory of the files – Brocade BigIron RX Series Configuration Guide User Manual

Page 112

Advertising
background image

34

BigIron RX Series Configuration Guide

53-1002484-04

Flash memory and PCMCIA flash card file management commands

2

When you enter this command, the software changes the management focus to slot 2 then
displays a new command prompt. If a slot you specify does not contain a flash card, the software
displays the message shown in the following example.

BigIron RX# cd /slot1

Device not present

Syntax: cd <directory-pathname>

Syntax: chdir <directory-pathname>

For the <directory-pathname> parameter for both cd and chdir commands, you can specify /slot1
or /slot2 to switch the focus to slot 1 or slot 2, respectively. Specify /flash to switch the focus to
flash memory.

After you have switched the focus to a slot 2, you can specify the <directory-pathname> parameter
to switch the focus to a subdirectory on a flash card inserted in slot 2. For example, to switch the
focus from the root directory level ( / ) of slot 2 to the subdirectory named “PLOOK,” enter the
following command.

BigIron RX# cd /PLOOK

If you specify an invalid subdirectory path, the CLI displays a message such as the following.

BigIron RX# cd /PLOOK

Path not found

If you are certain the path you specified exists, make sure you are at the correct level for reaching
the path. For example, if you are already at the PLOOK level, the CLI cannot find the subdirectory
“/PLOOK” because it is not a subdirectory from the level that currently has the management focus.

To change the management focus back to flash memory, enter the following command.

BigIron RX# cd /flash

BigIron RX#

Displaying a directory of the files

You can display a directory of the files in the management module’s flash memory or on a flash
card inserted in the management module’s slot 1 or slot 2 using the dir or ls commands.

The software displays the directory of the file system that has the current management focus. By
default, flash memory has the management focus. However, you do not need to change the focus
to list the files on the file system that does not currently have management focus. In this case, you
can specify the /<path-name>/ parameter with the dir or ls commands to display the directory of
the desired file system.

For example, to display a directory of the files in flash memory, if flash memory has the
management focus, enter the following command.

Advertising