Repeat, Repeat command, Repeat {forever|no|once|yes| < 1-4294967294 – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 2026
![background image](/manuals/427254/2026/background.png)
Trigger Commands
Software Reference for x310 Series Switches
77.6
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
repeat
This command specifies the number of times that a trigger is permitted to activate. This
allows you to specify whether you want the trigger to activate:
■
only the first time that the trigger conditions are met
■
a limited number of times that the trigger conditions are met
■
an unlimited number of times
Once the trigger has reached the limit set with this command, the trigger remains in your
configuration but cannot be activated. Use the repeat command again to reset the trigger
so that it is activated when its trigger conditions are met.
By default, triggers can activate an unlimited number of times. To reset a trigger to this
default, specify either yes or forever.
Syntax
repeat {forever|no|once|yes|<1-4294967294>}
Mode
Trigger Configuration
Examples
To allow trigger 21 to activate only once, use the commands:
To allow trigger 22 to activate an unlimited number of times whenever its trigger
conditions are met, use the commands:
To allow trigger 23 to activate only the first 10 times the conditions are met, use the
commands:
Related Commands
Parameter
Description
yes|forever
The trigger repeats indefinitely, or until disabled.
no|once
The trigger activates only once.
<1-4292967294>
The trigger repeats the set number of times.
awplus#
configure terminal
awplus(config)#
trigger 21
awplus(config-trigger)#
repeat no
awplus#
configure terminal
awplus(config)#
trigger 22
awplus(config-trigger)#
repeat forever
awplus#
configure terminal
awplus(config)#
trigger 23
awplus(config-trigger)#
repeat 10