
359
offset. 'L3Start' is read-only, containing Layer 3
header start offset.
Nodeprio
low|high|asintree
This specifies the priority of the tree node. Based
on this priority value, the tree node is created in
fast or slow memory.
Example
$ get clfr tree node tname tree1 pid 2 nodeid 3
Output
Tree Name : tree1
Profile Id : 2 Node Id : 3
Exported : true Node Type : Binary
Modification Mask : act offset
Action : eq
Value Type : u32 Offset : 12
Mask : 0x0000000f
Value : 0x0000000f
ValueEnd : NA
Set Base type : NA
Shift Count : NA Multiplier : NA
Description : Node to match the ip address
Output field
Field Description
Tree Name
Name of the classifier tree.
Profile Id
Profile Id. It should be unique within a tree
Node Id
Node Id, should be unique within a profile
Exported
This specifies what fields of an exported node
are modifiable and can be modified while the
profile is part of a classifier tree.
Node Type
This specifies the type of the Classifier node
Modification Mask
This specifies what fields of this nodes can be
modified, if this node is an exported node.
Action
Action tells what is to be done by a node.
Value Type
Value type tells, the type of value which is to be
matched/set. For leaf type nodes this field is not
valid. If ActVal is SetBase and SBaseType is
Compute then this value is used to specify the
value type (U8, U16, U32), which shall be used
to compute the new base offset. This field is not
valid for other values of SBaseType.
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 valuetype is U8 the offset can be odd or
even. If the ValueType is U16, U32 or U64 then
the offset can only be even. This field is not valid
for any other value type.
Mask
Mask, used to select the individual bits to be
match in a packet. If ActVal is SetBase and
SBaseTypeis Compute then this value is used to
Kommentare zu diesen Handbüchern