Configuring Ingress Hierarchical CoS on Enhanced Queuing DPCs
You can configure ingress CoS parameters, including hierarchical schedulers, on MX Series routers with Enhanced Queuing DPCs (that is, line cards that have a queuing chip). In general, the supported configuration statements apply to per-unit schedulers or to hierarchical schedulers.
Ingress CoS is not supported on line cards that do not contain a queuing chip.
To configure ingress CoS for per-unit schedulers, include
the following statements at the [edit class-of-service interfaces interface-name]
hierarchy level:
The input-scheduler-map
and input-traffic-control-profile
statements are mutually exclusive at the same hierarchy level.
[edit class-of-service interfaces interface-name] input-excess-bandwidth-share (proportional value | equal); input-scheduler-map map-name; input-shaping-rate rate; input-traffic-control-profile profile-name shared-instance instance-name; unit logical-unit-number; input-scheduler-map map-name; input-shaping-rate (percent percentage | rate); input-traffic-control-profile profile-name shared-instance instance-name; }
To configure ingress CoS for hierarchical schedulers,
include the interface-set interface-set-name
statement at the [edit class-of-service interfaces]
hierarchy level:
[edit class-of-service interfaces] interface-set interface-set-name { input-excess-bandwidth-share (proportional value | equal); input-traffic-control-profile profile-name shared-instance instance-name; input-traffic-control-profile-remaining profile-name; interface interface-name { input-excess-bandwidth-share (proportional value | equal); input-traffic-control-profile profile-name shared-instance instance-name; input-traffic-control-profile-remaining profile-name; unit logical-unit-number; input-traffic-control-profile profile-name shared-instance instance-name; } } }
By default, ingress CoS features are disabled on the Enhanced Queuing DPC.
For an Enhanced Queuing (EQ) DPC on an MX Series router,
CoS queuing and scheduling are enabled on the egress side but disabled
on the ingress side by default. To enable ingress CoS on the EQ DPC,
you must configure the traffic-manager
statement with ingress-and-egress
mode:
[edit chassis fpc slot-number pic pic-number] traffic-manager mode ingress-and-egress;
If you enable ingress CoS settings and inline services on the same FPC, the FPC moves to the offline state. This behavior is expected because null route detection is triggered that causes the FPC to move to the offline state.
Configured CoS features on the ingress are independent of CoS features on the egress, with the following exceptions:
If you configure a per-unit or hierarchical scheduler at the
[edit class-of-service interfaces]
hierarchy level, the schedulers apply in both the ingress and egress directions.You cannot configure the same logical interface on an ingress and an egress interface set. A logical interface can only belong to one interface set.
The DPC’s frame buffer of 512 MB is shared between ingress and egress configurations.
The following behavior aggregate (BA) classification tables are supported on the ingress side of the Enhanced Queuing DPC:
inet-precedence
DSCP
exp (MPLS)
DSCP for IPv6
IEEE 802.1p