Whoami command, Whoami, Command – HP 2/8q Fibre Channel User Manual

Page 173: Authority syntx examples

Advertising
background image

Command Line Interface

173

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

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)

Advertising
This manual is related to the following products: