Technical data

Configuring SNMP
13.6 Solving SNMP Problems
Alternatively, you can display configuration information in the SNMP
configuration file (SYS$SYSDEVICE:[TCPIP$SNMP]TCPIP$VMS_SNMP_
CONF.DAT). The configuration file displays more information than the SHOW
CONFIGURATION SNMP command when multiple types of traps or addresses
for them have been defined. For example:
$ TYPE SYS$SYSDEVICE:[TCPIP$SNMP]TCPIP$VMS_SNMP_CONF.DAT
trap V1 elmginkgo 15.9.0.200
community alternate 15.4.3.2 read
community public 0.0.0.0 read
community TRAPIT 1.2.4.5 write
trap v2c TRAPIT 1.2.4.5
community rw 10.1.1.3 write
community rw 15.9.0.200 write
Note that the first two lines of the configuration file are not displayed by the
following SHOW CONFIGURATION SNMP/FULL command:
TCPIP> SHOW CONFIGURATION SNMP/FULL
Community Type Address_list
public Read 0.0.0.0
TRAPIT Read Write Trap
1.2.4.5
rw Read Write 10.1.1.3, 15.9.0.200
13.6.5.2.1 Specifying Location and Contact Information To specify the location
and contact information, include the /LOCATION and /CONTACT qualifiers on
the SET CONFIGURATION SNMP command line.
If you do not specify the location and contact information, it is displayed as ‘‘not
defined’’ by the SHOW CONFIGURATION SNMP/FULL command. For example:
TCPIP> SHOW CONFIGURATION SNMP/FULL
SNMP Configuration
Flags: Sets
Contact: not defined
Location: not defined
To remove a previously specified location, enter:
TCPIP> SET CONFIGURATION SNMP /LOCATION=(NOFIRST,NOSECOND)
Note
If you enabled SNMP when you had a previous version of TCP/IP Services
installed, you might need to specify NOTHIRD through NOSIXTH to
remove existing location information.
Once you specify a contact name using /CONTACT=name, you can change the
name but you cannot remove it. If you enter /CONTACT=" ", the previously
specified contact name remains in effect.
Configuring SNMP 13–25