See daily statistics – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual
Page 2012
Triggers Configuration
Software Reference for x310 Series Switches
76.6
AlliedWare Plus
TM
Operating System - Version 5.4.4C
C613-50046-01 REV A
See 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 5 activates the script qos-stats.scp every 60 minutes.
The trigger is set to only activate during work hours.
1.
Create the qos-stats.scp script
Create a configuration script with the appropriate show commands. You can either
create the configuration script using the CLI with the
edit
command or create a script
on a PC then load it onto your device using the
copy (URL)
command.
2.
Configure trigger 5
To create trigger 5, use the commands:
Set the trigger to activate periodically every 60 minutes:
Set the trigger to activate only during the hours of 8:00am and 6:00pm:
Add the script qos-stats.scp to the trigger:
3.
Verify the configuration
To check the configuration of the trigger, use the command:
awplus#
configure terminal
awplus(config)#
trigger 5
awplus(config-trigger)#
type periodic 60
awplus(config-trigger)#
time after 8:00 before 18:00
awplus(config-trigger)#
script 1 qos-stats.scp
awplus#
show trigger 5