Triggers - Allied Telesis AT-8800 SERIES User Manual

Hide thumbs Also See for AT-8800 SERIES:
Table of Contents

Advertisement

100
Event
Description
Parameters
Script Parameters
Event
Description
Parameters
Script Parameters

Triggers

The Trigger Facility can be used to automatically run specified command
scripts when particular triggers are activated. When a trigger is activated by an
event, global parameters and parameters specific to the event are passed to the
script that is run. For a full description of the Trigger Facility, see the Trigger
Facility chapter in the Rapier Switch Software Reference.
The switch can generate triggers to activate scripts when a fibre uplink port
loses or gains coherent light. To create or modify a switch trigger, use the
commands:
CREATE TRIGGER=trigger-id MODULE=SWITCH
EVENT={LIGHTOFF|LIGHTON} PORT=port [AFTER=hh:mm]
[BEFORE=hh:mm] [DATE=date|DAYS=day-list] [NAME=name]
[REPEAT={YES|NO|ONCE|FOREVER|count}] [SCRIPT=filename...]
[STATE={ENABLED|DISABLED}] [TEST={YES|NO|ON|OFF}]
SET TRIGGER=trigger-id PORTS={port-list|ALL} [AFTER=hh:mm]
[BEFORE=hh:mm] [DATE=date|DAYS=day-list] [NAME=name]
[REPEAT={YES|NO|ONCE|FOREVER|count}]
[TEST={YES|NO|ON|OFF}]
The following sections list the events that may be specified for the EVENT
parameter, the parameters that may be specified as module-specific-parameters,
and the arguments passed to the script activated by the trigger.
LINKDOWN
The port link specified by the PORT parameter has just gone down.
The following command parameter(s) must be specified in the CREATE/SET
TRIGGER commands:
Parameter
Description
PORT=port
The port on which the event will activate the trigger.
The trigger passes the following parameter(s) to the script:
Argument
Description
%1
The port number of the port which has just gone down.
LINKUP
The port link specified by the PORT parameter has just come up.
The following command parameter(s) must be specified in the CREATE/SET
TRIGGER commands:
Parameter
Description
PORT=port
The port on which the event will activate the trigger.
The trigger passes the following parameter(s) to the script:
Argument
Description
%1
The port number of the port which has just come up.
AT-8800 Series Switch User Guide
Software Release 2.6.1
C613-02039-00 REV A

Advertisement

Table of Contents
loading

Table of Contents