
Rules
BIG-IP® Reference Guide 4-53
To configure a rule to select a pool based on an IP protocol number, use the
syntax shown in the example in Figure 4.22.
Figure 4.22 A rule based on an IP protocol number
Quality of Service (QoS) level
The Quality of Service (QoS) standard is a means by which network
equipment can identify and treat traffic differently based on an identifier. As
traffic enters the site, the BIG-IP can apply a rule that sends the traffic to
different pools of servers based on the QoS level within a packet.
To configure a rule to select a pool based on the QoS level of a packet, you
can use the link_qos rule variable, as shown in the example in Figure 4.23.
Figure 4.23 A rule based on a Quality of Service (QoS) level
For information on setting QoS values on packets based on the pool selected
for that packet, see Quality of Service (QoS) level, on page 4-44.
IP Type-Of-Service (ToS) level
The Type of Service (ToS) standard is a means by which network equipment
can identify and treat traffic differently based on an identifier. As traffic
enters the site, the BIG-IP can apply a rule that sends the traffic to different
pools of servers based on the ToS level within a packet.
The variable that you use to set the ToS level on a packet is ip_tos. This
variable is sometimes referred to as the DiffServ variable.
rule my_rule {
if (ip_protocol == 6) {
use (tcp_pool)
}
else {
use (slow_pool)
}
}
rule my_rule {
if (link_qos > 2) {
use (fast_pool)
} else {
use (slow_pool)
}
}
Kommentare zu diesen Handbüchern