The text of a manual · part 11 of 20
6400 Computer TCP/IP Client User's Guide: Section 2, 6400 TCP/IP Client, pages 87 to 90
Pages 87 to 90 of 162, from 6400 Computer TCP/IP Client User's Guide
The original document is the PDF (836 KB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Intermec 6400
Page 87
SECTION 2
6400 TCP/IP Client
Configuring the SNMP Agent You can run the SNMP agent using its default configurations, or you can modify those configurations. SNMP configuration files are " "
COMMUNIT.CNF, the SNMP community file TRAPCOMM.CNF, the SNMP error condition (trap) file
The 6400 TCP/IP client software files contain samples of TRAPCOMM.CNF and COMMUNIT.CNF, each containing configuration instructions. If the configuration files are not formatted correctly, the SNMP agent displays various error messages and aborts. To configure an SNMP agent for your system: 1. Use a text editor to add entries to COMMUNIT.CNF. The file contains entries that define SNMP community names, IP addresses, and privileges (NONE, READ, and WRITE) used to validate incoming SNMP request packets. If a community specified in an incoming packet is not authorized for the operation that it requests, the request is discarded and an SNMP error condition message (trap) may be sent (if specified in TRAPCOMM.CNF). " NOTE:
To allow an SNMP management station to set values in your read-write–accessible MIB variables, you must set your community privilege type to WRITE.
Each entry in COMMUNIT.CNF must define a community name, an IP address (in dot notation), and the appropriate privilege (in uppercase). For example: interop 128.127.53.190 READ
6400 Computer TCP/IP Client User’s Guide
2-61
Page 88
6400 TCP/IP Client
" NOTE:
SECTION 2
Most SNMP agents use the default community name “public.”
2. Use a text editor to add entries to TRAPCOMM.CNF. The file contains entries that define the IP addresses, SNMP communities, and UDP port numbers to use when sending SNMP trap packets. The SNMP agent collects three kinds of error condition messages (or traps): " when the agent is loaded
" when the agent is restarted
" when a query specifies an unknown SNMP authentication community
To receive AuthenticationFailure traps, set variable snmpEnableAuthenTraps to 1. You can specify up to five entries in the file. Each entry must define a community name, an IP address (in dot notation) and a UDP port number where you want to send error condition messages. For example: newcommunity 128.127.59.154 162
Enabling the DOS SNMP Agent To load the DOS SNMP agent, enable it through the 6400 TCP/IP client DOS configuration menus (see page 2-9). Or, type the following command at the DOS prompt: C:\>snmpd Copyright 1990 by SNMP Research, Inc. communit.cnf not found; Using community “public”, read-only trapcomm.cnf not found; No Traps will be sent. System Description = SNMPD v2.1 (9.3.1) System Object Identifier = 1.3.6.1.4.1.121.1.1 Communities: 1 authentication, 0 trap agent occupies 37680 bytes 2-62
6400 Computer TCP/IP Client User’s Guide
Page 89
SECTION 2
6400 TCP/IP Client
Disabling the DOS SNMP Agent To unload the DOS SNMP agent, you must unload the TSR kernel and remove the snmpd program from memory. To unload the SNMP agent, do one of the following: "
"
If you enabled the SNMP agent through the DOS configuration menus, disable it through the DOS configuration menus and then reboot your 6400 computer. For more information, see page 2-9. If you manually started the SNMP agent at the DOS prompt, disable the agent by rebooting your 6400 computer.
SNMP Command Summary snmpd snmpd [? | -version] The snmpd command lets other hosts using SNMP examine your 6400 computer's statistics and configuration information. Snmpd starts an SNMP agent. -? -version
SEE ALSO:
Displays and explains the command's usage line. Displays the version and patch level of this command. Refer to this information if you call Technical Support.
Inet (page 2-27), Ethdrv (page 2-31), and these RFCs: RFC 1065, Structure and Identification of Management Information for TCP/IP–Based Internets RFC 1067, A Simple Network Management Protocol
6400 Computer TCP/IP Client User’s Guide
2-63
Page 90
6400 TCP/IP Client
2-64
6400 Computer TCP/IP Client User’s Guide
SECTION 2