ltm rule command TCP optionΒΆ

iRule(1)						BIG-IP TMSH Manual						  iRule(1)

TCP::option
       Retrieves or changes TCP header options.

SYNOPSIS
       TCP::option ((get TCP_OPTION)	|
			    (noset TCP_OPTION)	|
			    (set TCP_OPTION VALUE (next | all)))

DESCRIPTION
       Gets or sets the value of the specified option of the TCP header.  The TCP::option get command is only functional when BIG-
       IP has been configured to collect options before the iRule is called. In v10, this is done with a db variable and is
       effective only on the clientside. When called in the serverside context it returns an error indicating that the specified
       option was not configured for collection.

       In v11, this is configured through the TCP profile and the command can be used in either the serverside context or the
       clientside, depending on the profile configuration. TCP::option set is available only in v11 and can be used in either
       context.

       Syntax

       TCP::option get