Forum Discussion
Jason_130176
Nimbostratus
Jan 07, 2014Listing a complete config with partitions TMSH
I am trying to use Solarwinds NCM to backup my configuration, and have successfully backed up the Common partition with the TMSH command "tmsh -q show running-config" However i also need all the conf...
JRahm
Admin
Jan 07, 2014Also, you can run a tmsh script to show the config in all the partitions, though it shows the full config for each partition, not just the partition specific stuff. Give this a try while I track down your original request.
proc script::run {} {
foreach x [tmsh::get_config auth partition] {
set current_partition "/[lindex [split $x " "] 2]"
tmsh::cd $current_partition
append all_config [tmsh::show running-config ltm one-line non-default-properties]
puts ""
puts " $current_partition "
puts ""
puts " "
puts $all_config
puts " "
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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