GateD Configuration Guide - SNMP

# 6.5 The SNMP Statement

The Simple Network Management Protocol (SNMP) is not a routing protocol but a network management protocol. The `snmp` statement controls whether GateD tries to contact the SNMP Multiplexing daemon to register supported variables. The SNMP daemon (usually `smuxd`) must be run independently. The `snmp` statement only controls whether GateD keeps the management software appraised of its status.

GateD communicates with the SNMP daemon via the SMUX protocol that is described in RFC 1227.

## The SNMP statement

    snmp yes | no | on | off
    [ {
        port port ;
        debug ;
        traceoptions traceoptions ;
    } ] ;

Reporting is enabled by specifying `yes` or `on` and disabled with `no` or `off`.

The default is `on`.

port port
  By default, the SMUX daemon listens for requests on port 199. GateD can be configured to try to contact the SMUX daemon on a different port by explicitly specifying the port.
debug
  Specifying this option enables debugging of the ISODE SMUX code. The default is debugging disabled.
traceoptions trace_options
  Specifies the tracing options for SMUX. (See Trace Statements and the SMUX specific tracing options below.)

## Tracing options

There are no SNMP-specific trace options. SNMP requests received via the SMUX protocol from the SNMP daemon are not handles quite like packets and are currently handled differently. The `detail`, `send`, and `recv` options are not supported.

receive
  SNMP requests received from the SMUX daemon and the associated responses.
register
  Protocol requests to register variables.
resolve
  Protocol requests to resolve variable names.
trap
  SNMP trap requests from protocols.

Last updated April 27, 1997