
Triggers Introduction
©2008 Allied Telesis Inc. All rights reserved.
59.4
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
Specify a description for the trigger, so that you can easily identify the trigger in show
commands and log output. Use the command:
awplus(config-trigger)#
description <line>
8.
Verify the trigger’s configuration
To check the configuration of the trigger, use the command:
awplus#
show trigger [<1-250>|counter|full]
Troubleshooting Triggers
You can use the trigger diagnostic mode and trigger debugging to test your triggers and
troubleshoot any issues.
Diagnostic mode is set per trigger. In this mode the trigger activates if its trigger conditions are
met, but does not run any of its scripts. Your device generates a log message to indicate that
the trigger was activated. To place a trigger in diagnostic mode, enter the trigger’s configuration
mode and use the command:
awplus(config-trigger)#
test
To start debugging for triggers, use the command:
awplus#
debug trigger
This generates detailed messages about how your device is processing the trigger commands
and activating the triggers.
Enabling and
Disabling
Triggers are enabled by default. This allows the trigger to activate as soon as its trigger
conditions are met. If you need to disable a trigger but do not want to delete the trigger, use
the command:
awplus(config-trigger)#
no active
To enable the trigger again, use the command:
awplus(config-trigger)#
active
To delete the trigger, use the command:
awplus(config)#
no trigger <1-250>