White Papers

Table Of Contents
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
The following example shows reading the value of the next managed object.
> snmpgetnext -v 2c -c mycommunity 10.11.131.161 .1.3.6.1.2.1.1.3.0
SNMPv2-MIB::sysContact.0 = STRING:
> snmpgetnext -v 2c -c mycommunity 10.11.131.161 sysContact.0
The following example shows reading the value of the many managed objects at one time.
> snmpwalk -v 2c -c mycommunity 10.11.131.161 .1.3.6.1.2.1.1
SNMPv2-MIB::sysDescr.0 = STRING: Dell EMC Real Time Operating System Software
Dell Operating System Version: 1.0
Dell Application Software Version: E_MAIN4.9.4.0.0
Copyright (c) 1999-2014 by Dell
Build Time: Mon May 12 14:02:22 PDT 2008
SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.6027.1.3.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (32920954) 3 days, 19:26:49.54
SNMPv2-MIB::sysContact.0 = STRING:
Writing Managed Object Values
You may only alter (write) a managed object value if your management station is a member of the same community as the
SNMP agent, and the object is writable.
Use the following command to write or write-over the value of a managed object.
To write or write-over the value of a managed object.
snmpset -v version -c community agent-ip {identifier.instance |
descriptor.instance}syntax value
> snmpset -v 2c -c mycommunity 10.11.131.161 sysName.0 s "R5"
SNMPv2-MIB::sysName.0 = STRING: R5
Configuring Contact and Location Information using
SNMP
You may configure system contact and location information from the Dell EMC Networking system or from the management
station using SNMP.
To configure system contact and location information from the Dell EMC Networking system and from the management station
using SNMP, use the following commands.
(From a Dell EMC Networking system) Identify the system manager along with this persons contact information (for
example, an email address or phone number).
CONFIGURATION mode
snmp-server contact text
You may use up to 55 characters.
The default is None.
(From a Dell EMC Networking system) Identify the physical location of the system (for example, San Jose, 350 Holger Way,
1st floor lab, rack A1-1).
CONFIGURATION mode
snmp-server location text
You may use up to 55 characters.
Simple Network Management Protocol (SNMP)
797