Quick Reference Guide
352 SNMP Commands
www.dell.com | support.dell.com
DELL CONFIDENTIAL – PRELIMINARY 5/15/12 – 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.
snmp-server group
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. Use the no
form of this command to remove a specified SNMP group.
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
]] [
context
name]
•
groupname
— The name of the group. (Range: Up to 30 characters)
•
v1
— SNMP
Version 1 security model.
•
v2
— SNMP
Version 2 security model.
•
v3
— SNMP
Version 3 security model.
•
noauth
— Specifies no authentication of a packet. Applicable only to SNMP
Version 3
security model.
•
auth
— Specifies authentication of a packet without encrypting it. Applicable only to SNMP
Version 3 security model.
•
priv
—Specifies authentication of a packet with encryption. Applicable only to SNMP
Version 3 security model.
•
read
readview
— A
string that is the name of the view that enables you only to view the
contents of the agent. If unspecified, all the objects except of the community-table and
SNMPv3 user and access tables are available. (Range: Up to 30 characters)
•
write
writeview
— A string that is the name of the view that enables you to enter data and
configure the contents of the agent. If unspecified, nothing is defined for the write view.
(Range: Up to 30 characters)
•
notify
notifyview
— A string that is the name of the view that enables you to specify an
inform or a trap. If unspecified, nothing is defined for the notify view. (Range: Up to 30
characters.)
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










