EasyManuals Logo

Allied Telesis IE340 Series User Manual

Allied Telesis IE340 Series
3474 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #3395 background imageLoading...
Page #3395 background image
C613-50631-01 Rev A Command Reference for IE340 Series 3395
AlliedWare Plus™ Operating System - Version 5.5.3-0.x
TRIGGER COMMANDS
TYPE
LOG
type log
Overview Use this command to configure a trigger to activate based on the content of log
messages matching a string or regular expression.
Syntax
type log <log-message-string>
Default There is no type or log message string set by default.
Mode Trigger Configuration
Usage notes Log type triggers fully support regular expressions using PCRE (Perl-Compatible
Regular Expression) syntax.
Only log messages of severity level notice or higher can activate a trigger.
Note that any command executed by the script will generate a log message with
level notice, and will include ‘[SCRIPT]’ before the command string. Therefore, if
something in the script matches the configured log message trigger string, it will
retrigger indefinitely.
Example To configure trigger 6 to activate when a log message of level notice or higher
indicates that any port has ‘failed’, use the commands:
awplus# configure terminal
awplus(config)# trigger 6
awplus(config-trigger)# type log port.+ failed
Related
commands
show trigger
trigger
Command
changes
Version 5.4.7-2.1: command added
Parameter Description
<log-message-string> A string or a regular expression (PCRE) to match a log
message or part of a log message.

Table of Contents

Other manuals for Allied Telesis IE340 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allied Telesis IE340 Series and is the answer not in the manual?

Allied Telesis IE340 Series Specifications

General IconGeneral
BrandAllied Telesis
ModelIE340 Series
CategorySwitch
LanguageEnglish

Related product manuals