Chapter V. Classification and Filtering
2. Usage
2.1.
Configuration
The Classification and Filtering feature is configured by specifying the filter selection
combination set in the firmware configuration file t6-config.txt (t5-config.txt and t4-config.txt for
T5 and T4 adapters respectively).
The following combination is set by default and packets will be matched accordingly:
filterMode = fragmentation, mpshittype, protocol, vlan, port, fcoe
Where,
fragmentation: Fragmented IP packets
mpshittype
: MAC address "match type" (0=unicast, 1=unicast hash, 2=multicast, 3=multicast
hash, 4=PROM, 5=hyper PROM, 6=broadcast, 7=none)
protocol
: IP protocol number (ICMP=1, TCP=6, UDP=17, etc)
vlan
: Inner VLAN Tag
port
: Packet ingress port number
fcoe
: Fibre Channel over Ethernet frames
2.2.
Creating Filter Rules
Network driver (if_cxgbe) and cxgbetool must be installed before setting the filter rule.
Run the following command to load the network driver:
[root@host~]# kldload if_cxgbe
Now, create filter rules using cxgbetool:
[root@host~]# cxgbetool t6nexY filter <index> action [pass/drop/switch]
Where,
t6nexY : Chelsio T6 interface. Use t5nexY and t4nexY for T5 and T4 adapters respectively.
index
: positive integer ranging from 0-495 set as filter id.
Chelsio Unified Wire for FreeBSD
38
Need help?
Do you have a question about the Terminator series and is the answer not in the manual?
Questions and answers