User`s guide

Chapter XIII. Bypass Driver
Chelsio T5/T4 Unified Wire For Linux Page 194
The redirect CLI has the following syntax:
[root@host]# redirect ethX command --key [value] …
Redirect Command List
Command
Key
Value
Return
redirect ethX
list
list of all configured tables and rules
redirect ethX
add
update
match
table
table id (defaults to table 1)
Add a rule to a table.
Update the specified rule with new
keys.
Match specified keys to a rule in a
table.
index
rule index. If not specified the
rule is appended. Otherwise it
is inserted at the specified
index.
proto
icmp|icmp6|tcp|udp|any
(defaults to any)
srcaddr
Source IP address
dstaddr
Destination IP address
vlan
VLAN id
action
input|forward|drop (default
input)
port
If action is “input”, then this is
the port to which the packet is
directed.
srcmask
Source IP address mask
(Default is 255.255.255.255)
dstmask
Destination IP address mask
(Default is 255.255.255.255)
srcport
Source port Number
dstport
Destination Port number
srcportmask
Source port Number Mask*
dstportmask
Destination port Number
Mask*
ipv6
Use this option if IPv6
address are used while
adding Redirect rule
srcaddr6
IPv6 Source IP address
dstaddr6
IPv6 Destination IP address
srcmask6
IPv6 Source IP address mask
(Default:
FFFF:FFFF:FFFF:FFFF:FFF
F:FFFF:FFFF:FFFF)
dstmask6
IPv6 Destination IP address
mask
(Default:FFFF:FFFF:FFFF:F
FFF:FFFF:FFFF:FFFF:FFFF)