Forum Discussion
4 Replies
Sort By
- Vijay_ECirrus
You would have to try something like this:
(tmos.ltm) list virtual rules
From the above list you should be able to grep/sed/awk for the right output.
- arpydaysNimbostratus
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_Piro2Cumulonimbus
Try this:
tmsh list virtual one-line | grep irulename | awk '{print $3}'
- g0a_359464Nimbostratus
tmsh list ltm recursive virtual rules
This gives you a break down of the iRules attached to the VIP.