Specifications

set policy rule Assigning Classification Rules to Policy Profiles
Enterasys Matrix N Standalone (NSA) Series Configuration Guide 8-21
Defaults
•Ifmaskisnotspecified,alldatabitswillbeconsideredrelevant.
•Ifportstringisnotspecified,rulewillbescopedtoallports.
Mode
Switchcommand,ReadWrite.
Usage
Classificationrulesareautomaticallyenabledwhencreated.
Examples
ThisexampleshowshowtouseTable 83tocreate(andenable)aclassificationruletoassociate
withpolicynumber1.ThisrulewillfilterEthernetIIType1526framestoVLAN7:
Matrix(rw)->set policy rule 1 ether 1526 vlan 7
ThisexampleshowshowtouseTable 83tocreate(andenable)aclassificationruletoassociate
withpolicyprofilenumber5.ThisrulespecifiesthatUDPframesfromsourceport45willbe
filteredtoVLAN7:
Matrix(rw)->set policy rule 5 udpportsourceip 45 vlan 7
Thisexampleshowshowtoconfigureclassificationrule2asanadministrativeprofileandassign
ittoingressportfe.1.1:
Matrix(rw)->set policy rule admin-profile port fe.1.1 port-string fe.1.1 admin-
pid 2
Matrix(rw)->set policy rule admin-profile ether 1526 admin-pid 2
Table 83providesthesetpolicyruledatavaluesthatcanbeenteredforaparticularclassification
type,andthemaskbitsthatcanbeenteredforeachclassifierassociatedwiththatparameter.
portstringportstring (Optional)Ifadminprofileisspecified,appliesthisadministratively
assignedruletoaspecificingress
port.
Note: Enterasys Matrix Series devices with firmware versions 3.00.xx and
higher also support this alternative command to administratively assign a profile
rule to a port:
set policy port port-string admin-id
storagetypenon
volatile|volatile
Addsorremovesthisentryfromnonvolatilestora ge.
vlanvlan ClassifiestoaVLANID.
drop|forward Specifiesthatpacketswithinthisclassificationwillbedroppedor
forwarded.
adminpidadminpid Ifadminprofileisspecified,associatesthisrulewithapolicyprofile
indexID.
Validvaluesare1‐1023.
coscos SpecifiesthatthisrulewillclassifytoaClassofServiceID.Validvalues
are0‐255,andcanbeconfiguredusingthesetcossettingscommand
asdescribedinsetcossettingsonpage 846.Avalueof‐1indicates
that
noCoSforwardingbehaviormodificationisdesired.