Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation  Back up to About Overview 
ContentIndex
  
[+] Expand All
[-] Collapse All

 A  C  D  E  F  G  H  I  J  L  M  N  O  P  Q  R  S  T  U  V

 

A

access policy, examples    1
DHCP    
SRC CLI
PPP    
SRC CLI
action threshold, service schedules    
overview
setting    
SRC CLI
actions.     See policy actions    
aggregate services    1
adding    
SRC CLI
before you configure    
SRC CLI
fragment services
infrastructure services
mandatory services
Python expressions
redundancy
sessions    1
activation
attributes
deactivation
modification
monitoring
timers, configuring    
SRC CLI
apply-groups statement, routers running Junos OS
 

C

captive portal    
using with next-hop action    
SRC CLI
classify-traffic condition    1
application protocol    
defining, SRC CLI
map expressions, SRC CLI
application, setting    
SRC CLI
application-group, setting    
SRC CLI
configuring    
SRC CLI
destination grouped network, configuring    
SRC CLI
destination network, configuring    
SRC CLI
expanded classifiers    1
configuring, SRC CLI
extended classifiers    1
configuring, SRC CLI
ICMP conditions, setting    
SRC CLI
IGMP conditions, setting    
SRC CLI
IPSec conditions, setting    
SRC CLI
Junos OS filter conditions, setting    
SRC CLI
JunosE secondary input policy conditions, setting    
SRC CLI
match direction, setting    
SRC CLI    12
multiple classifiers
packet length, setting    
SRC CLI
PCMM I02 and I03    1
configuring, SRC CLI
port definitions, overview    
SRC CLI
protocol conditions with parameters, setting    
SRC CLI
protocol conditions with ports, setting    
SRC CLI
protocol conditions, setting    
SRC CLI
route class, configuring    
SRC CLI
source grouped network, configuring    
SRC CLI
source network, setting    
SRC CLI
TCP conditions, setting    
SRC CLI
term-precedence, setting    
SRC CLI
ToS byte conditions, setting    
SRC CLI
color actions    1
configuring    
SRC CLI
color mark actions    12
controlled load service, FlowSpec
conventions    
notice icons
text
CoS (class of service)    
ToS byte, setting    
SRC CLI
customer support    1
contacting JTAC
 

D

Data-over-Cable Service Interface Specifications.     See DOCSIS    
default policies    
example    
SRC CLI
DHCP (Dynamic Host Configuration Protocol)    
access policy example    
SRC CLI
Differentiated Services code point, ToS byte    
SRC CLI
DOCSIS policy actions    1
configuring    
SRC CLI
documentation    
comments on
drop profile maps    
configuring    
SRC CLI
drop probability, setting    
SRC CLI
fill level, setting    
SRC CLI
DSCP (Differentiated Services code point), ToS byte    
SRC CLI
 

E

effective period, service schedules
exclusions to service schedule    1
defining    
SRC CLI
expanded classifiers    1
configuring    
SRC CLI
expressions    
map, application protocol conditions    
SRC CLI
parameter definitions
extended classifiers, PCMM    1
configuring    
SRC CLI
external parent groups    
JunosE    
overview    12
external parent groups,    
aggregate rate-limit    
configuring
configuration statements
for JunosE policies    
configuration statements
configuring
hierarchical policy parameter    
configuring
JunosE    
creating
rate-limit profiles    
configuring
 

F

filter actions    1
configuring    
SRC CLI
FlowSpec actions    1
configuring    
SRC CLI
forward actions    1
configuring    
SRC CLI
forwarding class actions    1
configuring    
SRC CLI
fragment services    1
configuring    
SRC CLI
 

G

gates, PCMM
gateSpec actions    1
configuring    
SRC CLI
global parameters    1
configuring    
SRC CLI
predefined    1
viewing with SRC CLI
runtime
types
guaranteed service, FlowSpec
 

H

hierarchical policies    
overview    
1
hierarchical rate-limiting    
JunosE    
1
 

I

infrastructure services    123
 

J

Junos OS ASP policy rules    1
NAT actions    1
configuring, SRC CLI
network, specifying    1
SRC CLI    12
stateful firewall actions, configuring    
SRC CLI
Junos OS filter policy rules    1
conditions, setting    
SRC CLI
Junos OS policer policy rules    1
policer actions    1
configuring, SRC CLI
Junos OS port mirror policy rules    
traffic mirror actions
Junos OS scheduler policy rules    12,  See also drop profile maps    
actions    1
configuring, SRC CLI
QoS conditions, configuring    
SRC CLI
Junos OS shaping policy rules
JunosE IPv6 policy rules    
network, specifying    
SRC CLI    12
JunosE secondary input policy rules    
conditions, setting    
SRC CLI
 

