beautypg.com

Type cpu, Type cpu < 1-100 > [up|down|any – Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 2041

background image

Trigger Commands

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

77.21

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 is any.

Syntax

type cpu <1-100> [up|down|any]

Mode

Trigger Configuration

Usage

For an example trigger configuration that uses the type cpu command, see

“Capture

Unusual CPU and RAM Activity” on page 76.4

.

Examples

To configure trigger 28 to be a CPU trigger that activates when CPU usage exceeds 80%
use the following commands:

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:

or

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

awplus#

configure terminal

awplus(config)#

trigger 28

awplus(config-trigger)#

type cpu 80 up

awplus#

configure terminal

awplus(config)#

trigger 5

awplus(config-trigger)#

type cpu 65

awplus#

configure terminal

awplus(config)#

trigger 5

awplus(config-trigger)#

type cpu 65 any