Users Guide
iscsi enable
3 For a DCB environment: Congure iSCSI Optimization.
EXEC Privilege mode
iSCSI conguration: copy CONFIG_TEMPLATE/iSCSI_DCB_Config running-config.
The conguration les are stored in the ash memory in the CONFIG_TEMPLATE le.
NOTE: DCB/DCBx is enabled when you apply the iSCSI conguration in step 3. If you manually apply the iSCSI
conguration 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 conguration 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) Congure 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]
• tcp-port-n is the TCP port number or a list of TCP port numbers on which the iSCSI target listens to requests. You can
congure up to 16 target TCP ports on the switch in one command or multiple commands. The default is 860, 3260.
Separate port numbers with a comma. If multiple IP addresses are mapped to a single TCP port, use the no iscsi target
port
tcp-port-n command to remove all IP addresses assigned to the TCP number.
To delete a specic IP address from the TCP port, use the no iscsi target port tcp-port-n ip-address address
command to specify the address to be deleted.
• ip-address species the IP address of the iSCSI target. When you enter the no form of the command, and the TCP port you
want to delete is one bound to a specic IP address, include the IP address value in the command.
If multiple IP addresses are mapped to a single TCP port, use the no iscsi target port command to remove all IP
addresses assigned to the TCP port number.
To remove a single IP address from the TCP port, use the no iscsi target port ip-address command.
7 (Optional) Set the QoS policy that is applied to the iSCSI ows.
CONFIGURATION mode
[no] iscsi cos {enable | disable | dot1p vlan-priority-value [remark] | dscp dscp-value
[remark]}
• enable: enables the application of preferential QoS treatment to iSCSI trac so that iSCSI packets are scheduled in the switch
with a dot1p priority 4 regardless of the VLAN priority tag in the packet. The default is: iSCSI packets are handled with dotp1
priority 4 without remark.
• disable: disables the application of preferential QoS treatment to iSCSI frames.
• dot1p vlan-priority-value: species the virtual local area network (VLAN) priority tag assigned to incoming packets in an
iSCSI session. The range is from 0 to 7. The default is: the dot1p value in ingress iSCSI frames is not changed and the same priority
is used in iSCSI TLV advertisements if you do not enter the iscsi priority-bits command (Step 10).
• dscp dscp-value: species the DSCP value assigned to incoming packets in an iSCSI session. The range is from 0 to 63. The
default is: the DSCP value in ingress packets is not changed.
iSCSI Optimization
421










