Command Line Interface

Uptime command

Displays the elapsed up time since the switch was last reset and reset method. A hot reset or non-disruptive firmware activation does not reset the elapsed up time reported by this command.

Authority

None

Syntax

UPTIME

Examples

2/8q FC Switch #> uptime

Elapsed up time : 0 day(s), 2 hour(s), 28 min(s), 44 sec(s)

Reason last reset: NormalReset

User command

Administers and displays user accounts.

Authority

Admin, except for the List option.

Syntax

USER

Keywords

ACCOUNTS

Displays all user accounts that exist on the switch. This keyword is available to all account names without an Admin session.

ADD

Add a user account to the switch. You will be prompted for an account name, a password, authority, and an expiration date.

A switch can have a maximum of 15 user accounts.

Account names are limited to 15 characters; passwords must be 4–20 characters.

Admin authority grants permission to use the Admin command to open an admin session, from which all commands can be entered. Without Admin authority, you are limited to view-only commands.

The expiration date is expressed in the number of days until the account expires (2000 maximum). The switch will issue an expiration alarm every day for seven days prior to expiration. 0 (zero) specifies that the account has no expiration date.

DELETE [account_name]

Deletes the account name given by [account_name] from the switch.

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

171

Page 171
Image 171
HP 2/8q Fibre Channel manual Uptime command, User command, Administers and displays user accounts