Forum Discussion
Need tmsh commands to display unused ltm nodes, pools and virtual servers
Hi Dev Central,
I am doing some configuration house keeping and am in need of some tmsh commands to display any unused ltm nodes, pools and virtual servers etc before I delete them.
Does anyone have some examples they would be willing to share?
Thanks,
Nathan
1 Reply
- Michael_Jenkins
Cirrostratus
As far as I know, this isn't possible with just tmsh. You would need to either upload a QKView to iHealth or write a script that grabs the config and parses it to get the information you're looking for.
This question is similar to yours and may provide some guidance.
Personally, I've created some PowerShell scripts to find unused iRules in my environment. One caveat to trying to find things like unused pools is that if you have an iRule that sets a custom pool, you'll may get a false negative because it's not associated with a virtual to begin with.
Hope this helps.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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