Forum Discussion
Pablo_Ayala
Nimbostratus
Nov 18, 2009econdig command
Hi
I'm doing the next irule,
when CLIENT_ACCEPTED {
TCP::collect 100
}
when CLIENT_DATA {
set datos1 [TCP::payload]
set datos2 [encoding convertfrom ebcdic [encoding convertto ebcdic $datos1]]
if { $datos2 contains "magic" } {
pool magic_pool
} else {
pool default_pool
}
}
But I get the following error in the log
- invalid command name "encoding" while executing "encoding convertto ebcdic $datos1"
Then I found on the Internet on the following fact regarding the command
the encoding command is a Tcl 8.x command and is not present in Tcl 7.6, as far as I know.
I need to use this command
I can use this command tmos BigIP with version 10???
Thanks
pablo
6 Replies
Sort By
- The_Bhattman
Nimbostratus
Try splitting it up - The_Bhattman
Nimbostratus
Looks like ask.f5.com needs to update the TCL commands disabled list. - Pablo_Ayala
Nimbostratus
look this url - The_Bhattman
Nimbostratus
The one I am interested in updating is https://support.f5.com/kb/en-us/solutions/public/6000/300/sol6319.html - Pablo_Ayala
Nimbostratus
hi - The_Bhattman
Nimbostratus
HI Pablo,
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects