Forum Discussion
list ltm virtual does not show anything
Hello everyone, I am new to F5, and trying to explore the configuration via CLI. When I try to run the command 'list ltm virtual all' it does not show anything though there are several virtual IP configured. Same is the case with other list commands as well. I guess i am doing something wrong so please let me know if you can point me towards a solution.
Thank you.
- jaikumar_f5
Noctilucent
Can you show the way your running it, are you on some other partition which is not having any virtuals in it. Run the below and share with us.
(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm virtual all Display all 1161 items? (y/n) n (cfg-sync Standalone)(Active)(/Common)(tmos) list auth partition This will show you the partitions. The below show the actual virtuals on the config file. less /config/bigip.conf | grep "ltm virtual " | wc -l 1161
- Anju_Polas_3186
Nimbostratus
Thank you for quick response Jai. I tried list auth partition and was able to see the list of partition on F5, so my next question would be how do I check the VIPs or other info. on a particular partition. any help will be appreciated.
Thanks.
- Chris_Grant
Employee
You would start by changing to the partition you want to use. So on my box I have a partition named shoji:
root@(v13b)(cfg-sync Changes Pending)(Standby)(/Common)(tmos) cd /shoji root@(v13b)(cfg-sync Changes Pending)(Standby)(/shoji)(tmos) list /ltm virtual ltm virtual Emperor_VS { destination 10.10.2.109:http ip-protocol tcp mask 255.255.255.255 partition shoji policies { asm_auto_l7_policy__Emperor_VS { } } pool Shogun_pool profiles { /Common/http { } /Common/tcp { } /Common/websecurity { } ASM_Tokugawa { } } source 0.0.0.0/0 translate-address enabled translate-port enabled vs-index 10 }
And in this case I only have the one virtual server, listed here.
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