Set Commands
329
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
user@domain.com.