Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show class-of-service scheduler-map

date_range 16-Dec-24

Syntax

content_copy zoom_out_map
show class-of-service scheduler-map
<name>

Description

Display the mapping of schedulers to forwarding classes and a summary of scheduler parameters for each entry.

Options

none

Display all scheduler maps.

name

(Optional) Display a summary of scheduler parameters for each forwarding class to which the named scheduler is assigned.

Required Privilege Level

view

Output Fields

The following table lists all possible output fields for the show class-of-service scheduler-map command. The fields that appear may vary depending on the platform and software release.

Table 1: show class-of-service scheduler-map Output Fields

Field Name

Field Description

Scheduler map

Name of the scheduler map.

The name of the dynamic scheduler map object is associated with a generated UID (for example, SMAP-1_UID1002) instead of with a subscriber interface.

Index

Index of the indicated object. Objects having indexes in this output include scheduler maps, schedulers, and drop profiles.

Index values for dynamic CoS traffic control profiles are larger for enhanced subscriber management than they are for legacy subscriber management.

Scheduler

Name of the scheduler.

Forwarding class

Classification of a packet affecting the forwarding, scheduling, and marking policies applied as the packet transits the router.

Transmit rate

Configured transmit rate of the scheduler (in bps). The rate is a percentage of the total interface bandwidth, or the keyword remainder, which indicates that the scheduler receives the remaining bandwidth of the interface.

Rate Limit

Rate limiting configuration of the queue. Possible values are none, meaning no rate limiting, and exact, meaning the queue only transmits at the configured rate.

Buffer Rate

The buffer rate is the target rate of a VOQ, which is the intended egress queue rate during typical congestion. The target rate is an import parameter for VOQs, as the ratio of the drain rate to the target rate determines how much buffer adjustment happens at ingress.

Maximum buffer delay

Amount of transmit delay (in milliseconds) or the buffer size of the queue. The buffer size is shown as a percentage of the total interface buffer allocation, or by the keyword remainder to indicate that the buffer is sized according to what remains after other scheduler buffer allocations.

Buffer size

The size of the buffer as a percent of the total buffer size for the port. The total of all of the explicitly configured buffer size percentages for all of the queues on a port cannot exceed 100 percent.

On QFX10000 switches, the buffer size is the amount of time in milliseconds of port bandwidth that a queue can use to continue to transmit packets during periods of congestion, before the buffer runs out and packets begin to drop.

Buffer dynamic threshold

The alpha value of the shared-buffer pool at the egress buffer partition for each queue.

Priority

Scheduling priority: low or high.

Excess priority

Priority of excess bandwidth: low, medium-low, medium-high, high, or none.

Explicit Congestion Notification

Explicit congestion notification (ECN) state:

  • Disable—ECN is disabled on the specified scheduler

  • Enable—ECN is enabled on the specified scheduler

ECN is disabled by default.

Adjust minimum

Minimum shaping rate for an adjusted queue, in bps.

Adjust percent

Bandwidth adjustment applied to a queue, in percent.

Drop profiles

Table displaying the assignment of drop profiles by name and index to a given loss priority and protocol pair.

Loss priority

Packet loss priority for drop profile assignment.

Protocol

Transport protocol for drop profile assignment.

Name

Name of the drop profile.

Sample Output

show class-of-service scheduler-map (MX Series)

