Traffic Classifier - HP HSR6800 Command Reference Manual

Acl and qos
Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

<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
Related commands

traffic classifier

traffic classifier
Use traffic classifier to create a class and enter class view.
Use undo traffic classifier to delete a class.
Syntax
traffic classifier classifier-name [ operator { and | or } ]
undo traffic classifier classifier-name
Views
System view
Default command level
2: System level
Parameters
classifier-name: Specifies a class name, a string of 1 to 31 characters.
operator: Sets the operator to logic AND or OR for the class.
and: Specifies the logic AND operator. The class matches the packets that match all its criteria.
or: Specifies the logic OR operator. The class matches the packets that match any of its criteria.
Usage guidelines
If no match operator is specified, the default AND operator applies.
The classifier-name argument cannot take the name of any system-defined class:
default-class, ef, af1, af2, af3, af4, ip-prec0, ip-prec1, ip-prec2, ip-prec3, ip-prec4, ip-prec5, ip-prec6,
ip-prec7, mpls-exp0, mpls-exp1, mpls-exp2, mpls-exp3, mpls-exp4, mpls-exp5, mpls-exp6,
mpls-exp7.
41

Advertisement

Table of Contents
loading

Table of Contents