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 congestion-notification

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show class-of-service congestion-notification <profile-name>

Description

Display whether priority-based flow control (PFC) is enabled for each IEEE 802.1p code point or for each DSCP value for DSCP-based PFC.

Options

none

Display the PFC state for all IEEE 802.1p code points or DSCP values.

profile-name

Display the PFC state for all IEEE 802.1p code points or DSCP values for the specified congestion notification profile.

Required Privilege Level

view

Output Fields

Table 1 describes the output fields for the show class-of-service congestion-notification command. Output fields are listed in the approximate order in which they appear.

Table 1: show class-of-service congestion-notification Output Fields

Field Name

Field Description

Type

Type of interfaces on which congestion notification is applied. Congestion notification is applied on input interfaces.

Index

Index of this congestion notification profile.

Name

Name of the congestion notification profile.

Cable Length

Length of the attached physical cable in meters. The default value is 100 meters.

Priority

IEEE 802.1p code points, or for DSCP-based PFC, DSCP values.

PFC

State of PFC for the corresponding code point, either enabled or disabled.

MRU

Maximum receive unit of the interface in bytes. (Incoming traffic that exceeds the MRU size of an interface is dropped.) The default values are:

  • 2500 bytes for priority 3 traffic

  • 9216 bytes for priority 4 traffic

Note:

If you configure flow control on a priority that is not one of the default flow control priorities, the default MRU value is 2500 bytes. For example, if you configure flow control on priority 5 and you do not configure an MRU value, the default MRU value is 2500 bytes.

Flow-Control-Queues

Output queue mapping to IEEE 802.1p code points (priorities). Explicit output queue to priority mapping overwrites the default configuration, and only explicitly mapped queues are displayed in the output. Flow control is only enabled on a queue when you enable PFC on the corresponding priority in the input stanza of the congestion notification profile.

Sample Output

show class-of-service congestion-notification

content_copy zoom_out_map
user@switch> show class-of-service congestion-notification             
Name: fcoe_p3_cnp, Index: 12037
Type: Input
Cable Length: 100 m
  Priority     PFC          MRU
  000          Disabled 
  001          Disabled 
  010          Disabled 
  011          Enabled      2500 
  100          Enabled      9216 
  101          Disabled 
  110          Disabled 
  111          Disabled 
Type: Output
  Priority     Flow-Control-Queues 
  000 
               0
  001 
               1
  010 
               2
  011 
               3
  100                                   
               4
  101 
               5
  110 
               6
  111 
               7

Name: fcoe_p3_p5_cnp, Index: 46484
Type: Input
Cable Length: 100 m
  Priority     PFC          MRU
  000          Disabled 
  001          Disabled 
  010          Disabled 
  011          Enabled      2240 
  100          Disabled 
  101          Enabled      2240 
  110          Disabled 
  111          Disabled 
Type: Output
  Priority     Flow-Control-Queues 
  011 
               3
  101 
               5

Sample Output

show class-of-service congestion-notification (QFX Series with DSCP-based PFC and a specified congestion notification profile)

content_copy zoom_out_map
user@switch> show class-of-service congestion-notification dscp_cnp             
Name: dscp_cnp, Index: 13825
Type: Input
Cable Length: 100 m
  Priority     PFC          MRU
  000000       Disabled
  000001       Disabled
  000010       Disabled
  000011       Disabled
  000100       Disabled
  000101       Disabled
  000110       Disabled
  000111       Disabled
  001000       Disabled
  001001       Disabled
  001010       Disabled
  001011       Disabled
  001100       Disabled
  001101       Disabled
  001110       Disabled
  001111       Disabled
  010000       Disabled
  010001       Disabled
  010010       Disabled
  010011       Disabled
  010100       Disabled
  010101       Disabled
  010110       Disabled
  010111       Disabled
  011000       Disabled
  011001       Disabled
  011010       Disabled
  011011       Disabled
  011100       Disabled
  011101       Disabled
  011110       Disabled
  011111       Disabled
  100000       Disabled
  100001       Disabled
  100010       Disabled
  100011       Disabled
  100100       Disabled
  100101       Disabled
  100110       Disabled
  100111       Disabled
  101000       Disabled
  101001       Disabled
  101010       Disabled
  101011       Disabled
  101100       Disabled
  101101       Disabled
  101110       Disabled
  101111       Disabled
  110000       Enabled      3000
  110001       Disabled
  110010       Disabled
  110011       Disabled
  110100       Disabled
  110101       Disabled
  110110       Disabled
  110111       Disabled
  111000       Enabled      2000
  111001       Disabled
  111010       Disabled
  111011       Disabled
  111100       Enabled      4000
  111101       Disabled
  111110       Disabled
  111111       Disabled
Type: Output
  Priority     Flow-Control-Queues 
  111          1

Release Information

Command introduced in Junos OS Release 11.1.

Output for DSCP values introduced for DSCP-based PFC in Junos OS Release 17.4R1 for the QFX Series.

footer-navigation