User`s guide

Chapter IX. FCoE Full Offload Initiator
Chelsio T5/T4 Unified Wire For Linux Page 151
4. Software/Driver Configuration and Fine-tuning
4.1. Configuring Cisco Nexus 5010 switch
4.1.1. Configuring the DCBX parameters
In this procedure, you may need to adjust some of the parameters to suit your environment,
such as VLAN IDs, Ethernet interfaces, and virtual Fibre Channel interfaces.
To enable PFC, ETS, and DCB functions on a Cisco Nexus 5000 series switch:
i. Open a terminal configuration setting.
switch# config terminal
switch(config)#
ii. Configure qos class-maps and set the traffic priorities: NIC uses priority 0 and FcoE uses
priority 3.
switch(config)#class-map type qos class-nic
switch(config-cmap-qos)# match cos 0
switch(config-cmap-qos)# class-map type qos class-fcoe
switch(config-cmap-qos)# match cos 3
iii. Configure queuing class-maps.
switch(config)#class-map type queuing class-nic
switch(config-cmap-que)#match qos-group 2
iv. Configure network-qos class-maps.
switch(config)#class-map type network-qos class-nic
switch(config-cmap-nq)#match qos-group
By default the Cisco Nexus switch enables DCBX functionality and configures
PFC for FCoE traffic making it no drop with bandwidth of 50% assigned to FCoE
class of traffic and another 50% for the rest(like NIC). If you wish to configure
custom bandwidth, then follow the procedure below.
Note