Forum Discussion
akhil_2877
Nimbostratus
Jun 19, 2013Please help me understand Link/Lasthop Irule
when CLIENT_ACCEPTED {
if { [format %s [LINK::lasthop]] equals "5c:5e:ab:4b:e0:00" || [format %s [LINK::lasthop]] equals "78:19:f7:00:c4:00" } {
lasthop /Common/SSICLIENTFACINGVLAN 00:00:5e:00:01:01
}
}
5 Replies
- nitass
Employee
i am not sure why format command is needed. anyway, i understand this irule is to specify lasthop mac address for specific connections (i.e. if packet is coming from 5c:5e:ab:4b:e0:00 or 78:19:f7:00:c4:00, send return packet to 00:00:5e:00:01:01). - akhil_2877
Nimbostratus
|| is OR ?? || is AND?
- nitass
Employee
|| is OR ?? || is AND?it is OR.
expr
http://tmml.sourceforge.net/doc/tcl/expr.html - akhil_2877
Nimbostratus
Thanks could you please answer the other Post i posted - nitass
Employee
Thanks could you please answer the other Post i postedi am not familiar with sip. anyway, i believe another guy here will help. :-)
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