Forum Discussion
Navd_298927
Mar 22, 2017Nimbostratus
tmsh command to read external data group file
I need help with tmsh commands to read external data group file . Due to security issues, we cannot give the user access to shell . The user uses a discovery tool to discover F5 and properties and tr...
kunjan_118660
Mar 22, 2017Cumulonimbus
May be can write a script and call it from tmsh, if you know the full path to the data-group.
cli script test {
proc script::run {} {
set fp [open "/config/filestore/files_d/Common_d/data_group_d/:Common:dg1_46552_3" r]
while { [gets $fp data] >= 0 } {
puts $data
}
}
}
(/Common)(tmos) run cli script test
- brad_11480Jul 10, 2017Nimbostratus
oh gosh, this is terrible. this means you have to know where it is storing these files. it would be far better if the tmsh command provided a way for it to list the content like it will for the GUI.. if it does it for the GUI, it should provide the same via TMSH.
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