Supported Platforms
Related Documentation
- QFX Series
- Example: Configuring Two or More Lossless FCoE Priorities on the Same FCoE Transit Switch Interface
- Example: Configuring Lossless FCoE Traffic When the Converged Ethernet Network Does Not Use IEEE 802.1p Priority 3 for FCoE Traffic (FCoE Transit Switch)
- Example: Configuring Two or More Lossless FCoE IEEE 802.1p Priorities on Different FCoE Transit Switch Interfaces
- Example: Configuring DCBX Application Protocol TLV Exchange
- Example: Configuring Unicast Classifiers
- Configuring CoS PFC (Congestion Notification Profiles)
- Understanding CoS IEEE 802.1p Priorities for Lossless Traffic Flows
- Understanding CoS Flow Control (Ethernet PAUSE and PFC)
Example: Configuring Lossless IEEE 802.1p Priorities on Ethernet Interfaces for Multiple Applications (FCoE and iSCSI)
Although the default configuration provides two lossless forwarding classes mapped to two different IEEE 802.1p priorities (code points), you can explicitly configure up to six lossless forwarding classes and map them to different priorities. You can support up to six different types of lossless traffic, and you can support the same type of traffic on different priorities in different parts of your converged network.
This example shows you how to configure two lossless forwarding classes for FCoE traffic and one lossless forwarding class for iSCSI traffic, and map the forwarding classes to three different priorities. (The converged Ethernet network includes two FCoE networks, each of which uses a different priority to identify FCoE traffic, and an iSCSI network.)
Requirements
This example uses the following hardware and software components:
- One Juniper Networks QFX3500 Switch in transit switch (FIP snooping) mode
- Junos OS Release 12.3 or later for the QFX Series
Overview
Some converged Ethernet networks support FCoE on more than one IEEE 802.1p priority and also require supporting other lossless traffic classes. Interfaces that carry multiple lossless forwarding classes need to support lossless behavior for the priorities mapped to those forwarding classes. To support the two FCoE forwarding classes and the iSCSI forwarding class used in this example, you need to configure:
- At least one lossless forwarding class for FCoE traffic (this example uses the default fcoe forwarding class as one of the two lossless FCoE forwarding classes, so we need to explicitly configure only one FCoE forwarding class)
- A lossless forwarding class for iSCSI traffic
- Behavior aggregate (BA) classifiers to map the lossless forwarding classes to the appropriate IEEE 802.1p code points (priorities) on each interface
- Congestion notification profiles (CNPs) for each interface to enable PFC on the FCoE and iSCSI code points at the interface ingress, and to configure PFC flow control on the interface egress so that the interface can respond to PFC messages received from the connected peer
- DCBX applications and an application map to support DCBX application TLV exchange for the FCoE and iSCSI traffic on the configured lossless priorities. By default, DCBX is enabled on all Ethernet interfaces for FCoE, but only on priority 3 (IEEE 802.1p code point 011). To support DCBX application TLV exchange when you are not using the default configuration, you must configure all of the applications and map them to interfaces and priorities.
The priorities specified in the BA classifiers, CNPs, and DCBX application map must match, or the configuration does not work. You must specify the same lossless FCoE forwarding class in each configuration and use the same IEEE 802.1p code point (priority) so that the FCoE traffic is properly classified into flows and so that those flows receive lossless treatment.
Topology
This example shows how to configure two lossless FCoE traffic classes and one lossless iSCSI traffic class, map them to three different priorities, and configure flow control to ensure lossless behavior for those priorities on the interfaces. This example uses four Ethernet interfaces, xe-0/0/31, xe-0/0/32, xe-0/0/33, and xe-0/0/34:
- Interface xe-0/0/31 handles FCoE traffic on priority 3 (IEEE 802.1p code point 011) and iSCSI traffic on priority 4 (code point 100).
- Interface xe-0/0/32 handles FCoE traffic on priority 5 (code point 101) and iSCSI traffic on priority 4.
- Interface xe-0/0/33 handles FCoE traffic on priority 3 and priority 5.
- Interface xe-0/0/34 handles iSCSI traffic on priority 4.
Figure 1 shows the topology for this example, and Table 1 shows the configuration components for this example.
Figure 1: Topology of the Lossless FCoE and iSCSI Priorities Example

