Simple Network Management Protocol (SNMP) | 949Read Managed Object ValuesYou may only retrieve (read) managed object values if your management station is a member of the samecommunity as the SNMP agent.Dell Force10 supports RFC 4001, Textual Conventions for Internet Work Addresses that defines valuesrepresenting a type of internet address. These values display for ipAddressTable objects using thesnmpwalk command.In the following figure, the value “4” displays in the OID before the IP address for IPv4. For an IPv6 IPaddress ), a value of “16” displays.There are several UNIX SNMP commands that read data:Task CommandRead the value of a single managed object,as shown in Figure 46-3.snmpget -v version -c community agent-ip {identifier.instance |descriptor.instance}Figure 46-3. Reading the Value of a Managed ObjectRead the value of the managed objectdirectly below the specified object, asshown in Figure 46-4.snmpgetnext -v version -c community agent-ip {identifier.instance |descriptor.instance}Figure 46-4. Reading the Value of the Next Managed Object in the MIBRead the value of many objects at once, asshown in Figure 46-5.snmpwalk -v version -c community agent-ip {identifier.instance |descriptor.instance}>snmpwalk -v 2c -c public 10.11.195.63 1.3.6.1.2.1.4.34IP-MIB::ip.34.1.3.1.4.1.1.1.1 = INTEGER: 1107787778IP-MIB::ip.34.1.3.1.4.2.1.1.1 = INTEGER: 1107787779IP-MIB::ip.34.1.3.2.16.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.1 = INTEGER: 1107787778IP-MIB::ip.34.1.3.2.16.0.2.0.0.0.0.0.0.0.0.0.0.0.0.0.1 = INTEGER: 1107787779IP-MIB::ip.34.1.3.2.16.254.128.0.0.0.0.0.0.2.1.232.255.254.139.5.8 = INTEGER: 1107787778IP-MIB::ip.34.1.4.1.4.1.1.1.1 = INTEGER: 1IP-MIB::ip.34.1.4.1.4.2.1.1.1 = INTEGER: 1IP-MIB::ip.34.1.4.2.16.0.1.0.0.0.0.0.0.0.0.0.0.0.0.0.1 = INTEGER: 1> snmpget -v 2c -c mycommunity 10.11.131.161 sysUpTime.0DISMAN-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> snmpgetnext -v 2c -c mycommunity 10.11.131.161 .1.3.6.1.2.1.1.3.0SNMPv2-MIB::sysContact.0 = STRING:> snmpgetnext -v 2c -c mycommunity 10.11.131.161 sysContact.0