Packet Classification
Packet Classification
Packet Title>
Packet Classification
2 www.juniper.net
Packet Classification
www.juniper.net 3
Packet Classification
4 www.juniper.net
Packet Classification
Forwarding Classes
The main function of forwarding classes is to determine the queue to which a packet is assigned. As
a packet enters a Junos device and passes through multifield or behavior aggregate classification,
the device assigns it to a forwarding class. In actuality, the device is placing the packet in a queue.
You can think of forwarding classes as the configuration component that represents the queues.
www.juniper.net 5
Packet Classification
6 www.juniper.net
Packet Classification
Platform Support
The number of forwarding classes and queues supported varies depending on which Junos device
you are using. The slide provides the details.
www.juniper.net 7
Packet Classification
Loss Priority
Packet loss priority (PLP), also known as drop precedence, identifies a given packet’s drop-eligibility.
In other words, it determines the likelihood that a packet will be dropped under congestion. It is
important to note that having a PLP value assigned does not automatically mean that the packet will
be dropped. The PLP provides you with the option to specify that if the device experiences congestion
later in the CoS process, it should drop the packets marked with a higher PLP first.
A Junos device can assign a loss priority value (PLP) to a packet as the packet enters the device
using a multifield or behavior aggregate classifier. A policer can also assign the value sightly later in
the CoS process.
The Junos OS allows you to assign up to four PLP values to inbound traffic: low, medium-low,
medium-high, and high. By default, the system uses only low and high.
8 www.juniper.net
Packet Classification
Note
When using Juniper Networks M320
Multiservice Edge Routers, Juniper Networks MX
Series 3D Universal Edge Routers, or Juniper
Networks T Series Core Routers, and you do not
have tricolor marking enabled (which is
reasonably likely), you must configure PLP within
a multifield classifier.
www.juniper.net 9
Packet Classification
10 www.juniper.net
Packet Classification
www.juniper.net 11
Packet Classification
MF Application Examples
The slide provides some examples of where multifield classification can be helpful.
12 www.juniper.net
Packet Classification
Note
Traffic that does not explicitly receive CoS
treatment from the device is assigned to the
best-effort forwarding class.
www.juniper.net 13
Packet Classification
14 www.juniper.net
Packet Classification
www.juniper.net 15
Packet Classification
BA Application Examples
The slide provides some examples of where multifield classification can be helpful.
16 www.juniper.net
Packet Classification
www.juniper.net 17
Packet Classification
18 www.juniper.net
Packet Classification
www.juniper.net 19
Packet Classification
Other Default Classifiers (contd.)
Classifier: ieee8021p-default, Code point type: ieee-802.1, Index: 11
Code point Forwarding class Loss priority
000 best-effort low
001 best-effort high
010 expedited-forwarding low
011 expedited-forwarding high
100 assured-forwarding low
101 assured-forwarding high
110 network-control low
111 network-control high
20 www.juniper.net
Packet Classification
www.juniper.net 21
Packet Classification
Note
If you do not have tricolor marking enabled when
using M320 Multiservice Edge Routers, MX
Series 3D Universal Edge Routers, or T Series
Core Routers (which is reasonably likely), you
must configure PLP within a multifield classifier.
22 www.juniper.net
Packet Classification
www.juniper.net 23
Packet Classification
24 www.juniper.net
Packet Classification
www.juniper.net 25
Packet Classification
26 www.juniper.net
Packet Classification
www.juniper.net 27
Packet Classification
28 www.juniper.net