Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 2 Congestion Management Configuration
Commands
3Com Corporation
2-27
[3Com -behavior-database] gts cir 38400 cbs 76800 ebs 0 queue-length 100
2.5.10 if-match
Syntax
if-match [ not ] match-criteria
undo if-match [ not ] match-criteria
View
Class view
Parameter
not: Not match the class.
match-criteria: Class match rules. The value can include acl, any, classifier,
destination-mac, inbound-interface, ip-precedence, dscp, fr-de, atm-clp,
dot1p-cos, protocol, source-mac, mpls-exp, and rtp.
Note:
When packets of a certain class do not meet the packet type restrictions of a rule, the
rule is senseless and regarded as ineffective, and the system will neglect it when
performing process by class. Restrictions of rules on packet types are as follows:
z destination-mac, source-mac, and dot1p-cos are effective only for Ethernet packets.
z mpls-exp is effective in the inbound direction only for MPLS packets.
z mpls-exp (in the outbound direction), ip-precedence, dscp, rtp, and acl are effective
for IP and MPLS packets.
z fr-de, atm-clp, protocol, inbound-interface, any, and classifier are effective for all
packets.
Description
Use the if-match command to define the match rule of a class.
Use the undo if-match command to delete the match rule of a class.
Related command: traffic classifier.
Example
# Define if-match destination-mac rule and if-match inbound-interface rule on ATM
PVC.
[3Com ]display qos policy interface Atm 1/0/0 pvc 0/99