HP 6125G HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere
HP 6125G Manual
View all HP 6125G manuals
Add to My Manuals
Save this manual to your list of manuals |
HP 6125G manual content summary:
- HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 1
HP 6125 Blade Switch Series ACL and QoS Command Reference Part number: 5998-3170 Software version: Release 2103 Document version: 6W100-20120907 - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 2
, or use of this material. The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty. HP shall not be liable for technical or editorial errors or - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 3
16 rule (Ethernet frame header ACL view 16 rule (IPv4 advanced ACL view 18 rule (IPv4 basic ACL view 23 rule (IPv6 advanced ACL view 24 rule (IPv6 basic ACL view 28 rule comment 30 rule remark 31 step 32 time-range 33 QoS policy configuration commands 36 Class configuration commands 36 - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 4
(interface view 59 qos apply policy (user-profile view 59 qos apply policy global 60 qos policy 61 qos vlan-policy 61 reset qos policy global 62 reset qos vlan-policy 63 Priority mapping configuration commands 64 Priority mapping table configuration commands 64 display qos map-table 64 - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 5
display qos car name 90 qos car aggregative 91 reset qos car name 92 Burst function configuration commands 94 burst-mode enable 94 Support and other resources 95 Contacting HP 95 Subscription service 95 Related information 95 Documents 95 Websites 95 Conventions 96 Index 98 iii - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 6
ACL configuration commands acl Syntax acl number acl-number [ name acl-name ] [ match-order { auto | config } ] View undo acl { all | name acl-name | number acl-number } System view Default level 2: System level Parameters number acl-number: Specifies the number of an access control list ( - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 7
name } to { dest-acl-number | name dest-acl-name } System view Default level 2: System level Parameters source-acl-number: Specifies an existing source ACL by ACLs • 3000 to 3999 for IPv4 advanced ACLs • 4000 to 4999 for Ethernet frame header ACLs name dest-acl-name: Assigns a unique name to the - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 8
. For more information, see ACL and QoS Configuration Guide. • config-Compares ACL rules in ascending order specified IPv6 ACL or all IPv6 ACLs. By default, no ACL exists. You can assign a name ACLs you have created, use the display acl ipv6 command. Examples # Create IPv6 ACL 2000 and enter its - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 9
copy Syntax View acl ipv6 copy { source-acl6-number | name source-acl6-name } to { dest-acl6-number | name dest-acl6-name } System view Default level 2: System level Parameters source-acl6-number: Specifies an existing source IPv6 ACL by its number: • 2000 to 2999 for IPv6 basic ACLs • 3000 to - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 10
. Description Use acl ipv6 name to enter the view of an IPv6 ACL that has a name. Related commands: acl ipv6. Examples # Enter the view of IPv6 ACL flow. system-view [Sysname] acl ACL view, IPv6 basic/advanced ACL view, Ethernet frame header ACL view Default level 2: System level 5 - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 11
] Any view Default level 1: Monitor for Ethernet frame switch is specified, the command displays matches statistics for ACLs on all member switches. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 12
numbering step is 5. Content of rule 0. There have been five matches for the rule. If the counting keyword is configured for the rule or the hardware-count enable command is enabled for the ACL, the statistic counts both rule matches performed in both software and hardware. Otherwise, the statistics - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 13
{ begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters acl6-number: Specifies an IPv6 ACL by switches. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 14
IRF fabric. If no IRF member switch is specified, the command displays the usage of ACL rules on all member switches. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 15
EFP Counter 512 0 0 512 0% Table 3 Command output Field Interface Type Total Reserved Configured Remaining Usage Description Interface indicated by its type and counting rules for outbound traffic Total number of ACL rules supported Number of reserved ACL rules Number of ACL rules that - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 16
IRF member switch is specified, the command displays application status of incoming and outgoing packet filtering ACLs for VLAN interfaces of the master. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 17
start with an English letter. all: Displays the configuration and status of all existing time ranges. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 18
basic/advanced ACL view, Ethernet frame header ACL view Default level 2: System level Parameters configured with the counting keyword, this command only resets the rule's hardware match counter. By default, ACL rule matches performed in hardware are not counted. The hardware-count enable command - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 19
packet-filter to apply an IPv4 basic, IPv4 advanced, or Ethernet frame header ACL to an interface to filter packets. Use undo packet-filter to restore the default. By default, an interface does not filter packets. Related commands: display packet-filter. Examples # Apply IPv4 ACL 2001 to filter - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 20
default. By default, an interface does not filter IPv6 packets. Related commands all | name acl-name } User view Default level 2: System level Parameters acl Ethernet frame header ACLs all: Clears statistics for all IPv4 and Ethernet frame header ACLs. name acl-name: Specifies an IPv4 or Ethernet - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 21
number | all | name acl6-name } User view Default level 2: System level Parameters acl6-number: Specifies and IPv6 advanced ACLs. Related commands: display acl ipv6. Examples # flow. reset acl ipv6 counter name flow rule (Ethernet frame header ACL view) Syntax rule [ rule-id ] { - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 22
only after you configure the timer range. Description Use rule to create or edit an Ethernet frame header ACL are provided, you delete the specified attributes. By default, an Ethernet frame header ACL does not contain any rule. command. Related commands: acl, display acl, step, and time-range. 17 - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 23
NOTE: The lsap keyword is not supported if the ACL is for QoS traffic classification or packet | precedence | source | source-port | time-range | tos | vpn-instance ] * IPv4 advanced ACL view Default level 2: System level Parameters rule-id: Specifies a rule ID, in the range of 0 to 65534. If no - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 24
af31 (26), af32 (28), af33 (30), af41 (34), af42 (36), af43 (38), cs1 (8), cs2 (16), cs3 (24), cs4 (32), cs5 (40), cs6 (48), cs7 (56), default (0), or ef (46). vpn-instance vpn-instance-name Applies the rule to packets in a VPN instance The vpn-instance-name argument takes a case-sensitive string - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 25
1 to 32 characters. It must start with an English letter. If the time range is not configured, the system creates the rule; however, the rule using the time range can take effect only after you configure the timer range. NOTE: If you provide the precedence or tos keyword in addition to the - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 26
code values are listed in Table 9. Table 9 ICMP message names supported in IPv4 advanced ACL rules ICMP message name echo echo-reply fragmentneed- -request net-redirect net-tos-redirect net-unreachable parameter-problem port-unreachable protocol-unreachable reassembly-timeout source-quench source- - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 27
optional keywords or arguments are provided, you delete the specified attributes. By default, an IPv4 advanced ACL does not contain any rule. Within an ACL rules in an ACL and their rule IDs, use the display acl all command. If an IPv4 advanced ACL is for QoS traffic classification or packet - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 28
fragment | source | time-range | vpn-instance ] * IPv4 basic ACL view Default level 2: System level Parameters rule-id: Specifies a rule ID, in the range is not configured, the system creates the rule; however, the rule using the time range can take effect only after you configure the timer - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 29
in an ACL and their rule IDs, use the display acl all command. Related commands: acl, display acl, step, and time-range. NOTE: • If | routing | source | source-port | time-range ] * IPv6 advanced ACL view Default level 2: System level Parameters rule-id: Specifies a rule ID, in the range of - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 30
38), cs1 (8), cs2 (16), cs3 (24), cs4 (32), cs5 (40), cs6 (48), cs7 (56), default (0), or ef (46). Specifies a flow label value in an IPv6 packet header The flow-label-value argument is If the time range is not configured, the system creates the rule; however, the rule using the time range can - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 31
If the protocol argument takes tcp (6) or udp (17), you can set the parameters shown in Table 11. Table 11 TCP/UDP-specific parameters for IPv6 advanced ACL rules Parameters Function Description source-port operator port1 [ port2 ] Specifies one or more UDP or TCP source ports destination-port - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 32
type and code values are listed in Table 13. Table 13 ICMPv6 message names supported in IPv6 advanced ACL rules ICMPv6 message name echo-reply echo-request err-Header-field arguments are provided, you delete the specified attributes. By default, an IPv6 advanced ACL does not contain any rule. 27 - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 33
rules in an ACL and their rule IDs, use the display acl ipv6 all command. If an IPv6 advanced ACL is for QoS traffic classification or packet filtering: if specified) does not take effect for QoS traffic classification. Related commands: acl ipv6, display ipv6 acl, step, and time-range. Examples - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 34
configured, the system creates the rule; however, the rule using the time range can take effect only after you configure , you delete the specified attributes. By default, an IPv6 basic ACL does not contain IDs, use the display acl ipv6 all command. Related commands: acl ipv6, display ipv6 acl, step, - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 35
basic/advanced ACL view, IPv6 basic/advanced ACL view, Ethernet frame header ACL view Default level 2: System level Parameters rule-id: Specifies ACL to delete the ACL rule comment. By default, an IPv4 ACL rule has no rule comment. Related commands: display acl and display acl ipv6. Examples - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 36
advanced ACL view, IPv6 basic/advanced ACL view, Ethernet frame header ACL view Default level 2: System level Parameters rule-id: Specifies a rule range remark. By default, no rule range remarks are configured. A rule range remark always undo rule rule-id remark command to delete a specific rule - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 37
[Sysname-acl-basic-2000] rule 26 remark Rules for VIP_end # Verify the configuration. [Sysname-acl-basic-2000] display this # acl number 2000 rule 0 /advanced ACL view, IPv6 basic/advanced ACL view, Ethernet frame header ACL view Default level 2: System level Parameters step-value: ACL rule numbering - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 38
to be renumbered 0, 2, 4, 6 and 8. Use undo step to restore the default. The default rule numbering step is 5. After you restore the default numbering step by the undo step command, the rules are renumbered in steps of 5. Related commands: display acl and display acl ipv6. Examples # Set the rule - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 39
Description Use time-range to configure a time range. Use undo time-range to delete a time range or a statement in the time range. By default, no time range exists. :00 mon from 00:00 01/01/2010 to 23:59 12/31/2010 command. The active period of a time range is calculated as follows: 1. Combining all - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 40
[Sysname] time-range t2 from 00:00 1/1/2010 to 23:59 12/31/2010 # Create a compound time range t3, setting it to be active from 08:00 to 12:00 on Saturdays and Sundays of the year 2010. system-view [Sysname] time-range t3 08:00 to 12:00 off-day from 00:00 1/1/2010 to 23:59 12/31/2010 # - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 41
Any view Default level 1: Monitor level Parameters user-defined: Displays user-defined classes. tcl-name: Class name, a string of 1 to 31 characters. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 42
14 Command match match-criteria View undo if-match match-criteria Class view Default level 2: System level Parameters match-criteria: Specifies a match , 2000 to 3999 for an IPv6 ACL, and 4000 to 4999 for an Ethernet frame header ACL. The acl-name argument is a case-insensitive string of 1 - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 43
1 to 3999 on the HP Blade 6125 switches. Matches a source MAC service-dot1p 8021p-list • source-mac mac-address To create multiple if-match clauses for these match criteria or specify multiple values for the list arguments, configure the operator of the class as OR and execute the if-match command - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 44
a criterion to match customer network VLAN IDs or service provider network VLAN IDs • You can configure multiple VLAN ID match criteria for a class. The defined VLAN IDs are automatically arranged in ascending order. • You can configure multiple VLAN IDs in one command line. If the same VLAN ID is - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 45
classifier class1 [Sysname-classifier-class1] if-match customer-dot1p 3 # Define a match criterion for class class1 to match the packets with their service provider network 802.1p priority values being 5. system-view [Sysname] traffic classifier class1 [Sysname-classifier-class1] if-match - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 46
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 - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 47
Traffic behavior configuration commands accounting Syntax accounting { byte | packet } View undo accounting Traffic behavior view Default level 2: System level Parameters byte: Counts traffic in bytes. packets: Counts traffic in packets. Description Use accounting to configure the traffic - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 48
, the CBS is 62.5 × committed-information-rate by default and must be in the range of 512 to 16000000. configure the car command multiple times in a traffic behavior, the last configuration takes effect. Related commands: qos policy, traffic behavior, and classifier behavior. Examples # Configure - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 49
. If no traffic behavior is specified, this command displays information about all the user-defined behaviors. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 50
customer VLAN ID or service VLAN ID. For more information about these precedence types, see "Traffic behavior configuration commands." Class-based accounting Default level 2: System level Parameters deny: Drops packets. permit: Permits packet to pass through. Description Use filter to configure - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 51
| next-hop } Traffic behavior view Default level 2: System level Parameters cpu: Redirects add1. If redirecting traffic to ipv6-add1 fails, the switch redirects the traffic to ipv6-add2. If the specified outgoing interface. Description Use redirect to configure a traffic redirecting action in the - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 52
behavior view Default level 2: System level Parameters drop-precedence-value: Drop precedence to be marked for packets. The value range is 0 to 2. The switch preferentially drops packets with the highest drop precedence. Description Use remark drop-precedence to configure a drop precedence - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 53
delete the action. Related commands: qos policy, traffic behavior, and classifier behavior. Examples # Configure traffic behavior database to to 63 or any keyword in Table 17. Table 17 DSCP keywords and values Keyword default af11 af12 af13 af21 af22 af23 af31 af32 af33 af41 af42 af43 cs1 cs2 cs3 - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 54
view Default level 2: System level Parameters ip-precedence-value: IP precedence value to be marked for packets, which ranges from 0 to 7. Description Use remark ip-precedence to configure an IP precedence marking action. Use undo remark ip-precedence to delete the action. Related commands: qos - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 55
local-id Traffic behavior view Default level 2: System level Parameters local-id-value: Local QoS ID to be marked for packets, which ranges from 1 to 4095. The local QoS ID ranges from 1 to 3999 on the HP Blade 6125 switches. Description Use remark qos-local-id to configure the action of setting - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 56
traffic behavior named behavior1. system-view [Sysname] traffic behavior behavior1 [Sysname-behavior-behavior1] QoS policy configuration and application commands classifier behavior Syntax classifier tcl-name behavior behavior-name [ mode dot1q-tag-manipulation ] View undo classifier - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 57
see Layer 2-LAN Switching Configuration Guide. Description Use classifier Default level 1: Monitor level Parameters user-defined: Displays user-defined QoS policies. policy-name: QoS policy name, a string of 1 to 31 characters. If no policy is specified, this command displays configuration - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 58
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 59
View Any view Default level 1: Monitor level Parameters inbound: Displays information about the in the IRF fabric. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 60
. In an IRF fabric: • If the display command is executed without any member switch specified, "(Failed)" indicates that the class-behavior association { begin | exclude | include } regular-expression ] Any view Default level 1: Monitor level Parameters interface-type interface-number: Specifies an - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 61
policy applied in the outbound direction of the specified interface. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 62
-expression ] Any view Default level 1: Monitor level command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide command displays both inbound and outbound VLAN QoS policies. If no member switch is specified, this command - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 63
Policy test Vlan 200: inbound Vlan 300: outbound Table 21 Command output Field Policy Vlan inbound outbound Description Name of the customer-dot1p 3 Behavior: 3 Marking: Remark local precedence 2 Table 22 Command output Field Vlan Description ID of the VLAN where the QoS policy is applied. - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 64
and content of a class. If the switch has failed to apply the class-behavior specify the slot keyword in the display command, "(Failed)" indicates that the class-behavior outbound } Layer 2 Ethernet interface view Default level 2: System level qos apply policy (user-profile view) Syntax - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 65
policy, applied to it cannot be configured or removed. The QoS policy applied to a user profile takes effect when the user-profile is activated and the users are online. Only the remark, car, and filter actions are supported in the QoS policies applied in user profile view. A null policy cannot - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 66
qos policy policy-name View undo qos policy policy-name System view Default level 2: System level Parameters policy-name: Policy name, a string a certain object, you must first remove it from the object. Related commands: classifier behavior, qos apply policy, qos apply policy global, and qos - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 67
test vlan 200 300 400 500 inbound reset qos policy global Syntax View reset qos policy global [ inbound | outbound ] User view Default level 1: Monitor level Parameters inbound: Specifies the inbound direction. outbound: Specifies the outbound direction. Description Use reset qos policy - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 68
reset qos vlan-policy Syntax View reset qos vlan-policy [ vlan vlan-id ] [ inbound | outbound ] User view Default level 1: Monitor level Parameters vlan-id: VLAN ID, which ranges from 1 to 4094. inbound: Clears the statistics of the QoS policy applied in the inbound - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 69
-to-drop mapping table. dscp-dscp: DSCP-to-DSCP mapping table. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 70
-list | all } Priority mapping table view Default level 2: System level Parameters import-value-list: List of input values. export-value: Output value. all: Deletes all the mappings in the priority mapping table. Description Use import to configure a mapping from one or multiple input values - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 71
dot1p-dp | dot1p-lp | dscp-dot1p | dscp-dp | dscp-dscp } System view Default level 2: System level Parameters dot1p-dp: 802.1p-to-drop mapping table. dot1p-lp: 802 -maptbl-dot1p-dp] Port priority configuration commands qos priority Syntax qos priority priority-value View undo qos - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 72
Any view Default level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 73
on an interface. If no interface is specified, the command displays priority trust mode and port priority information for all configure an interface to use a particular priority field carried in packets for priority mapping. Use undo qos trust to restore the default priority trust mode. By default - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 74
system-view [Sysname] interface GigabitEthernet 1/0/1 [Sysname-GigabitEthernet1/0/1] qos trust dscp 69 - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 75
Any view Default level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 76
. Use undo qos gts to remove GTS parameters for the traffic of the specified queue on the interface. By default, no GTS parameters are configured on a port. Examples # Configure GTS on interface GigabitEthernet 1/0/1 to limit the traffic rate to 640 kbps for queue 2. system-view [Sysname - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 77
Any view Default level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 78
-size: Specifies the committed burst size (CBS) in bytes. • If you do not specify the cbs keyword, the CBS is 62.5 × committed-information-rate by default and must be a multiple of 512. If 62.5 × committed-information-rate is not a multiple of 512, the closest higher multiple of 512 applies. The CBS - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 79
Any view Default level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 80
level 2: System level Parameters None Description Use qos sp to configure SP queuing on a port. Use undo qos sp to restore the default. The default queuing algorithm on a port is SP queuing. Related commands: display qos sp interface. Examples # Enable SP queuing pattern 1 on GigabitEthernet - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 81
|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 82
View undo qos wrr Interface view Default level 2: System level Parameters byte-count: Enables byte-count WRR, which allocates bandwidth to queues in terms of bytes. If you specify neither byte-count nor weight for this command, this command enables byte-count WRR. weight: Enables packet-based - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 83
the weight configuration does not take effect. Related commands: display qos undo qos wrr queue-id group sp Interface view Default level 2: System level Parameters queue-id: Specifies the SP group on a WRR-enabled interface. The Switch Series provides eight output queues per port. You can assign - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 84
a queue on an interface that performs packet-based WRR queuing. By default, the weights of queues 0 through 7 are 1, 2, 3, 4, 5, 6, 7, and 8 on an interface that performs packet-based WRR queuing. Before using this command to configure weights for queues, make sure that packet-based WRR queuing is - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 85
Default level 1: Monitor level Parameters interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 86
undo qos bandwidth queue queue-id [ min bandwidth-value ] Interface view Default level 2: System level Parameters queue-id: Queue ID, ranging from queue to cancel the configuration. By default, the minimum guaranteed bandwidth is 64 kbps for a queue. Configure minimum guaranteed bandwidth only - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 87
WFQ queuing. By default, the scheduling weights of queues 0 through 7 are all 1 on an interface that performs byte-count WFQ queuing. Before using this command on an interface, make sure that the interface is enabled with byte-count WFQ queuing. Otherwise, the weight configuration does not take - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 88
wfq queue-id group sp View undo qos wfq queue-id group sp Interface view Default level 2: System level Parameters queue-id: Specifies a queue by its ID, which an interface that performs SP+WFQ queuing. This command is available only on a WFQ-enabled interface. Queues in the SP group are - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 89
of a queue on an interface that performs packet-based WFQ queuing. By default, the scheduling weights of queues 0 through 7 are all 1 on an interface that performs packet-based WFQ queuing. Before configuring this command, make sure that the interface is enabled with packet-based WFQ queuing - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 90
] Any view Default level 1: Monitor level Parameters interface-type interface-number: Specifies a port by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 91
Default level 1: Monitor level Parameters table-name: Name of the WRED table to be displayed. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 92
configured for yellow packets, whose drop precedence is 1 Lower threshold configured for red packets, whose drop precedence is 2 Upper threshold configured qos wred apply to restore the default. By default, the tail drop mode is used on a port. Related commands: display qos wred interface, display - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 93
, and defaults to 1000. discard-probability discard-prob: Specifies the drop probability in percentage, which ranges from 0 to 100. When the average queue length is between the lower threshold and upper threshold, the switch drops at the drop probability. Description Use queue to configure the - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 94
By default, low-limit is 100, high-limit is 1000, and discard-prob is 10 for a queue-based WRED table. Related commands: qos wred queue table. Examples # Modify the drop-related parameters for queue-based WRED table queue-table1 as follows: set the lower threshold to 120, - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 95
} regular-expression ] Any view Default level 1: Monitor level Parameters car-name: Name of an aggregate CAR action. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 96
no CAR action is specified, this command displays the configuration and statistics of all the aggregate CAR actions. Examples # Display aggregate CAR configuration. display qos car [ yellow action ] [ red action ] undo qos car car-name View System view Default level 2: System level 91 - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 97
the range of 0 to 63 or a keyword in Table 17. Description Use qos car aggregative to configure an aggregate CAR action. Use undo qos car to remove an aggregate CAR action. An aggregate CAR action car name Syntax View reset qos car name [ car-name ] User view Default level 2: System level 92 - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 98
Parameters car-name: Name of an aggregate CAR action. Description Use reset qos car name to clear the statistics about the specified aggregate CAR action. If no car-name is specified, the statistics about all the aggregate CAR actions is cleared. Examples # Clear the statistics about the aggregate - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 99
configuration commands burst-mode enable Syntax burst-mode enable View undo burst-mode enable System view Default level 2: System level Parameters None Description Use burst-mode enable to enable the burst function. Use undo burst-mode enable to disable the burst function. By default - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 100
HP A-Series Acronyms. Websites • HP.com http://www.hp.com • HP Networking http://www.hp.com/go/networking • HP manuals http://www.hp.com/support/manuals • HP download drivers and software http://www.hp.com/support/downloads • HP software depot http://www.software.hp.com • HP Education http://www.hp - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 101
Command conventions Convention Boldface Italic [ ] { x | y | ... } [ x | y | ... ] { x | y | ... } * [ x | y | ... ] * & # Description Bold text represents commands and menu items are in bold text. For example, the New User window appears; click OK. Multi-level menus are separated by angle - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 102
, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features. Port numbering in examples The port numbers in this document are for - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 103
H hardware-count enable,13 I if-match,37 import,65 P packet-filter,14 packet-filter ipv6,14 Q qos apply policy (interface view),59 qos apply policy (user-profile view),59 qos apply policy global,60 qos bandwidth queue,81 qos car aggregative,91 qos gts,71 qos lr,73 qos map-table - HP 6125G | HP 6125G & 6125G/XG Blade Switches ACL and QoS Command Refere - Page 104
reset qos car name,92 reset qos policy global,62 reset qos vlan-policy,63 rule (Ethernet frame header ACL view),16 rule (IPv4 advanced ACL view),18 rule (IPv4 basic ACL view rule remark,31 S step,32 Subscription service,95 T time-range,33 traffic behavior,51 traffic classifier,41 W Websites,95 99
HP 6125 Blade Switch Series
ACL and QoS
Command Reference
Part number: 5998-3170
Software version: Release 2103
Document version: 6W100-20120907