R2511-HP MSR Router Series ACL and QoS Command Reference(V5)

44
# Define a match criterion for class class1 to match the packets with their DSCP values being 1, 6 or 9.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match dscp 1 6 9
# Define a match criterion for class class1 to match the FR packets with DE flags.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match fr-de
# Define a match criterion for class class1 to match the packets received on interface Ethernet 1/1.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match inbound-interface ethernet 1/1
# Define a match criterion for class class1 to match the packets with their IP precedence values being 1
or 6.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match ip-precedence 1 6
# Define a match criterion for class class1 to match IP packets.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match protocol ip
# Define a match criterion for class class1 to match the RTP packets with an even UDP destination port
number in the range of 16384 and 32767.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match rtp start-port 16384 end-port 32767
# Define a match criterion for class class1 to match the packets of customer network VLAN 1, 6, or 9.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match customer-vlan-id 1 6 9
# Define a match criterion for class class1 to match packets with their local QoS IDs being 3.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match qos-local-id 3
# Change the match criterion of class class1 from ACL 2008 to ACL 2009.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match acl 2008
[Sysname-classifier-class1] undo if-match acl 2008 update acl 2009
# Define a match criterion for class class1 to match packets with their protocol group IDs being 2.
<Sysname> system-view
[Sysname] traffic classifier class1
[Sysname-classifier-class1] if-match protocol-group 2
Related commands
traffic classifier