If you specify one or more values for an option of the SNMP commands, the value of that option is set or changed. However, if no values are specified, the current value of that option is returned.
The following table describes the syntax and parameters for SNMP configuration commands.
Command | Description |
---|---|
snmp traps | Displays the list of user-defined traps set in Data ONTAP. |
snmp traps [enable|disable| reset|delete] trapname | Enables, disables, resets, or deletes the trapname trap. If you do not specify a trap name, all traps defined so far are acted on. |
snmp traps walk prefix | Walks (traverses in order) the trap list by prefix; that is, lists all traps that have names beginning with prefix. |
snmp traps load trap_list_filename | Loads a set of traps from a configuration file. The file contains a list of traps and parameters without the snmp traps command preceding each trap. If the specified file name is defaults, traps are read from the /etc/defaults/traps file. |
snmp traps trapname.parm value | Defines or changes a user-defined trap parameter. |