Class of Service

Monitoring CoS Interfaces

To display details about the physical and logical interfaces and the CoS components assigned to them, select Monitor>Class of Service>Interfaces in the J-Web interface, or enter the following CLI command:

show class-of-service interface interface

Table 179 summarizes key output fields for CoS interfaces.

Table 179: Summary of Key CoS Interfaces Output Fields

Field

Values

Additional Information

Interface

Name of a physical interface to which CoS components are assigned.

To display names of logical interfaces configured on this physical interface, click the plus sign (+).

Scheduler Map

Name of the scheduler map associated with this interface.

 

Queues Supported

Number of queues you can configure on the interface.

 

Queues in Use

Number of queues currently configured.

 

Logical Interface

Name of a logical interface on the physical interface, to which CoS components are assigned.

 

Object

Category of an object—for example, classifier, scheduler-map, or rewrite.

 

Name

Name that you have given to an object—for example, ba-classifier.

 

Type

Type of an object—for example, dscp, or exp for a classifier.

 

Index

Index of this interface or the internal index of a specific object.

 

Monitoring CoS Classifiers

To display the mapping of incoming CoS value to forwarding class and loss priority, for each classifier, select Monitor>Class of Service>Classifiers in the J-Web interface, or enter the following CLI command:

show class-of-service classifier

Table 180 summarizes key output fields for CoS classifiers.

Table 180: Summary of Key CoS Classifier Output Fields

Classifier Name

Name of a classifier.

To display classifier assignments, click the plus sign (+).

CoS Value Type

The classifiers are displayed by type:

  • dscp—All classifiers of the DSCP type.
  • dscp ipv6—All classifiers of the DSCP IPv6 type.
  • exp—All classifiers of the MPLS EXP type.
  • ieee-802.1—All classifiers of the IEEE 802.1 type.
  • inet-precedence—All classifiers of the IP precedence type.
 

Index

Internal index of the classifier.

 

Incoming CoS Value

CoS value of the incoming packets, in bits. These values are used for classification.

 

Assign to Forwarding Class

Forwarding class that the classifier assigns to an incoming packet. This class affects the forwarding and scheduling policies that are applied to the packet as it transits the device.

 

Assign to Loss Priority

Loss priority value that the classifier assigns to the incoming packet based on its CoS value.

 

Monitoring CoS Value Aliases

To display information about the CoS value aliases that the system is currently using to represent DSCP, DSCP IPv6, MPLS EXP, and IPv4 precedence bits, select Monitor>Class of Service>CoS Value Aliases in the J-Web interface, or enter the following CLI command:

show class-of-service code-point-aliases

Table 181 summarizes key output fields for CoS value aliases.

Table 181: Summary of Key CoS Value Alias Output Fields

Field

Values

Additional Information

CoS Value Type

Type of the CoS value:

  • dscp—Examines Layer 3 packet headers for IP packet classification.
  • dscp ipv6—Examines Layer 3 packet headers for IPv6 packet classification.
  • exp—Examines Layer 2 packet headers for MPLS packet classification.
  • ieee-802.1—Examines Layer 2 packet header for packet classification.
  • inet-precedence—Examines Layer 3 packet headers for IP packet classification.

To display aliases and bit patterns, click the plus sign (+).

CoS Value Alias

Name given to a set of bits—for example, af11 is a name for 001010 bits.

 

Bit Pattern

Set of bits associated with an alias.

 

Monitoring CoS RED Drop Profiles

To display data point information for each CoS random early detection (RED) drop profile currently on a system, select Monitor>Class of Service>RED Drop Profiles in the J-Web interface, or enter the following CLI command:

show class-of-service drop-profile

Table 182 summarizes key output fields for CoS RED drop profiles.

Table 182: Summary of Key CoS RED Drop Profile Output Fields

Field

Values

Additional Information

RED Drop Profile Name

Name of the RED drop profile.

A drop profile consists of pairs of values between 0 and 100, one for queue buffer fill level and one for drop probability, that determine the relationship between a buffer's fullness and the likelihood it will drop packets.

To display profile values, click the plus sign (+).

Graph RED Profile

Link to a graph of a RED curve that the system uses to determine the drop probability based on queue buffer fullness.

The x axis represents the queue buffer fill level, and the y axis represents the drop probability.

Type

Type of a specific drop profile:

  • interpolated—The two coordinates (x and y) of the graph are interpolated to produce a smooth profile.
  • segmented—The two coordinates (x and y) of the graph are represented by line fragments to produce a segmented profile.

For information about types of drop profiles, see the Junos OS Class of Service Configuration Guide.

 

Index

Internal index of this drop profile.

 

Fill Level

Percentage fullness of a buffer queue. This value is the x coordinate of the RED drop profile graph.

 

