Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


mode (Layer 2 Tunneling Protocol Shaping)


Hierarchy Level


Enable shaping on an L2TP session.


traffic-manager-mode—Configure CoS traffic manager mode of operation on this interface. This option has the following suboptions:


Enable CoS queuing and scheduling on the egress side for the PIC that houses the interface. This is the default mode for an Enhanced Queuing (EQ) DPC on MX Series routers.

If ingress packet drops are observed at a high rate for an IQ2 or IQ2E PIC, configure the traffic-manager statement to work in the egress-only mode.


Enable CoS queuing and scheduling on both the egress and ingress sides for the PIC. This is the default mode for IQ2 and IQ2E PICs on M Series and T Series routers.

Junos OS does not support ingress-and-egress mode on label-switched interfaces (LSIs) configured with VPLS.

For EQ DPCs, you must configure the traffic-manager statement with ingress-and-egress mode to enable ingress CoS on the EQ DPC. EQ DPCs have 250 ms of buffering, with only egress queuing (default mode). When ingress-and-egress is configured, the buffer is partitioned as 50 ms for the ingress direction and 200 ms for the egress direction.


(M10i and M120 routers only) Configure the IQ2 PIC mode for session-aware traffic shaping to enable L2TP session shaping.

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 8.3.

Statement introduced at the [edit chassis fpc slot-number pic pic-number port port-number traffic-manager] hierarchy level on MX80 and MX104 routers in Junos OS Release 17.4R2.