EasyManua.ls Logo

Enterasys D2 D2G124-12P

Enterasys D2 D2G124-12P
496 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
clear policy rule
9-12 Policy Classification Configuration
Examples
ThisexampleshowshowtouseTable 935toassignaruletopolicyprofile3thatwillfilter
EthernetIIType1526framestoVLAN7:
D2(su)->set policy rule 3 ether 1526 vlan 7
ThisexampleshowshowtouseTable 935toassignaruletopolicyprofile5thatwillforward
UDPframesfromsourceport45:
D2(su)->set policy rule 5 udpportsource 45 forward
ThisexampleshowshowtouseTable 935toassignaruletopolicyprofile1thatwilldropIP
sourcetrafficfromIPaddress1.2.3.4.Ifmask32isnotspecifiedasshown,adefaultmaskof48bits
(IPaddress+port)wouldbeapplied:
D2(su)->set policy rule 1 ipsourcesocket 1.2.3.4 mask 32 drop
clear policy rule
Usethiscommandtodeletepolicyclassificationruleentries.
Syntax
Thiscommandhastwoformsofsyntax—onetoclearanadminrule(forpolicyID0),andthe
othertoclearaclassificationrule.
clear policy rule admin-profile {vlantag data [mask mask]
clear policy rule profile-index {all-pid-entries | {ether | ipproto|
ipdestsocket| ipsourcesocket | iptos | macdest | macsource | tcpdestport |
tcpsourceport | udpdestport | udpsourceport}}
Parameters
Thefollowingparametersapplytodeletinganadminrule.
Thefollowingparametersapplytodeletingaclassificationrule.
Destination or Source UDP port:
udpsourceport
udpdestport
UDP Port Number:
0 - 65535 or 0 - 0xFFFF
1 - 16
vlantag VLAN tag: 1- 4094 1 -12
Table 9-35 Valid Values for Policy Classification Rules (Continued)
Classification Rule Parameter data value mask bits
adminprofile SpecifiesthattheruletobedeletedisanadminruleforpolicyID0.
vlantagdata DeletestherulebasedonVLANtagspecifiedbydata.Valueofdatacan
rangefrom1to4094or0xFFF.
maskmask (Optional)Specifiesthenumberofsignificantbitstomatch,dependent
on
thedatavalueentered.Valueofmaskcanrangefrom1to12.
RefertoTable 935forvalidvaluesforeachclassificationtypeanddata
value.

Table of Contents

Related product manuals