Users Guide

iSCSI Optimization Prerequisites
The following are iSCSI optimization prerequisites.
iSCSI optimization requires LLDP on the switch. LLDP is enabled by default (refer to Link Layer Discovery Protocol (LLDP)).
iSCSI optimization requires conguring two ingress ACL groups The ACL groups are allocated after iSCSI Optimization is
congured.
Conguring iSCSI Optimization
To congure iSCSI optimization, use the following commands.
1. For a non-DCB environment: Enable session monitoring.
CONFIGURATION mode
cam-acl l2acl 4 ipv4acl 4 ipv6acl 0 ipv4qos 2 l2qos 1 l2pt 0 ipmacacl 0 vman-qos 0
ecfmacl 0 fcoeacl 0 iscsioptacl 2
NOTE: Content addressable memory (CAM) allocation is optional. If CAM is not allocated, the following features are
disabled:
session monitoring
aging
class of service
You can enable iSCSI even when allocated with zero (0) CAM blocks. However, if no CAM blocks are allocated, session
monitoring is disabled and this information displays in the show iscsi command.
2. For a non-DCB environment: Enable iSCSI.
CONFIGURATION mode
iscsi enable
3. For a DCB environment: Congure iSCSI Optimization.
EXEC Privilege mode
iSCSI conguration: copy CONFIG_TEMPLATE/iSCSI_DCB_Config running-config.
The conguration les are stored in the ash memory in the CONFIG_TEMPLATE le.
NOTE: DCB/DCBx is enabled when you apply the iSCSI conguration in step 3. If you manually apply the iSCSI
conguration by following steps 1 and 2, enable link layer discovery protocol (LLDP) before enabling iSCSI in step 2.
You cannot disable LLDP if you enable iSCSI.
4. Save the conguration on the switch.
EXEC Privilege mode
write memory
5. Reload the switch.
EXEC Privilege mode
reload
After the switch is reloaded, DCB/ DCBx and iSCSI monitoring are enabled.
6. (Optional) Congure the iSCSI target ports and optionally the IP addresses on which iSCSI communication is monitored.
CONFIGURATION mode
[no] iscsi target port tcp-port-1 [tcp-port-2...tcp-port-16] [ip-address address]
iSCSI Optimization
445