Set Commands

set snmp trap <index> [-]active

Enable or disable an SNMP trap manager table entry.

<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 Ethernet Interface 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. <emailaddress> is the desired e-mail address of the form user@domain.com.

set snmp emailformat <index> [-]short

Enable or disable the short e-mail message format for an SNMP alert table entry. When enabled, the short e-mail format can be used when messages will be viewed on devices having a limited display size (a cellular phone or pager, for example).

<index> is the index number of the SNMP alert table. “short” enables the short e-mail format, “-short” disables it.

set snmp shortmsglen <index> <length>

Specify the length of the short e-mail message format for an SNMP alert table entry. This command is effective only when the short e-mail message format for an SNMP alert table entry is enabled.

<index> is the index number of the SNMP alert table. “length” specifies the length of the short e-mail message, and has an acceptable range of 15 to 80 characters.

set snmp email <index> [-]active

Enable or disable sending e-mail alert messages for an SNMP alert table entry.

<index> is the index number of the SNMP alert table. “active” enables sending e-mail alert messages, “-active” disables it.

351

Page 351
Image 351
IBM 6500 manual Set snmp trap index -active