HP 3PAR StoreServ 7400 2-node HP 3PAR Command Line Interface Administrator& - Page 169

Viewing SNMPv3 Users, Removing SNMPv3 Users, Modifying SNMP Versions

Page 169 highlights

To create an SNMPv3 user, issue the createsnmpuser -p command, where: • represents the password of the HP 3PAR OS local user. The password is converted to an SNPMv3 secret key. If a password is not specified with the -p option, the system prompts you to enter the password of the local user. • represents the HP 3PAR OS local user name. This user name is used as the SNMPv3 user name. You can verify the creation of a new user by using the showsnmpuser command. For more information about the createsnmpuser command, see the HP 3PAR Command Line Interface Reference. Viewing SNMPv3 Users To display information about SNMPv3 users and privacy protocols, use the showsnmpuser command: • To display all the SNMPv3 users of a system, issue the showsnmpuser command. • To display information for a specific showsnmpuser user, issue the showuser command, where is the name of the user. NOTE: Users with Browse or Service roles are limited to viewing the information for their own accounts. For more information about the showsnmpuser command, see the HP 3PAR Command Line Interface Reference. Removing SNMPv3 Users After an SNMPv3 user is removed with the removesnmpuser command, an SNMPv3 manager can no longer use that user name to send requests to the SNMP agent. The HP 3PAR OS local user name remains valid unless it is removed with the removeuser command. Removing a local user name with the removeuser command also removes the SNMPv3 user name from the system. To remove an SNMPv3 user from the system, issue the removesnmpuser command, where is the name of the user. You can verify the removal of a user with the showsnmpuser command. Modifying SNMP Versions Use the setsnmpmgr command to change properties associated with a previously configured SNMP manager. Viewing SNMPv3 Users 169

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204

To create an SNMPv3 user, issue the
createsnmpuser -p <password> <user_name>
command, where:
<password>
represents the password of the HP 3PAR OS local user. The password is
converted to an SNPMv3 secret key. If a password is not specified with the
-p
option, the
system prompts you to enter the password of the local user.
<user_name>
represents the HP 3PAR OS local user name. This user name is used as the
SNMPv3 user name.
You can verify the creation of a new user by using the
showsnmpuser
command.
For more information about the
createsnmpuser
command, see the
HP 3PAR Command Line
Interface Reference
.
Viewing SNMPv3 Users
To display information about SNMPv3 users and privacy protocols, use the
showsnmpuser
command:
To display all the SNMPv3 users of a system, issue the
showsnmpuser
command.
To display information for a specific
showsnmpuser
user, issue the
showuser <user_name>
command, where
<user_name>
is the name of the user.
NOTE:
Users with Browse or Service roles are limited to viewing the information for their own
accounts.
For more information about the
showsnmpuser
command, see the
HP 3PAR Command Line
Interface Reference
.
Removing SNMPv3 Users
After an SNMPv3 user is removed with the
removesnmpuser
command, an SNMPv3 manager
can no longer use that user name to send requests to the SNMP agent. The HP 3PAR OS local user
name remains valid unless it is removed with the
removeuser <user_name>
command. Removing
a local user name with the
removeuser
command also removes the SNMPv3 user name from
the system.
To remove an SNMPv3 user from the system, issue the
removesnmpuser <user_name>
command, where
<user_name>
is the name of the user.
You can verify the removal of a user with the
showsnmpuser
command.
Modifying SNMP Versions
Use the
setsnmpmgr
command to change properties associated with a previously configured
SNMP manager.
Viewing SNMPv3 Users
169