show class-of-service forwarding-class
Syntax
show class-of-service forwarding-class
Description
Display information about forwarding classes, including the mapping of forwarding classes to queue numbers.
Required Privilege Level
view
Output Fields
The
following table lists all possible output fields for the show
class-of-service forwarding-class
command.
The
fields that appear may vary depending on the platform and software
release.
Field Name |
Field Description |
---|---|
|
Name of the forwarding class. |
|
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. |
|
CoS output queue mapped to the forwarding class. |
|
Restricted queue number. |
|
Fabric priority for the forwarding class, either |
|
Layer 2 policing priority, either |
|
Services Processing Unit (SPU) priority, either |
|
Packet loss attribute to differentiate lossless forwarding classes from lossy forwarding classes:
|
|
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 (EX4100, EX4300, and EX4400 Switch)
- show class-of-service forwarding-class (QFX Series)
- show class-of-service forwarding-class (QFX Series with DSCP-based PFC)
show class-of-service forwarding-class (ACX Series, EX Series, MX Series, PTX Series)
user@host> show class-of-service forwarding-class Forwarding class ID Queue Restricted queue Fabric priority Policing priority SPU priority best-effort 0 0 0 low normal low expedited-forwarding 1 1 1 low normal high assured-forwarding 2 2 2 low normal low network-control 3 3 3 low normal low
show class-of-service forwarding-class (SRX Series)
user@host> show class-of-service forwarding-class Forwarding class ID Queue Restricted queue Fabric priority Policing priority SPU priority best-effort 0 0 0 low normal low expedited-forwarding 1 1 1 low normal high assured-forwarding 2 2 2 low normal low network-control 3 3 3 low normal low
show class-of-service forwarding-class (EX4100, EX4300, and EX4400 Switch)
user@switch> show class-of-service forwarding-class Forwarding class ID Queue Restricted queue Fabric priority Policing priority SPU priority best-effort 0 0 0 low normal low expedited-forwarding 1 1 1 low normal low assured-forwarding 2 2 2 low normal low network-control 3 3 3 low normal low mcast-be 8 8 8 low normal low mcast-ef 9 9 9 low normal low mcast-af 10 10 10 low normal low mcast-nc 11 11 11 low normal low
show class-of-service forwarding-class (QFX Series)
user@switch> show class-of-service forwarding-class Forwarding class ID Queue Policing priority No-Loss PFC priority best-effort 0 0 normal Disabled fcoe 1 3 normal Enabled no-loss 2 4 normal Enabled network-control 3 7 normal Disabled VIP-FC 4 5 normal Disabled mcast 8 8 normal Disabled
show class-of-service forwarding-class (QFX Series with DSCP-based PFC)
user@switch> show class-of-service forwarding-class Forwarding class ID Queue Policing priority No-Loss PFC priority best-effort 0 0 normal Disabled fcoe 1 3 normal Enabled no-loss 2 4 normal Enabled fc2 3 2 normal Enabled 3 network-control 5 7 normal Disabled fc1 7 1 normal Enabled 7 mcast 8 8 normal Disabled
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)
show class-of-service forwarding-class (ACX Series, QFX Series)
user@host> show class-of-service forwarding-class Forwarding class ID Queue Restricted queue Fabric priority Policing priority SPU priority best-effort 0 0 0 low normal low expedited-forwarding 1 1 1 low normal high assured-forwarding 2 2 2 low normal low network-control 3 3 3 low normal low
show class-of-service forwarding-class (PTX Series)
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
.
user@host> show class-of-service forwarding-class Forwarding class ID Queue No-Loss assured-forwarding 2 2 disabled best-effort 0 0 disabled expedited-forwarding 1 1 disabled network-control 3 3 disabled
Release Information
Command introduced in Junos OS Release 9.0.