L

local parameters    1
configuring    
SRC CLI
types
loss priority actions    1
configuring    
SRC CLI
 

M

manuals    
comments on
map expressions    
application protocol conditions    
SRC CLI
substitutions
mark actions    1
configuring    
SRC CLI
multiple classifiers, policies
multitask
mutex group    1
adding    
SRC CLI
 

N

NAT (Network Address Translation) policies    
actions    1
configuring, SRC CLI
application protocol condition    
defining, SRC CLI
map expressions, SRC CLI
next-hop actions    1
captive portal feature    
SRC CLI
configuring    
SRC CLI
next-interface actions    1
configuring    
SRC CLI
next-rule actions    1
configuring    
SRC CLI
non-real-time polling service.
notice icons
NRTPS (non-real-time polling service)
 

O

operators in substitution expressions
 

P

packet loss priority.     See loss priority actions    
PacketCable Multimedia Specifications.     See PCMM    
parameter names    
substitutions
parameter value acquisition    12,  See also substitutions    
example
multiple subscriptions
single subscriptions
parameter values, setting in services
parameters    1,  See also substitutions    
defining
definition
fixing
global.     See global parameters    
local.     See local parameters    
ranking sources
runtime.     See runtime parameters    
types
parent groups    12345
PCMM policies    
classifiers
client type 1 support
conditions and actions supported
DOCSIS parameters    1
configuring, SRC CLI
extended classifiers    1
configuring, SRC CLI
FlowSpec parameters    
configuring, SRC CLI
controlled load service
guaranteed service
request specification (RSpec)
traffic specification (TSpec)
gate
gateSpec parameters, configuring    
SRC CLI
I02 and I03 classifiers
marking packets
proxied QoS with policy push
service class name    
configuring, SRC CLI
service flow scheduling types
SessionClassId
traffic profiles
permanent service    1
configuring    
SRC CLI
plug-ins    
authorization
policer actions    1
configuring    
SRC CLI
policies    
defining parameters in repository
policing policies    
example    
SRC CLI
policy actions    1
color    1
configuring, SRC CLI
color mark    12
combining
configuring
DOCSIS    1
configuring, SRC CLI
dynamic profiles    
configuring, SRC CLI
filter    1
configuring, SRC CLI
FlowSpec    1
configuring, SRC CLI
forward    1
configuring, SRC CLI
forwarding class    1
configuring, SRC CLI
forwarding instance    
configuring, SRC CLI
gateSpec    1
configuring, SRC CLI
loss priority    1
configuring, SRC CLI
mark    1
configuring, SRC CLI
NAT    1
configuring, SRC CLI
next hop    1
configuring, SRC CLI
next interface    1
configuring, SRC CLI
next rule    1
configuring, SRC CLI
policer    1
configuring, SRC CLI
policy rules supported
QoS profile attachment    1
configuring, SRC CLI
rate limit    1
configuring, SRC CLI
rate limit hierarchy    
overview
parent-group reference, SRC CLI
rate limit types    
configuring, SRC CLI
rate-limit hierarchy    
configuring, SRC CLI    12
reject    1
configuring, SRC CLI
routing instance    1
configuring, SRC CLI
scheduler    1
configuring, SRC CLI
service class name    1
configuring, SRC CLI
stateful firewall    1
configuring, SRC CLI
template activation    
configuring, SRC CLI
traffic class    1
configuring, SRC CLI
traffic mirror    1
configuring, SRC CLI
traffic-shape    1
configuring, SRC CLI
types
user packet class    1
configuring, SRC CLI
policy components    1
policy decision point, description
Policy Editor
policy enforcement point, description
policy engine
policy repository
policy conditions    12,  See also classify-traffic condition    
policy rules supported
types
policy engine
policy examples    
access policy    
SRC CLI
premium service    
SRC CLI
tiered Internet service    
SRC CLI
policy folders    1
configuring    
SRC CLI
policy groups    1
configuring    
SRC CLI
policy lists    1
configuring    
SRC CLI
policy management    
bandwidth management
overview
packet logging
packet mirroring
packet tagging
policy routing
QoS classification and marking
RADIUS support
security
policy objects    
organization
policy overview    
actions.     See policy actions    
conditions.     See classify-traffic condition\    
policy object organization
policy repository, description
policy rules    1
actions supported
conditions supported
configuring    
SRC CLI
Junos Adaptive Services PIC (ASP).     See Junos OS ASP policy rules    
Junos OS filter.     See Junos OS filter policy rules    
Junos OS policer.     See Junos OS policer policy rules    
Junos OS scheduler.     See Junos OS scheduler policy rules    
Junos OS shaping.     See Junos OS shaping policy rules    
precedence    
SRC CLI
types
PPP    
access policy example    
SRC CLI
precedence    
policy rules    
SRC CLI
premium service, example    
SRC CLI
preparation time, service schedules    
overview
setting    
SRC CLI
proxied QoS with policy push
PTSP actions    
PTSP actions, configuring    
SRC CLI
 

