Technical data

Configuring SNMP
13.6 Solving SNMP Problems
13.6.5.1 Enabling Set Request Processing and Authentication Traps
On an OpenVMS server, configure SNMP with the /FLAGS=SETS qualifier to the
management command SET CONFIGURATION SNMP, or enable SNMP during
the configuration procedure (TCPIP$CONFIG) by answering Yes to the question
Do you want to allow clients modify (SET) access?
To enable
set
requests and traps on an existing SNMP configuration, enter the
SET CONFIGURATION SNMP command with the /FLAGS=options qualifier,
specifying the SETS option to enable
set
requests and the AUTHEN_TRAPS
option to enable sending authentication failure traps.
When you enter the SET CONFIGURATION SNMP command and qualifiers,
take the following information into consideration:
SNMP functions without the need to configure flags for
set
commands
(/FLAGS=SETS) and authentication traps (/FLAGS=AUTHEN_TRAPS).
Note that when you enter the SHOW CONFIGURATION SNMP command,
the keywords associated with these flags are displayed as follows:
Flags: AuthenTraps Sets
The /FLAGS=SETS qualifier is required to enable SNMP client
set
command
requests. If
set
commands are not enabled, the client receives a "
no such
variable
" message, even if access type requirements are met. (See the
command guidelines in Section 13.6.5.1.)
The /FLAGS=AUTHEN_TRAPS qualifier allows the SNMP master to send
trap messages to specified trap community addresses when MIB access with a
community name is not supported by the agent. This also allows the master
to send trap messages when the agent does not grant the host the access
required for a request (for example, READ for a
get
request or WRITE for a
set
request).
For example, to enable response to
set
requests and to allow authentication traps
on an existing SNMP configuration, enter the following command:
TCPIP> SET CONFIGURATION SNMP/FLAGS=(SETS,AUTHEN_TRAPS)
See the Compaq TCP/IP Services for OpenVMS Management Command
Reference guide for detailed information about the SET CONFIGURATION
SNMP command.
Restart SNMP after making any changes to the configuration.
13.6.5.2 Displaying Configuration Information
When you enter the SHOW CONFIGURATION SNMP command to display your
current SNMP configuration, the information associated with the /FLAGS=options
qualifier is displayed as follows:
Flags: AuthenTraps Sets
SNMP will function even if you do not include the /FLAGS=SETS and
/FLAGS=AUTHEN_TRAPS qualifiers.
To remove flags that were set previously, enter the following commands:
TCPIP> SET CONFIGURATION /FLAGS=NOSETS
TCPIP> SET CONFIGURATION /FLAGS=NOAUTHEN_TRAPS
13–24 Configuring SNMP