Chelsio Communications Chelsio T4 Guia do Utilizador Página 202

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 201
Chapter XV. Classification and Filtering
Copyright ©2013.Chelsio Communications. All Rights Reserved. Page 202
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
Vista de página 201
1 2 ... 197 198 199 200 201 202 203 204 205 206 207 ... 373 374

Comentários a estes Manuais

Sem comentários