HP-IB> enable

HP-IB#

3.Enter the global-configuration mode.

HP-IB# configure HP-IB(config)#

4.Create the user account and user password.

The user name and password are alphanumeric strings up to 34 characters each.

HP-IB(config)# username ib-admin password ib-passwd

where ib-adminis the name assigned to this user account, password is a mandatory keyword, and ib-passwdis the password for this user account.

5.Assign an SNMP community string to the new user account.

If you do not want users to have SNMP access to the switch system, do not assign them a community string. By default, a new user account has a null or empty community string.

HP-IB(config)# username ib-admin community-string ib-commStr

where, ib-adminis the name of the user account, community-stringis a mandatory keyword. ib-commStris the SNMP community string for this user account.

6.Assign access privileges.

By default, the new user account has read-only access.

7.Enter multiple access privileges in the order shown in “Setting Administrative Roles” (page 104).

HP-IB(config)# username ib-admin privilege ib-rw

where, ib-adminis the name of the user account, privilege is a mandatory keyword, and ib-rw, ip-ethernet-ro, and fc-rware access privileges. Valid access privileges are described in “Setting Administrative Roles” (page 104).

All new user accounts are now enabled and ready for use.

8.Exit the global-configuration mode.

9.View the new user account information.

HP-IB(config)# exit HP-IB# show user ib-admin

============================================================================

User Information

============================================================================

username : ib-admin

password : ib-passwd snmp-community : ib-commStr

permission-level : ib-rw admin-status : enabled

num-logins : 0 num-unsuccessful-logins : 0

last-login : last-unsuccessful-login :

HP-IB#

Deleting a User Account

1.Log in as the unrestricted user.

Only a user with unrestricted permissions may create and modify user accounts.

HP-IB# Login: super

Password: xxxx HP-IB>

2.Enter the privileged-user mode.

HP-IB> enable HP-IB#

102 Administration and Management

Page 102
Image 102
HP UX 11i v2 Networking Software manual Deleting a User Account