HP 6125G HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 46
traffic classifier
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 46 highlights
# Define a match criterion for class class1 to match the packets with their IP precedence values being 1 or 6. system-view [Sysname] traffic classifier class1 operator or [Sysname-classifier-class1] if-match ip-precedence 1 [Sysname-classifier-class1] if-match ip-precedence 6 # Define a match criterion for class class1 to match the packets of a customer network VLAN of 1, 6, or 9. system-view [Sysname] traffic classifier class1 operator or [Sysname-classifier-class1] if-match customer-vlan-id 1 6 9 # Define a match criterion for class class1 to match packets with the local QoS ID 3. system-view [Sysname] traffic classifier class1 [Sysname-classifier-class1] if-match qos-local-id 3 traffic classifier Syntax traffic classifier tcl-name [ operator { and | or } ] View undo traffic classifier tcl-name System view Default level 2: System level Parameters tcl-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. Description Use traffic classifier to create a class and enter class view. Use undo traffic classifier to delete a class. If no match operator is specified, the default AND operator applies. Related commands: qos policy, qos apply policy, and classifier behavior. Examples # Create a class class1. system-view [Sysname] traffic classifier class1 [Sysname-classifier-class1] 41