238 iSCSI Commands
Syntax
•
iscsi aging-time
time
• no iscsi aging-time
•
time
— The number in minutes a session is not active prior to its removal. (Range: 1- 43,200)
Default Configuration
5 minutes.
Command Mode
Global Configuration mode.
User Guidelines
• All connections are measured in groups of 32. The aging time is the minimum time a connection's
activity is measured deterministically. The actual aging may depend on the number of currently
monitored connections, causing the activity to take longer. The result is 256 connections, which are all
not active, with an aging time of 5 minutes can be measured in 256/32 * 5min = 40 min. The above
example is a 'worst case' scenario.
• Behavior when changing aging time:
• When aging time is increased — Time for aging out current sessions is recalculated and increased
only by the difference.
• When aging time is decreased — Time for aging out current sessions will be decreased by the
difference. If after re-calculation, it is deemed that the session ‘silence’ time is already greater than
the new aging time, the session will be immediately declared as aged-out.
Example
The following example sets aging time for iSCSI sessions to 100 minutes.
iscsi max connections
The iscsi max connections Global Configuration mode command sets the maximum number of iSCSI
connections that can be supported. Use the no form of this command to return to the default value.
Syntax
iscsi max tcp connections max-connections
no iscsi max tcp connections
•
max-connections
— The maximum number of iSCSI connections that can be supported.
(Range:
64 – 512
)
Console (config)# iscsi aging-time 100
5400_CLI.book Page 238 Wednesday, December 17, 2008 4:33 PM