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 parameter. For setbaclevel action this parameter should

 

contain valid Buffer Admission Control level value of 0 or 1. For

 

pktvlanid, retagvlanid, pktservicevlanid and retagservicevlanid

 

actions this parameter should be filled with VLAN ID value in

 

the range 1 to 4094. For mirror action this parameter should

 

be filled with valid mirror context id.

 

Type: Create Optional

 

Modify Optional

 

Valid values: 0 - 0xffffffff

 

Default value: 0

 

 

actionmask

This field is valid for modifytos action only. Only lower 8-bits are

<actionmask -val>

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

 

 

Example:

$ create filter rule actionmap ruleid 1 orderindex 1 action SetPrio priority 3 actionval 0x00000000 actionmask 0xffffffff

Output:

Verbose Mode On

Entry Created

Rule Id

: 1

Order Index : 1

Action

: SetPrio

Priority

: 3

ActionValue : 0x00000000

Action Mask : 0xffffffff

Verbose Mode Off:

Entry Created

IP DSLAM

381