Command Line Interface

The following is an example of the User Edit command:

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

Press 'q' and the ENTER key to abort this command.

account name (1-15 chars)

: user1

set account

expiration in days (0-2000, 0=never): [0]

should this

account have admin authority? (y/n): [n]

OK to modify user account 'user1' with no admin authority and to expire in 0 days?

Please confirm (y/n): [n]

The following is an example of the User Delete command:

2/8q FC Switch (admin) #> user del user3

The user account will be deleted. Please confirm (y/n): [n] y

The following is an example of the User List command:

2/8q FC Switch (admin) #> user list

User

Ethernet Addr-Port

Logged in Since

----

------------------

---------------

admin@OB-session1

10.20.68.108-1031

day month date time year

admin@OB-session2

10.20.68.108-1034

day month date time year

snmp@OB-session3

Unknown

day month date time year

snmp@IB-session4

Unknown

day month date time year

admin@OB-session5

Unknown

day month date time year

Whoami command

Displays the account name, session number, and switch domain ID for the Telnet session.

Authority

None

Syntx

WHOAMI

Examples

2/8q FC Switch #> whoami

User name

:

admin@session2

 

Switch

name

:

2/8q FC Switch

 

Switch

domain ID:

21 (0x15)

 

 

 

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

173

Page 173
Image 173
HP 2/8q Fibre Channel manual Whoami command, Following is an example of the User Edit command