3Com 10014302 Network Router User Manual


 
The match rule for source MAC address is effective only for input policies and
Ethernet interfaces.
For the related command, see qos class.
Example
Define the match rule of class1 as follows: match the packets with the destination
MAC address as 0050-ba27-bed3.
[3Com] qos class class1
[3Com-qosclass-class1] if-match destination-mac 00-50-ba-27-be-d3
Define the match rule of class2 as follows: match the packets with source MAC
address as 0050-ba27-bed2.
[3Com] qos class class2
[3Com-qosclass-class2] if-match source-mac 00-50-ba-27-be-d2
1.18 if-match protocol
Syntax
if-match [ logic-not ] protocol ip
undo if-match [ logic-not ] protocol ip
View
None
Parameter
Class view
Description
Using the if-match protocol command, you can define IP match rule. Using the
undo if-match protocol command, you can delete IP match rule.
For the related command, see qos class.
Example
Define the packets whose class match protocol is IP.
[3Com] qos class class1
[3Com-qosclass-class1] if-match protocol ip
3Com Router Command Reference Guide Addendum for V1.2
20