icmpcodecmp eq neq

ICMP code comparison type

any

Type:

Create -- Optional

 

Modify

-- Optional

 

Default value: any

 

 

subruleprio low high

This specifies the priority of the subrule. Based on

asinrule

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

This specifies the type of the transport header in the packet in

pppoe

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

424

IDL series User Guide