Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show class-of-service

Syntax

show class-of-service

Release Information

Command introduced before Junos OS Release 7.4.

Command introduced in Junos OS Release 9.0 for EX Series switches.

Description

Display the entire class-of-service (CoS) configuration, including system-chosen defaults. Executing this command is equivalent to executing all show class-of-service commands in succession.

Options

This command has no options.

Required Privilege Level

view

List of Sample Output

show class-of-service

Output Fields

See the output field descriptions for the commands.

Sample Output

show class-of-service

user@host> show class-of-service
Forwarding class                    Queue
  best-effort                           0
  expedited-forwarding                  1
  assured-forwarding                    2
  network-control                       3
Code point type: dscp
  Alias              Bit pattern
  af11               001010         
  af12               001100         
  af13               001110         
...
Code point type: dscp-ipv6
  Alias              Bit pattern
  af11               001010         
  af12               001100         
  af13               001110         
...
Code point type: exp
  Alias              Bit pattern
  af11               100            
  af12               101            
  be                 000            
...
Code point type: ieee-802.1
  Alias              Bit pattern
  af11               100            
  af12               101            
  be                 000            
...
Classifier: dscp-default, Code point type: dscp, Index: 6
  Code point         Forwarding class                    Loss priority
  000000             best-effort                         low         
  000001             best-effort                         low         
  000010             best-effort                         low         
....
Classifier: dscp-ipv6-default, Code point type: dscp-ipv6, Index: 7
  Code point         Forwarding class                    Loss priority
  000000             best-effort                         low         
  000001             best-effort                         low         
  000010             best-effort                         low         
...
Loss-priority-map: frame-relay-de-default, Code point type: frame-relay-de, Index: 12
  Code point         Loss priority
  0                  low         
  1                  high        

Rewrite rule: dscp-default, Code point type: dscp, Index: 23
  Forwarding class                    Loss priority       Code point
  best-effort                         low                 000000         
  best-effort                         high                000000         
  expedited-forwarding                low                 101110         
...
Rewrite rule: dscp-ipv6-default, Code point type: dscp-ipv6, Index: 24
  Forwarding class                    Loss priority       Code point
  best-effort                         low                 000000         
  best-effort                         high                000000         
...
....
Drop profile: <default-drop-profile>, Type: discrete, Index: 1
  Fill level    Drop probability
         100                 100

Scheduler map: <default>, Index: 2

  Scheduler: <default-be>, Forwarding class: best-effort, Index: 16
    Transmit rate: 95 percent, Rate Limit: none, Buffer size: 95 percent, Priority: low
    Drop profiles:
      Loss priority   Protocol    Index    Name
      Low             any             1    <default-drop-profile>      
      Medium low      any             1    <default-drop-profile>            
      Medium high     any             1    <default-drop-profile>      
      High            any             1    <default-drop-profile>            
...
Physical interface: fe-0/0/0, Index: 137
Queues supported: 8, Queues in use: 4
  Scheduler map: <default>, Index: 2

  Logical interface: fe-0/0/0.0, Index: 69
    Object            Name                   Type                    Index
    Adaptive-shaper   fr-shaper                                      35320
    Classifier        ipprec-compatibility   ip                         11
                    
Physical interface: fe-0/0/1, Index: 138
Queues supported: 8, Queues in use: 4
  Scheduler map: <default>, Index: 2
...

Published: 2013-03-14

Published: 2013-03-14