C613-50170-01 Rev B
Command Reference for x510 Series
2759
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
T
RIGGER
C
OMMANDS
TRAP
trap
Overview
This command enables the specified trigger to send SNMP traps.
Use the
no
variant of this command to disable the sending of SNMP traps from the
specified trigger.
Syntax
trap
no trap
Default
SNMP traps are enabled by default for all defined triggers.
Mode
Trigger Configuration
Usage
You must configure SNMP before using traps with triggers. For more information,
see:
•
Support for Allied Telesis Enterprise_MIBs_in_AlliedWare Plus
, for
information about which MIB objects are supported.
•
SNMP Feature Overview and Configuration_Guide
.
•
Since SNMP traps are enabled by default for all defined triggers, a common usage
will be for the
no
variant of this command to disable SNMP traps from a specified
trap if the trap is only periodic. Refer in particular to AT-TRIGGER-MIB in the
Support for Allied Telesis Enterprise_MIBs_in AlliedWare Plus
for further
information about the relevant SNMP MIB.
Examples
To enable SNMP traps to be sent from trigger 5, use the commands:
awplus#
configure terminal
awplus(config)#
trigger 5
awplus(config-trigger)#
trap
To disable SNMP traps being sent from trigger 205, use the commands:
awplus#
configure terminal
awplus(config)#
trigger 205
awplus(config-trigger)#
no trap
Related
Commands