set snmp user
8-10 SNMP Configuration
Parameters
Defaults
Ifremoteisnotspecified,theuserwillberegisteredforthelocalSNMPengine.
Ifencryptionisnotspecified,noencryptionwillbeapplied.
Ifauthenticationisnotspecified,noauthenticationwillbeapplied.
Ifstoragetypeisnotspecified,nonvolatilewillbeapplied.
Mode
Switchcommand,read‐write.
Usage
Althoughalltheparametersexceptfortheusernameareoptional,ifyouare enteringanyofthe
optionalparameters,itisrecommendedthatyouenterthemintheordershowninthesy ntax
statement.
Examples
ThisexampleshowshowtocreateanewSNMPusernamed“netops”.Bydefault,thisuserwillbe
registeredonthelocalSNMPenginewithoutauthentication
andencryption.Entriesrelated tothis
userwillbestoredinpermanent(nonvolatile)memory:
B5(su)->set snmp user netops
ThisexamplecreatesanewSNMPusernamed“admin”withDESencryptionandMD5
authenticationrequired.Theencryptionpasswordis“admintest1”andtheauthentication
passwordis“admintest2.”Bydefault,thisuserwillberegisteredonthelocalSNMPengineand
entriesrelatedtothisuserwillbestoredinpermanent(nonvolatile)
memory.
B5(su)->set snmp user admin encryption des privacy admintest1 authentication md5
admintest2
user SpecifiesanamefortheSNMPv3user.
remoteremoteid (Optional)RegisterstheuseronaspecificremoteSNMPengine.
encryptiondes|
aes
(Optional)Specifiestheencryptiontypeforthisuser.
AESreferstotheAdvancedEncryptionStandardusinga128bitkeysize.
privacyprivpassword (Optional)Specifiesanencryptionpassword.Minimumof
8characters.
Requiredifencryptionisspecified.
authenticationmd5
|sha
(Optional)SpecifiestheauthenticationtyperequiredforthisuserasMD5
orSHA.
authpassword (Optional)Specifiesapasswordforthisuserwhenauthenticationis
required.Minimumof8characters.
volatile|
nonvolatile
(Optional)Specifiesastoragetypeforthisuserentry.