Snmptraps - Brocade Communications Systems Brocade 8/12c Command Reference Manual

Brocade fabric os command reference manual supporting fabric os v6.4.0 (53-1001764-01, march 2010)
Hide thumbs Also See for Brocade 8/12c:
Table of Contents

Advertisement

2

snmpTraps

snmpTraps
Sends or displays SNMP traps.
Synopsis
snmptraps --send [-trap_name trap_name] [-ip_address ip_address]
snmptraps --show
snmptraps --help
Description
Use this command to generate specific Simple Network Management Protocol (SNMP) traps, to
test the trap recipient, and to validate Management Information Base (MIB) objects and associated
traps that are supported in Fabric OS.
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. Use snmpTraps --show or
snmpConfig --show mibcapability to verify which traps were disabled and not sent. The recipients
must be configured for this command to succeed.
Refer to the snmpConfig command for more information.
Use the --show option to display all MIB objects and associated traps that are supported in Fabric
OS.
Note
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
--show
--help
Examples
To send all traps to the configured recipients:
To send a bottleneck detection trap to recipient 172.16.0.12
894
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.
Displays all configured SNMP traps and MIBs supported in Fabric OS v6.4.0
and later.
Displays the command usage.
switch:admin> snmpTraps --send
Number of traps sent : 27
switch:admin> snmptraps --send -trap_name bd-trap-ip_address 172.16.0.12.
Number of traps sent : 1
Fabric OS Command Reference
53-1001764-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fabric os v6.4.0

Table of Contents