BWC::color

Description

This command allows a category assignment to dynamic policies.
Note that a bwc policy must already have been attached to the flow before this command can be used.

Syntax

BWC::color set <policy name> <category name>
BWC::color unset <policy name> <category name>

BWC::color set <policy name> <category name>

  • Set the specified category to the specified policy.

BWC::color unset <policy name>

  • Unset the category on the specified policy.

Examples

BWC::policy attach bwc_100mbps

if { [TCP::local_port] == 3389 } {
  BWC::color set client_apps desktop
}