
284
SNMP Commands
www
.dell.com | support.dell.com
DELL CONFIDENTIAL – PRELIMINARY 9/13/06 – FOR PROOF ONLY
Examples
The following example creates a view that includes all objects in the MIB-II system group except
for sysServices (System 7) and all objects for interface 1 in the MIB-II interface group.
sn
mp
-se
r
ve
r
g
r
ou
p
The
snmp-server group
Global Configuration mode command configures a new Simple
Management Protocol (SNMP) group or a table that maps SNMP users to SNMP views. To
remove a specified SNMP group, use the
no
form of this command.
Syntax
snmp-server group
groupname
{v1 | v2 | v3 {noauth | auth | priv} [notify
notifyview
] }
[read
readview
] [write
writeview
]
no snmp-server group
groupname
{v1 | v2 | v3 [noauth | auth | priv]}
•
groupname
—Specifies the name of the group.
•
v1
—Indicates the SNMP Version 1 security model.
•
v2
—Indicates the SNMP Version 2 security model.
•
v3
—Indicates the SNMP Version 3 security model.
•
noauth
—Indicates no authentication of a packet. Applicable only to the SNMP Version 3
security model.
•
auth
—Indicates authentication of a packet without encrypting it. Applicable only to the
SNMP Version 3 security model.
•
priv
—Indicates authentication of a packet with encryption. Applicable only to the SNMP
Version 3 security model.
•
readview
—Specifies a string that is the name of the view that enables only viewing the
contents of the agent. If unspecified, all objects except for the community-table and
SNMPv3 user and access tables are available.
•
writeview
—Specifies a string that is the name of the view that enables entering data and
configuring the contents of the agent. If unspecified, nothing is defined for the write
view.
•
notifyview
—Specifies a string that is the name of the view that enables specifying an
inform or a trap. If unspecified, nothing is defined for the notify view. Applicable only to
the SNMP Version 3 security model.
Console(config)#
snmp-server view
user-view system
included
Console(config)#
snmp-server view
user-view system.7
excluded
Console(config)#
snmp-server view
user-view ifEntry.*.1
included