Technical data

Configuring SNMP
13.2 Managing the SNMP Service
13.2 Managing the SNMP Service
The following command procedures are supplied to allow you to start up and shut
down the SNMP service independently of TCP/IP Services:
SYS$STARTUP:TCPIP$SNMP_STARTUP.COM allows you to start up the
SNMP service.
SYS$STARTUP:TCPIP$SNMP_SHUTDOWN.COM allows you to shut down
the SNMP service.
Both the startup and shutdown procedures invoke the appropriate
TCPIP$EXTENSION_MIB_*.COM file to ensure compatibility with previous
versions of TCP/IP Services.
These files might be overwritten when you install subsequent versions of the
TCP/IP Services product. For more information about these procedures, see
Section 13.1.1.
To maintain site-specific SNMP logical names, commands, and parameter
settings, you can create the following files:
SYS$STARTUP:TCPIP$SNMP_SYSTARTUP.COM can be used as a repository
site-specific definitions and parameters to be invoked when SNMP is started.
SYS$STARTUP:TCPIP$SNMP_SYSHUTDOWN.COM can be used as a
repository for site-specific definitions and parameters to be invoked when
SNMP is shut down.
Installing this version of TCP/IP Services will:
1. Purge existing TCPIP$SNMP_SYSTARTUP.COM and
TCPIP$SYSHUTDOWN.COM files, leaving only the latest version.
2. Rename the remaining files to TCPIP$SNMP_SYSTARTUP.COM_OLD and
TCPIP$SNMP_SYSHUTDOWN.COM_OLD.
3. Install new versions of TCPIP$SNMP_SYSTARTUP.COM and
TCPIP$SYSHUTDOWN.COM files.
To preserve earlier versions of these files, copy them to another directory. New
versions of TCP/IP Services will include instructions for merging the contents of
the old versions with the current one.
13.3 Verifying the SNMP Installation
A separate installation verification procedure (IVP) exists for SNMP. To verify
your configuration, complete these steps:
1. Log in to the SYSTEM account, or make sure that your process has the
following privileges:
TMPMBX
NETMBX
SETPRV
2. Run the command procedure:
$ @SYS$MANAGER:TCPIP$CONFIG
3. Enter option 7 (Run tests), and then option 2 from the Compaq TCP/IP
Services for OpenVMS Test menu.
13–4 Configuring SNMP