Q

QoS (quality of service)    
condition    1
configuring, SRC CLI
PCMM cable networks.     See PCMM policies    
QoS parameters, configuring    
SRC CLI
QoS profile attachment actions    1
configuring, SRC CLI
QoS profile, configuring    
SRC CLI
QoS condition    12
 

R

rate-limit actions    1
configuring    
SRC CLI
example    
SRC CLI
rate-limit hierarchy actions    
configuring    
SRC CLI    12
overview
rate-limit type actions    
configuring    
SRC CLI
rate-limiting, with multiple classifiers
real-time polling service.     See RTPS    
reject actions    1
configuring    
SRC CLI
routers running Junos OS    
policy features    
rate-shaping
routing instance actions    1
configuring    
SRC CLI
RTPS (real-time polling service)    1
configuring    1
SRC CLI
runtime parameters    
viewing with SRC CLI
 

S

scheduleAuth plug-in
scheduler actions    12,  See also drop profile maps    
configuring    
SRC CLI
scopes.     See service scopes    
script services    1
adding    
SRC CLI
example    
ScriptService SPI in Java
ScriptService SPI in Jython
ScriptService interface
service    
3gpp attributes (Gx router driver)    
configuring, SRC CLI
service class name actions    1
configuring    
SRC CLI
service flow scheduling types
service schedules    
action threshold, setting    
SRC CLI
authorization schedules, configuring    
SRC CLI
configuring    
SRC CLI
examples    
SRC CLI    1234
exclusions, defining    
SRC CLI
guidelines
overview    1
action threshold
authorization schedules
configuring
effective period
event-based schedules
exclusions
one-time events
preparation time
recurring events
state-based schedules
planning
preparation time, setting    
SRC CLI
weekly-recur-freq
service scopes    12
adding    
SRC CLI
assigning services    
SRC CLI
assigning subscribers    
SRC CLI
assigning VRs    
SRC CLI
configuring    
SRC CLI
example    
SRC CLI
multiple scopes, defining    
SCR CLI
service-mgm-schedules-nonwork
services    
activate-only
adding aggregate    
SRC CLI
adding infrastructure    
SRC CLI
adding normal    
SRC CLI
adding script services    
SRC CLI
aggregate.     See aggregate services    
assigning to service scopes    
SRC CLI
automatic activation
infrastructure.     See infrastructure services    
mutually exclusive
overview
premium service example    
SRC CLI
restricting availability
restricting simultaneous activation
script.     See script services    
setting parameter values
tiered Internet example    
SRC CLI
SessionClassId, PCMM policies
shaping rate.     See traffic shaping    
stateful firewall policies    
actions    1
configuring, SRC CLI
application protocol conditions    
defining, SRC CLI
map expressions, SRC CLI
substitutions    1,  See also parameters    
aggregate services, configuring
comments    1
adding
definition
exceptions, raising
expressions    12
IPv4 addresses
keywords
lists, formatting
maps, formatting
numbers, formatting
operators
parameter names, specifying
ranges
separators
strings, formatting
subordinate expressions
syntax
formatting
map expressions
mathematical expressions
parameter names
validation
support, technical     See technical support    
 

T

technical support    
contacting JTAC
template activation actions    
configuring    
SRC CLI
text conventions defined
tiered Internet service, example    
SRC CLI
traffic mirror actions    1
configuring    
SRC CLI
traffic profiles, PCMM policies
traffic shape actions    
configuring    
SRC CLI
traffic shaping    
actions
policy rules
traffic-class actions    1
configuring    
SRC CLI
traffic-shape actions
 

U

