118
Extension to Range of Classifier fields for x900 Switches
Release Note
Software Version 2.8.1
C613-10477-00 REV B
create classifier
Syntax
CREate CLASSifier=
rule-id
[
other-options
]
[MACSMask=
macadd
][MACDMask=
macadd
]
[TCPFlags={{Urg|Ack|Rst|Syn|Fin}[,...]|ANY}]
[ICmptype={Any|ECHORply|Unreachable|Quench|Redirect|
ECHO|ADvertisement|Solicitation|TImeexceed|Parameter|
TSTAMP|TSTAMPRply|INFOREQ|INFOREP|ADDRREQ|ADDRREP|
NAMEREq|NAMERPly|
icmp-type
}]
[ICMPCode={Any|FIlter|FRAGMent|FRAGReassm|HOSTComm|
HOSTIsolated|HOSTPrec|HOSTREdirect|HOSTRTos|HOSTTos|
HOSTUNKnown|HOSTUNReach|NETComm|NETREdirect|NETRTos|
NETTos|NETUNKnown|NETUNReach|NOptr|POrtunreach|
PREcedent|PROtunreach|PTrproblem|Sourceroute|Ttl|
icmp-code
}]
[IGmptype={ANY|QUery|V1Report|DVmrp|PIMv1|CTRace|
V2Report|V2Leave|MCTRACEResponse|MCTRACE|V3Report|
MRAdvert|MRSolicit|MRTermination|
igmp-type
}]
[EIPBYTE01=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE02=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE03=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE04=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE05=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE06=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE07=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE08=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE09=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE10=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE11=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE12=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE13=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE14=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE15=
byteoffset,bytevalue
[,
bytemask
]]
[EIPBYTE16=
byteoffset,bytevalue
[,
bytemask
]]
where:
■
byteoffset
is a decimal number in the range 0 to 65
■
bytevalue
is a 2-digit hexadecimal number.
■
bytemask
is a 2-digit hexadecimal number.
■
icmp-type
is a decimal number in the range 0 to 255.
■
icmp-code
is a decimal number in the range 0 to 255.
■
igmp-type
is a 2-digit hexadecimal number.
Description
This command creates a packet matching rule that identifies a particular data
flow.
The
macdmask
and
macsmask
parameters specify masks to be used on the
macdaddr
and
macsaddr
parameters respectively. When a bit is set to 1 in the
mask, the value of the bit at the same position in the byte value of the MAC
address is used to determine a match. If a bit in either of the
macdmask
or
macsmask
parameters
is
0
, the corresponding bit in the
macdaddr
or
macsaddr
parameters is ignored. The default is
ff-ff-ff-ff-ff-ff
, which means the classifier
matches against all bits in the MAC address.