Previous Topic

Next Topic

Book Contents

iSCSI Optimization Commands

This section describes commands you use to monitor iSCSI sessions and prioritize iSCSI packets. iSCSI Optimization provides a means of giving traffic between iSCSI initiator and target systems special Quality of Service (QoS) treatment. This is accomplished by monitoring traffic to detect packets used by iSCSI stations to establish iSCSI sessions and connections. Data from these exchanges is used to create classification rules that assign the traffic between the stations to a configured traffic class. Packets in the flow are queued and scheduled for egress on the destination port based on these rules.

iscsi aging time

This command sets the aging time for iSCSI sessions.

Behavior when changing aging time:

no iscsi aging time

Use the no form of the command to reset the aging time value to the default value.

iscsi cos

This command sets the quality of service profile that will be applied to iSCSI flows. iSCSI flows are assigned by default to the highest VPT/DSCP mapped to the highest queue not used for stack management. The user should also take care of configuring the relevant Class of Service parameters for the queue in order to complete the setting.

Setting the VPT/DSCP sets the QoS profile which determines the egress queue to which the frame is mapped. The switch default setting for egress queues scheduling is Weighted Round Robin (WRR). You may complete the QoS setting by configuring the relevant ports to work in other scheduling and queue management modes via the Class of Service settings. Depending on the platform, these choices may include strict priority for the queue used for iSCSI traffic. The downside of strict priority is that, in certain circumstances (under heavy high priority traffic), other lower priority traffic may get starved. In WRR the queue to which the flow is assigned to can be set to get the required percentage.

no iscsi cos

Use the no form of the command to return to the default.

iscsi enable

This command globally enables iSCSI awareness.

no iscsi enable

This command disables iSCSI awareness. When you use the no iscsi enable command, iSCSI resources will be released.

iscsi target port

This command configures an iSCSI target port and, optionally, a target system’s IP address and IQN name. When working with private iSCSI ports (not IANA-assigned ports 3260/860), it is recommended to specify the target IP address as well, so that the switch will only snoop frames with which the TCP destination port is one of the configured TCP ports, and the destination IP is the target’s IP address. This way the CPU will not be falsely loaded by non-iSCSI flows (if by chance other applications also choose to use these un-reserved ports. When a port is already defined and not bound to an IP address, and you want to bind it to an IP address, you should first remove it by using the no form of the command and then add it again, this time together with the relevant IP address. Target names are only for display when using the show iscsi command. These names are not used to match with the iSCSI session information acquired by snooping. A maximum of 16 TCP ports can be configured either bound to IP or not.

no iscsi target port

Use the no form of the command to delete an iSCSI target port, address, and name.

show iscsi

This command displays the iSCSI settings.

show iscsi sessions

This command displays the iSCSI sessions.

See also

Quality of Service Commands

Class of Service (CoS) Commands

Differentiated Services (DiffServ) Commands

DiffServ Class Commands

DiffServ Policy Commands

DiffServ Service Commands

DiffServ Show Commands

MAC Access Control List (ACL) Commands

IP Access Control List (ACL) Commands

Time Range Commands for Time-Based ACLs

Auto-Voice over IP Commands