v16.0.0 v15.0.0 v14.0.0 v13.0.0

  • General
  • Commands
  • Modules

On this page:
  • ltm rule command LINK qos
  • CloudDocs Home > F5 TMSH Reference > ltm rule command LINK qos

Version notice:

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							    2022-04-12							  iRule(1)