Juniper SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X Configuration Manual page 511

System basics configuration guide software for e series broadband services routers
Table of Contents

Advertisement

Table 53: Operator Actions (continued)
Operation
Greater than
Less than or equal to
Greater than or equal to
Equal to
Not equal to (logical NOT)
Logical OR
Logical AND
Miscellaneous
Miscellaneous
Miscellaneous
Miscellaneous
Miscellaneous
Miscellaneous
Multiplication
Division
Operator
Action
>
Evaluates as true (returns a 1) if the element to the left
of the operator is greater than the expression to the right
of the operator; otherwise the result is false (0)
<=
Evaluates as true (returns a 1) if the element to the left
of the operator is less than or equal to the expression to
the right of the operator; otherwise the result is false (0)
>=
Evaluates as true (returns a 1) if the element to the left
of the operator is greater than or equal to the expression
to the right of the operator; otherwise the result is false
(0)
=
Evaluates as true (returns a 1) if the element to the left
of the operator is equivalent to the expression to the
right of the operator; otherwise the result is false (0)
!=
Evaluates as true (returns a 1) if the element to the left
of the operator is not equal to the expression to the right
of the operator; otherwise the result is false (0)
||
Evaluates as true (returns a 1) if the values of either the
left or right sides is nonzero; evaluation halts at the first
true (1) expression
&&
Evaluates as true (returns a 1) if the values of the left
and right sides are both nonzero; evaluation halts at the
first false (0) expression
[ ]
See "Invoking Other Macros" on page 489 for usage.
,
See "While Constructs" on page 487 for usage.
( )
Groups operands and operators to achieve results
different from simple precedence; effectively has the
highest precedence
.
Provides access to environment commands; see Table
51 on page 475. Provides access to macros; see "Invoking
Other Macros" on page 489
;
Separates operation statements within a control
expression
<# #>
Encloses control expressions
*
Multiplies the expression to the left of the operator by
the expression to the right
/
Divides the expression to the left of the operator by the
expression to the right
Chapter 8: Writing CLI Macros
481
Writing Macros

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Junose 11.1

Table of Contents