C613-50631-01 Rev A Command Reference for IE340 Series 3393
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
TRIGGER COMMANDS
TYPE
LINKMON-PROBE
type linkmon-probe
Overview Use this command to create a trigger that will run a script when a Link Health
Monitoring probe reports that a link becomes “good”, “bad”, or “unreachable”.
Syntax
type linkmon-probe <probename> <profilename>
{good|bad|unreachable|any}
Mode Trigger Configuration
Example When the Link Health Monitoring probes sent to the “test-probe” destination no
longer meet the performance profile “test-profile” the link will be deemed “bad”.
To create a trigger that will run a script when a Link Health Monitoring probe is
deemed “bad”, use the following commands:
awplus# trigger 1
awplus(config)# script 1 link-bad.scp
awplus(config)# type linkmon-probe test-probe test-profile bad
To create a trigger that will run a script when the link is deemed “good” again, use
the following commands:
awplus# trigger 2
awplus(config)# script 1 link-good.scp
awplus(config)# type linkmon-probe test-probe test-profile good
Related
commands
trigger
Parameter Description
<probename> The name of the Link Health Monitoring probe that will be used
for executing the trigger.
<profilename> The name of the Link Health Monitoring performance profile that
will be used for determine if the Link Health Monitoring probe is
good, bad, or unreachable.
good If the Link Health Monitoring probe becomes 'good' according to
the Link Health Monitoring performance profile then the trigger
will be executed.
bad If the Link Health Monitoring probe goes 'bad' according to the
Link Health Monitoring performance profile then the trigger will
be executed.
unreachable If the Link Health Monitoring probe becomes 'unreachable'
according to the Link Health Monitoring performance profile then
the trigger will be executed.
any If the Link Health Monitoring probe changes state according to
the Link Health Monitoring performance profile then the trigger
will be executed.