beautypg.com

Juniper Networks J-Series User Manual

Page 272

background image

Table 130: CLI monitor traffic Match Conditions (continued)

Description

Match Condition

Matches all TCP packets.

tcp

Matches all UDP packets.

udp

Table 131: CLI monitor traffic Logical Operators

Description

Logical Operator

Logical NOT. If the first condition does not match, the next condition is
evaluated.

!

Logical AND. If the first condition matches, the next condition is evaluated.
If the first condition does not match, the next condition is skipped.

&&

Logical OR. If the first condition matches, the next condition is skipped. If
the first condition does not match, the next condition is evaluated.

||

Group operators to override default precedence order. Parentheses are special
characters, each of which must be preceded by a backslash (\).

()

Table 132: CLI monitor traffic Arithmetic, Binary, and Relational Operators

Description

Operator

Arithmetic Operator

Addition operator.

+

Subtraction operator.

Division operator.

/

Binary Operator

Bitwise AND.

&

Bitwise exclusive OR.

*

Bitwise inclusive OR.

|

Relational Operator

A match occurs if the first expression is less than or equal to the second.

<=

A match occurs if the first expression is greater than or equal to the second.

>=

A match occurs if the first expression is less than the second.

<

A match occurs if the first expression is greater than the second.

>

A match occurs if the first expression is equal to the second.

=

250

Using CLI Diagnostic Commands

J-series™ Services Router Administration Guide