OS10 Enterprise Edition User Guide Release 10.4.0E(R3)


Configure iSCSI optimization

The iSCSI protocol provides TCP/IP transport of storage traffic between servers and storage arrays in a network using iSCSI commands.

  1. Configure an interface or interface range to detect a connected storage device.
    interface ethernet 
                                           interface range ethernet 
  2. Enable the interface to support a storage device that is directly connected to the port and not automatically detected by iSCSI. Use this command for storage devices that do not support LLDP. The switch auto-detects and auto-configures Dell EqualLogic storage arrays directly connected to an interface when you enable iSCSI optimization.
    iscsi profile-storage 
  3. Configure DCBX to use LLDP to send iSCSI application TLVs with the dot1p priorities for iSCSI traffic in INTERFACE mode.
    lldp tlv-select dcbxp-appln iscsi
  4. Return to CONFIGURATION mode.
  5. (Optional) If necessary, re-configure the iSCSI TCP ports and IP addresses of target storage devices in CONFIGURATION mode. Separate TCP port numbers with a comma (0-65535; default 860 and 3260).
    iscsi target port 
                                           tcp-port1 [
                                           tcp-port2, ..., 
                                           tcp-port16] [ip-address 
  6. Configure the QoS policy applied to the ingress iSCSI flows. Apply the service policy to ingress interfaces in CONFIGURATION mode.

    (Optional) Reset the default CoS dot1p priority (default 4) and/or the trusted DCSP value used for iSCSI traffic. Assign an internal qos-group queue (0 to 7) to dot1p (0 to 7) and DSCP (0 to 63) values in POLICY-CLASS-MAP mode.

    class-map type application class-iscsi
                                           policy-map type application policy-iscsi
                                           class class-iscsi
                                           set qos-group 
                                           set cos 
                                           set dscp 
                                           service-policy type application policy-iscsi
  7. Enable iSCSI monitoring sessions on TCP ports in CONFIGURATION mode.
    iscsi session-monitoring enable
  8. (Optional) Set the aging time for the length of iSCSI monitoring sessions in CONFIGURATION mode (5 to 43,200 minutes; default 10).
    iscsi aging time [
  9. (Optional) Reconfigure the dot1p priority bits advertised in iSCSI application TLVs in CONFIGURATION mode. The default bitmap is 0x10 (dot1p 4). The default dot1p 4 value is sent in iSCSI application TLVs only if you enabled the PFC pause for dot1p 4 traffic ( pfc-cos dot1p-priority command).

    If you do not configure an iscsi priority-bits dot1p value and you configure a set cos value in Step 6, the set cos value is sent in iSCSI application TLVs. If you configure neither the iscsi priority-bits nor the set cos value, the default dot1p 4 is advertised.

    iscsi priority-bits 
  10. Enable iSCSI auto-detection and auto-configuration on the switch in CONFIGURATION mode.
    iscsi enable

Configure iSCSI optimization

OS10(config)# interface ethernet 1/1/1
                                 OS10(conf-if-eth1/1/1)# iscsi profile-storage compellent
                                 OS10(conf-if-eth1/1/1)# lldp tlv-select dcbxp-appln iscsi
                                 OS10(conf-if-eth1/1/1)# exit
                                 OS10(config)# iscsi target port 3261 ip-address
                                 OS10(config)# policy-map type application policy-iscsi
                                 OS10(config-pmap-application)# class class-iscsi
                                 OS10 (config-pmap-c-app)# set qos-group 4
                                 OS10 (config-pmap-c-app)# set cos 4
                                 OS10 (config-pmap-c-app)# exit
                                 OS10(config-pmap-application)# exit
                                 OS10(config)# system qos
                                 OS10(config-sys-qos)# service-policy type application policy-iscsi
                                 OS10(config-sys-qos)# exit
                                 OS10(config)# iscsi session-monitoring enable
                                 OS10(config)# iscsi aging time 15
                                 OS10(config)# iscsi priority-bits 0x20
                                 OS10(config)# iscsi enable

View iSCSI optimization

OS10# show iscsi
                                 iSCSI Auto configuration is Enabled
                                 iSCSI session monitoring is  Enabled
                                 iSCSI COS              qos-group 4 remark dot1p 4
                                 Session aging time     15
                                 Maximum number of connections is  100
                                 Port    IP Address
OS10# show iscsi session detailed 
                                 Session 1
                                 Up Time:00:00:18:12(DD:HH:MM:SS)
                                 Time for aging out:29:23:59:35(DD:HH:MM:SS)
                                 Initiator     Initiator  Target       Target    Connection
                                 IP Address    TCP Port   IP Address   TCP Port  ID
                         54748  3260      1
                                 Session 2
                                 Up Time:00:00:16:02(DD:HH:MM:SS)
                                 Time for aging out:29:23:59:35(DD:HH:MM:SS)
                                 Initiator     Initiator  Target       Target    Connection
                                 IP Address    TCP Port   IP Address   TCP Port  ID
                         54835  3260      1
OS10# show iscsi storage-devices
                                 Interface Name   Storage Device Name   Auto Detected Status
                                 ethernet1/1/23   EQL-MEM               true

Rate this content

Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\