Specifications

3-354
Cisco Wide Area Application Services Command Reference
OL-16451-01
Chapter 3 CLI Commands
snmp trigger
After you configure SNMP traps, you must use the snmp-server enable traps event global
configuration command for the event traps you just created to be generated. Also, to preserve SNMP trap
configuration across a system reboot, you must configure event persistence using the snmp-server mib
persist event global configuration command, and save the MIB data using the write mib-data EXEC
command.
Examples The following example shows how to create a threshold for the MIB object esConTabIsConnected so that
a trap is sent when the connection from the Edge WAE to the Core WAE is lost:
WAE# snmp trigger create esConTabIsConnected ?
<60-600> The number of seconds to wait between trigger sample
wildcard Option to treat the MIB variable as wildcarded
WAE# snmp trigger create esConTabIsConnected wildcard 600 ?
absent Absent existence test
equal Equality threshold test
falling Falling threshold test
greater-than Greater-than threshold test
less-than Less-than threshold test
on-change Changed existence test
present Present present test
rising Rising threshold test
WAE# snmp trigger create esConTabIsConnected wildcard 600 falling ?
absolute Absolute sample type
delta Delta sample type
WAE# snmp trigger create esConTabIsConnected wildcard 600 falling absolute ?
<0-4294967295> Falling threshold value
WAE# snmp trigger create esConTabIsConnected wildcard 600 falling absolute 1 ?
LINE Trigger-comment
mibvar1 Optional mib object to add to the notification
WAE# snmp trigger create esConTabIsConnected wildcard 600 falling absolute 1 "Lost the
connection with the core server."
WAE# configure
WAE(config)# snmp-server enable traps event
Once you have configured the WAE to send SNMP traps, you can view the results of these newly created
traps using the show snmp events EXEC command.
You can also delete user-created SNMP traps. The following example shows how to delete the trap set
for esConTabIsConnected that we created in the previous example.
WAE# snmp trigger delete esConTabIsConnected
Related Commands show snmp
(config) snmp-server community
(config) snmp-server contact
(config) snmp-server enable traps
(config) snmp-server group
(config) snmp-server host
(config) snmp-server location
(config) snmp-server mib
(config) snmp-server notify inform