The filer SNMP agent responds to queries and sends traps to network management stations. The filer SNMP agent does not have write privileges--that is, it cannot be used to take corrective action in response to a trap.
To configure the SNMP agent on your filer, you must do all the following:
SNMP is enabled by default in Data ONTAP.
Although SNMP is enabled by default, traps are disabled by default.
No traps are sent unless at least one SNMP management station is specified as a trap host. Trap notifications can be sent to a maximum of eight network management stations.
You can optionally do any or all of the following:
You can restrict SNMP access on a host or interface basis. See Setting SNMP access privileges.
Community strings function as group names to establish trust between SNMP managers and clients. Data ONTAP imposes the following limitations on SNMP communities:
You can enable SNMP agent authentication failure traps, which are generated when the agent receives queries with the wrong community string. The traps are sent to all hosts specified as trap hosts.
For more information, see Creating SNMP traps.
You can also view current SNMP and trap configuration.
The following sections explain how to perform these tasks.
Note
Filers in a cluster can have different SNMP configurations.
For more information, see the NetApp snmp(1) manual page.
The following tools are available for filer SNMP configuration and management:
Note
SNMP commands entered at the command line or in FilerView are persistent across reboots.
To enable SNMP, complete the following step.
To set SNMP access privileges on a host or interface basis, complete the following step. (You cannot set SNMP access privileges in FilerView.)
| 1 | Enter the following command at the filer command line: options snmp.access options For details about using this option, see the NetApp protocolaccess(8) manual page. |
To view or modify SNMP configuration values, complete the following step.
| 1 | Enter the following command at the filer command line: snmp {options values}
Examples of configuration values are listed in Example of typical SNMP commands. For more information about snmp parameters, see Command syntax for SNMP configuration parameters. |
To view or modify SNMP configuration values with FilerView, complete the following steps.
| 1 | ||
| 2 | ||
| 3 | ||
Enter configuration values in drop-down lists or text fields. Click Apply when finished. Examples of configuration values are listed in Example of typical SNMP commands. |
||
The following table lists the SNMP configuration commands and parameters available in Data ONTAP. If you specify one or more value 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 example shows a typical set of commands to configure SNMP monitoring. It assumes that SNMP remains enabled by default.
snmp contact 'jdoe@abc.com 415-555-1212'
snmp location 'ABC corporation, engineering lab'
snmp community add ro private
snmp traphost add snmp-mgr1
snmp init 1
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00474
File: snmp6.htm
Last updated: 11/17/03 15:56:26