EasyManua.ls Logo

Enterasys D-Series

Enterasys D-Series
540 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
11-12 Policy Classification Configuration
Examples
ThisexampleshowshowtouseTable 1130toassignaruletopolicyprofile3thatwillfilter
EthernetIIType1526framestoVLAN7:
D2(su)->set policy rule 3 ether 1526 vlan 7
ThisexampleshowshowtouseTable 1130toassignaruletopolicyprofile5thatwillforward
UDPframesfromsourceport45:
D2(su)->set policy rule 5 udpportsource 45 forward
ThisexampleshowshowtouseTable 1130toassignaruletopolicyprofile1thatwilldropIP
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
Thiscommandhastwoformsof syntax—onetoclearanadminrule(forpolicyID0),andtheother
toclearaclassificationrule.
clear policy rule admin-profile {vlantag data [mask mask]
clear policy rule profile-index {all-pid-entries | {ether | icmptype | ipproto|
ipdestsocket| ipsourcesocket | iptos | macdest | macsource | tcpdestport |
tcpsourceport | udpdestport | udpsourceport}}
icmptype ICMP Type: a.b 1- 16
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 - 252 or 0 - 0xFC
1- 8
Destination or Source MAC:
macdest
macsource
MAC Address: 00-00-00-00-00-
00
1 - 48
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
Table 11-30 Valid Values for Policy Classification Rules (Continued)
Classification Rule Parameter data value mask bits

Table of Contents

Related product manuals