beautypg.com

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

Page 2045: Type ping-poll type reboot

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.25

type ping-poll

This command configures a trigger that activates when Ping Polling identifies that a target
device’s status has changed. This allows you to run a configuration script when a device
becomes reachable or unreachable.

Syntax

type ping-poll <1-100> {up|down}

Mode

Trigger Configuration

Example

To configure trigger 106 to activate when ping poll 12 detects that its target device is
now unreachable, use the following commands:

Related Commands

show trigger
trigger

type reboot

This command configures a trigger that activates when your device is rebooted.

Syntax

type reboot

Mode

Trigger Configuration

Example

To configure trigger 32 to activate when your device reboots, use the following
commands:

Related Commands

show trigger
trigger

Parameter

Description

<1-100>

The ping poll ID.

up

The trigger activates when ping polling detects that the target is
reachable.

down

The trigger activates when ping polling detects that the target is
unreachable.

awplus#

configure terminal

awplus(config)#

trigger 106

awplus(config-trigger)#

type ping-poll 12 down

awplus#

configure terminal

awplus(config)#

trigger 32

awplus(config-trigger)#

type reboot