content_copy zoom_out_map
user@host> show class-of-service scheduler-map              
Scheduler map: dd-scheduler-map, Index: 84

  Scheduler: aa-scheduler, Forwarding class: aa-forwarding-class, Index: 8721
    Transmit rate: 30 percent, Rate Limit: none, Buffer size: 95 percent, Buffer Limit: none, Priority: high
    Excess Priority: low, Queue Depth Monitoring: disabled
    Drop profiles:
      Loss priority   Protocol    Index    Name
      Low             any         8724     aa-drop-profile
      Medium low      any         9874     bb-drop-profile
      Medium high     any         8833     cc-drop-profile
      High            any         8484     dd-drop-profile

  Scheduler: bb-scheduler, Forwarding class: aa-forwarding-class, Index: 223
    Transmit rate: 40 percent, Rate limit: none, Buffer size: 5 percent, Buffer Limit: none, Priority: low
    Excess Priority: low, Queue Depth Monitoring: disabled
    Drop profiles:
      Loss priority   Protocol    Index    Name
      Low             any         8724     aa-drop-profile
      Medium low      any         9874     bb-drop-profile
      Medium high     any         8833     cc-drop-profile
      High            any         8484     dd-drop-profile

show class-of-service scheduler-map (EX4100 and EX4400)

content_copy zoom_out_map
user@host> show class-of-service scheduler-map
Scheduler map: <default>, Index: 2

  Scheduler: <default-be>, Forwarding-class: best-effort, Index: 21
    Transmit rate: 75 percent, Rate Limit: none, Buffer size: 75 percent, Buffer Limit: none, Priority: low
    Excess Priority: low, Explicit Congestion Notification: disable, ECN Security Log Rate Limit: 65535, Queue Depth Monitoring: disabled
    Drop profiles:
      Loss priority    Protocol    Index    Name
      Low              non-TCP         1    <default-drop-profile>
      Low              TCP             1    <default-drop-profile>
      Medium low       any             1    <default-drop-profile>
      Medium high      any             1    <default-drop-profile>
      High             non-TCP         1    <default-drop-profile>
      High             TCP             1    <default-drop-profile>

  Scheduler: mcast-nc-scheduler, Forwarding-class: mcast-nc, Index: 48
    Transmit rate: 5 percent, Rate Limit: none, Buffer size: 5 percent, Buffer Limit: none, Priority: low
    Excess Priority: low, Explicit Congestion Notification: disable, ECN Security Log Rate Limit: 65535, Queue Depth Monitoring: disabled
    Drop profiles:
      Loss priority    Protocol    Index    Name
      Low              non-TCP         1    <default-drop-profile>
      Low              TCP             1    <default-drop-profile>
      Medium low       any             1    <default-drop-profile>
      Medium high      any             1    <default-drop-profile>
      High             non-TCP         1    <default-drop-profile>
      High             TCP             1    <default-drop-profile>

show class-of-service scheduler-map (PTX10001-36MR, PTX10004, PTX10008, PTX10016)

content_copy zoom_out_map
user@host# show class-of-service scheduler-map smap
Scheduler map: smap, Index: 4

  Scheduler: s2, Forwarding class: best-effort, Index: 5
    Transmit rate: unspecified, Rate Limit: none, Buffer Rate: 40000000000 bps, Buffer Limit: none, Buffer dynamic threshold: unspecified, Priority: low
    Excess Priority: unspecified, Excess rate: unspecified, Explicit Congestion Notification: disable, ECN pfc no assist: disable
    Drop profiles:
      Loss priority   Protocol    Index    Name
      Low             any             0    default-drop-profile
      Medium low      any             0    default-drop-profile
      Medium high     any             0    default-drop-profile
      High            any             0    default-drop-profile

show class-of-service scheduler-map (QFX Series)

content_copy zoom_out_map
user@switch# show class-of-service scheduler-map
Scheduler map: be-map, Index: 12240

  Scheduler:be-sched, Forwarding class: best-effort, Index: 115
    Transmit rate: 30 percent, Rate Limit: none, Buffer size: remainder,
    Buffer Limit: none, Priority: low
    Excess Priority: unspecified, Explicit Congestion Notification: disable

    Drop profiles:
      Loss priority   Protocol    Index    Name
      Low             any          3312    lan-dp           
      Medium-high     any          2714    be-dp1
      High            any          3178    be-dp2

Release Information

Command introduced before Junos OS Release 7.4.

footer-navigation