beautypg.com

Printronix Network Interface Card User Manual

Page 329

background image

Set Commands

329

set snmp manager <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.

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

set snmp trapport <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.

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

set snmp trap [-]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 <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.

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

emailaddress is the desired e-mail address of the form

[email protected].