Quick Reference Guide

PowerConnect B-Series TI24X Configuration Guide 1019
53-1002269-02
SNMP version 3 traps
32
NOTE
The snmp-server view command supports the MIB objects as defined in RFC 1445.
Syntax: [no] snmp-server view <name> <mib_tree> included | excluded
The <name> parameter can be any alphanumeric name you choose to identify the view. The
names cannot contain spaces.
The <mib_tree> parameter is the name of the MIB object or family. MIB objects and MIB sub-trees
can be identified by a name or by the numbers called Object Identifiers (OIDs) that represent the
position of the object or sub-tree in the MIB hierarchy. You can use a wildcard (*) in the numbers to
specify a sub-tree family.
The included | excluded parameter specifies whether the MIB objects identified by the
<mib_family> parameter are included in the view or excluded from the view.
NOTE
All MIB objects are automatically excluded from any view unless they are explicitly included;
therefore, when creating views using the snmp-server view command, indicate which portion of the
MIB you want users to access.
For example, you may want to assign the view calledadmin a community string or user group. The
“admin” view will allow access to the Dell MIBs objects that begin with the 1.3.6.1.4.1.1991 object
identifier. Enter the following command.
PowerConnect(config)# snmp-server view admin 1.3.6.1.4.1.1991 included
You can exclude portions of the MIB within an inclusion scope. For example, if you want to exclude
the snAgentSys objects, which begin with 1.3.6.1.4.1.1991.1.1.2 object identifier from the admin
view, enter a second command such as the following.
PowerConnect(config)# snmp-server view admin 1.3.6.1.4.1.1991.1.1.2 excluded
NOTE
Note that the exclusion is within the scope of the inclusion.
To delete a view, use the no parameter before the command.
SNMP version 3 traps
Devices support SNMP notifications in SMIv2 format. This allows notifications to be encrypted and
sent to the target hosts in a secure manner.
Defining an SNMP group and specifying which
view is notified of traps
The SNMP group command allows configuration of a viewname for notification purpose, similar to
the read and write view. The default viewname is "all", which allows access to the entire MIB.
To configure an SNMP user group, first configure SNMP v3 views using the snmp-server view
command.Refer to “SNMP v3 Configuration examples” on page 1023. Then enter a command such
as the following.