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

\newpage
\subsection{The Snmpd Command}

The snmpd command realizes the function of a network
management agent in a BSD 4.3 UNIX environment. The
code for the snmpd command illustrates the use of the
Development Kit facilities to accelerate development
of an agent that can service network management requests.
The set of management information supported by this code
does not fully conform to RFC 1066, and, accordingly, this
application should not be deployed for any but experimental
purposes.

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

The snmpd command is invoked with the syntax:

{\bf snmpd} [{\bf -h} {\it localHost}] [{\bf -p} {\it localPort}]
[{\bf -c} {\it communityName}]

If the {\bf -h} flag is present, then the daemon
will attempt to listen for management requests
at the IP address specified as {\it localHost,}
instead of merely binding to the wildcard address.

If the {\bf -p} flag is present, then the daemon
will attempt to listen for management requests
at the UDP port specified as {\it localPort,}
instead of that assigned to the ``snmp'' service
in the \verb"/etc/services" database.

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

