Before You Begin - Juniper J-Series Administration Manual

Juniper networks router administration guide
Hide thumbs Also See for J-Series:
Table of Contents

Advertisement

Table 83: Common Regular Expression Operators and the Terms They Match
Regular Expression Operator
.
(period)
*
(asterisk)
+
(plus sign)
?
(question mark)
|
(pipe)
!
(exclamation point)
^
(caret)
$
(dollar sign)
[]
(paired square brackets)
()
(paired parentheses)

Before You Begin

Before you begin configuring and monitoring system log messages, complete the
following tasks:
Matching Terms
One instance of any character except the space.
For example,
.in
Zero or more instances of the immediately preceding term.
For example,
tre*
One or more instances of the immediately preceding term.
For example,
tre+
Zero or one instance of the immediately preceding term.
For example,
colou?r
One of the terms that appear on either side of the pipe operator.
For example,
gre|ay
Any string except the one specified by the expression, when the exclamation
point appears at the start of the expression. Use of the exclamation point is
specific to JUNOS.
The start of a line, when the caret appears outside square brackets.
For example,
^T
Strings at the end of a line.
For example,
:$
One instance of one of the enclosed alphanumeric characters. To indicate a
range of characters, use a hyphen (
characters of the range.
For example,
[0-9]
One instance of the evaluated value of the enclosed term. Parentheses are used
to indicate the order of evaluation in the regular expression.
For example,
dev(/|ice)
Establish basic connectivity. See the Getting Started Guide for your router.
Configure network interfaces. See the J-series Services Router Basic LAN and WAN
Access Configuration Guide.
Chapter 8: Monitoring Events and Managing System Log Files
matches messages with win or windows.
matches messages with tree, tread or trough.
matches messages with tree or tread but not trough.
matches messages with or color or colour.
matches messages with either grey or gray.
matches messages with This line and not with On this line.
matches messages with the following: and not with 2:00.
) to separate the beginning and ending
-
matches messages with any number.
matches messages with dev/ or device.
159

Before You Begin

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents