ltm rule command BWC colorΒΆ

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



BWC::color
       This command is used to classify a traffic flow to a particular color
       (application category).

SYNOPSIS
       BWC::color ('set' | 'unset') POLICY_NAME APPLICATION_NAME

DESCRIPTION
       After a flow has been assigned a policy, at some later time when the
       traffic is classified the user can assign an application to this flow.
       This uses the bwc config to create a bwc policy with the categories
       keyword.

RETURN VALUE
VALID DURING
EXAMPLES
	when CLIENT_ACCEPTED {
	    set mycookie [IP::remote_addr]:[TCP::remote_port]
	    BWC::policy attach gold_user $mycookie
	    BWC::color set gold_user p2p
	}

HINTS
SEE ALSO
CHANGE LOG
       @BIGIP-11.3.0 --First introduced the command.



BIG-IP				  2017-01-31			      iRule(1)