The following code shows typical entries within an SNMP configuration file. Indentations in the file are optional, for user readability only.
#========================================================================
# snmp.cfg
#
# This is an example of a file that specifies an SNMP configuration.
# This file must be placed in the nms/ctaccess/cfg directory.
#
#========================================================================
[common]
# Definition of the UDP/IP ports used by the multiplexer to communicate with
# the Master Agent and the NMS agents.
SnmpPort = 161
MasterAgentPort = 49212
CommunicationPort = 49213
# Default access rights to the NMS agents. Format: <r/w>,<community>,<host>
access = readwrite, public, *
#access = readonly, guest, snmplab_3
# Default trap destinations for the NMS agents. Format: <host>,<community>
trap = localhost, public
#trap = snmplab_3, private
# Keep this line to allow the Multiplexer to send requests to NMS subagents:
access = readwrite, *, localhost
[chassisAgent]
# Type of chassis. Allowed values: 1=Unknown chassis
# 2=CPCI chassis
# 3=Generic PC chassis
# 4=Generic Sun chassis
chassType = 3
# Description string for the chassis.
chassDescr = Generic PC development computer
# Descriptions of the boards in the chassis.
# Format: <board no.>,<description string>
#boardDescr = 0, Tested 01/25/1991
#boardDescr = 1, Bad
#boardDescr = 3, Bad
# List of access rights. Format: <r/w>,<community>,<host>
#access = writeonly, private, snmplab_3
# List of trap destinations. Format: <host>,<community>
#trap = localhost, public
#trap = snmplab_3, private
[ds1Agent]
# List of access rights. Format: <r/w>,<community>,<host>
#access = writeonly, private, snmplab_3
# List of trap destinations. Format: <host>,<community>
#trap = localhost, public
[oamAgent]
# List of access rights. Format: <r/w>,<community>,<host>
#access = writeonly, private, snmplab_3
# List of trap destinations. Format: <host>,<community>
#trap = localhost, public
[softRevAgent]
# List of access rights. Format: <r/w>,<community>,<host>
#access = writeonly, private, snmplab_3
# List of trap destinations. Format: <host>,<community>
#trap = localhost, public
[rtpAgent]
# *** Note: The RTP Agent is installed with the Fusion Package ***
# List of access rights. Format: <r/w>,<community>,<host>
#access = writeonly, private, snmplab_3
# List of trap destinations. Format: <host>,<community>
#trap = localhost, public