[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]
Understanding Packet-Based Processing
A packet undergoes packet-based processing when
it is removed from the queue from its input interface and before it
is added to the queue on its output interface.
Packet-based processing applies stateless firewall
filters, class-of-service (CoS) features, and some screens to discrete
packets.
- When a packet arrives at an interface on the services
gateway, sanity checks, packet-based filters, some CoS features, and
some screens are applied to it.
- Before a packet leaves the device, any packet-based filters,
some CoS features, and some screens associated with the interface
are applied to the packet.
Filters and CoS features are typically associated
with one or more interfaces to influence which packets are allowed
to transit the system and to apply special actions to packets as necessary.
Here are the kinds of packet-based features that
you can configure and apply to transit traffic.
-
Stateless firewall filters—Also
referred to as access control lists (ACLs), stateless firewall filters
control access and limit traffic rates. They statically evaluate the
contents of packets transiting the device from a source to a destination,
or packets originating from or destined for the Routing Engine. A
stateless firewall filter evaluates every packet, including fragmented
packets.
You can apply a stateless firewall filter to an
input or output interface, or to both. A filter contains one or more
terms, and each term consists of two components—match conditions
and actions. By default, a packet that does not match a firewall filter
is discarded.
You can plan and design stateless firewall filters
to be used for various purposes—for example, to limit traffic
to certain protocols, IP source or destination addresses, or data
rates. Stateless firewall filters are executed on the SPU.
-
Class-of-service (CoS) features—CoS features allow you to classify and shape traffic. CoS
features are executed on the SPU.
-
Behavior aggregate (BA) classifiers—These classifiers operate on packets as they enter the device.
Using behavior aggregate classifiers, the device aggregates different
types of traffic into a single forwarding class to receive the same
forwarding treatment. BA classifiers allow you to set the forwarding
class and loss priority of a packet based on the Differentiated Service
(DiffServ) value.
-
Traffic shaping—You can shape traffic by assigning service levels with different
delay, jitter, and packet loss characteristics to particular applications
served by specific traffic flows. Traffic shaping is especially useful
for real-time applications, such as voice and video transmission.
-
Certain screens—Some screens, such as denial-of-service (DoS) screens, are
applied to a packet outside the flow process. They are executed on
the NPU.
For details on specific stateless firewall filters
and CoS features, see the JUNOS Software Interfaces and Routing Configuration Guide and
the JUNOS Software CLI Reference.
[
Contents]
[
Prev]
[
Next]
[
Index]
[
Report an Error]