User guide
Chapter 3 - Additional Features
User Guide 187
where:
If the network entity has an error processing the request packet, an error packet will be
returned and a message will be shown, helping to pinpoint in what way the request was mal-
formed. If there were other variables in the request, the request will be resent without the
bad variable.
For example, to send a Link Down trap to server at 10.0.0.1 with
interfaces.iftable.ifentry.ifde-scr:
snmptrap -v 1 -c public 10.0.0.1 ""20"".1.3.6.1.2.1.2.2.1.2.1
s "BLACK BOX ® Advanced Console Server: serial port number 1 is
down"
-Ci Optional. It sends INFORM-PDU.
common arguments Required. They are:
"-c <community name> <SNMP server IP address>"
enterprise-oid Required, but it can be empty ('').
agent Required, but it can be empty (''). The agent name.
generic-trap The generic trap number: 2 (link down), 3 (link up), 4
(authentication failure), ...
specific-trap Required. The specific trap number.
uptime Required.
[objectID type value] Optional. objectID is the object oid. You want to inform its value
to server.
-Ci Optional. It sends INFORM-PDU.
common arguments Required. They are: SNMP server IP address and community.
enterprise-oid Required, but it can be empty ('').