Triggers Configuration
©2008 Allied Telesis Inc. All rights reserved.
60.4
AlliedWare Plus
TM
Operating System Software Reference C613-50003-00 REV E
Software Version 5.2.1
4.
Configure trigger 4
To create trigger four, use the command:
awplus(config)#
trigger 4
Set the trigger to activate when RAM usage exceeds 95%, use the command:
awplus(config-trigger)#
type cpu 95 up
Add the configuration script “cpu-usage.cfg” to the trigger, by using the command:
awplus(config-trigger)#
script 1 ram-usage.cfg
5.
Verify the configuration
To check the configuration of the triggers, use the command:
awplus#
show trigger
Seeing Daily Statistics
The ACME company has recently set up QoS on its traffic to give traffic different priorities to
the ISP. ACME wants to assess how much traffic is dropped with the QoS bandwidths set over
the next week. To do this, they want to generate an hourly report on QoS traffic on the first
day that this is implemented.
■
Trigger five activates the script qos-stats.cfg every 60 minutes and sends the output to...
The trigger is set to only activate during work hours.
1.
Create the qos-stats.cfg configuration script
Create a configuration script with the appropriate show commands.
2.
Configure trigger 5
To create trigger five, use the command:
awplus(config)#
trigger 5
Set the trigger to activate periodically every 60 minutes:
awplus(config-trigger)#
type periodic 60
Set the trigger to activate only during the hours of 8:00am and 6:00pm:
awplus(config-trigger)#
time after 8:00 before 18:00
Add the configuration script “cpu-usage.cfg” to the trigger, by using the command:
awplus(config-trigger)#
script 1 qos-stats.cfg
3.
Verify the configuration
To check the configuration of the triggers, use the command:
awplus#
show trigger