Omitir para ir al contenido principal
  • Hacer pedidos rápida y fácilmente
  • Ver pedidos y realizar seguimiento al estado del envío
  • Cree y acceda a una lista de sus productos
  • Administre sus sitios, productos y contactos de nivel de producto de Dell EMC con Administración de la empresa.

Dell PowerEdge FN I/O Module Configuration Guide 9.10(0.0)

PDF

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}
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.

Example of Reading the Value of a Managed Object

> 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
                                    DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (32856932) 3 days, 
                                    19:16:09.32
                                 

Example of 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
                                    SNMPv2-MIB::sysName.0 = STRING:
                                 

Example of Reading the Value of Many Managed Objects at Once

> snmpwalk -v 2c -c mycommunity 10.16.130.148 .1.3.6.1.2.1.1
                                    SNMPv2-MIB::sysDescr.0 = STRING: Dell Networking OS
                                    Operating System Version: 1.0
                                    Application Software Version: E8-3-17-46
                                    Series: I/O-Aggregator
                                    Copyright (c) 1999-2012 by Dell Inc. All Rights Reserved.
                                    Build Time: Sat Jul 28 03:20:24 PDT 2012
                                    SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.6027.1.4.2
                                    DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (77916) 0:12:59.16
                                    SNMPv2-MIB::sysContact.0 = STRING:
                                    SNMPv2-MIB::sysName.0 = STRING: FTOS
                                    SNMPv2-MIB::sysLocation.0 = STRING:
                                    SNMPv2-MIB::sysServices.0 = INTEGER: 4
                                 

Califique este contenido

Preciso
Útil
Fácil de comprender
¿Este artículo fue útil?
0/3000 characters
  Proporcione calificaciones (1 a 5 estrellas).
  Proporcione calificaciones (1 a 5 estrellas).
  Proporcione calificaciones (1 a 5 estrellas).
  Seleccione si el artículo fue útil o no.
  Los comentarios no pueden contener estos caracteres especiales: <>"(", ")", "\"