Mode
Switch command, read‐only.
Usage
An SNMP context is a collection of management information that can be accessed by an SNMP
agent or entity. The default context allows all SNMP agents to access all management information
(MIBs). When created using the set snmp access command ("set snmp access" on page 8‐17), other
contexts can be applied to limit access to a subset of management information.
Example
This example shows how to display a list of all SNMP contexts known to the device:
C2(su)->show snmp context
--- Configured contexts:
default context (all mibs)
set snmp view
Use this command to set a MIB configuration for SNMPv3 view‐based access (VACM).
Syntax
set snmp view viewname viewname subtree subtree [mask mask] [included | excluded]
[volatile | nonvolatile]
Parameters
viewname viewname Specifies a name for a MIB view.
subtree subtree
mask mask
included |
excluded
volatile |
nonvolatile
Defaults
If not specified, mask will be set to 255.255.255.255
If not specified, subtree use will be included.
If storage type is not specified, nonvolatile (permanent) will be applied.
Mode
Switch command, read‐write.
Example
This example shows how to set an SNMP MIB view to "public" with a subtree name of 1.3.6.1
included:
C2(su)->set snmp view viewname public subtree 1.3.6.1 included
Specifies a MIB subtree name.
(Optional) Specifies a bitmask for a subtree.
(Optional) Specifies subtree use (default) or no subtree use.
(Optional) Specifies the use of temporary or permanent (default) storage.
SecureStack C2 Configuration Guide 8-21
set snmp view
Need help?
Do you have a question about the SecureStack C2 C2G170-24 and is the answer not in the manual?