Forum Discussion

Nathan_Andrews_'s avatar
Nathan_Andrews_
Icon for Nimbostratus rankNimbostratus
Jan 21, 2015

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

  • 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.