SNMP Manager Programmer's Guide
Reference Summary
SNMP Manager Programmer’s Guide–134249
9-15
Sample Manager Invocation
SNMPMON
SNMPMON monitors a UDP port for SNMP packets and prints any packets it receives. 
SNMPHOST
SNMPHOST retrieves and displays information from the hrDevice group of the Host 
Resources MIB defined by RFC 1514 using Get and GetNext packets encoded for UDP 
or IPC communication. Invocation is similar to SNMPWALK invocation, except 
SNMPHOST accepts a -b parameter that lets you specify how you want information 
displayed. For definitions of arguments not listed, refer to SNMPWALK. 
SNMPMON [-p port-to-monitor]
 [-t tcp/ip-process-name]
port-to-
monitor
The UDP port to use for packet receipt. To use a port numbered 
less than 1024, the SNMPMON process must be started by a 
member of the super user group (255, n). The default value is 
162.
tcp/ip-
process-name
The TCP/IP process to bind to for packet receipt. The default is 
$ZTC0.
SNMPHOST [-b display-mode]
 [-c agent-community string]
 [-d number-of-devices]
 [-i request-id]
 [-p agent-request-port}
 [-r retry-count]
 [-t timeout-seconds]
 [-a NonStop-agent-process]
 [-x output-information-level]
 target-host-identifier
display-mode
An integer indicating whether you want the manager to display 
information in batch or interactive mode. Specify 0 for 
interactive mode or a different integer for batch mode. In batch 
mode, all data is returned at one time. In interactive mode, 
SNMPHOST displays as many as 22 lines, then pauses, letting 
you control when and how additional information is displayed. 
The default is 0 (interactive mode).
number-of-
devices
An integer indicating the number of devices for which you want 
to retrieve information. The default is 1000.










