Chelsio Communications Chelsio T5 Installation And User Manual page 226

Unified wire for linux
Hide thumbs Also See for Chelsio T5:
Table of Contents

Advertisement

Chapter XVI. Bypass Driver
redirect ethX
table
delete
index
redirect ethX
table
purge
redirect ethX
table
move
old_id
new_id
redirect ethX
table
count
index
redirect ethX
table
create_table
redirect ethX
table
activate_table
redirect ethx
table
deactivate_table
redirect ethX
table
delete_table
redirect ethX
dump
* The matching algorithm for
(Ingress_Packet-Field & Filter-Mask) == (Filter-Value & Filter-Mask)
4.2.6. Managing persistent tables and rules
This example creates a new table with table id 1 and then adds a rule to drop all ICMP packets
for port 0. The rules in a table are not active until the table is activated.
Create a table:
[root@host]# redirect ethX create_table --table 1
Activate the table:
[root@host]# redirect ethX activate_table --table 1
Add a rule to the newly created table:
[root@host]# redirect ethX add --table 1 --proto icmp –-action drop –-port 0
Chelsio T5/T4 Unified Wire For Linux
table id
rule index
table id
table id
Existing rule index.
New rule index.
table id
rule index
table id
table id
table id
table id
srcportmask
dstportmask
and
Delete the table
Delete a rule from a table.
Remove all rules from the specified
table
Check that the new rule id is valid and
move the source rule to new id if it
doesn't contain any existing rule
Display a count of the number of
packets and bytes has matched a rule.
Create a new table that is used to hold
a set of rules.
Activate a table so that all the rules in
it will be active.
Deactivate a table and its associated
rules.
Delete a table and the rules in it.
dump all tables and rules as
commands
is
Page 226

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Chelsio T5 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Chelsio t4

Table of Contents