Configuring SNMP Users, Groups and Communities set snmp user
5-12 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
ThisexampleshowshowtocreateanewSNMPusernamed“netops”.Bydefault,thisuserwillbe
registeredonthelocalSNMPenginewithoutauthenticationandencryption.Entriesrelatedtothis
userwillbestoredinpermanent(nonvolatile)memory:
Matrix(rw)->set snmp user netops
clear snmp user
UsethiscommandtoremoveauserfromtheSNMPv3security‐modellist.
Syntax
clear snmp user user [remote remote]
Parameters
user SpecifiesanamefortheSNMPv3user.
remoteremoteid (Optional)RegisterstheuseronaspecificremoteSNMPengine.
authenticationmd5|
sha
(Optional)Specifiestheauthenticationtyperequiredforthisuseras
MD5orSHA.
authpassword (Optional)Specifiesapasswordforthisuserwhenauthentica tionis
required.Minimumof8characters.
privacy
privpassword (Optional)Appliesencryptionand specifiesanencryptionpassword.
Minimumof8characters
volatile|nonvolatile (Optional)Specifiesastoragetypeforthisuserentry.
user SpecifiesanSNMPv3usertoremove.
remoteremote (Optional)RemovestheuserfromaspecificremoteSNMPengine.