5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
90
4-102 snmp-server group
This command is used to create an SNMP access group.
The
no
command is used to remove the specified group.
snmp-server group group-name {v1 | v2c | v3 {noauth | auth | priv}} [context context-name] [read
read-view] [write write-view] [notify notify-view]
no snmp-server group group-name {v1 | v2c | v3 {noauth | auth | priv}} [context context-name]
Parameters
group-name
Indicates the group name that is used when configuring communities or
users. The allowed range of characters is 1 to 30 characters.
v1
Indicates that the group in question can only gain access via SNMPv1.
v2c
Indicates that the group in question can only gain access via SNMPv2c.
v3
Indicates that the group in question can only gain access via SNMPv3.
noauth
Indicates that the group in question can gain access only when not
using Authentication or Encryption. This is only applicable if SNMPv3 is
selected.
auth
Indicates that the group in question can gain access only when using
Authentication (but not Encryption). Applicable only if SNMPv3 is
selected.
priv
Indicates that the group in question can gain access only when using
both Authentication and Encryption. This is only applicable if SNMPv3 is
selected.
context context-name
(Optional) Indicates the SNMPv3 context used during access. This is
only applicable if SNMPv3 is selected.
read read-view
(Optional) Indicates the view that the group in question will use during
GET requests. The allowed range of characters is 1 to 30 characters.
write write-view
(Optional) Indicates the view that the group in question will use during
SET requests. The allowed range of characters is 1 to 30 characters.
notify notify-view
(Optional) Indicates the view that the group in question will use when
sending out traps. The allowed range of characters is 1 to 30 characters.
Default
Using the default views, generic groups are created for all versions and privileges.
Command Mode
Global Config
4-103 snmp-server host
This command is used to configure the traps to be sent to the specified host.
The
no
command is used to remove the specified host entry.