Configuring the ECN330-switch
1231553-KDU 137 365 Uen D 2006-06-16
CLI – Use the snmp-server group command to configure a new group,
specifying the security model and level, and restricting MIB access to defined
read and write views.
6.4.4.6 Setting SNMPv3 Views
SNMPv3 views are used to restrict user access to specified portions of the MIB
tree. The predefined view “defaultview” includes access to the entire MIB tree.
Command Attributes
• View Name – The name of the SNMP view. (Range: 1-32 characters)
• View OID Subtrees – Shows the currently configured object identifiers
of branches within the MIB tree that define the SNMP view.
• Edit OID Subtrees – Allows the object identifiers of branches within the
MIB tree to be configured. Wild cards can be used to mask a specific
portion of the OID string.
• Type – Indicates if the object identifier of a branch within the MIB tree is
included or excluded from the SNMP view.
Console(config)#snmp-server group v3secure v3 priv read
defaultview write defaultview
Console(config)#exit
Console#show snmp group
.
.
Group Name: secure-users
Security Model: v3
Read View: defaultview
Write View: defaultview
Notify View: defaultview
Storage Type: nonvolatile
Row Status: active
Console#