clear policy all-rules
D-Series CLI Reference 9-13
Defaults
Whenapplicable,dataandmaskmustbespecifiedforindividualrulestobecleared.
Mode
Switchcommand,readwrite.
Examples
ThisexampleshowshowtodeleteEthernetIIType1526classificationruleentriesassociatedwith
policyprofile1fromallports
D2(su)->clear policy rule 1 ether 1526
Thisexampleshowshowtoremovearulefrompolicyprofile5thatwillforwardUDPframes
fromsourceport45:
D2(su)->clear policy rule 5 udpportsource 45 forward
clear policy all-rules
Usethiscommandtoremoveallpolicyclassificationrules.
Syntax
clear policy all-rules
Parameters
None.
Defaults
None.
profileindexSpecifiesapolicyprofileforwhichtodeleteclassificationrules.Vali d
profileindexvaluesare1‐255.
allpidentries Deletesallentriesassociatedwiththespecifiedpolicyprofile.
ether DeletesassociatedEthernetIIclassificationrule.
icmptype DeletesassociatedICMPclassificationrule.
ipproto DeletesassociatedIPprotocolclassificationrule.
ipdestsocket DeletesassociatedIPdestinationclassificationrule.
ipsourcesocket DeletesassociatedIPsourceclassificationrule.
iptos DeletesassociatedIPTypeofServiceclassificationrule.
macdest DeletesassociatedMACdestinationaddressclassificationrule.
macsourceDeletesassociatedMACsourceaddressclassificationrule.
tcpdestport DeletesassociatedTCPdestinationportclassificationrule.
tcpsourceportDeletesassociatedTCPsourceportclassificationrule.
udpdestportDeletesassociatedUDPdestinationportclassificationrule.
udpsourceportDeletesassociatedUDPsourceportclassificationrule.