Enterasys Networks D-Series User Manual
Page 329
clear policy rule
Enterasys D-Series CLI Reference
11-13
Parameters
The following parameters apply to deleting an admin rule.
The following parameters apply to deleting a classification rule.
Defaults
When applicable, data and mask must be specified for individual rules to be cleared.
Mode
Switch command, read‐write.
Examples
This example shows how to delete Ethernet II Type 1526 classification rule entries associated with
policy profile 1 from all ports
D2(su)->clear policy rule 1 ether 1526
This example shows how to remove a rule from policy profile 5 that will forward UDP frames
from source port 45:
D2(su)->clear policy rule 5 udpportsource 45 forward
admin‐profile
Specifies that the rule to be deleted is an admin rule for policy ID 0.
vlantag data
Deletes the rule based on VLAN tag specified by data. Value of data can
range from 1 to 4094 or 0xFFF.
mask mask
(Optional) Specifies the number of significant bits to match, dependent
on the data value entered. Value of mask can range from 1 to 12.
for valid values for each classification type and data
value.
profile‐index
Specifies a policy profile for which to delete classification rules. Valid
profile‐index values are 1 ‐ 255.
all‐pid‐entries
Deletes all entries associated with the specified policy profile.
ether
Deletes associated Ethernet II classification rule.
icmptype
Deletes associated ICMP classification rule.
ipproto
Deletes associated IP protocol classification rule.
ipdestsocket
Deletes associated IP destination classification rule.
ipsourcesocket
Deletes associated IP source classification rule.
iptos
Deletes associated IP Type of Service classification rule.
macdest
Deletes associated MAC destination address classification rule.
macsource
Deletes associated MAC source address classification rule.
tcpdestport
Deletes associated TCP destination port classification rule.
tcpsourceport
Deletes associated TCP source port classification rule.
udpdestport
Deletes associated UDP destination port classification rule.
udpsourceport
Deletes associated UDP source port classification rule.