Reading Managed Object Values - Dell S6100 Configuration Manual

On system
Hide thumbs Also See for S6100:
Table of Contents

Advertisement

Configure the user with an authorization password (password privileges only).
CONFIGURATION mode
snmp-server user name group-name 3 noauth auth md5 auth-password
Configure an SNMP group (password privileges only).
CONFIGURATION mode
snmp-server group groupname {oid-tree} auth read name write name
Configure an SNMPv3 view.
CONFIGURATION mode
snmp-server view view-name 3 noauth {included | excluded}
NOTE:
To give a user read and write privileges, repeat this step for each privilege type.
Configure an SNMP group (with password or privacy privileges).
CONFIGURATION mode
snmp-server group group-name {oid-tree} priv read name write name
Configure the user with a secure authorization password and privacy password.
CONFIGURATION mode
snmp-server user name group-name {oid-tree} auth md5 auth-password priv des56 priv password
Configure an SNMPv3 view.
CONFIGURATION mode
snmp-server view view-name oid-tree {included | excluded}
Select a User-based Security Type
Dell(conf)#snmp-server host 1.1.1.1 traps {oid tree} version 3 ?
auth
Use the SNMPv3 authNoPriv Security Level
noauth
Use the SNMPv3 noAuthNoPriv Security Level
priv
Use the SNMPv3 authPriv Security Level
Dell(conf)#snmp-server host 1.1.1.1 traps {oid tree} version 3 noauth ?
WORD
SNMPv3 user name

Reading Managed Object Values

You may only retrieve (read) managed object values if your management station is a member of the same community as the SNMP agent.
Dell Networking supports RFC 4001, Textual Conventions for Internet Work Addresses that defines values representing a type of internet
address. These values display for ipAddressTable objects using the snmpwalk command.
There are several UNIX SNMP commands that read data.
Read the value of a single managed object.
snmpget -v version -c community agent-ip {identifier.instance | descriptor.instance}
Read the value of the managed object directly below the specified object.
snmpgetnext -v version -c community agent-ip {identifier.instance | descriptor.instance}
Read the value of many objects at once.
snmpwalk -v version -c community agent-ip {identifier.instance | descriptor.instance}
Examples of Reading the Value of Managed Objects
In the following example, the value "4" displays in the OID before the IP address for IPv4. For an IPv6 IP address, a value of "16" displays.
> snmpget -v 2c -c mycommunity 10.11.131.161 sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (32852616) 3 days, 19:15:26.16
> snmpget -v 2c -c mycommunity 10.11.131.161 .1.3.6.1.2.1.1.3.0
Simple Network Management Protocol (SNMP)
791

Advertisement

Table of Contents
loading

Table of Contents