Technical data

Configuring SNMP
13.4 Configuring SNMP
Note
You cannot use TCPIP$CONFIG to modify your existing SNMP
configuration; TCPIP$CONFIG is intended only to set up a new SNMP
configuration.
To modify the current SNMP configuration (for example, to specify an
additional community name and address), you must enter the SET
CONFIGURATION SNMP command with applicable qualifiers.
When you run TCPIP$CONFIG after a TCP/IP Services upgrade, be sure to
disable and then reenable the SNMP service.
You supply the following information about your host when you configure SNMP
initially during TCPIP$CONFIG or when you issue the SET CONFIGURATION
SNMP command to modify your existing SNMP configuration. For detailed
information about the SET CONFIGURATION SNMP command and qualifiers,
see the Compaq TCP/IP Services for OpenVMS Management Command Reference
manual.
The name of the person to contact about the system. For example:
TCPIP> SET CONFIGURATION SNMP/CONTACT="Sam Spade"
The physical location of the system. For example:
TCPIP> SET CONFIGURATION SNMP -
_TCPIP> /LOCATION=(FIRST="Falcon Building",SECOND="Los Angeles, CA")
The community information used to authenticate requests from a network
manager and to determine the addresses to which trap messages are sent.
SNMP network management clients are grouped into communities as
specified in RFC 1157. You can define one or more communities, which your
master agent uses to authenticate requests.
The parameters you specify for each community are as follows:
Community name
The name associated with the community. The standard community is
‘‘public.’ You can choose to not provide this community name when you
run TCPIP$CONFIG. Answer No to the question ‘‘Do you want to provide
the public community.’’ If you disable the public community, you may
need to reconfigure SNMP clients in your environment.
Community names are case sensitive. When you use TCPIP$CONFIG
to specify a community name, do not use quotation marks to preserve
the case. The case is preserved exactly as you enter it. However,
if you customize your existing SNMP configuration using the SET
CONFIGURATION SNMP command, make sure you enclose the
community name in quotation marks to preserve the case. If you do not
enclose the community name in quotation marks, the name is changed to
all uppercase.
The community name must be a string of alphanumeric characters.
You cannot include a space or other nonalphanumeric character in the
community name.
You can also modify the community name using the
community
option in
the configuration file, as described in Table 13–4.
Configuring SNMP 13–7