EasyManua.ls Logo

Digisol DG-GS4528SE - Snmp-Server View

Digisol DG-GS4528SE
1416 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
C
HAPTER
23
| SNMP Commands
SNMPv3 Commands
– 785 –
snmp-server view This command adds an SNMP view which controls user access to the MIB.
Use the no form to remove an SNMP view.
SYNTAX
snmp-server view view-name oid-tree {included | excluded}
no snmp-server view view-name
view-name - Name of an SNMP view. (Range: 1-32 characters)
oid-tree - Object identifier of a branch within the MIB tree. Wild
cards can be used to mask a specific portion of the OID string.
(Refer to the examples.)
included - Defines an included view.
excluded - Defines an excluded view.
DEFAULT SETTING
defaultview (includes access to the entire MIB tree)
COMMAND MODE
Global Configuration
COMMAND USAGE
u Views are used in the snmp-server group command to restrict user
access to specified portions of the MIB tree.
u The predefined view “defaultview” includes access to the entire MIB
tree.
EXAMPLES
This view includes MIB-2.
Console(config)#snmp-server view mib-2 1.3.6.1.2.1 included
Console(config)#
This view includes the MIB-2 interfaces table, ifDescr. The wild card is used
to select all the index values in this table.
Console(config)#snmp-server view ifEntry.2 1.3.6.1.2.1.2.2.1.*.2 included
Console(config)#
This view includes the MIB-2 interfaces table, and the mask selects all
index entries.
Console(config)#snmp-server view ifEntry.a 1.3.6.1.2.1.2.2.1.1.* included
Console(config)#

Table of Contents