Forum Discussion
Persist lookup and a forwarding server
I have a guest running 11.6.0 HF6 with a forwarding virtual server defined as follows:
ltm virtual VSF_ise-1700 {
description "SNAT forward for 1700"
destination 0.0.0.0:mps-raft
ip-protocol udp
mask any
profiles {
ise_radius { }
udp { }
}
rules {
SNATfor1700
}
source 0.0.0.0/0
translate-address disabled
translate-port disabled
vs-index 20
}
In my SNATfor1700 iRule, I am trying to look up the persistence record for a client based on the MAC address and the NAS IP in a Change-of-Authorization packet. The persistence records exist correctly, as I see them when I execute a "show ltm persistence persist-records" command in tmsh. However, this line in my iRule always returns an empty result:
set persistInfo [persist lookup uie { $mac_up any pool }]
where $mac_up is the correct/verified key to the persistence record. Is there some trick to persist lookup that I am missing?
Thanks, Jen
2 Replies
- cjunior
Nacreous
Hi,
As a first shot, change your code to this:
set persistInfo [persist lookup uie "$mac_up any pool"]'Cause, curly braces prevent variable expansion.
Sorry for ask, but what kind of VS are you setting?
if my tip doesn't work, I may try to help you in case you're doing that in an inappropriate event.
If you share iRule here also make it easy.
Respectfully.
- Stanislas_Piro2
Cumulonimbus
Hi,
Can you convert your VS from forwarding to Performance (Layer-4) with gateway pool assignment.
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