SMC Networks SMC8708L2 Switch User Manual


 
C
ONFIGURING
THE
S
WITCH
3-72
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.
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-64 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 you to configure the object identifiers of
branches within the MIB tree. 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 secure-users v3 priv read
defaultview write defaultview notify defaultview 4-163
Console(config)#exit
Console#show snmp group 4-164
.
.
.
Group Name: secure-users
Security Model: v3
Read View: defaultview
Write View: defaultview
Notify View: defaultview
Storage Type: nonvolatile
Row Status: active
Console#