actionval

The parameter should contain valid value for some actions that

<actionval-val>

require an additional input.For sendtocontrol and copytocontrol

 

actions this parameter should contain control flow id (0 - 3).

 

Other values are invalid for this action. For modifytos action this

 

parameter should contain value to be set in tos field in the

 

packet in the range 0 to 255. Other values are invalid for this

 

action. The application of this value is dependent on the mask

 

field. For setbaclevel action this parameter should contain Buffer

 

Admission Control level 0 or 1. Other values are invalid for this

 

action. This parameter is ignored for other actions.

 

Type:

Create

--

Optional

 

 

Modify

--

Optional

 

Valid values: 0 - 0xffffffff

 

 

Default value: 0

 

 

 

 

 

actionmask

This field is valid for sendtocontrol, copytocontrol and modifytos

<actionmask-val>

actions only.For sendtocontrol and copytocontrol actions this

 

parameter should contain trap disabled (0xffffffff) or trap enabled

 

(0x00000000). Other values are invalid for this action.Only lower

 

8-bits are taken into consideration for modifytos action and other

 

bits are ignored. In the mask if a bit location contains 1, then the

 

corresponding bit in the TOS field is overwritten with the

 

corresponding bit in action value. In the mask if a bit location

 

contains 0, then the corresponding bit in the TOS field remains

 

unchanged.

 

 

 

 

Type:

Create

--

Optional

 

 

Modify

--

Optional

 

Valid values: 0 - 0xffffffff

 

 

Default value: 0xffffffff

 

 

 

description

Description of the application that receives packets matching

<description-val>

this RL. This field is mandatory if Action is 'sendtocontrol' or

 

'copytocontrol'.The description string should not begin with

 

underscore '_' as it is reserved for special usage e.g.

 

_PPPOE_CONTROL.

 

 

Type:

Create

--

Optional

 

 

Modify

--

Optional

 

Default value: "\0"

 

 

 

 

 

 

 

 

Example:

$ create rl actionprofile info profileid 1 result conform action copytocontrol actionval 0x00000000 actionmask 0xffffffff description lacp

544

IDL series User Guide