beautypg.com

Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 2011

background image

Triggers Configuration

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

76.5

3.

Configure trigger 3

To create trigger 3, use the commands:

Set the trigger to activate when CPU usage exceeds 80%:

Add the script cpu-usage.scp to the trigger:

Return to Global Configuration mode:

4.

Configure trigger 4

To create trigger 4, use the command:

Set the trigger to activate when RAM usage exceeds 95%:

Add the script cpu-usage.scp to the trigger:

5.

Verify the configuration

To check the configuration of the triggers, use the command:

awplus#

configure terminal

awplus(config)#

trigger 3

awplus(config-trigger)#

type cpu 90 up

awplus(config-trigger)#

script 1 cpu-usage.scp

awplus(config-trigger)#

exit

awplus(config)#

trigger 4

awplus(config-trigger)#

type cpu 95 up

awplus(config-trigger)#

script 1 ram-usage.scp

awplus#

show trigger 3

awplus#

show trigger 4