Set Snmp View - Enterasys D2 D2G124-12P Cli Reference Manual

D-series ethernet switches
Table of Contents

Advertisement

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 5‐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:
D2(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:
D2(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.
set snmp view
D-Series CLI Reference 5-21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Enterasys d2 d2g124-12D2g124-12D2g124-12p

Table of Contents