Forum Discussion
How do I create a list of VIPs using a particular irule?
My organization uses an irule on multiple VIPs. I need to confirm which VIPs the irule is assigned to. I know I can view this info via the Network Map but I need the info in the form of a list in a .txt
4 Replies
- Vijay_E
Cirrus
You would have to try something like this:
(tmos.ltm) list virtual rulesFrom the above list you should be able to grep/sed/awk for the right output.
- arpydays
Nimbostratus
try this from bash, just insert partial/full rulename to filter on and get a list of VS names that use the irule,
cheers
tmsh -q -c "cd /; list ltm virtual recursive rules" | awk 'BEGIN {RS="ltm"} /'rulename'/ {print $2}' - Stanislas_Piro2
Cumulonimbus
Try this:
tmsh list virtual one-line | grep irulename | awk '{print $3}' - g0a_359464
Nimbostratus
tmsh list ltm recursive virtual rules
This gives you a break down of the iRules attached to the VIP.
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