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...
StephanManthey
Nacreous
Jun 01, 2015Hi,
just had a similar issue and used the following syntax to look for and list:-
configured folders:
tmsh -q -c "list sys folder recursive one-line" | awk '{print $3}' -
imported iFiles:
tmsh -q -c "list sys file ifile recursive one-line" | awk '{print $4}' -
referenced iFiles:
tmsh -q -c "list ltm recursive one-line" | awk '/^ltm ifile/ {print $3}'
The options "recursive" and "one-line" are not available in all configuration contexts.
Thats why I used a "global" recursive listing in ltm context to check the referenced iFiles by applying a filter in awk. Thanks, StephanHelp 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