Planet Technology IDL-4801 Network Card User Manual


 
IDL series User Guide
424
icmpcodecmp eq | neq
| any
ICMP code comparison type
Type: Create -- Optional
Modify -- Optional
Default value: any
subruleprio low | high |
asinrule
This specifies the priority of the subrule. Based on
this priority value, the 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
transporthdr ethernet |
pppoe
This specifies the type of the transport header in the packet in
which the corresponding IP is being transported. If the value of
this field is ethernet, then the IP is being carried in the ethernet
header. If it is ‘pppoe’, then the corresponding IP is being carried
in the PPP header.
Type: Create -- Optional
Modify -- Optional
Default value: ethernet
Example:
$ create filter subrule icmp ruleid 1 subruleid 2 icmptype 0 icmpcode 0
icmptypecmp neq icmpcodecmp neq subruleprio high
Output:
Verbose Mode On
Entry Created
Rule Id : 1 Subrule Id : 2
Icmp type : 0 Icmp code : 0
ICMP type comparison : neq ICMP code comparison : neq
Subrule Priority : high
Transport Header : Ethernet
Verbose Mode Off:
Entry Created