Technical Documentation

traffic-manager

Syntax

traffic-manager {egress-shaping-overhead number;ingress-shaping-overhead number;mode {egress-only;ingress-and-egress;session-shaping;}}

Hierarchy Level

[edit chassis fpc slot-number pic pic-number],[edit chassis lcc number fpc slot-number pic pic-number] (Routing Matrix)

Release Information

Statement introduced in JUNOS Release 8.3.

Description

Enable CoS queueing, scheduling, and shaping.

Options

egress-shaping-overhead number—When traffic management (queueing and scheduling) is configured on the egress side, the number of CoS shaping overhead bytes to add to the packets on the egress interface.

Replace number with a value from 0 through 255 bytes.

ingress-shaping-overhead number—When L2TP session shaping is configured, the number of CoS shaping overhead bytes to add to the packets on the ingress side of the L2TP tunnel to determine the shaped session packet length.

When session shaping is not configured and traffic management (queueing and scheduling) is configured on the ingress side, the number of CoS shaping overhead bytes to add to the packets on the ingress interface.

Replace number with a value from 0 through 255 bytes.

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

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

    Note: 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.

  • ingress-and-egress—Enable CoS queueing 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.
    • 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 queueing (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.
  • session-shaping—(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.


Published: 2010-04-26