Drop Probability

Drop probability of a packet corresponding to a specific queue buffer fill level. This value is the y coordinate of the RED drop profile graph.

 

Monitoring CoS Forwarding Classes

To view the current assignment of CoS forwarding classes to queue numbers on the system, select Monitor>Class of Service>Forwarding Classes in the J-Web interface, or enter the following CLI command:

show class-of-service forwarding-class

Table 183 summarizes key output fields for CoS forwarding classes.

Table 183: Summary of Key CoS Forwarding Class Output Fields

Field

Values

Additional Information

Forwarding Class

Names of forwarding classes assigned to queue numbers. By default, the following forwarding classes are assigned to queues 0 through 3:

  • best-effort—Provides no special CoS handling of packets. Loss priority is typically not carried in a CoS value, and RED drop profiles are more aggressive.
  • expedited-forwarding—Provides low loss, low delay, low jitter, assured bandwidth, and end-to-end service.
  • assured-forwarding—Provides high assurance for packets within specified service profile. Excess packets are dropped.
  • network-control—Packets can be delayed but not dropped.
 

Queue

Queue number corresponding to the forwarding class name.

By default, four queues, 0 through 3, are assigned to forwarding classes.

Monitoring CoS Rewrite Rules

To display information about CoS value rewrite rules, which are based on the forwarding class and loss priority, select Monitor>Class of Service>Rewrite Rules in the J-Web interface, or enter the following CLI command:

show class-of-service rewrite-rules

Table 184 summarizes key output fields for CoS rewrite rules.

Table 184: Summary of Key CoS Rewrite Rules Output Fields

Field

Values

Additional Information

Rewrite Rule Name

Names of rewrite rules.

 

CoS Value Type

Rewrite rule type:

  • dscp—For IPv4 DiffServ traffic.
  • dscp-ipv6—For IPv6 DiffServ traffic.
  • exp—For MPLS traffic.
  • ieee-802.1—For Layer 2 traffic.
  • inet-precedence—For IPv4 traffic.

To display forwarding classes, loss priorities, and rewritten CoS values, click the plus sign (+).

Index

Internal index for this particular rewrite rule.

 

Forwarding Class

Forwarding class that in combination with loss priority is used to determine CoS values for rewriting.

Rewrite rules are applied to CoS values in outgoing packets based on forwarding class and loss priority setting.

Loss Priority

Loss priority that in combination with forwarding class is used to determine CoS values for rewriting.

 

Rewrite CoS Value To

Value that the CoS value is rewritten to.

 

Monitoring CoS Scheduler Maps

To display assignments of CoS forwarding classes to schedulers, select Monitor>Class of Service>Scheduler Maps in the J-Web interface, or enter the following CLI command:

show class-of-service scheduler-map

Table 185 summarizes key output fields for CoS scheduler maps.

Table 185: Summary of Key CoS Scheduler Maps Output Fields

Field

Values

Additional Information

Scheduler Map

Name of a scheduler map.

For details, click the plus sign (+).

Index

Index of a specific object—scheduler maps, schedulers, or drop profiles.

 

Scheduler Name

Name of a scheduler.

 

Forwarding Class

Forwarding classes this scheduler is assigned to.

 

Transmit Rate

Configured transmit rate of the scheduler in bits per second (bps). The rate value can be either of the following:

  • A percentage—The scheduler receives the specified percentage of the total interface bandwidth.
  • remainder—The scheduler receives the remaining bandwidth of the interface after allocation to other schedulers.
 

Rate Limit

Rate limiting configuration of the queue:

  • none—No rate limiting.
  • exact—The queue transmits at only the configured rate.
 

Buffer Size

Delay buffer size in the queue or the amount of transmit delay (in milliseconds). The buffer size can be either of the following:

  • A percentage—The buffer is a percentage of the total buffer allocation.
  • remainder—The buffer is sized according to what remains after other scheduler buffer allocations.
 

Priority

Scheduling priority of a queue:

  • high—Packets in this queue are transmitted first.
  • low—Packets in this queue are transmitted last.
  • medium-high—Packets in this queue are transmitted after high-priority packets.
  • medium-low—Packets in this queue are transmitted before low-priority packets.
 

Drop Profiles

Name and index of a drop profile that is assigned to a specific loss priority and protocol pair.

 

Loss Priority

Packet loss priority corresponding to a drop profile:

  • low—Packet has a low loss priority.
  • high—Packet has a high loss priority.
  • medium-low—Packet has a medium-low loss priority.
  • medium-high—Packet has a medium-high loss priority.
 

Protocol

Transport protocol corresponding to a drop profile.

 

Drop Profile Name

Name of the drop profile.