Is port's shaper/policer applied after the traffic has been queued and scheduled and put on the FIFI queue of the port? In other words, does port 's policer/shaper act on the traffic that has been placed on the FIFO queue of the port after it has been scheduled from egress queues?
I do not see any mention of port shaper or interface specific policer ( unless I missed it) .
I know filter speific policer is appled before the packet is placed in egress queues on the port based.
This is my guess as I could not find any JUNOS doc to corroborate it.
Before the traffic can be placed on the egress port, Traffic first is subjected to Interface specific policer, if the traffic conforms, it is then placed in egress queues awaiting transmission by schedulers. Key point the egress outbound interface policer acts on the traffic first before traffic is queued into egress queues.
Not sure if the same is also true for Port shaper.
Sorry, I guess I don't understand the questions. The fifo queue is either the first contact with packets on ingress or the last on egress. Thus on ingress all processing is after fifo and on egress all processing happens before hitting the fifo queue.
Or is the question not where is the fifo queue in processing but something else?
If the packet walk through is not what you are looking for maybe this desccription of the QoS functions is what would help.
Thanks for your response, my apology for not very clear.
This is what I visualize:
Egress traffic from fabric-> -------q1---scheduler---|
| To FIFO queue of the port--->Port shaper/Port policer--> WIRE
Egress traffic from fabric-> --------q2 -scheduler---|
Above traffic bound for egress port are received into egress queues from the fabric, schedulers pick up the packet from the queue and place it on the FIFO queue of the port.
So when we use Port based shaper or interface specific stateless filter, are we applying at the position shown above i.e
these port based policers/shaper are applied post classification and scheduling and right before the traffic is put on the wire?
I know Filter based egress policer acts on the traffic as it about to enter egress queues from the fabric. Note that this filter is applied before queueing and scheduling but I am not sure about Port based shaper and interface specific policer.