UGS (unsolicited grant service)    1
configuring    
SRC CLI
UGS-AD (unsolicited grant service with activity detection)    1
configuring    
SRC CLI
unsolicited grant service.     See UGS    
unsolicited grant with activity detection.     See UGS-AD    
user packet class actions    1
configuring    
SRC CLI
 

V

validating    
substitutions
value acquisition for parameters    
multiple subscriptions
single subscriptions

Expressions in Parameters

An expression in a parameter definition can take one the following values:

  • An explicit value; for example, 1000000
  • Another parameter; for example, a parameter called bodDestPort
  • A mathematical expression that can include a combination of:
    • Parameters
    • Numbers—Integers and floating point numbers
    • Strings
    • IPv4 addresses
    • Ranges of numbers, strings, and addresses
    • Lists of values, such as lists of protocols
    • Maps—List of pairs of attributes and corresponding values
    • One keyword, not
    • Separators
    • Operators

      For example, x == 1 ? rate : 2*rate

The syntax for mathematical expressions is based primarily on Java syntax, although a few items use a proprietary syntax. When evaluating mathematical expressions, the SRC software:

  • Follows a defined order for the precedence of operators.
  • Performs all evaluations in long integer format until it finds an argument or result that is in Java floating point number format. Subsequently, the software performs evaluations in Java double floating point number format.
  • Evaluates only subordinate expressions that meet the conditions for evaluation.
    • Evaluates only subordinate expressions that contain numbers and not parameters.
    • Stops the evaluation and substitutes the partial evaluation if an argument in double floating number format becomes an argument to an operator that takes only integers.
  • Behaves in the same way as a Java evaluation if intermediate evaluations exceed or fall below the long integer range or the double floating point number range.
  • Follows the Java rules for raising exceptions. For example, the software raises an exception if:
    • An evaluation involves a division by zero.
    • Literal numbers exceed the long integer limit or the double floating point number limit.

The following sections describe how to format the items that you can use in an expression.

Specifying Parameter Names

Observe the following rules when you are specifying parameter names:

  • Enter a string of alphanumeric characters starting with a letter.
  • Do not use spaces or special characters. For example, do not use the at sign (@) in a parameter name.
  • You can use the underscore (_) and the dollar sign ($). Use the dollar sign to encode special characters by entering the Unicode equivalent of the character in hexadecimal format after the dollar sign. For example, use $0040 to encode the at sign (@).

Formatting Numbers

Observe the following rules when you are formatting numbers:

  • Enter a digit after the decimal point in a floating point number. For example, you can use the number 4.0, but not the number 4.
  • Do not enter characters that specify the type of number after that number. For example, do not enter the character L after a number to indicate that the number is a long integer.

Formatting Strings

Use Java syntax for strings; enclose strings in double quotation marks.

Example—“engineering”

Observe the following rules when you are formatting strings:

  • Do not use octal escape sequences in strings. For example, do not use the escape sequence \137 in a string.
  • Do not use Unicode escape sequences. For example, do not use the escape sequence \u80A6 in a string.

Using IPv4 Addresses

Use the following format for IP addresses:

<string>.<string>.<string>.<string> | ‘<string>.<string>.<string>.<string>’<string> is a set of digits in the range 0–255Example—‘192.0.2.1’

Single quotation marks around an item indicate that it represents an address; however, for IPv4 addresses, the quotation marks are optional.

Specifying Ranges

To specify a range of numbers, strings, and addresses, use two dots between the arguments.

Example—192.0.2.1..192.0.3.1

Formatting Lists

To specify a list of values, enclose a set of subordinate expressions separated by commas in a pair of square brackets.

Example—[ip, icmp, ftp]

Formatting Maps

Maps are used to specify values that have optional and interdependent attributes. For example, when you define an application object through the Enterprise Manager portal, you can select a number of attributes and specify particular values for them. Depending on the value of the attribute, other attributes are possible or required.

To format a map, specify a list of pairs of attributes and corresponding values. Separate the pairs with commas, and enclose the list in curly brackets (braces).

