beautypg.com

Troubleshooting triggers – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 2005

background image

Triggers Introduction

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

75.5

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:

To start debugging for triggers, use the command:

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:

To enable the trigger again, use the command:

To delete the trigger, use the command:

awplus(config-trigger)#

test

awplus(config-trigger)#

debug trigger

awplus(config-trigger)#

no active

awplus(config-trigger)#

active

awplus(config-trigger)#

no trigger <1-250>