Service manual

171Appendix G Generating Alarm and Syslog
Cyclades-TS Installation & Service Manual
snmptrap -v 1 [-Ci] [common arguments] enterprise-oid agent generic-trap specific-trap uptime [objectID
type value]...
snmptrap -v [2c|3] [-Ci] [common arguments] uptime trap-oid [objectID type value]...
where:
-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 (‘’).
agent: required, but it can be empty(‘’). The agent name.
generic-trap: required. 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.
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 malformed. 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.ifdescr :
snmptrap -v 1 10.0.0.1 public “” 2 0 “” .1.3.6.1.2.1.2.2.1.2.1 s TSxK: serial port number 1 is down