
Trigger Commands
©2008 Allied Telesis Inc. All rights reserved.
Software Version 5.2.1
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
61.15
type cpu
This command configures a trigger to activate based on CPU usage level. Selecting the
up
option causes the trigger to activate when the CPU usage exceeds the specified usage level.
Selecting the
down
option causes the trigger to activate when CPU usage drops below the
specified usage level. Selecting
any
causes the trigger to activate in both situations. The default
value is
any
.
Syntax
type cpu
<1-100> [
up
|
down
|
any
]
Mode
Trigger mode.
Examples
To configure trigger 28 to be a CPU trigger that activates when CPU usage exceeds 80% use
the following commands:
awplus(config)#
trigger 28
awplus(config-trigger)#
type cpu 80 up
To configure trigger 5 to be a CPU trigger that activates when CPU usage either rises above or
drops below 65%, use the following commands:
awplus(config)#
trigger 5
awplus(config-trigger)#
type cpu 65
or
awplus(config)#
trigger 5
awplus(config-trigger)#
type cpu 65 any
Related Commands
show trigger
trigger
Parameter
Description
<1-100>
The percentage of CPU usage at which to trigger.
up
Activate when CPU usage exceeds the specified level.
down
Activate when CPU usage drops below the specified level
any
Activate when CPU usage passes the specified level in either direction