Forum Discussion
How do I reference an administrative partition from bash?
We recently deployed administrative partitions in several guests for the first time. I know, I know. It wasn't my decision!
So I used to be able to collect information like this:
tmsh -q show ltm virtual > list.txt
I want to be able to do the same thing from bash per administrative partition.
Do this ->
For a single partition:
tmsh -q -c "cd / ; list ltm virtual" > list.txt
For all partitions:
tmsh -q -c "cd / ; list ltm virtual recursive" > list.txt
KR, Dario.
- natheCirrocumulus
Jlarger,
Each administration partition will have its own folder, the default is simply Common (as you may know already).
To run a query and include all administration partitions I believe you add the "recursive" switch at the end (before the output to file).
See if this works.
N
Recent Discussions
Related Content
* 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