Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show class-of-service forwarding-class

Syntax

Description

Display information about forwarding classes, including the mapping of forwarding classes to queue numbers.

Required Privilege Level

view

Output Fields

Table 1 lists all possible output fields for the show class-of-service forwarding-class command. The output fields that appear vary depending on the platform, software release, and operating system (Junos OS or Junos OS Evolved).

Table 1: show class-of-service forwarding-class Output Fields

Field Name

Field Description

Forwarding class

Name of the forwarding class.

ID

Forwarding class identifier.

For DSCP-based PFC, the forwarding class ID is assigned from (and should be the same as) the configured PFC priority for the forwarding class. See Configuring DSCP-based PFC for Layer 3 Untagged Traffic for details.

Queue

CoS output queue mapped to the forwarding class.

Restricted queue

Restricted queue number.

Fabric priority

Fabric priority for the forwarding class, either high or low. Determines the priority of packets entering the switch fabric.

Policing priority

Layer 2 policing priority, either premium or normal.

SPU priority

Services Processing Unit (SPU) priority, either high or low.

No-Loss

Packet loss attribute to differentiate lossless forwarding classes from lossy forwarding classes:

  • Disabled—Lossless transport is not configured on the forwarding class (packet drop attribute is drop).

  • Enabled—Lossless transport is configured on the forwarding class (packet drop attribute is no-loss).

PFC Priority

For DSCP-based PFC, the explicitly configured PFC priority configured for the forwarding class.

The DSCP value on which PFC is enabled maps to this priority, and this priority is used in PFC pause frames sent to the peer to request to pause traffic on the mapped DSCP value when the link becomes congested. The forwarding class ID is assigned from and should match this value in the output of this command. See Configuring DSCP-based PFC for Layer 3 Untagged Traffic for details.

Sample Output (Junos OS)

show class-of-service forwarding-class (ACX Series, EX Series, MX Series, PTX Series)

show class-of-service forwarding-class (SRX Series)

show class-of-service forwarding-class (EX4300 Switch)

show class-of-service forwarding-class (QFX Series)

show class-of-service forwarding-class (QFX Series with DSCP-based PFC)

On switches that do not use different forwarding classes and output queues for unicast and multidestination (multicast, broadcast, destination lookup fail) traffic, there is no mcast forwarding class and there is no queue 8. (Switches that use different forwarding classes and output queues for unicast and multidestination traffic support 12 forwarding classes and output queues, of which four of each are dedicated to multidestination traffic. Switches that use the same forwarding classes and output queues for unicast and multidestination traffic support eight forwarding classes and eight output queues.)

Sample Output (Junos OS Evolved)

show class-of-service forwarding-class (ACX Series, QFX Series)

show class-of-service forwarding-class (PTX Series)

Note:

You can see more advanced details about forwarding classes by logging into the Packet Forwarding Engine and entering the command show class-of-service forwarding-classes.

Release Information

Command introduced in Junos OS Release 9.0.

PFC priority output field introduced for DSCP-based PFC in Junos OS Release 17.4R1 for the QFX Series.