Forum Discussion
Nanda_Kumar_676
Nimbostratus
Apr 17, 2009Service port range
Hello,
I am new to F5 and all these days I was just creating VIP and Pool however now I have been asked to create a pool including pool members with a range of service ports. Dose any ...
nitass
Employee
May 23, 2013would this syntax be correct for the 11.2.1 release?i believe so.
would it be possible to put the ports in a data list and then select for passage by the variable for that data list?i think you may use class command.
e.g.
[root@ve11a:Active:Changes Pending] config tmsh list ltm data-group internal portrange
ltm data-group internal portrange {
records {
end {
data 2000
}
start {
data 1000
}
}
type string
}
[root@ve11a:Active:Changes Pending] config tmsh list ltm rule myrule
ltm rule myrule {
when RULE_INIT {
log local0. "\[class match -value start equals portrange\] = [class match -value start equals portrange]"
log local0. "\[class match -value end equals portrange\] = [class match -value end equals portrange]"
}
}
[root@ve11a:Active:Changes Pending] config tail /var/log/ltm
May 23 08:33:46 ve11a info tmm1[8163]: Rule /Common/myrule : [class match -value start equals portrange] = 1000
May 23 08:33:46 ve11a info tmm1[8163]: Rule /Common/myrule : [class match -value end equals portrange] = 2000
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
