Forum Discussion
4 Replies
- mr_shaggy_17493Nimbostratus
Hi 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
- Thiyagu_343098Nimbostratus
Thanks a lot Ahmed.
Could you please help me to know , can we use multiple grep in the same command output to filter?
Regards, Thiyagu
- Samir_Jha_52506Noctilucent
You can call multiple grep in single unix command...
Output of 1st grep command will input of other grep n so on... Some manual work require to get vlan details against vip ip.
- mr_shaggy_17493Nimbostratus
Well 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