Clear policy all-rules, Clear policy all-rules -13 – Enterasys Networks Enterasys D2 D2G124-12P User Manual
Page 299
clear policy all-rules
D-Series CLI Reference 9-13
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
clear policy all-rules
Use this command to remove all policy classification rules.
Syntax
clear policy all-rules
Parameters
None.
Defaults
None.
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.