Specifications
SNMP Configuration Command Set
Configuring SNMP Access Rights
4-30 SecureStack B2 Configuration Guide
4.3.3.2 set snmp access
Use this command to set an SNMP access configuration.
set snmp access groupname security-model {v1 | v2c | usm} [noauthentication
| authentication | privacy] [context context] [exact | prefix] [read read] [write
write] [notify notify] [volatile | nonvolatile]
Syntax Description
Command Defaults
• If security level is not specified, no authentication will be applied.
• If context is not specified, access will be enabled for the default context. If
context is specified without a context match, exact match will be applied.
• If re a d view is not specified none will be applied.
groupname Specifies a name for an SNMPv3 group.
security-model v1 |
v2c | usm
Specifies SNMP version 1, 2c or 3 (usm).
noauthentication |
authentication |
privacy
(Optional) Applies SNMP security level as no
authentication, authentication (without privacy) or
privacy. Privacy specifies that messages sent on behalf of
the user are protected from disclosure.
context context
exact | prefix
(Optional) Sets the context for this access configuration
and specifies that the match must be exact (matching the
whole context string) or a prefix match only. Context is a
subset of management information this SNMP group will
be allowed to access. Valid values are full or partial
context names. To review all contexts configured for the
device, use the show snmp context command as
described in Section 4.3.4.2.
read read (Optional) Specifies a read access view.
write
write (Optional) Specifies a write access view.
notify notify (Optional) Specifies a notify access view.
volatile |
nonvolatile |
read-only
(Optional) Stores associated SNMP entries as temporary
or permanent, or read-only.