Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 2 Congestion Management Configuration
Commands
3Com Corporation
2-29
Use the undo if-match { destination-mac | source-mac } command to delete the
match rule of destination or source MAC address.
The match rules of the destination MAC address are only meaningful for the policies of
the outbound direction and the interface of Ethernet type.
The match rules of the source MAC address are only meaningful for the policies of the
input direction and the interface of Ethernet type.
Related command: traffic classifier.
Example
# Define that the match rule of class2 is to match the packets with the destination MAC
address 0050-ba27-bed3.
[3Com ] traffic classifier class1
[3Com -classifier-class1] if-match destination-mac 0050-ba27-bed3
# Define the match rule of class2 as matching the packets with source MAC address
0050-ba27-bed2.
[3Com ] traffic classifier class2
[3Com -classifier-class2] if-match source-mac 0050-ba27-bed2
2.5.12 if-match acl
Syntax
if-match [ not ] acl access-list-number
undo if-match [ not ] acl access-list-number
View
Class view
Parameter
access-list-number: ACL number.
not: Not matching the class.
Description
Use the if-match acl command to define ACL match rule.
Use the undo if-match acl command to delete ACL match rule.
Related command: traffic classifier.
Example
# Define a class to match ACL3101.
[3Com ] traffic classifier class1
[3Com -classifier-class1] if-match acl 3101