Dell 740N Laptop User Manual


 
A-94 Dell PowerVault 720N, 740N, and 760N System Administrator and Command Reference Guide
NAME
snmp - set and query SNMP agent variables
SYNOPSIS
snmp
snmp authtrap [ 0 | 1 ]
snmp community [ add | delete ro | rw ]
snmp contact [
contact
]
snmp init [ 1 ]
snmp location [
location
]
snmp traphost [ add | delete
hostname
|
ipaddress
]
snmp traps [ on | off | reset | delete ]
snmp traps
trapname[.parameter
value
| on | off | reset delete]
DESCRIPTION
The snmp command is used to set and query configuration variables for the
SNMP agent daemon (see snmpd). If no options are specified, snmp lists the
current values of all variables.
OPTIONS
In all the following options, specifying the option name alone prints the current
value of that option variable. If the option name is followed by one or more vari-
ables then the appropriate action to set or delete that variable will be taken. Any
variable with an inclusive space or tab must be enclosed in single quotes .
It is recommended that all snmp commands be added to the end of the /etc/rc
file. The last snmp command in the /etc/rc file should be:
snmp init 1
This will initialize the SNMP daemon with the values set using the snmp com-
mand and it will send out a coldStart trap as described below.
authtrap [ 0 | 1 ]
Enable or disable SNMP agent authentication failure traps. To
enable authentication traps specify 1. To disable authentication
traps specify 0. Traps are sent to all hosts specified with the
traphost option.
snmp