Configuration Mode Commands : SteelHead Configuration Commands : In-Path and Virtual In-Path Support Commands : in-path rule edit fixed-target packet-mode-uni
  
in-path rule edit fixed-target packet-mode-uni
Edits a fixed-target packet-mode optimization rule.
Syntax
in-path rule edit rulenum <rule-number> fixed-target packet-mode-uni target-addr{<ip-address> [target-port <port>] [protocol <protocol>] [backup-address <ip-address>] [backup-port <port>] [srcaddr {<ip-address> | all-ip |all-ipv4 | all-ipv6>}] [srcport <port>] [dstaddr {<ip-address> | all-ip |all-ipv4 | all-ipv6}] [dstport <port>] [optimization <policy>] [vlan <vlan-tag-id>] [description <description>]
Parameters
rulenum <rule-number>
Specifies the rule number to edit: 1-N or start or end.
target-address <ip-address>
Specifies the fixed-target appliance address.
For the network address, use the format XXX.XXX.XXX.XXX for IPv4 or X:X:X:X/XXX for IPv6.
target-port <port>
Specifies a single port (number), a port label, or all to specify all ports.
protocol
Specifies a protocol to optimize:
•  tcp - Specifies TCP protocol for TCPv4 and TCPv6 connections.
•  udp - Specifies the UDP protocol for UDPv4 and UDPv6 connections.
•  any - Optimizes all traffic.
backup-address <ip-address>
Specifies a backup appliance for this rule (if any).
For the network address, use the format XXX.XXX.XXX.XXX for IPv4 or X:X:X:X/XXX for IPv6.
backup-port <port>
Specifies a single port (number), a port label, or all to specify all ports.
srcaddr <ip-address>
Specifies the source subnet IP address and netmask. Use the format XXX.XXX.XXX.XXX/XX for IPv4 and X:X:X::X/XXX for IPv6.
srcaddr all-ip
Specifies all IPv4 and all IPv6 addresses. This is the default.
srcaddr all-ipv4
Specifies all IPv4 addresses.
srcaddr all-ipv6
Specifies all IPv6 addresses.
srcport <port>
Specifies the source port. Packet-mode optimization is unidirectional, and this port is used on the SteelHead to match the source port in return traffic.
For the port, you can specify a single port (number), a port label, or all to specify all ports.
dstaddr <ip-address>
Specifies the destination subnet IP address and netmask. Use the format XXX.XXX.XXX.XXX/XX for IPv4 and X:X:X::X/XXX for IPv6.
dstaddr all-ip
Specifies all IPv4 and all IPv6 addresses. This is the default.
dstaddr all-ipv4
Specifies all IPv4 addresses.
dstaddr all-ipv6
Specifies all IPv6 addresses.
dstport <port>
Specifies a single port (number), a port label, or all to specify all ports.
optimization <policy>
Specifies an optimization policy:
•  normal - Performs LZ compression and SDR. This is the default optimization policy.
•  sdr-only - Turns off LZ compression.
•  sdr-m - Performs data reduction entirely in memory, which prevents the SteelHead from reading and writing to and from the disk. Enabling this option can yield high LAN-side throughput because it eliminates all disk latency.
•  compr-only - Turns off SDR but perform LZ compression.
•  none - Turns off LZ compression and SDR.
vlan <vlan-tag-id>
Specifies the VLAN tag ID (if any). The VLAN identification number is a value with a range from 0 to 4094. Specify 0 to mark the link untagged.
description <description>
Specifies a description to facilitate network administration.
Usage
Use this command to edit a fixed-target packet-mode optimization rule.
Use the show flows command to display packet-mode optimization flow information.
Example
amnesiac (config) # in-path rule edit rulenum 1 fixed-target packet-mode-uni target-addr 10.0.0.1/24 protocol udp optimization sdr‑only
Product
SteelHead CX, SteelHead EX, SteelHead-v, SteelHead-c
Related Commands
in-path rule fixed-target packet-mode-uni, packet-mode enable, show flows, show in-path, show in-path rules