Clear Policy Rule - Enterasys D-Series Cli Reference Manual

Enterasys networks ethernet switch owner's manual
Table of Contents

Advertisement

clear policy rule

Table 11-30 Valid Values for Policy Classification Rules (Continued)
Classification Rule Parameter
icmptype
ipproto
Destination or Source IP Address:
ipdestsocket
ipsourcesocket
iptos
Destination or Source MAC:
macdest
macsource
Destination or Source TCP port:
tcpdestport
tcpsourceport
Destination or Source UDP port:
udpsourceport
udpdestport
vlantag
Examples
This example shows how to use Table
Ethernet II Type 1526 frames to VLAN 7:
D2(su)->set policy rule 3 ether 1526 vlan 7
This example shows how to use Table
UDP frames from source port 45:
D2(su)->set policy rule 5 udpportsource 45 forward
This example shows how to use Table
source traffic from IP address 1.2.3.4. If mask 32 is not specified as shown, a default mask of 48 bits 
(IP address + port) would be applied:
D2(su)->set policy rule 1 ipsourcesocket 1.2.3.4 mask 32 drop
clear policy rule
Use this command to delete policy classification rule entries.
Syntax
This command has two forms of syntax—one to clear an admin rule (for policy ID 0), and the other 
to clear a classification rule.
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}}
11-12 Policy Classification Configuration
data value
ICMP Type: a.b
Protocol field in IP packet:
0 - 255 or 0 - 0xFF
IP Address in dotted decimal
format: 000.000.000.000 and
(Optional) post-fixed port: 0 -
65535
Type of Service field in IP packet:
0 - 252 or 0 - 0xFC
MAC Address: 00-00-00-00-00-
00
TCP Port Number:
0 - 65535 or 0 - 0xFFFF
UDP Port Number:
0 - 65535 or 0 - 0xFFFF
VLAN tag: 1- 4094
11‐30 to assign a rule to policy profile 3 that will filter 
11‐30 to assign a rule to policy profile 5 that will forward 
11‐30 to assign a rule to policy profile 1 that will drop IP 
mask bits
1- 16
1- 8
1 - 48
1- 8
1 - 48
1 - 16
1 - 16
1 -12

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents