Forum Discussion
nitass
Jan 14, 2012Employee
what error did you get?
[root@ve1023:Active] config b rule myrule list
rule myrule {
when RULE_INIT {
set a "aaa"
set b "123"
if { ( $a contains "aaa" ) and (( $b equals "123" ) or ( $b equals "456" )) } then { log local0. "gotcha" }
}
}
[root@ve1023:Active] config tail /var/log/ltm
Jan 13 23:17:54 local/ve1023 err mcpd[25539]: 01020066:3: The requested rule (myrule) already exists in partition Common.
Jan 13 23:17:54 local/tmm info tmm[26866]: Rule myrule RULE_INIT: gotcha