ltm rule command link qos
iRule(1) BIG-IP TMSH Manual iRule(1)
LINK::qos
Returns the QoS level set on the packet.
SYNOPSIS
LINK::qos (clientside | serverside)? (QOS_LEVEL)?
DESCRIPTION
Returns the QoS level set for the current packet. The Quality of
Service (QoS) standard is a means by which network equipment can
identify and treat traffic differently based on an identifier. This
command can be used to direct traffic based on the QoS level within a
packet. This command is equivalent to the BIG-IP 4.X variable
link_qos.
Syntax
LINK::qos
* Returns the QoS level set for the current packet
RETURN VALUE
LINK::qos
* Returns the QoS level set for the current packet
VALID DURING
EXAMPLES
when CLIENT_ACCEPTED {
if { [LINK::qos] > 2 } {
pool fast_pool
} else {
pool slow_pool
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-9.0.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)