Command Line Interface

The following is an example of the SET CONFIG ZONING command:

2/8q FC Switch #> admin start

2/8q FC Switch (admin) #> config edit

2/8q FC Switch (admin-config) #> set config zoning

A list of attributes with formatting and current values will follow.

Enter a new value or simply press the ENTER key to accept the current value.

If you wish to terminate this process before reaching the end of the list press 'q' or 'Q' and the ENTER key to do so.

InteropAutoSave

(True

/

False)

[True]

Default Visibility

(All

/

None)

[All ]

Finished configuring attributes.

This configuration must be saved (see config save command) and activated (see config activate command) before it can take effect. To discard this configuration use the config cancel command.

Set Log Command

Specifies the events to record in the event log and display on the screen. You determine what events to record in the switch event log using the Component, Level, and Port keywords. You determine what events are automatically displayed on the screen using the Display keyword. Alarms are always displayed on the screen.

Authority

Admin

Syntax

SET LOG

Keywords

ARCHIVE

Collects the most recent 200 entries plus the previous 1000 entries and stores the result in new file named logfile that is maintained in switch memory where it can be downloaded using FTP. To download logfile, open an FTP session, log in with account name/password of images for both, and type get logfile.

CLEAR

Clears all log entries.

COMPONENT [filter_list]

Specifies one or more components given by [filter_list] to monitor for events. A component is a firmware module that is responsible for a particular portion of switch operation. Use a <space> to delimit values in the list. [filter_list] can be one or more of the following:

MGMTSERVER—Monitors management server status.

NAMESERVER—Monitors name server status.

144

HP StorageWorks 2/8q Fibre Channel Switch Management User Guide

Page 144
Image 144
HP 2/8q Fibre Channel Set Log Command, Following is an example of the SET Config Zoning command, Clears all log entries