3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
1789
# Define the match rule of class1 as matching the packets with the DSCP value as
1 or 6.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match ip-precedence 1 6
# Define the packet whose class match protocol is IP.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match protocol ip
# Define the match rule of class1 as matching the packets whose RTP port number
is the even UDP port number between 16384 and 32767.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match rtp start-port 16384 end-port 3
2767
# Define the class to match qos-local-id 3.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match qos-local-id 3
# Change the ACL of class 1 used for traffic classification from ACL 2008 to ACL
2009.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] undo if-match acl 2008 update 2009
traffic classifier
Syntax traffic classifier tcl-name [ operator { and | or }]
undo traffic classifier tcl-name
View System View
Parameters and: Specifies the relation between the rules in the class as logic AND. That is, the
packet that matches all the rules belongs to this class.
or: Specifies the relation between the rules in the class as logic OR. That is, the
packet that matches any one of the rules belongs to this class.
tcl-name: Class name, a string of characters in the range 1 to 31.
Description Use the
traffic classifier command to define a class and enter the class view.
Use the
undo traffic classifier command to delete a class.