Name
snmp-server group — global
Synopsis
snmp-server group [nameaccess] [modeview] [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.
-
nameaccess The
nameof the group, followed by the type ofaccessallowed to the group. Thenameis any string; possible values foraccessare listed in Table 15-20.
Table 17-7. Types of SNMP access
|
Access type |
Privileges granted |
|---|---|
|
|
Access allowed to SNMP Version 1 managers (insecure) |
|
|
Access allowed to SNMP Version 2 managers (insecure) |
|
|
Access allowed to SNMP Version 3 managers; cryptographic authentication required; the packets themselves are not encrypted |
|
|
Access allowed to SNMP Version 3 managers; no authentication required (insecure) |
|
|
Access allowed to SNMP Version 3 managers; cryptographic authentication required; the packets are encrypted |
-
modeview The mode in which access is granted, followed by the name of the view to which the privileges apply.
modemay be eitherread(read-only access),write(write-only access), ornotify(access to traps and notifications). Cisco recommends against using thenotifyoption; use thesnmp-serverhostcommand 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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access