set snmp group
8-12 SNMP Configuration
Mode
Switchcommand,read‐only.
Example
ThisexampleshowshowtodisplaySNMPgroupinformation:
B5(su)->show snmp group
--- SNMP group information ---
Security model = SNMPv1
Security/user name = public
Group name = Anyone
Storage type = nonVolatile
Row status = active
Security model = SNMPv1
Security/user name = public.router1
Group name = Anyone
Storage type = nonVolatile
Row status = active
Table 8‐5providesanexplanationofthecommandoutput.
set snmp group
UsethiscommandtocreateanSNMPgroup.ThisassociatesSNMPv3userstoagroupthatshares
commonaccessprivileges.
Syntax
set snmp group groupname user user security-model {v1 | v2c | usm} [volatile |
nonvolatile]
Parameters
Defaults
Ifstoragetypeisnotspecified,nonvolatilestoragewillbeapplied.
Table 8-5 show snmp group Output Details
Output Field What It Displays...
Security model SNMP version associated with this group.
Security/user name User belonging to the SNMP group.
Group name Name of SNMP group.
Storage type Whether entry is stored in volatile, nonvolatile or read-only memory.
Row status Status of this entry: active, notInService, or notReady.
groupname SpecifiesanSNMPgroupnametocreate.
useruser SpecifiesanSNMPv3usernametoassigntothegroup.
security‐modelv1|
v2c|usm
SpecifiesanSNMPsecuritymodeltoassigntothegroup.
volatile|
nonvolatile
(Optional)SpecifiesastoragetypeforSNMPentriesassociatedwiththe
group.