Forum Discussion
Jeff_Browning_2
Jun 11, 2003Historic F5 Account
Traffic prioritization and bandwidth throttling?
This question came up recently from a CTO at a large North American company:
"Does iControl allow for layer seven prioritization rules? Bandwidth throttling?"
Any help w...
Gary_Chen_31612
Jun 22, 2003Historic F5 Account
As for the layer 7 traffic prioritization. One may consider using the following approach.
There are iControl methods to set ToS/QoS value of a Pool entity to manage the traffic via a virtual server based on the ToS/Qos value of the packet. The iControl methods used for setting the value of Tos/Qos are listed below,
For setting ToS value of a pool, please consider the followings:
For inbound traffic,
1. ITCMLocalLB.Pool.set_server_ip_tos
2. ITCMLocalLB.Pool.set_server_link_qos
For outbound traffic,
1. ITCMLocalLB.Pool.set_client_ip_tos
2. ITCMLocalLB.Pool.set_client_link_qos
In addition to configuring a Pool that sets the ToS/QoS level on a packet, one can configure a rule that selects a Pool based on the existing value within the packet. Once the rule is completed, you may associate the rule to a virtual server. An example of rule content on ToS is given below,
if (link_qos > 2) {
use pool fast_pool
}
else {
use pool slow_pool
}
The APIs for creatinig a Rule and associate the Rule to a virtual server is given below,
1. ITCMLocalLB.Rule.create_rule
2. ITCMLocalLB.VirtualServer.create_from_rule
Gary Chen
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