DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T s

⟦3daa0eaa4⟧ TextFile

    Length: 2076 (0x81c)
    Types: TextFile
    Names: »snmpnext.tex«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦697af93db⟧ »EurOpenD3/network/snmp/mit-snmp.tar.Z« 
        └─⟦57bbcbe75⟧ 
            └─⟦this⟧ »./doc/snmpnext.tex« 
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦925ee6880⟧ »EurOpenD3/network/snmp/mit-snmp.900225.tar.Z« 
        └─⟦a4bfa469c⟧ 
            └─⟦this⟧ »./doc/snmpnext.tex« 

TextFile

%
%	$Header: snmpnext.tex,v 1.1 89/01/15 19:59:40 jrd Exp $
%	Author: J. Davin
%	Copyright 1988, 1989, Massachusetts Institute of Technology
%

\newpage
\subsection{The Snmpnext Command}

The snmpnext command attempts to retrieve and display
specified subtrees of the MIB.
It is coded to run in a BSD 4.3 UNIX environment.

The code for the snmpnext command illustrates the use of the
Development Kit to accelerate development
of network management applications as well as the
use of the SNMP protocol {\it next} operation.

Sources for the snmpnext command reside in the
\verb"snmpnext" subdirectory of the Development Kit
distribution hierarchy.

It is invoked with the syntax:

{\bf snmpnext} [{\bf -h} {\it remoteHost}] [{\bf -p} {\it remotePort}]
[{\bf -c} {\it communityName}]
[{\bf -t} {\it timeout}]
[{\bf -i} {\it requestId}]
[{\it name} ] $\ldots$

If the {\bf -h} flag is present, then the program
will send its management request
to the IP address specified as {\it remoteHost.}

If the {\bf -p} flag is present, then the program
will send its management request
to the UDP port specified as {\it remotePort,}
instead of that assigned to the ``snmp'' service
in the \verb"/etc/services" database.

If the {\bf -c} flag is present, then the program
will generate and accept management requests
associated with the community name specified as {\it communityName,}
instead of using the community name ``public.''

If the {\bf -i} flag is present, then the program
will identify its first management request by
the number specified as {\it requestId,}
instead of using the value zero.

If the {\bf -t} flag is present, then the program
will terminate after the number of seconds
specified as {\it timeout,}
instead of waiting forever for a response from the
remote agent.

For example, the command

snmpnext -h anyhost 1.3.6.1.2.1.4.21.1

has the effect of retrieving the IP routing table
for the host named {\it anyhost.} The command

snmpnext -h anyhost 1.3.6.1.2.1.5

has the effect of retrieving the all ICMP
protocol statistics for the host named {\it anyhost.}