5.13.13.2 Modify clfr tree node

Description:

Use this command to get.

Command Syntax:

modify clfr tree node tname <tname-val>pid <pid-val>nodeid <nodeid-val> [ descr <descry-val> ] [ offset <offset-val> ] [ mask <mask-val> ] [ value <value-val> ] [act DropFwdFwdToCtlCpToCtlEqGtLtInRange TerCmp SetPrioMatchInListAccDenySetBaseCount Retagprio MatchIngenlistGoToNextRule allow] [valend valend ] [sbasetype Abs Add Compute] [ shiftcnt <shiftcnt-val> ] [ mplr <mplr-val> ] [valtype U8U16U32U64AtmIfAal5VcEoaIfEthIfDirPrioLenvlanid][ sbvarindex l2startl3start ] [nodeprio low]

Parameter:

 

 

 

Name

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

tname tname

Name of the classifier tree

 

 

 

 

 

Type:

Modify

--

Mandatory

 

 

 

 

 

 

Get

--

Optional

 

 

 

 

 

Default value: -----

 

 

 

 

 

 

 

 

 

 

 

pid pid

Profile Id. It should be unique within a tree.

 

 

 

 

 

Type:

Modify

--

Mandatory

 

 

 

 

 

 

Get

--

Optional

 

 

 

 

 

Valid values: 1 - 0xffffffff

 

 

 

 

 

Default value: -----

 

 

 

 

 

 

 

 

 

 

 

nodeid nodeid

Node Id, should be unique within a profile

 

 

 

 

 

Type:

Modify

--

Mandatory

 

 

 

 

 

 

Get

--

Optional

 

 

 

 

 

Valid values: 1 - 0xffffffff

 

 

 

 

 

Default value: -----

 

 

 

 

 

 

 

 

 

 

 

descr descr

Description of the tree node. If the ActVal is FwdToCtl or CpToCtl

 

 

 

 

 

then this field is mandatory and it can be used by the applications to

 

 

 

 

 

receive the packets coming from control plane because of this node.

 

 

 

 

 

Type:

Modify

--

Optional

 

 

 

 

 

Default value: -----

 

 

 

 

 

 

 

 

 

 

 

offset offset

OffSet, in the packet with respect to the base offset, from where we

 

 

 

 

 

have to take the value, which is to be matched. If ActVal is SetBase

 

 

 

 

 

and SBaseType is Compute then this value is used to specify the

 

 

 

 

 

offset with respect to the base offset, which shall be used to specify

 

 

 

 

 

the field of the packet used to compute the new base offset. If the

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

362

 

 

 

 

 

IDL series User Guide