[flow-tools] Flow-tag Definitions

Mark Fullmer maf@splintered.net
Wed, 19 Jun 2002 22:12:38 -0400


tag-action A1  
 match 0/0 set-dst 0x10

tag-definition D1 
 input-filter 1
 exporter 1.1.1.1
 action A1

tag-definition D2
 input-filter 1,2
 exporter 2.2.2.2
 action A1

Then run flow-tag with -TD1,D2


On Thu, Jun 20, 2002 at 11:19:55AM +1000, Leigh Sharpe wrote:
> Is it possible to logically AND or logically OR definitions in a flow-tag configuration?
> ie I need to create a definition that effectively says "All traffic entering interface 1 on exporter 1.1.1.1 or interface 1or 2 on exporter 2.2.2.2"
> 
> Regards,
>              Leigh
>  
> Leigh Sharpe
> Network Systems Engineer
> Pacific Wireless
> Ph 9584 8966
> Mob 0408 009 502
> email lsharpe@pacificwireless.com.au
> web www.pacificwireless.com.au
>