Printronix Integrated Network Interface Card User Manual

Page 246

Advertising
background image

Chapter 12

Complete Command List

242

set snmp manager <INDEX> <IPADDRESS> <TRAP-COMMUNITY>

The NIC continuously generates traps. To set the NIC to send
traps to a particular SNMP manager, use this command to add
an SNMP manager to the trap table.

<index> is the index number of the trap table. <ipaddress is the
IP address of the SNMP manager receiving traps. <trap-
community> is the community string sent along with the trap
information.

set snmp trapport <INDEX> <UDP_PORT>

Set the UDP port number in the SNMP trap manager table.
This value should correspond to the port number monitored by
the SNMP manager application running on the host at the IP
address specified in the ‘set snmp manager’ command.

<index> is the index number of the SNMP trap manager table.
<udp_port> is the desired UDP port number. Acceptable
values are 162, and 49152 through 65535.

set snmp trap <INDEX> [-]active

Enable or disable an SNMP trap manager table entry.

The

index is the index number of the SNMP trap manager

table. “active” enables the table entry, “-active” disables the
entry.

set snmp emailaddr <INDEX> <EMAILADDRESS>

The NIC can also send SNMP alert messages to a desired
e-mail address. To specify an e-mail address to send alert
messages to, use this command to add the e-mail address to
the SNMP alert table.

<index> is the index number of the SNMP trap manager table.
The

emailaddress is the desired e-mail address of the form

[email protected].

Advertising