Example—{applicationProtocol="ftp” , sourcePort=123, inactivityTimeout=60}

Using Keywords

The SRC software ignores all Java keywords in substitutions, so that you can use Java keywords for identifiers such as variable names, function names, and attribute names in maps. The SRC software accepts one keyword, not, which is used to indicate conditions that do not match a specified value. For more information about the not keyword.

Using Separators

You cannot use a dot (.) as a separator. You can use other Java separators in the ways that Java supports.

Using Operators

Table 14 shows the operations and corresponding operators that the SRC software supports for substitutions. Most of the operators are Java operators, although a few operators are proprietary. You cannot use Java operators that do not appear in this table.

Table 14: Operations That You Can Use in Expressions

Operation

Operator

Number of Arguments

Result If Different from Java Conventions

Conditions for Evaluation

Example

Bitwise AND of the arguments

&

Two

 

Both arguments must be integers

234567 & 876543

Bitwise exclusive OR of the arguments

^

Two

 

Both arguments must be integers

234567 ^ 876543

Bitwise inclusive OR of the arguments

|

Two

 

Both arguments must be integers

234567 | 876543

Bitwise negation of the argument

~

One

 

Argument must be an integer

–234567

Difference between two arguments

Two

 

Both arguments must be numbers

876543 – 234567

Division of the first argument by the second argument

/

Two

Result of operation in double format

Both arguments must be numbers

589 / 756

Equal

==

Two

Nonzero number if the arguments are equal

Both arguments must be numbers

rate==5

Greater than

>

Two

Nonzero integer if the first argument is greater than the second argument

Both arguments must be numbers

rate>5

Greater than or equal to

>=

Two

Nonzero integer if the first argument is greater than or equal to the second argument

Both arguments must be numbers

rate>=5

If... then... else... operation

?:

Three

If the first argument is nonzero, then the result is the second argument, else the result is the third argument

First argument must be a number

“ x == 1 ? rate : 2*rate”

Less than

<

Two

Nonzero integer if the first argument is less than the second argument

Both arguments must be numbers

rate<5

Less than or equal to

<=

Two

Nonzero integer if the first argument is less than or equal to the second argument

Both arguments must be numbers

rate<=5

Logical AND

&&

Two

Nonzero integer if both the arguments are nonzero

Both arguments must be numbers

x == 1 && y >= 5

Logical NOT

!()

One

Zero if the argument is nonzero

All arguments must be numbers

! x ==y

Logical OR

||

Two

Nonzero integer if at least one of the arguments is nonzero

Both arguments must be numbers

x==1 || y>=5

Maximum of the arguments, max() = –infinity

max()

Zero or more

 

All arguments must be numbers

max (1, 3, 2, 4)

Minimum of the arguments, min() = +infinity

min()

Zero or more

 

All arguments must be numbers

min (1, 3, 2, 4)

Negation

One

 

Argument must be a number

–5

Not equal

!=

Two

Nonzero integer if the arguments are not equal

Both arguments must be numbers

rate !=5

Not match

not

One

 

None – expressions with this operator cannot be evaluated

not 192.0.2.1

Product of the arguments

*

Two

 

Both arguments must be numbers

rate*2

Raise the first argument to the power of the second argument

**

Two

 

Both arguments must be numbers

2**16

Range from the first argument to the second argument

..

Two

 

None—expressions with this operator cannot be evaluated

0..49

Remainder of division of the first argument by the second argument

%

Two

 

Both arguments must be integers

5%2

Round off the argument to the closest number

round()

One

Integer closest to the argument

Argument must be numbers

round(986532.654)

Round the argument down

floor()

One

Biggest integer less than or equal to the argument

Argument must be numbers

floor (986532.654)

Round the argument up

ceiling()

One

Smallest integer greater than or equal to the argument

Argument must be numbers

ceiling (986532.654)

Shift the first argument left by the number of bits in the second argument

<<

Two

 

Both arguments must be integers

986532 << 2

Shift the first argument right by the number of bits in the second argument

>>

Two

 

Both arguments must be integers

986532 >>2

Sum of the arguments

+

One or two

 

Both arguments must be numbers

876 + 345

+855

The precedence of the Java operators is the same as the precedence in Java; if you are unsure of the precedence of the operators, you can use parentheses to ensure that the software evaluates expressions in the desired way. For example, the following logical OR expression does not need parentheses.

x==1 || y>=5

You can, however, include parentheses as follows:

(x==1) || (y>=5)

The following list shows the precedence of the operators from lowest precedence to highest precedence:

  • not
  • ..
  • ?:
  • ||
  • &&
  • |
  • ^
  • &
  • ==, !=
  • <,>,<=,>=
  • <<,>>
  • +,– (binary)
  • *,/,%
  • **
  • +,– (unary)
  • ~,!

Related Documentation

Modified: 2015-06-19