ETH COMMANDS
366
DMS-CTC-20101206-0049 v1.0.Copyright 2011Technicolor. All rights reserved.
This document contains Technicolor proprietary and confidential information. Passing on and copying of this document, use,
extraction and communication of its contents, is not permitted without written authorization from Technicolor.
eth filter operand config
Set the operand to a certain type (will reset content first).
SYNTAX:
eth filter operand config
operand = <{}>
type = <{CheckDAClass|CheckFrameClass|
CheckVLANPriority|CheckVID|CheckIPProto|
CheckSize|Match|Modify|CheckCheckSum|
UpdateCheckSum}>
operator = <{Equal|Less|LessEqual|InSet}>
protocollevel = <{EthernetFrame|Protocol|
EthernetPayload|ULPHeader|ULPPayload}>
length = <number>
mask = <string>
value = <string>
daclass = <{Unicast|Multicast|Broadcast}>
[frameclass = <{Eth2|SNAPEType|SNAP8021H|
SNAPOther|LLCNLPID|LLCOther}>]
[ipprotocol = <number{0-254}>]
action = <{Delete|Insert|Modify}>
offset = <number>
[priority = <number{0-7}>]
size = <number>
[vid = <number{1-4095}>]
protocol = <{IP|UpperLayer}>
where:
operand
The name of an operand.
REQUIRED
type
The type to set.
REQUIRED
operator
The compare operator.
REQUIRED
protocollevel
The protocol level from where to start offset/size
calculations.
REQUIRED
length
The length of the compare value/mask combination in
bytes..
REQUIRED
mask
The mask to be used on the value.
REQUIRED
value
The value.
REQUIRED
daclass
The destination address class.
REQUIRED
frameclass
The Ethernet frame class to filter on.
OPTIONAL
ipprotocol
The IP protocol to filter on.
OPTIONAL
action
The action to undertake with matching filter..
REQUIRED
offset
At which offset from protocol level in bytes the Match/
Modify action should start (in bytes).
REQUIRED