Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ snmpgetname(1M) — DG/UX R4.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought



snmpgetname(1M)                 TCP/IP R4.11                 snmpgetname(1M)


NAME
       snmpgetname - obtains requested MIB tree information

SYNOPSIS
       snmpgetname
        -n  | -s | -o [-p]  MIB-object ...

   where:
       MIB-object is a MIB object node residing in the MIB tree (ie:
              dataGeneral or 1.3.6.1.4.1.106).

DESCRIPTION
       The snmpgetname command can be used to obtain various MIB node
       information for a specified MIB object.

       If a MIB object symbolic name is specified (ie dataGeneral,
       enterprises.106 ), the snmpgetname can be used to display the
       object's ID in numerical dot notation (1.3.6.1.4.1.106), or in OID
       format (1 3 6 1 4 1 106).  It can also be used to obtain the object's
       parent node (1.3.6.1.4.1).

       If a MIB node object ID is specified in dot notation
       (1.3.6.1.4.1.106), the snmpgetname can be used to display the
       object's symbolic name (dataGeneral) or the object's ID on OID format
       (1 3 6 1 4 1 106).  It can also be used to obtain the object's parent
       node (1.3.6.1.4.1).


       Options are:

       -n     Display specified MIB object in a numeric format

       -s     Display specified MIB object in symbolic name format

       -o     Display specified MIB object in OID format

       -p     Display the parent object of the specified MIB object

EXAMPLES
       The first example shows how snmpgetname can be used to obtain the
       symbolic name of object ID "1.3.6.1.4.1.106.2.1.2".
       $ snmpgetname -s 1.3.6.1.4.1.106.2.1.2
       dguxSoftware

       The second example shows how snmpgetname can be used to obtain the
       object ID of the symbolic name "dguxUEAConf".
       $ snmpgetname -n dguxUEAConf
       1.3.6.1.4.1.106.2.1.2.2.7.1

       The third example shows how snmpgetname can be used to obtain the
       symbolic name of the parent of object "dataGeneral".
       $ snmpgetname -s -p dataGeneral
       enterprises


DIAGNOSTICS
       Exit status is 0 upon success.

       Exit status is -1 if there are errors parsing the command line.

       Exit status is 1 if there is an error obtaining the requested
              information.

SEE ALSO
Licensed material--property of copyright holder(s)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026