Specifications
7-60 IP Services Commands
set snmp usm
CreatesaUSMuserforSNMPv3.
Syntax
set snmp usm usm-username snmp-engine-id {ip ip-addr | local | hex hex-string}
access {read-only | read-notify | notify-only | read-write | notify-read-write}
auth-type {none | md5 | sha} {auth-pass-phrase string | auth-key hex-string}
encrypt-type {none | des | 3des | aes} {encrypt-pass-phrase string |
encrypt-key hex-string}
Parameters
Note: This command does not apply to SNMPv1 or SNMPv2c. For these SNMP versions, use the
set snmp community command to configure community strings.
usm‐username NameoftheSNMPv3user.Specifybetween1and32alphanumeric
characters,withnospaces.
snmp‐engine‐id
{ipip‐addr|local
|hexhex‐string}
SpecifiesauniqueidentifierfortheSNMPengine.
Tosendinforms,youmustspecifytheengineIDoftheinformreceiver.To
sendtrapsandtoallowgetandsetoperationsandsoon,specifylocalasthe
engineID.
• hexhex‐string—IDisahexadecimalstring.
• ipip‐addr—IDisbasedontheIPaddressofthestationrunningthe
managementapplication.EntertheIPaddressofthestation.MSS
calculatestheengineIDbasedontheaddress.
• local—Usesthevaluecomputedfromtheswitch’ssystemIPaddress.
access{read‐only
|read‐notify|
notify‐only|
read‐write|
notify‐read‐write}
Specifiestheaccessleveloftheuser:
• read‐only—AnSNMPmanagementapplicationusingthe
stringcanget
(read)objectvaluesontheswitchbutcannotset(write)them.
• read‐notify—AnSNMPmanagementapplicationusingthestringcan
getobjectvaluesontheswitchbutcannotsetthem.Theswitchcanuse
thestringtosendnotifications.
• notify‐only—Theswitchcanusethestring
tosendnotifications.
• read‐write—AnSNMPmanagementapplicationusingthestringcan
getandsetobjectvaluesontheswitch.
• notify‐read‐write—AnSNMPmanagementapplicationusingthestring
cangetandsetobjectvaluesontheswitch.Theswitchcanusethestring
tosendnotifications.