Snmptraps – Dell POWEREDGE M1000E User Manual
Page 999
Fabric OS Command Reference
971
53-1002746-01
snmpTraps
2
snmpTraps
Sends or displays SNMP traps.
SYNOPSIS
snmptraps --send [-trap_name trap_name]
[-ip_address ip_address]
snmptraps --show [port]
snmptraps --block -port [slot]port | ALL
snmptraps --unblock -port [slot]port | ALL
snmptraps --help
DESCRIPTION
Use this command to manage specific Simple Network Management Protocol (SNMP) traps.
Use the --send option to send a specific SNMP trap to a recipient indicated by its IP address. Or use the
--send option without operands to send all supported traps to all configured SNMP trap recipients. When
the command is issued to send all traps, the message returned indicates only the total number of traps
sent and not the individual trap names.
In Fabric OS v7.0.0 and later you can block or unblock certain port traps on specified ports. This feature
provides control over a subset of port traps including the following: SwFCPortScn,
ConnUnitPortStatusChange, and SwFabricSegmentTrap.
Use the --show option with the port operand to display the status of blocked ports. When used without
operands, the --show option displays all Management Information Base (MIB) objects and associated
traps that are supported in Fabric OS.
NOTES
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
OPERANDS
This command has the following operands:
--send
Sends one or all SNMP traps to all configured recipients or to a specified recipient.
The following operands are optional:
-trap_name trap_name
Specifies the trap by name. Use snmptraps --show for a listing of valid traps.
-ip_address ip_address
Specifies the recipient by its IP address in IPv4 or IPv6 format. IPv6 addresses
require Fabric OS v6.4.0 or later.
--block [slot]port | ALL
Blocks the following port traps on the specified port: SwFCPortScn,
ConnUnitPortStatusChange, and SwFabricSegmentTrap. When used with the
ALL this command blocks these traps on all ports.
--unblock [slot]port | ALL
Removes the trap blocking from the specified port or from all ports.
--show [port]
Displays all configured SNMP traps and MIBs. When used with the optional port
argument, this command displays the ports that are blocked from receiving certain
software traps.