Table 1-2 Define/delete the rule matching all packets
Operation Command
Define the rule matching all packets if-match [logic-not ] any
Delete the rule matching all packets undo if-match [logic- not ] any
2) Define the class matching rule
Perform the following configurations in class view.
Table 1-3 Define/delete the class matching rule
Operation Command
Define the class matching rule if-match [ logic-not ] class class-name
Delete the class matching rule undo if-match [ logic-not ] class class-name
Note:
This command cannot be used circularly. For example, qos class A defines the rules to match qos class
B, while qos class B cannot define a rule matching qos class A directly or indirectly.
3) Define the ACL matching rule
Perform the following configurations in class view.
Table 1-4 Define/delete ACL matching rule
Operation Command
Define ACL matching rule if-match [ logic-not ] acl acl-number
Delete ACL matching rule undo if-match [ logic-not ] acl acl-number
4) Define the MAC address matching rule
Perform the following configurations in class view.
Table 1-5 Define/delete the matching rule of a MAC address
Operation Command
Define MAC address matching rule if-match [ logic-not ] { destination-mac | source-mac } mac-address
Delete MAC address matching rule undo if-match [logic-not ] { destination-mac | source-mac }
mac-address
Note:
The matching rules of the destination MAC address are only meaningful for the policies in outbound
direction and the interface of Ethernet type.
3Com Router Configuration Guide Addendum for V1.20
5