Chapter6SNMPConīæguration
StepCommandFunction
2ZXR10(config)#snmp-servergroup
<groupname>v3{auth|noauth|priv}[context
<context-name>{match-prefix|match-exact}][read
<readview>][write<writeview>][notify
<notifyview>]
ConīæguresanewSNMPgroup
(mappingSNMPuserstoSNMP
views).
3ZXR10(config)#snmp-serveruser<user-na
me><group-name>v3{encryptedauth{md5|
sha}<auth-key>[privdes56|<privacy-key>]|[auth
{md5|sha}|<auth-password>|[privdes56
|<privacy-password>]]}
ConīæguresanSNMPv3user.
group<groupname>:nameoftheSNMPgrouptobeconīægured,range:1ā32
characters.
v3:speciīæesthatthegroupistobeusedinSNMPv3.
auth:speciīæesthatpacketsaretobeauthenticated,butnotencrypted.
noauth:speciīæesthatpacketsarenottobeauthenticatedorencrypted.
priv:speciīæesthatpacketsaretobeauthenticatedandencrypted.
<context-name>:contextofthegroup,range:1ā30characters.
match-prefix:deīænesthecontextmatchingmodeaspreīæxmode.
match-exact:deīænesthecontextmatchingmodeasexactmode.
read<readview>:readview,range:1ā30characters.
write<writeview>:writeview,range:1ā30characters.
notify<notifyview>:notifyview,range:1ā30characters.
user<username>:SNMPusername,range:1ā32characters.
<groupname>:groupnamerelatedtouser,range:1ā32characters.
v3:speciīæesthattheuserusesSNMPv3.
encrypted:speciīæesthatthepasswordtobeenteredisnotcleartextbutciphertext.
Itisnotrecommendedtousethisoption.
auth:speciīæesthattheuserhastheauthenticationprivilege.
md5|sha:usesHashedMessageAuthenticationCodewithMD5(HMAC-MD5)ā96as
theauthenticationmode,orusesHMAC-SHA-96astheauthenticationmode.
<auth-key>:authenticationpasswordorauthenticationkey,range:1ā30characters.If
itisanencryptedpassword,itsrangeis32ā40characters.
des56:usesCBC-DESastheencryptionmode.
<priv-key>:ciphertextencryptionpassword,range:1ā32characters.
6-5
SJ-20140504150128-007|2014-05-10(R1.0)ZTEProprietaryandConīædential