Cuda 12000 IP Access Switch CLI-based Administration Guide
Configuring SNMP Access Control 179
Perform the following tasks to configure SNMPv3 contexts. Refer to the configuration example below:
Example
The following example displays the configuration for the context “tech” and displays all contexts for an SNMP entity.
root# snmp-server context tech storage permanent status enable
root# show snmp context
row count: 3
Name Storage Status
-------------------------------- ------------ ------------
adc NonVolatile Active
june NonVolatile Active
tech Permanent Active
cli:192.168.208.3:root#
Task Command
1. Enter configuration mode. root
2. Provide the name of the
context.
Enter a single text or numeric
string, up to 32 characters.
snmp-server context <context name>
3. Set the storage type for the
context.
By default, storage is set to
NonVolatile.
snmp-server context [storage
{nonvolatile | permanent | readonly |
volatile}]
4. Set the status for the context.
By default, status is set to
enable.
snmp-server context [status {enable |
disable}]
5. Display all context information
for an SNMP entity.
show snmp context [<context name>]
6. Remove the context
information.
no snmp-server context <context
name>