Specifications
set snmp user
5-10 SNMP Configuration
set snmp user
UsethiscommandtocreateanewSNMPv3user.
Syntax
set snmp user user [remote remoteid] [authentication {md5 | sha}] [authpassword]
[privacy privpassword] [volatile | nonvolatile]
Parameters
Defaults
Ifremoteisnotspecified,theuserwillberegisteredforthelocalSNMPengine.
Ifauthenticationisnotspecified,noauthenticationwillbeapplied.
Ifprivacyisnotspecified,noencryptionwillbeapplied.
Ifstoragetypeisnotspecified,nonvolatilewillbeapplied.
Mode
Switchcommand,read‐write.
Example
Thisexampleshows howtocreateanewSNMPusernamed“netops”.Bydefault,thisuserwillbe
registeredonthelocalSNMPenginewithoutauthentication
and encryption.Entriesrelatedtothis
userwillbestoredinpermanent(nonvolatile)memory:
C3(su)->set snmp user netops
Table 5-4 show snmp user Output Details
Output What It Displays...
EngineId SNMP local engine identifier.
Username SNMPv1 or v2 community name or SNMPv3 user name.
Auth protocol Type of authentication protocol applied to this user.
Privacy protocol Whether a privacy protocol is applied when authentication protocol is in
use.
Storage type Whether entry is stored in volatile, nonvolatile or read-only memory.
Row status Status of this entry: active, notInService, or notReady.
user SpecifiesanamefortheSNMPv3user.
remoteremoteid (Optional)RegisterstheuseronaspecificremoteSNMPengine.
authenticationmd5
|sha
(Optional)SpecifiestheauthenticationtyperequiredforthisuserasMD5
orSHA.
authpassword (Optional)Specifiesapasswordforthisuserwhenauthenticationis
required.Minimumof8characters.
privacy
privpassword (Optional)Appliesencryptionandspecifiesanencryptionpassword.
Minimumof8character.s
volatile|
nonvolatile
(Optional)Specifiesastoragetypeforthisuserentry.