Administrator Guide

Switch Management Commands 2143
snmp-server group
Use the snmp-server group command in Global Configuration mode to
configure a new Simple Management Protocol (SNMP) group or a table that
maps SNMP users to SNMP views. To remove a specified SNMP group, use
the no form of this command.
Syntax
snmp-server group groupname { v1 | v2 | v3 { noauth | auth | priv } [
notify notifyview ] } [ context contextname ] [ read readview ] [ write
writeview ]
no snmp-server group groupname { v1 | v2 | v3 { noauth | auth | priv } } [
context contextname ]
groupname — Specifies the name of the group. (Range: 1-30
characters.)
v1 — Indicates the SNMP Version 1 security model.
v2 — Indicates the SNMP Version 2 security model.
v3 — Indicates the SNMP Version 3 security model.
noauth — Indicates no authentication of a packet. Applicable only to
the SNMP Version 3 security model.
auth — Indicates authentication of a packet without encrypting it.
Applicable only to the SNMP Version 3 security model.
priv — Indicates authentication of a packet with encryption. Applicable
only to the SNMP Version 3 security model.
contextname — Provides different views of the system and provides the
user a way of specifying that context.
notifyview — Defines a string that is the name of the view that enables
specifying an inform or a trap. If unspecified, nothing is defined for the
notify view. (Range: 1-30 characters.)
readview — A string that is the name of the view that enables the you to
view only the contents of the agent. If unspecified, all the objects except
for the community-table and SNMPv3 user and access tables are
available. (Range: 1-30 characters.)