Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


show class-of-service interface-set



Display the configured shaping rate and the adjusted shaping rate for each logical interface set configured for hierarchical class of service (CoS).



Display CoS associations for all logical interface sets.

interface-set interface-set-name

(Optional) Display CoS associations for the specified interface set.

Required Privilege Level


Output Fields

Table 1 describes the output fields for the show class-of-service interface-set command. Output fields are listed in the approximate order in which they appear.

Table 1: show class-of-service interface-set Output Fields

Field Name

Field Description


Name of a logical interface set composed of one or more logical interfaces for which hierarchical scheduling is enabled.


Index number of this interface set or the internal index number of this object.

Physical interface

Name of a physical interface.

Queues supported

Number of queues you can configure on the interface.

Queues in use

Number of queues currently configured.

Output traffic control profile

Name of the output traffic control profile attached to the logical interface set.

Output traffic control profile remaining

(Enhanced subscriber management for MX Series routers) For dynamic subscriber management, name of the output traffic control profile for remaining traffic attached to the logical interface set.

Adjusting application

Name of the application that communicates shaping-rate adjustment information to the Junos OS class-of-service process (cosd) on the broadband services router (BSR). The BSR uses the information from this application to perform shaping-rate adjustments on the scheduler node that manages the interface set. The adjusting application appears as ancp LS-0 which is the Junos OS Access Node Control Profile process (ancpd) that performs shaping-rate adjustments on schedule nodes. The nodes are logical interface sets configured to represent subscriber local loops. When the synchronization speed of the DSL line changes, ancpd communicates the local loop speed to cosd over the default logical system, LS-0, and then the BSR throttles the shaping rate on the scheduler node to the loop speed.

The adjusting application can also appear as PPPoE, which adjusts the shaping-rate and overhead-accounting class-of-service attributes on dynamic subscriber interfaces in a broadband access network based on access line parameters in Point-to-Point Protocol over Ethernet (PPPoE) Tags [TR-101]. This feature is supported on MPC/MIC interfaces on MX Series routers. The shaping rate is based on the actual data rate downstream attribute. The overhead accounting value is based on the access loop encapsulation attribute and specifies whether the access loop uses Ethernet (frame mode) or ATM (cell mode).

Adjustment type

Type of shaping-rate adjustment performed by the BSR on the scheduler node. The type of adjustment appears as Adjustment type, meaning that the configured shaping rate is adjusted by an absolute value as opposed to by a percentage of the configured rate.

Configured shaping rate

The maximum transmission rate on the physical interface as configured by the output traffic-control profile attached to the scheduler node.

Adjustment value

Value of the shaping-rate adjustment information sent by the adjusting application to cosd.

Adjustment overhead-accounting mode

Configured shaping mode: frame or cell.

Sample Output

show class-of-service interface-set

show class-of-service interface-set (Enhanced Subscriber Management)