Name
snmp-server group — global
Synopsis
snmp-server group [name access
] [mode view
] [accessaccess-list
] no snmp-server group
Configures
SNMP
Default
No groups defined
Description
This command allows you to associate one or more views (defined by the snmp-server view
command) in a group for the purpose of controlling access to the data objects included in the view.
-
name access
The
name
of the group, followed by the type ofaccess
allowed to the group. Thename
is any string; possible values foraccess
are listed in Table 17-23.Table 17-23. Types of SNMP accessAccess type
Privileges granted
v1
Access allowed to SNMP Version 1 managers (insecure).
v2c
Access allowed to SNMP Version 2 managers (insecure).
v3 auth
Access allowed to SNMP Version 3 managers; cryptographic authentication required; the packets themselves are not encrypted.
v3 noauth
Access allowed to SNMP Version 3 managers; no authentication required (insecure).
v3 priv
Access allowed to SNMP Version 3 managers; cryptographic authentication required; the packets are encrypted.
-
mode view
The mode in which access is granted, followed by the name of the view to which the privileges apply.
mode
may be eitherread
(read-only access),write
(write-only access), ornotify
(access to traps and notifications). Cisco recommends against using thenotify
option; use thesnmp-server host
command to control trap destinations. In one command, you can specify a read view, a write view, and a notify view. If you don’t specify ...
Get Cisco IOS in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.