Automatic iSCSI Provisioning

  • 0
  • 1
  • Question
  • Updated 4 years ago
  • Answered
Create Date: Jun 13 2012 2:49PM

Hello,

I try to configure Automatic iSCSI Provisioning on X670 v1512b12-patch1-4. but I get some problems.

I did it like the document ANiSCSISAN_1789.pdf and I use the integrated iscsi.pol script.

The following error message occurs:



# configure access-list iscsi ports 15-27 ingress

Error: Policy iscsi has syntax errors

Line 20 : Rule iscsi_countdst has not been previously defined.



Where is the problem?



Thanks.

(from Michael_Vreden)
Photo of EtherNation User

EtherNation User, Employee

  • 20,340 Points 20k badge 2x thumb

Posted 4 years ago

  • 0
  • 1
Photo of EtherNation User

EtherNation User, Employee

  • 20,340 Points 20k badge 2x thumb
Create Date: Jun 14 2012 3:50PM

Try this one:

#iscsi.pol

#dynamic iscsi policy for identifying iscsi traffic, prioritize, protect, and log.
entry iscsi_countedge {
if {
protocol tcp;
destination-port 3260;
}
then {
permit;
count iscsi_countdst;
}
}
<br />

entry iscsi_configureedge {
if match all {
count iscsi_countdst &gt;= 100; period 1; hysteresis 50;
}
then {
qosprofile iscsi_countedge qp5;
permit iscsi_configureedge;
cli "enable jumbo-frame ports $port";
cli "create log entry iscsi_detected_onPort_$port"
}
else {
qosprofile iscsi_countedge qp1;
permit iscsi_configureedge;
cli "clear access-list counters";
}
}
<br />

entry iscsi_countup {
if {
protocol tcp;
source-port 3260;
} then {
permit;
count iscsi_countsrc;
}
}
entry iscsi_configureup {
if match all {
count iscsi_countsrc &gt;= 100; period 1; hysteresis 50;
} then {
qosprofile iscsi_countup qp5;
permit iscsi_configureup;
# cli "enable jumbo-frame ports $port";
cli "create log entry iscsi_detected_onPort_$port";
} else {
qosprofile iscsi_countup qp1;
permit iscsi_configureup;
cli "clear access-list counters";
}
}

(from john_padilla)

This conversation is no longer open for comments or replies.