Technical information
Cuda 12000 IP Access Switch CLI Reference Guide
snmp-server context 559
snmp-server context
Defines an SNMP context. An SNMP context is a collection of management information that an
SNMP entity can access. A single management information item can be in more than one
context. An SNMP entity potentially has access to many contexts.
Typically, you use contexts as part of an SNMP version 3 network management environment.
However, you may also associate contexts with SNMP version 1 and SNMP version 2c
communities.
Use the no snmp-server context command to remove a context.
Mode
root
Syntax
snmp-server context <context-name>
[storage {volatile | nonvolatile | permanent | readonly}]
[status {enable | disable}]
Arguments
<context-name> Name that identifies a context.
storage {volatile |
nonvolatile |
permanent |
readonly
}
Specifies how the context entry is stored:
■ volatile – Entry is stored in volatile memory. The information is lost
during a system reboot.
■ nonvolatile (default) – Entry is stored in non-volatile memory. The
information is not lost during a system reboot.
■ permanent – Entry is stored in non-volatile memory. You cannot delete
the information but you can make modifications.
■ readonly – Entry is stored in non-volatile memory. You cannot delete or
modify the information.
status
{enable | disable}
Enables or disables the context. By default, the context is enabled.