Forum Discussion
Thiyagu_343098
Nimbostratus
May 04, 2018Need help to get the LTM command get the name of the VIP and IP of VIP and VLAN of VIP in one output
Hello All,
I'm working on a taks to get the the name of the VIP and IP of VIP and VLAN of VIP. I'm looking for a single LTM command which would help to get out the required data.
could you pleas...
mr_shaggy_17493
Nimbostratus
May 04, 2018Hi Thiyagu,
You can try this from command line:
"tmsh list ltm virtual | grep virtual destination vlan"
If you're not using grep, then it will shows all VS configuration component. Filter the component that you need using grep.
Regards,
Ahmad
mr_shaggy_17493
Nimbostratus
May 04, 2018Well the previous command will filtering the "list ltm virtual" results to only the configuration component which is containing the word virtual, destination, and VLAN.
- virtual for filtering VS name
- destination for filtering VS address
- vlan for filtering VLAN config on the VS
This is the result on my bigip:
root@(F5)(cfg-sync Standalone)(Active)(/Common)(tmos) list ltm virtual | grep virtual destination vlan
ltm virtual vs_Apps80 {
destination 10.4.40.78:http
vlans {
vlan_ASM
vlans-enabled
Regards,
Ahmad
Help 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