Table 1: Components of the Lossless FCoE and iSCSI Priorities Configuration Topology
Component | Settings |
---|---|
Hardware | QFX3500 switch |
Forwarding classes | This example uses one explicitly configured lossless FCoE forwarding class, the default lossless FCoE forwarding class, and one explicitly configured iSCSI forwarding class.
|
BA classifiers | Each interface requires a different classifier because each interface handles a different subset of FCoE traffic.
|
PFC configuration (CNPs) | Each interface requires a different CNP because each interface handles a different subset of FCoE and iSCSI traffic, and must pause that traffic on different priorities.
Note: When you apply a CNP with an explicit output queue flow control configuration to an interface, the explicit CNP overwrites the default output CNP. The output queues that are enabled for PFC pause in the default configuration (queues 3 and 4) are not enabled for pause unless they are included in the explicitly configured output CNP. |
DCBX application mapping | This example requires configuring applications for FCoE and iSCSI, including them in the same application map, and applying the application map to all four interfaces. Application map name—dcbx_iscsi_fcoe_app_map
Note: LLDP and DCBX must be enabled on the interface. By default, LLDP and DCBX are enabled on all Ethernet interfaces. |
![]() | Note: This example does not include scheduling (bandwidth allocation) configuration or the FIP snooping configuration. This examples focuses only on the lossless FCoE priority configuration. |
Configuration
CLI Quick Configuration
To quickly configure two lossless FCoE forwarding classes and one lossless iSCSI forwarding class and map them to different priorities, copy the following commands, paste them in a text file, remove line breaks, change variables and details to match your network configuration, and then copy and paste the commands into the CLI at the [edit] hierarchy level.
set class-of-service forwarding-classes class
iscsi queue-num 4 no-loss
set class-of-service forwarding-classes class fcoe1 queue-num 5 no-loss
set class-of-service classifiers ieee-802.1
fcoe_p3_iscsi forwarding-class fcoe loss-priority low code-points
011
set class-of-service
classifiers ieee-802.1 fcoe_p3_iscsi forwarding-class iscsi loss-priority
low code-points 100
set class-of-service
classifiers ieee-802.1 fcoe_p5_iscsi forwarding-class iscsi loss-priority
low code-points 100
set
class-of-service classifiers ieee-802.1 fcoe_p5_iscsi forwarding-class
fcoe1 loss-priority low code-points 101
set class-of-service
classifiers ieee-802.1 fcoe_p3_p5 forwarding-class fcoe loss-priority
low code-points 011
set
class-of-service classifiers ieee-802.1 fcoe_p3_p5 forwarding-class
fcoe1 loss-priority low code-points 101
set class-of-service
classifiers ieee-802.1 iscsi_classifier forwarding-class iscsi loss-priority
low code-points 100
set class-of-service interfaces xe-0/0/31 unit 0 classifiers ieee-802.1
fcoe_p3_iscsi
set class-of-service
interfaces xe-0/0/32 unit 0 classifiers ieee-802.1 fcoe_p5_iscsi
set class-of-service interfaces xe-0/0/33
unit 0 classifiers ieee-802.1 fcoe_p3_p5set class-of-service interfaces xe-0/0/34 unit 0 classifiers ieee-802.1
iscsi_classifier
set class-of-service
congestion-notification-profile fcoe_p3_cnp input ieee-802.1 code-point
011 pfc mru 2240
set class-of-service
congestion-notification-profile fcoe_p3_cnp input ieee-802.1 code-point
100 pfc
set class-of-service
congestion-notification-profile fcoe_p3_cnp input cable-length 100
set class-of-service congestion-notification-profile
fcoe_p5_cnp input ieee-802.1 code-point 100 pfc
set class-of-service congestion-notification-profile
fcoe_p5_cnp input ieee-802.1 code-point 101 pfc mru 2240
set class-of-service congestion-notification-profile
fcoe_p5_cnp input cable-length 150
set class-of-service congestion-notification-profile fcoe_p5_cnp
output ieee-802.1 code-point 100 pfc flow-control-queue 4
set class-of-service congestion-notification-profile
fcoe_p5_cnp output ieee-802.1 code-point 101 pfc flow-control-queue
5
set class-of-service congestion-notification-profile
fcoe_p3_p5_cnp input ieee-802.1 code-point 011 pfc mru 2240
set class-of-service congestion-notification-profile
fcoe_p3_p5_cnp input ieee-802.1 code-point 101 pfc mru 2240
set class-of-service congestion-notification-profile
fcoe_p3_p5_cnp input cable-length 100
set class-of-service congestion-notification-profile
fcoe_p3_p5_cnp output ieee-802.1 code-point 011 pfc flow-control-queue
3
set class-of-service congestion-notification-profile
fcoe_p3_p5_cnp output ieee-802.1 code-point 101 pfc flow-control-queue
5
set class-of-service congestion-notification-profile
iscsi_cnp input ieee-802.1 code-point 100 pfc
set class-of-service congestion-notification-profile
iscsi_cnp input cable-length 100
set class-of-service interfaces xe-0/0/31 congestion-notification-profile
fcoe_p3_cnp
set class-of-service
interfaces xe-0/0/32 congestion-notification-profile fcoe_p5_cnp
set class-of-service interfaces xe-0/0/33
congestion-notification-profile fcoe_p3_p5_cnp
set class-of-service interfaces xe-0/0/34 congestion-notification-profile
iscsi_cnp
set applications
application iscsi_app protocol tcp destination-port 3260
set applications application fcoe_app
ether-type 0x8906
set policy-options
application-maps dcbx_iscsi_fcoe_app_map application iscsi_app code-points
100
set policy-options application-maps
dcbx_iscsi_fcoe_app_map application fcoe_app code-points [011 101]
set protocols dcbx interface xe-0/0/31
application-map dcbx_iscsi_fcoe_app_map
set protocols dcbx interface xe-0/0/32 application-map
dcbx_iscsi_fcoe_app_map
set protocols dcbx interface xe-0/0/33 application-map dcbx_iscsi_fcoe_app_map
set protocols dcbx interface xe-0/0/34
application-map dcbx_iscsi_fcoe_app_map
Step-by-Step Procedure
To configure two lossless forwarding classes for FCoE traffic and one lossless forwarding class for iSCSI traffic, classify the traffic into the three forwarding classes, configure congestion notification profiles to enable PFC on the FCoE priorities and output queues, and configure DCBX application protocol TLV exchange for traffic on both FCoE priorities:
- Configure lossless forwarding classes iscsi for iSCSI traffic and fcoe1 for FCoE traffic (this example
uses the default fcoe forwarding class as the other lossless
FCoE forwarding class) and map them to output queues:
[edit class-of-service]
user@switch# set forwarding-classes class iscsi queue-num 4 no-loss
user@switch# set forwarding-classes class fcoe1 queue-num 5 no-loss - Configure the ingress classifier (fcoe_p3_iscsi) for interface xe-0/0/31. The classifier maps the FCoE
priority (code point 011) to lossless FCoE forwarding class fcoe and the iSCSI priority (code point 100) to
lossless iSCSI forwarding class iscsi:
[edit class-of-service classifiers]
user@switch# set ieee-802.1 fcoe_p3_iscsi forwarding-class fcoe loss-priority low code-points 011
user@switch# set ieee-802.1 fcoe_p3_iscsi forwarding-class iscsi loss-priority low code-points 100 - Configure the ingress classifier (fcoe_p5_iscsi) for interface xe-0/0/32. The classifier maps the FCoE
priority (code point 101) to lossless FCoE forwarding class fcoe1 and the iSCSI priority (code point 100) to
lossless iSCSI forwarding class iscsi:
[edit class-of-service classifiers]
user@switch# set ieee-802.1 fcoe_p5_iscsi forwarding-class iscsi loss-priority low code-points 100
user@switch# set ieee-802.1 fcoe_p5_iscsi forwarding-class fcoe1 loss-priority low code-points 101 - Configure the ingress classifier (fcoe_p3_p5) for interface xe-0/0/33. The classifier maps the two
FCoE priorities (code points 011 and 101) to
lossless FCoE forwarding classes fcoe and fcoe1, respectively:
[edit class-of-service classifiers]
user@switch# set ieee-802.1 fcoe_p3_p5 forwarding-class fcoe loss-priority low code-points 011
user@switch# set ieee-802.1 fcoe_p3_p5 forwarding-class fcoe1 loss-priority low code-points 101 - Configure the ingress classifier (iscsi_classifier) for interface xe-0/0/34. The classifier maps the iSCSI
priority (code point 101) to lossless iSCSI forwarding
class iscsi:
[edit class-of-service classifiers]
user@switch# set ieee-802.1 iscsi_classifier forwarding-class iscsi loss-priority low code-points 100 - Apply each classifier to the appropriate interface:
[edit class-of-service]
user@switch# set interfaces xe-0/0/31 unit 0 classifiers ieee-802.1 fcoe_p3_iscsi
user@switch# set interfaces xe-0/0/32 unit 0 classifiers ieee-802.1 fcoe_p5_iscsi
user@switch# set interfaces xe-0/0/33 unit 0 classifiers ieee-802.1 fcoe_p3_p5
user@switch# set interfaces xe-0/0/34 unit 0 classifiers ieee-802.1 iscsi_classifier - Configure the CNP input stanza for interface xe-0/0/31
to enable PFC on the FCoE and iSCSI priorities that the interface
handles (code points 011 and 100), set the MRU value for the FCoE
traffic (2240 bytes), and set the cable length value (100 meters).
No output stanza is needed because queues 3 and 4 are paused by default
on priorities 3 and 4, respectively, and we are not explicitly configuring
output queue flow control for any other queues.
[edit class-of-service]
user@switch# set congestion-notification-profile fcoe_p3_cnp input ieee-802.1 code-point 011 pfc mru 2240
user@switch# set congestion-notification-profile fcoe_p3_cnp input ieee-802.1 code-point 100 pfc
user@switch# set congestion-notification-profile fcoe_p3_cnp input cable-length 100 - Configure the CNP for interface xe-0/0/32. The input stanza
enables PFC on the FCoE priority (code point 101), sets the MRU value
for FCoE traffic (2240 bytes), enables PFC on the iSCSI priority (code
point 100), and sets the cable length value (150 meters). The output
stanza configures flow control on output queue 5 on the FCoE priority
and on output queue 4 on the iSCSI priority:
[edit class-of-service]
user@switch# set congestion-notification-profile fcoe_p5_cnp input ieee-802.1 code-point 100 pfc
user@switch# set congestion-notification-profile fcoe_p5_cnp input ieee-802.1 code-point 101 pfc mru 2240
user@switch# set congestion-notification-profile fcoe_p5_cnp input cable-length 150
user@switch# set congestion-notification-profile fcoe_p5_cnp output ieee-802.1 code-point 100 pfc flow-control-queue 4
user@switch# set congestion-notification-profile fcoe_p5_cnp output ieee-802.1 code-point 101 pfc flow-control-queue 5 - Configure the CNP for interface xe-0/0/33. The input stanza
enables PFC on the FCoE priorities (IEEE 802.1p code points 011 and
101), sets the MRU value (2240 bytes), and sets the cable length value
(100 meters). The output stanza configures flow control on output
queues 3 and 5 on the FCoE priorities:
[edit class-of-service]
user@switch# set congestion-notification-profile fcoe_p3_p5_cnp input ieee-802.1 code-point 011 pfc mru 2240
user@switch# set congestion-notification-profile fcoe_p3_p5_cnp input ieee-802.1 code-point 101 pfc mru 2240
user@switch# set congestion-notification-profile fcoe_p3_p5_cnp input cable-length 100
user@switch# set congestion-notification-profile fcoe_p3_p5_cnp output ieee-802.1 code-point 011 pfc flow-control-queue 3
user@switch# set congestion-notification-profile fcoe_p3_p5_cnp output ieee-802.1 code-point 101 pfc flow-control-queue 5 - Configure the CNP input stanza for interface xe-0/0/34
to enable PFC on the iSCSI priority (code point 100) and set the cable
length value (100 meters). No output stanza is needed because queue
4 is paused by default on priority 4, and we are not explicitly configuring
output queue flow control for any other queues.
[edit class-of-service]
user@switch# set congestion-notification-profile iscsi_cnp input ieee-802.1 code-point 100 pfc
user@switch# set congestion-notification-profile iscsi_cnp input cable-length 100 - Apply each CNP to the appropriate interface:
[edit class-of-service]
user@switch# set interfaces xe-0/0/31 congestion-notification-profile fcoe_p3_cnp
user@switch# set interfaces xe-0/0/32 congestion-notification-profile fcoe_p5_cnp
user@switch# set interfaces xe-0/0/33 congestion-notification-profile fcoe_p3_p5_cnp
user@switch# set interfaces xe-0/0/34 congestion-notification-profile iscsi_cnp - Configure the DCBX applications for FCoE and iSCSI to
map to the interfaces so that DCBX can exchange application protocol
TLVs on the IEEE 802.1p priorities used for FCoE and iSCSI traffic:
[edit]
user@switch# set applications application fcoe_app ether-type 0x8906
user@switch# set applications application iscsi_app protocol tcp destination-port 3260 - Configure a DCBX application map to map the FCoE and iSCSI
applications to the correct priorities:
[edit]
user@switch# set policy-options application-maps dcbx_iscsi_fcoe_app_map application fcoe_app code-points [011 101]
user@switch# set policy-options application-maps dcbx_iscsi_fcoe_app_map application iscsi_app code-points 100 - Apply the application map to the interfaces so that DCBX
exchanges FCoE application TLVs on the correct code points:
[edit]
user@switch# set protocols dcbx interface xe-0/0/31 application-map dcbx_iscsi_fcoe_app_map
user@switch# set protocols dcbx interface xe-0/0/32 application-map dcbx_iscsi_fcoe_app_map
user@switch# set protocols dcbx interface xe-0/0/33 application-map dcbx_iscsi_fcoe_app_map
user@switch# set protocols dcbx interface xe-0/0/34 application-map dcbx_iscsi_fcoe_app_map
Verification
To verify the configuration and proper operation of the lossless forwarding classes and IEEE 802.1p priorities, perform these tasks:
- Verifying the Forwarding Class Configuration
- Verifying the Behavior Aggregate Classifier Configuration
- Verifying the PFC Flow Control Configuration (CNP)
- Verifying the Interface Configuration
- Verifying the DCBX Application Configuration
- Verifying the DCBX Application Map Configuration
- Verifying the DCBX Application Protocol Exchange Interface Configuration
Verifying the Forwarding Class Configuration
Purpose
Verify that the lossless forwarding classes iscsi and fcoe1 have been created and that the default lossless forwarding class fcoe is still enabled for lossless transport.
Action
Show the forwarding class configuration by using the operational command show class-of-service forwarding class:
user@switch> show class-of-service forwarding-class
Forwarding class ID Queue Policing priority No-Loss best-effort 0 0 normal Disabled fcoe 1 3 normal Enabled iscsi 2 4 normal Enabled network-control 3 7 normal Disabled fcoe1 4 5 normal Enabled mcast 8 8 normal Disabled
Meaning
The show class-of-service forwarding-class command shows all of the forwarding classes. The command output shows that the iscsi and fcoe1 forwarding classes are configured on output queues 4 and 5, respectively, with the no-loss packet drop attribute enabled.
Because we did not explicitly configure the default fcoe forwarding class, it remains in its default state (lossless configuration).
Verifying the Behavior Aggregate Classifier Configuration
Purpose
Verify that the four classifiers map the forwarding classes to the correct IEEE 802.1p code points (priorities) and packet loss priorities.
Action
List the classifiers configured to support lossless FCoE transport using the operational mode command show class-of-service classifier:
user@switch> show class-of-service classifier
Classifier: fcoe_p3_iscsi, Code point type: ieee-802.1, Index: 13915 Code point Forwarding class Loss priority 011 fcoe low 100 iscsi low Classifier: fcoe_p5_iscsi, Code point type: ieee-802.1, Index: 62035 Code point Forwarding class Loss priority 100 iscsi low 101 fcoe1 low Classifier: fcoe_p3_p5, Code point type: ieee-802.1, Index: 17774 Code point Forwarding class Loss priority 011 fcoe low 101 fcoe1 low Classifier: iscsi_classifier, Code point type: ieee-802.1, Index: 31635 Code point Forwarding class Loss priority 100 iscsi low
Meaning
The show class-of-service classifier command shows the IEEE 802.1p code points and the loss priorities that are mapped to the forwarding classes in each classifier. The command output shows that there are four classifiers, fcoe_p3_iscsi, fcoe_p5_iscsi, fcoe_p3_p5, and iscsi_classifier.
Classifier fcoe_p3_iscsi maps code point 011 (priority 3) to default lossless forwarding class fcoe and a packet loss priority of low, and code point 100 (priority 4) to explicitly configured lossless forwarding class iscsi.
Classifier fcoe_p5_iscsi maps code point 100 to explicitly configured forwarding class iscsi and a packet loss priority of low, and code point 101 (priority 5) to explicitly configured lossless forwarding class fcoe1 and a packet loss priority of low.
Classifier fcoe_p3_p5 maps code point 011 to default lossless forwarding class fcoe and a packet loss priority of low, and maps code point 101 to explicitly configured lossless forwarding class fcoe1 and a packet loss priority of low.
Classifier iscsi_classifier maps code point 100 to explicitly configured forwarding class iscsi and a packet loss priority of low.
Verifying the PFC Flow Control Configuration (CNP)
Purpose
Verify that PFC is enabled on the correct input priorities and that flow control is configured on the correct output queues and priorities in each CNP.
Action
List the congestion notification profiles using the operational mode command show class-of-service congestion-notification:
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 2240 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 Name: fcoe_p5_cnp, Index: 12133 Type: Input Cable Length: 150 m Priority PFC MRU 000 Disabled 001 Disabled 010 Disabled 011 Disabled 100 Enabled 9216 101 Enabled 2240 110 Disabled 111 Disabled Type: Output 100 4 101 5 Name: iscsi_cnp, Index: 19342 Type: Input Cable Length: 100 m Priority PFC MRU 000 Disabled 001 Disabled 010 Disabled 011 Disabled 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
Meaning
The show class-of-service congestion-notification command shows the input and output stanzas of the four CNPs.
For CNP fcoe_p3_cnp, the input stanza shows that PFC is enabled on IEEE 802.1p code point 011 (priority 3) with an MRU of 2240 bytes, and cable length of 100 meters. The input stanza also shows that PFC is enabled on code point 100 (priority 4) with the default MRU value of 9216 bytes. The CNP output stanza shows the default mapping of priorities to output queues because no explicit output CNP is configured.
![]() | Note: By default, only queues 3 and 4 are enabled respond to pause messages from the connected peer. For queue 3 to respond to pause messages, priority 3 (code point 011) must be enabled for PFC in the input stanza. For queue 4 to respond to pause messages, priority 4 (code point 100) must be enabled for PFC in the input stanza. In this example, only queues 3 and 4 respond to pause messages from the connected peer on interfaces that use CNP fcoe_p3_cnp because the input stanza enables PFC only on priorities 3 and 4. |
For CNP fcoe_p3_p5_cnp, the input stanza shows that PFC is enabled on code points 011 and 101 (priority 5), the MRU is 2240 bytes on both priorities, and the cable length is 100 meters. The CNP output stanza shows that output flow control is configured on queues 3 and 5 for code points 011 and 101, respectively.
For CNP fcoe_p5_cnp, the input stanza shows that PFC is enabled on code points 100 and 101. The MRU for code point 101 (FCoE traffic) is 2240 bytes and the MRU for code point 100 is 9216. The interface cable length is 150 meters. The CNP output stanza shows that output flow control is configured on queue 4 for code point 100 and on queue 5 for code point 101.
For CNP iscsi_cnp, the input stanza shows that PFC is enabled on code point 100, the MRU value is 9216 bytes, and the interface cable length is 100 meters. The CNP output stanza shows the default mapping of priorities to output queues because no explicit output CNP is configured.
Verifying the Interface Configuration
Purpose
Verify that the correct classifiers and congestion notification profiles are configured on the correct interfaces.
Action
List the ingress interfaces using the operational mode commands show configuration class-of-service interfaces xe-0/0/31, show configuration class-of-service interfaces xe-0/0/32, show configuration class-of-service interfaces xe-0/0/33, and show configuration class-of-service interfaces xe-0/0/34:
user@switch> show configuration class-of-service
interfaces xe-0/0/31
congestion-notification-profile fcoe_p3_cnp; unit 0 { classifiers { ieee-802.1 fcoe_p3_iscsi; } }
user@switch> show configuration class-of-service
interfaces xe-0/0/32
congestion-notification-profile fcoe_p5_cnp; unit 0 { classifiers { ieee-802.1 fcoe_p5_iscsi; } }
user@switch> show configuration class-of-service
interfaces xe-0/0/33
congestion-notification-profile fcoe_p3_p5_cnp; unit 0 { classifiers { ieee-802.1 fcoe_p3_p5; } }
user@switch> show configuration class-of-service
interfaces xe-0/0/34
congestion-notification-profile iscsi_cnp; unit 0 { classifiers { ieee-802.1 iscsi_classifier; } }
Meaning
The show configuration class-of-service interfaces xe-0/0/31 command shows that the congestion notification profile fcoe_p3_cnp is configured on the interface, and that the IEEE 802.1p classifier associated with the interface is fcoe_p3_iscsi.
The show configuration class-of-service interfaces xe-0/0/32 command shows that the congestion notification profile fcoe_p5_cnp is configured on the interface, and that the IEEE 802.1p classifier associated with the interface is fcoe_p5_iscsi.
The show configuration class-of-service interfaces xe-0/0/33 command shows that the congestion notification profile fcoe_p3_p5_cnp is configured on the interface, and that the IEEE 802.1p classifier associated with the interface is fcoe_p3_p5.
The show configuration class-of-service interfaces xe-0/0/34 command shows that the congestion notification profile iscsi_cnp is configured on the interface, and that the IEEE 802.1p classifier associated with the interface is iscsi_classifier.
Verifying the DCBX Application Configuration
Purpose
Verify that the DCBX applications for FCoE and iSCSI are configured.
Action
List the DCBX applications by using the configuration mode command show applications:
user@switch# show applications
application iscsi_app { protocol tcp; destination-port 3260; } application fcoe_app { ether-type 0x8906;
Meaning
The show applications configuration mode command shows all of the configured applications. The output shows that the application iscsi_app is configured with a protocol value of tcp and a destination port value of 3260, and that the application fcoe_app is configured with an EtherType of 0x8906 (the correct EtherType for FCoE traffic).
Verifying the DCBX Application Map Configuration
Purpose
Verify that the application map is configured.
Action
List the application maps by using the configuration mode command show policy-options application-maps:
user@switch# show policy-options application-maps
dcbx-iscsi-fcoe-app-map { application iscsi_app code-points 100; application fcoe_app code-points [011 101]; }
Meaning
The show policy-options application-maps configuration mode command lists all of the configured application maps and the applications that belong to each application map. The output shows that there is one application map named dcbx-iscsi-fcoe_app_map. It consists of the application iscsi_app mapped to code point 100 and the application fcoe_app mapped to code points 011 and 101.
Verifying the DCBX Application Protocol Exchange Interface Configuration
Purpose
Verify that the application maps are applied to the correct interfaces.
Action
List the application maps on each interface using the configuration mode command show protocols dcbx:
user@switch# show protocols dcbx
interface xe-0/0/31.0 { application-map dcbx-iscsi-fcoe-app-map; } interface xe-0/0/32.0 { application-map dcbx-iscsi-fcoe-app-map; } interface xe-0/0/33.0 { application-map dcbx-iscsi-fcoe-app-map; } interface xe-0/0/34.0 { application-map dcbx-iscsi-fcoe-app-map; }
Meaning
The show protocols dcbx configuration mode command lists the application map association with interfaces. The output shows that all four interfaces use the application map dcbx-iscsi-fcoe-app-map.
Related Documentation
- QFX Series
- Example: Configuring Two or More Lossless FCoE Priorities on the Same FCoE Transit Switch Interface
- Example: Configuring Lossless FCoE Traffic When the Converged Ethernet Network Does Not Use IEEE 802.1p Priority 3 for FCoE Traffic (FCoE Transit Switch)
- Example: Configuring Two or More Lossless FCoE IEEE 802.1p Priorities on Different FCoE Transit Switch Interfaces
- Example: Configuring DCBX Application Protocol TLV Exchange
- Example: Configuring Unicast Classifiers
- Configuring CoS PFC (Congestion Notification Profiles)
- Understanding CoS IEEE 802.1p Priorities for Lossless Traffic Flows
- Understanding CoS Flow Control (Ethernet PAUSE and PFC)
Published: 2013-01-16
Supported Platforms
Related Documentation
- QFX Series
- Example: Configuring Two or More Lossless FCoE Priorities on the Same FCoE Transit Switch Interface
- Example: Configuring Lossless FCoE Traffic When the Converged Ethernet Network Does Not Use IEEE 802.1p Priority 3 for FCoE Traffic (FCoE Transit Switch)
- Example: Configuring Two or More Lossless FCoE IEEE 802.1p Priorities on Different FCoE Transit Switch Interfaces
- Example: Configuring DCBX Application Protocol TLV Exchange
- Example: Configuring Unicast Classifiers
- Configuring CoS PFC (Congestion Notification Profiles)
- Understanding CoS IEEE 802.1p Priorities for Lossless Traffic Flows
- Understanding CoS Flow Control (Ethernet PAUSE and PFC)