
| valueto  | End generic value of the range of generic values. This field and the | ||||
| 
 | previous field specifiy a range of generic values,if 'gencmp' is either | ||||
| 
 | 'inrange' or 'exrange'.Otherwise this field is invalid | ||||
| 
 | Type: | Create | Optional | ||
| 
 | 
 | Modify | Optional | ||
| 
 | Default value: 0xffffffff | 
 | |||
| 
 | 
 | ||||
| gencmp eq neq lt | Generic value comparision type. | ||||
| leq gt geq any | Type: | Create | Optional | ||
| inrange exrange | 
 | Modify | Optional | ||
| ingenlist notingenlist | Default value: any | 
 | 
 | ||
| innamedlist | 
 | 
 | 
 | 
 | 
 | 
| notinnamedlist | 
 | 
 | 
 | 
 | 
 | 
| 
 | 
 | ||||
| subruleprio low high | This specifies the priority of the subrule. Based on this priority value, the | ||||
| asinrule | subrule is created in fast or slow memory. In case priority is specified as | ||||
| 
 | 'asinrule', subrule priority will be same as specified in the rule. | ||||
| 
 | Type: | Create | Optional | ||
| 
 | 
 | Modify | Optional | ||
| 
 | Default value: asinrule | 
 | |||
| 
 | 
 | ||||
| namedlistid | This specifies the list identifier value of the named list which will be used | ||||
| to do the lookup .In case 'gencmp' is 'innamedlist' or 'notinnamedlist', this | |||||
| 
 | field is manadatory else it is extra. | ||||
| 
 | Type: | Create | Optional | ||
| 
 | 
 | Modify | Optional | ||
| 
 | Valid values: 1 - 65535 | 
 | |||
| 
 | Default value: 1 | 
 | 
 | 
 | |
| 
 | 
 | ||||
| transporthdr ethernet | This specifies the type of Transport header in the packet in which | ||||
| pppoe | corresponding IP is being transported. If value of this field is 'ethernet', | ||||
| 
 | then IP is being carried in ethernet header and if it is 'pppoe' then | ||||
| 
 | corresponding IP is being carried in PPP header.This field is valid only | ||||
| 
 | when value of 'offsethdr' is any one of ip, tcp, udp, icmp or | ||||
| 
 | igmp.Otherwise this field is extra | ||||
| 
 | Type: | Create | Optional | ||
| 
 | 
 | Modify | Optional | ||
| 
 | Default value: ethernet | 
 | |||
| 
 | 
 | 
 | 
 | 
 | 
 | 
Example:
$ create filter subrule generic ruleid 1 subruleid 2 offsethdr tcp offset 20 mask 0xFF valuefrom 0x20 valueto 0x40 gencmp inrange subruleprio high namedlistid - transporthdr Ethernet
| 420 | IDL series User Guide | 
| 
 | 
 |