beautypg.com

Determining the current management focus, Switching the management focus, Determining the current – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 96: Management focus

background image

66

Multi-Service IronWare Switching Configuration Guide

53-1003036-02

Verifying available flash space on the management module before an image is copied

3

To reformat a flash card in slot 2 on the management module, for example, enter the following
command.

Brocade# format slot2

.......................................................

.......................................................

.......................................................

......................................

80809984 bytes total card space.

80809984 bytes available on card.

2048 bytes in each allocation unit.

39458 allocation units available on card.

Syntax: format slot1 | slot2

The slot1 | slot2 keyword specifies the Auxiliary flash slot that contains the flash card you are
formatting.

Determining the current management focus

For conceptual information about management focus, refer to

“Management focus”

.

To determine which file system has the current management focus, enter the following command.

Brocade# pwd

Flash /flash/

In this example, the management focus is the flash memory.

In the following example, the management focus is the root directory of the flash card in slot 1.

Brocade# pwd

/slot1/

In the following example, the management focus is a subdirectory called “test” on the flash card in
slot 1.

Brocade# pwd

/slot1/test/

Switching the management focus

The effect of file management commands depends on the file system that has the current
management focus. For example, if you enter a command to delete a file and do not specify the
location of the file, the software attempts to delete the file from the location that currently has the
management focus.

By default, the management focus is on the flash memory on the management module. You can
switch the focus from flash memory to flash cards in slot 1 or slot 2 on the management module
using the cd or chdir commands, which have the same syntax and function exactly the same.

For example, to switch the focus from flash memory to the flash card in slot 2, enter the following
command.

Brocade# cd /slot2

Brocade#

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.