FCoE Cookbook for HP Virtual Connect Version 4.20 Firmware Enhancements May 2014

106
HP 5900 switch-A configuration
Upgrade the HP 5900CP switch with minimum supported firmware version (to get the running version, enter: display
version).
Note: Refer to SPOCK HP FlexFabric 5900CP Ethernet/FCoE/FC Switch Connectivity stream for additional information
at http://h20272.www2.hp.com/Pages/spock2Html.aspx?htmlFile=hw_switches.html
Enable the advanced operating mode (by default, a 5900 switch operates in non-FCoE mode):
o system-view
o system-working-mode advance
Note: The switch requires a reboot (enter: save, quit then reboot).
Configure Switch A to operate in NPV mode:
o system-view
o fcoe-mode npv
Configure DCBX:
# Enable LLDP globally in case LLDP has been disabled (enabled by default):
o lldp global enable.
# Create Ethernet frame header ACL numbered 4000, and configure the ACL to permit FCoE packets (whose protocol
number is 0x8906) and FIP packets (whose protocol number is 0x8914) to pass through.
o acl number 4000 name DCBX
o rule 0 permit type 8906 ffff
o rule 1 permit type 8914 ffff
# Create a class named DCBX, specify the operator of the class as OR, and use ACL 4000 as the match criterion of the
class.
o traffic classifier DCBX operator or
o if-match acl 4000
# Create a traffic behavior named DCBX, and configure the action of marking packets with 802.1p priority 3.
o traffic behavior DCBX
o remark dot1p 3
# Create a QoS policy named DCBX, associate the class DCBX with traffic behavior DCBX in the QoS policy, and apply
the association to DCBX.
o qos policy DCBX
o classifier DCBX behavior DCBX mode dcbx
Configure ETS:
# Configure the 802.1p-lp priority map to:
- Map 802.1p priority 3 to local precedence 1 (corresponding to queue 1).
- Map all other 802.1p priorities to local precedence 0 (corresponding to queue 0).
o qos map-table dot1p-lp
o import 0 export 0
o import 1 export 0
o import 2 export 0
o import 3 export 1
o import 4 export 0
o import 5 export 0
o import 6 export 0