Views:

A. Create Traffic Management Profile

  1. SSH to the device
  2. If required, remove the TPS device from SMS control (sms unmanage)
  3. To display the current configuration enter display conf running traffic-management
  4. Create the required TMFs with the following CLI command;
    1. edit - enter edit context to make configuration changes
    2. traffic-management - enter traffic-management profile context
    3. profile ‘<ProfileName>’ - create/enter profile

Additional commands are:

  • delete profile ‘<ProfileName>’
  • rename profile ‘<ProfileName>’ ‘<NewProfileName>’

B. Create Traffic Management Filters

You can create ICMP, ICMPv6, IP, IPV6, TCP, UDP filters, or use ANY for all traffic. Likewise, you can specify a source and destination IP addresses and ports. Each rule also requires a unique name, where most people simply describe the rule with a short phrase.

traffic-filter '<FilterName>' - create/enter traffic filter

Additional commands are:

  • ip ipv4 [src-address IPV4-SRC-CIDR] [dst-address IPV4-DST-CIDR]
  • ip ipv6 [src-address IPV6-SRC-CIDR] [dst-address IPV6-DST-CIDR]
  • protocol any [ip-fragments-only]
  • protocol tcp|udp [src-port SRCPORT] [dst-port DSTPORT]
  • protocol icmp [type ICMPTYPE] [code ICMPCODE]

C. Assign “Actions” to Traffic Management Filters

Once a Traffic Management Filter has been created, it must be modified by a corresponding subcommand (action). Subcommands (Actions) include allow, block, trust, and rate-limit. Allow permits all traffic as a permit filter would. Block drops the traffic just as a block action would. A trust action allows traffic to flow completely uninspected. Trust is the most common action used.

Valid commands are:

  • action block|allow|trust|(rate-limit RATELIMITACTION)
  • enable|disable

D. Add segments (ports) to Traffic Management Profile

Now that we've created the Traffic Management Profile and assigned ports and directionality, we can add the TFM profile to a virtual segment.

  1. edit - enter edit context to make configuration changes
  2. virtual-segments - enter virtual segments context
  3. Select the virtual segment that will be linked to the Traffic Management profile. For example virtual-segment "segment4-5 (A > B)"
  4. Once in the virtual segment context for the particular segment enter;

traffic-profile ‘<ProfileName>’