Forum Discussion
MIGUEL_MELENDEZ
Nimbostratus
Jul 13, 2006TCL error: Rule after convert irule with otcu
Hello everybody,
I am having problems with a irule converted with the utility OTCU ( from v4.5 to v9.2.3) and I am receiving the following message on /var/log/ltm
TCL error: Rule ...
MIGUEL_MELENDEZ
Nimbostratus
Jul 18, 2006Many thanks,
I have tried to use it, but ir is not possible due to dependind of the type of the VS I receive several errors.
1.- VS Performance(L4)
I tried to use this type due to I can receive UDP or TCP traffic, but I receive the following error:
TCP::local_port in rule (Rule-OSN-IN) requires an associated TCP or FASTHTTP profile on the virtual server (vs_Control_AcUs_any).
2.- VS Forwarding IP
The same problem. I need a TCP/UDP profile. And in this case this VS type can not use persistance.
3.- VS Standard
If I configure TCP as profile LTM gives me the error :
UDP::local_port in rule (Rule-OSN-IN) requires an associated UDP profile on the virtual server (vs_Control_AcUs_any).
At the end I have created two VS ( standard ), one with TCP and one for UDP profile. And I have configured two Irules using your ideas.
This one for TCP :
rule Rule-OSN-IN {
when CLIENT_ACCEPTED {
switch [IP::protocol] {
6 { set vip_port [TCP::local_port] }
default { event disable }
}
switch $vip_port {
25 { pool osn-in }
80 { pool osn-in }
default { pool default_pool }
}
}
}
Many thanks for your help.