Juniper Networks J-Series manual CLI monitor traffic Logical Operators, Arithmetic Operator

Models: J-Series

1 332
Download 332 pages 610 b
Page 272
Image 272

J-series™ Services Router Administration Guide

Table 130: CLI monitor traffic Match Conditions (continued)

Match Condition

Description

tcp

Matches all TCP packets.

udp

Matches all UDP packets.

Table 131: CLI monitor traffic Logical Operators

Logical Operator

Description

!

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

Operator

Description

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.

250Using CLI Diagnostic Commands

Page 272
Image 272
Juniper Networks J-Series CLI monitor traffic Logical Operators, Arithmetic Operator, Binary Operator, Relational Operator