Specifications
set policy rule
8-12 Policy Classification Configuration
Defaults
None.
Mode
Switchcommand,read‐write.
Usage
Table 8‐3providesthesetpolicyruledatavaluesthatcanbeenteredforaparticularclassification
type,andthemaskbitsthatcanbeenteredforeachclassifierassociatedwiththatparameter.
tcpsourceport ClassifiesbasedonTCPsourceport.
udpdestport ClassifiesbasedonUDPdestinationport.
udpsourceport ClassifiesbasedonUDP
sourceport.
data Specifiesthecodeforapredefinedclassifier.Thisvalueisdependenton
theclassificationtypeentered.RefertoTable 8‐3forvalidvaluesforeach
classificationtype.
maskmask (Optional)Specifiesthenumberofsignificantbitstomatch,dependenton
thedatavalueentered.RefertoTable 8‐3forvalid
valuesforeach
classificationtypeanddatavalue.
vlanvlan ClassifiestoaVLANID.
coscos SpecifiesthatthisrulewillclassifytoaClass‐of‐ServiceID.Validvalues
are0‐4095.Avalueof‐1indicatesthatnoCoSforwardingbehavior
modificationisdesired.
drop|forward Specifiesthat
packetswithinthisclassificationwillbedroppedor
forwarded.
Table 8-3 Valid Values for Policy Classification Rules
Classification Rule Parameter data value mask bits
ipproto Protocol field in IP packet:
0 - 255 or 0 - 0xFF
1- 8
Destination or Source IP Address:
ipdestsocket
ipsourcesocket
IP Address in dotted decimal
format: 000.000.000.000 and
(Optional) post-fixed port: 0 -
65535
1 - 48
iptos Type of Service field in IP packet:
0 - 255 or 0 - 0xFF
1- 8
Destination or Source TCP port:
tcpdestport
tcpsourceport
TCP Port Number:
0 - 65535 or 0 - 0xFFFF
1 - 16
Destination or Source UDP port:
udpsourceport
udpdestport
UDP Port Number:
0 - 65535 or 0 - 0xFFFF
1 - 16
vlantag VLAN tag: 1- 4094 1 -12