Chelsio Communications Chelsio T5 Uživatelská příručka Strana 207

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 452
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 206
Chapter XV. Classification and Filtering
Chelsio T5/T4 Unified Wire For Linux Page 207
Where,
ethX : Chelsio interface
index : positive integer set as filter id
action : Ingress packet disposition
pass : Ingress packets will be passed through set ingress queues
switch : Ingress packets will be routed to an output port with optional header rewrite.
drop : Ingress packets will be dropped.
2.2.1. Examples
Drop action
[root@host]# cxgbtool ethX filter 0 action drop fip 192.168.1.5
The above filter rule will drop all ingress packets from IP 192.168.1.5
Pass action
[root@host]# cxgbtool ethX filter 0 action pass lport 10001 fport 355
queue 2
The above filter rule will pass all ingress packets that match local port 10001 and remote port
355 to ingress queue 2 for load balancing.
Switch action
[root@host]# cxgbtool ethX filter 0 action switch iport 0 eport 1 vlan 3
The above filter rule will route all ingress packets that match VLAN id 3 from port 0 of Chelsio
adapter to port 1.Remaining packets will be sent to the host.
In case of multiple filter rules, the rule with the lowest filter index takes higher
priority.
Note
Zobrazit stránku 206
1 2 ... 202 203 204 205 206 207 208 209 210 211 212 ... 451 452

Komentáře k této Příručce

Žádné komentáře