[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Packet-Based Processing
A packet undergoes packet-based processing when
it is dequeued from its input (ingress) interface and before it is
enqueued on its output (egress) interface.
Packet-based processing applies stateless firewall
filters and class-of-service (CoS) features to discrete packets. You
can apply a firewall filter to an ingress or egress interface, or
to both.
- When a packet arrives at an interface on the router, any
packet-based filters and policers associated with the interface are
applied to the packet before any security policies are evaluated.
- Before a packet leaves the router, any packet-based filters
and traffic shapers associated with the output interface are applied
to the packet after any security policies have been evaluated.
Figure 2 shows architectural
overview of traffic flow in a standard JUNOS router.
Figure 2: Traffic Flow for Packet-Based Processing

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.
 |
Note:
Packet-based processing occurs only if you configure
filters, CoS, IPv6, and MPLS features for an interface that handles
the packet.
|
Here are the kinds of packet-based features that
you can configure and apply to transit traffic. 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.
-
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 router 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 terms 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.
-
Class-of-service (CoS) features—CoS features allow you to police and shape traffic.
-
Policing traffic—Policers
allow you to limit traffic of a certain class to a specified bandwidth
and burst size. Packets exceeding the policer limits can be discarded
or assigned to a different forwarding class, a different loss priority,
or both. You can use policers to limit the amount of traffic passing
into or out of an interface.
-
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.
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]