HP 6125XLG R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference
HP 6125XLG Manual
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
HP 6125XLG manual content summary:
- HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 1
HP 6125XLG Blade Switch ACL and QoS Command Reference Part number: 5998-3737 Software version: Release 2306 Document version: 6W100-20130912 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - 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 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 3
12 packet-filter 13 packet-filter default deny 14 reset acl counter 15 reset packet-filter statistics 16 rule (Ethernet frame header ACL view 17 rule (IPv4 qos-local-id 50 remark service-vlan-id 51 traffic behavior 51 QoS policy commands 52 classifier behavior 52 control-plane 53 display - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 4
reset qos policy global 64 reset qos vlan-policy 65 Priority mapping commands 66 Priority map commands 66 display qos map-table 66 import 67 qos map-table 67 Port priority commands 68 qos priority 68 Priority trust mode commands 69 display qos trust interface 69 qos trust 69 GTS and rate - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 5
97 buffer total-shared 98 burst-mode enable 99 display buffer 100 Time range commands 102 display time-range 102 time-range 102 Support and other resources 105 Contacting HP 105 Subscription service 105 Related information 105 Documents 105 Websites 105 Conventions 106 Index 108 iii - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 6
For more information, see ACL and QoS Configuration Guide. • config: Compares ACL rules in default. all: Specifies all ACLs. • If the ipv6 keyword is not specified, all ACLs refer to all IPv4 basic, IPv4 advanced, and Ethernet frame header ACLs. • If the ipv6 keyword is specified, all ACLs refer - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 7
commands display acl acl copy Use acl copy to create an ACL by copying an ACL that already exists. Syntax acl [ ipv6 ] copy { source-acl-number | name source-acl-name } to { dest-acl-number | name dest-acl-name } Views System view Predefined user 4000 to 4999 for Ethernet frame header ACLs. This - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 8
4000 to 4999 for Ethernet frame header ACLs. This log information includes the number of matching packets and the matched ACL rules. Use undo acl logging interval to restore the default. Syntax acl [ specified, this command sets the interval for generating and outputting IPv4 packet filtering logs. 3 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 9
that has a name. Syntax acl [ ipv6 ] name acl-name Views System view Predefined user roles network-admin Parameters acl-name: Specifies the name of an ACL, a case-insensitive string Sysname-acl6-basic-2001-flow] Related commands acl description Use description to configure a description for an ACL. 4 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 10
an ACL description. Syntax description text undo description Default An ACL has no description. Views IPv4 basic/advanced ACL view, IPv6 basic/advanced ACL view, Ethernet frame header ACL view Predefined user roles network-admin Parameters text: Configures a description for the ACL, a case-sensitive - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 11
Ethernet frame command displays ACL rules in config or depth-first order, whichever is configured. Examples # Display configuration this ACL. ACL's step is 5 The rule numbering step is 5. rule 5 permit source 1.1.1.1 0 counts only ACL matches performed in software. This field is not displayed when - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 12
user roles network-admin network-operator Parameters interface [ interface-type interface-number ]: Specifies an interface by its type and number. VLAN interfaces are not supported. If no interface is specified, the command ACL rule matches. Default action Default action for packet filtering - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 13
statistics. Usage guidelines When none of acl-number and name acl-name is specified, this command displays match statistics of all ACLs for packet filtering. • If the ipv6 keyword is not specified, all ACLs refer to all IPv4 basic, IPv4 advanced, and Ethernet frame header ACLs. • If the ipv6 keyword - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 14
) Totally 2 packets, 100% permitted Totally 0 packets, 0% denied Default action: Deny Table 3 Command output Field Interface In-bound policy Out-bound policy ACL 2001 Hardware- } [ ipv6 ] { acl-number | name acl-name } [ brief ] Views Any view Predefined user roles network-admin network-operator - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 15
in the outbound direction. acl-number: Specifies the number of an ACL: • 2000 ipv6 keyword is specified. • 4000 to 4999 for Ethernet frame header ACLs. This entry is not displayed if the 100% permitted Totally 0 packets, 0% denied Table 4 Command output Field Sum In-bound policy Out-bound policy - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 16
. Usage guidelines When none of acl-number and name acl-name is specified, this command displays application details of all ACLs for packet filtering. • If the ipv6 keyword is not specified, all ACLs refer to all IPv4 basic, IPv4 advanced, Ethernet frame header, and user-defined ACLs. • If the ipv6 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 17
packets. If the default action is to number ] Views Any view Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies an IRF member device. The slot-number argument represents the ID of the IRF member device. If no IRF member device is specified, the command - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 18
Table 6 Command output Field Interfaces Type Total Reserved Configured Remaining Usage number | name acl-name } { inbound | outbound } Default An interface does not filter packets. Views Interface view Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 19
keyword is specified. • 4000 to 4999 for Ethernet frame header ACLs. This entry is not displayed if the commands • display packet-filter • display packet-filter statistics • display packet-filter verbose packet-filter default deny Use packet-filter default deny to set the packet filtering default - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 20
filter default deny Related commands • display packet-filter • display packet-filter statistics • display packet-filter verbose reset acl counter Use reset acl counter to clear statistics for ACLs. Syntax reset acl counter [ ipv6 ] { acl-number | all | name acl-name } Views User view Predefined user - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 21
ACL. Usage guidelines When none of acl-number, and name acl-name is specified, this command clears the match statistics of all ACLs for packet filtering. • If the ipv6 keyword is not specified, all ACLs refer to all IPv4 basic, IPv4 advanced, and Ethernet frame header ACLs. • If the ipv6 keyword - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 22
source-mask | time-range time-range-name ] * undo rule rule-id [ counting | time-range ] * Default An Ethernet frame header ACL does not contain any rule. Views Ethernet frame header ACL view Predefined user roles network-admin Parameters rule-id: Specifies a rule ID in the range of 0 to 65534. If - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 23
configure the timer range. For more information about time range, see ACL and QoS Configuration Guide. Usage guidelines When an Ethernet frame command. Examples # Create a rule in Ethernet frame header ACL 4000 to permit ARP packets and deny RARP packets. system-view [Sysname] acl number - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 24
port | time-range | vpn-instance ] * Default An IPv4 advanced ACL does not contain any rule. Views IPv4 advanced ACL view Predefined user destination IP address. Counts the number of times the IPv4 advanced ACL -count keyword in the packet-filter command enables match counting for all rules in - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 25
cs5 (40), cs6 (48), cs7 (56), default (0), or ef (46). fragment Applies the rule ACL supports logging. configure the timer range. For more information about time range, see ACL and QoS Configuration Guide 540), whois (43), and www (80). UDP port numbers can be represented as: biff (512), bootpc (68 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 26
TCP flags in a rule are ANDed. For example, a rule configured with ack 0 psh 1 matches packets that have the ACK flag bit 10 ICMP message names supported in IPv4 advanced ACL rules net-tos-redirect net-unreachable parameter-problem port-unreachable protocol-unreachable reassembly-timeout source- - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 27
in an ACL and their rule IDs, use the display acl all command. Examples # Create an IPv4 advanced ACL rule to permit TCP packets with the destination port 80 from 129.9.0.0/16 to 202.38.160.0/24. system-view [Sysname] acl number 3000 [Sysname-acl-adv-3000] rule permit tcp source 129 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 28
Default An IPv4 basic ACL does not contain any rule. Views IPv4 basic ACL view Predefined user number of times the IPv4 basic ACL rule has been matched. The counting keyword enables match counting specific to rules, and the hardware-count keyword in the packet-filter command ACL supports the - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 29
configure the timer range. For more information about time range, see ACL and QoS Configuration Guide for the undo rule command, you delete the Sysname> system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] address/dest-prefix | any } | destination-port operator port1 [ port2 ] | dscp dscp - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 30
source-port | time-range | vpn-instance ] * Default An IPv6 advanced ACL does not contain any rule. Views IPv6 advanced ACL view Predefined user roles packets to pass. protocol: Specifies one of the following values: • A protocol number in the range of 0 to 255. • A protocol by its name: gre - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 31
the number of times -filter ipv6 command enables match DSCP preference. The dscp argument can be a number in the range of 0 to 63, or 32), cs5 (40), cs6 (48), cs7 (56), default (0), or ef (46). flow-label flow-label-value ACL supports logging. configured, the system creates the rule. However, the - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 32
), time (37), uucp (540), whois (43), and www (80). UDP port numbers can be represented as: biff (512), bootpc (68), bootps (67), discard flags in a rule are ANDed. For example, a rule configured with ack 0 psh 1 matches packets that have the ACK Supported ICMP message names and their corresponding type and code - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 33
supported in IPv6 advanced ACL rules ICMPv6 message name echo-reply echo-request err-Header-field frag-time-exceeded hop-limit-exceeded host-admin-prohib host-unreachable neighbor-advertisement neighbor-solicitation network-unreachable packet-too-big port in the undo rule command, you delete the - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 34
Sysname] acl ipv6 number 3000 [Sysname-acl6-adv-3000] rule permit tcp source 2030:5060::/64 destination fe80:5060::/96 destination-port eq 80 # acl ipv6 number 3004 [Sysname-acl6-adv-3004] rule permit ipv6 hop-by-hop type 5 [Sysname-acl6-adv-3004] rule deny ipv6 hop-by-hop Related commands • acl - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 35
-range | vpn-instance ] * Default An IPv6 basic ACL does not contain any rule. Views IPv6 basic ACL view Predefined user roles network-admin Parameters rule-id effect only after you configure the timer range. For more information about time range, see ACL and QoS Configuration Guide. vpn-instance vpn - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 36
provided in the undo rule command, you delete the entire rule Sysname> system-view [Sysname] acl ipv6 number 2000 [Sysname-acl6-basic-2000] rule permit Default An ACL has not rule comment. Views IPv4 basic/advanced ACL view, IPv6 basic/advanced ACL view, Ethernet frame header ACL view Predefined user - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 37
commands display acl step Use step to set a rule numbering step for an ACL. Use undo step to restore the default. Syntax step step-value undo step Default The rule numbering step is five. Views IPv4 basic/advanced ACL view, IPv6 basic/advanced ACL view, Ethernet frame header ACL view Predefined user - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 38
Related commands display acl 33 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 39
. If no traffic class name is specified, this command displays information about all user-defined traffic classes. Examples # Display information about all user-defined traffic classes. display traffic classifier user-defined User-defined classifier information: Classifier: 1 (ID 100 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 40
match-criteria Default No match criterion is configured. Views Traffic class view Predefined user roles network- number | name acl-name } Matches an ACL. The acl-number argument is in the range of 2000 to 3999 for an IPv4 ACL, 2000 to 3999 for an IPv6 ACL, and 4000 to 4999 for an Ethernet frame - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 41
1 to 4095. The switch supports local QoS IDs in the range of 1 to 3999. Matches the 802.1p priority of the service provider network. The dot1p- indicates that you can enter up to eight 802.1p priority values. Matches the service provider VLAN IDs (SVLANs). The vlan-id-list argument is in the format - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 42
traffic class, you can reference an ACL twice by its name and number with the if-match command, respectively. • You can configure multiple ACL match criteria to match 802.1p priority in customer or service provider VLAN tags • You can configure multiple 802.1p priority match criteria for a traffic - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 43
can configure multiple control plane protocol match criteria for a traffic class. You can configure multiple control plane protocols in one command line. match criterion for traffic class class1 to match the packets with their service provider network 802.1p priority values being 5. system- - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 44
traffic classifier class1 [Sysname-classifier-class1] if-match customer-vlan-id 1 6 9 # Define a match criterion for traffic class class1 to match the packets of service provider network VLAN 2, 7, or 10. system-view [Sysname] traffic classifier class1 [Sysname-classifier-class1] if-match - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 45
} ] undo traffic classifier classifier-name Default No traffic class exists. Views System view Predefined user roles network-admin Parameters classifier-name: -class1] Related commands display traffic classifier Traffic behavior commands accounting Use accounting to configure the traffic accounting - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 46
burst-size ] ] [ pir peak-information-rate ] [ green action | red action | yellow action ] * undo car Default No CAR action is configured. Views Traffic behavior view Predefined user roles network-admin Parameters cir committed-information-rate: Specifies the committed information rate (CIR) in kbps - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 47
multiple of 512 between 0 and 256000000, and the default value is 512. pir peak-information-rate: Specifies the references the traffic behavior can be applied in either the inbound direction or outbound direction of an interface. If you configure the car command user-defined [ behavior-name ] 42 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 48
no traffic behavior name is specified, this command displays information about all the user-defined traffic behaviors. Examples # Display information about user-defined traffic behaviors. display traffic behavior user-defined User Defined Behavior Information: Behavior: 1 (ID 100) Marking - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 49
filter to delete a traffic filtering action from a traffic behavior. Syntax filter { deny | permit } undo filter Default No traffic filtering action is configured. Views Traffic behavior view Predefined user roles network-admin Parameters deny: Drops packets. permit: Transmits the packets. Examples - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 50
action. Syntax redirect { cpu | interface interface-type interface-number } undo redirect { cpu | interface interface-type interface-number } Default No traffic redirecting action is configured. Views Traffic behavior view Predefined user roles network-admin Parameters cpu: Redirects traffic to the - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 51
behavior-database] redirect interface ten-gigabitethernet1/1/5 Related commands • classifier behavior • qos policy • traffic vlan-id undo remark customer-vlan-id Default No CVLAN marking action is configured. Views Traffic behavior view Predefined user roles network-admin Parameters vlan-id: - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 52
command and the remark dot1p customer-dot1p-trust command will cause them to override each other. The most recent configuration of them takes effect. The remark dot1p customer-dot1p-trust command Default No drop priority marking action is configured. Views Traffic behavior view Predefined user roles - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 53
. Syntax remark [ green | red | yellow ] dscp dscp-value undo [ green | red | yellow ] remark dscp Default No DSCP marking action is configured. Views Traffic behavior view Predefined user roles network-admin Parameters green: Specifies green packets. red: Specifies red packets. yellow: Specifies - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 54
to delete the action. Syntax remark ip-precedence ip-precedence-value undo remark ip-precedence Default No IP precedence marking action is configured. Views Traffic behavior view Predefined user roles network-admin Parameters ip-precedence-value: Specifies the IP precedence value to be marked - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 55
] local-precedence local-precedence-value undo remark [ green | red | yellow ] local-precedence Default No local precedence marking action is configured. Views Traffic behavior view Predefined user roles network-admin Parameters green: Specifies green packets. red: Specifies red packets. yellow - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 56
-vlan-id to remove the action from the traffic behavior. Syntax remark service-vlan-id vlan-id undo remark service-vlan-id Default No SVLAN marking action is configured. Views Traffic behavior view Predefined user roles network-admin Parameters vlan-id: Specifies an SVLAN ID in the range of 1 to - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 57
behavior1 [Sysname-behavior-behavior1] Related commands display traffic behavior QoS policy commands classifier behavior Use classifier behavior to classifier classifier-name Default No traffic behavior is associated with a traffic class. Views QoS policy view Predefined user roles network-admin - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 58
Layer 2-LAN Switching Configuration Guide. Usage commands qos policy control-plane Use control-plane to enter control plane view. Syntax control-plane slot slot-number Views System view Predefined user roles network-admin Parameters slot slot-number: Specifies an IRF member device. The slot-number - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 59
string of 1 to 31 characters. If no QoS policy name is specified, this command displays configuration information of all the user-defined QoS policies. classifier classifier-name: Specifies a traffic class by its name, a plane. Syntax display qos policy control-plane slot slot-number [ inbound ] 54 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 60
user roles network-admin network-operator Parameters slot slot-number: Specifies an IRF member device. The slot-number argument is the member device ID in the IRF Behavior: 2 Accounting enable: 0 (Packets) Table 20 Command output Field Direction Green packets Red packets Description Direction ( - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 61
] Views Any view Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies an IRF member device. The slot-number argument is the member device ID in the IRF fabric. Usage guidelines If no slot number is specified, this command displays information about the - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 62
qos policy global [ slot slot-number ] [ inbound | outbound ] Views Any view Predefined user roles network-admin network-operator number: Specifies an IRF member device. The slot-number argument is the member device ID in the IRF fabric. Usage guidelines If no direction is specified, this command - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 63
number ] [ inbound | outbound ] Views Any view Predefined user roles network-admin network-operator Parameters interface-type interface-number: Specifies an interface by its type and number Usage guidelines If no direction is specified, the command displays information about the QoS policy applied to - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 64
0 (Packets) Filter Enable: Permit Marking: Remark dot1p 1 Table 23 Command output Field Direction Green packets Red packets Description Direction in which the QoS vlan [ vlan-id ] } [ slot slot-number ] [ inbound | outbound ] Views Any view Predefined user roles network-admin network-operator 59 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 65
the outgoing traffic of the specified VLAN. slot slot-number: Displays information about QoS policies applied to VLANs of the IRF member device specified by the slot number. Usage guidelines If no direction is specified, this command displays information about QoS policies applied to VLANs in both - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 66
Table 24 Command output Field inbound | outbound } Default No QoS policy is applied to an interface view, control plane view Predefined user roles network-admin Parameters policy-name interface. This keyword is not supported in control plane view. Examples IRF member device 3. - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 67
apply policy policy-name global { inbound | outbound } Default No QoS policy is applied globally. Views System view Predefined user roles network-admin Parameters policy-name: QoS policy name, policy policy-name undo qos policy policy-name Default No QoS policy is configured. Views System view 62 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 68
system-view [Sysname] qos policy user1 [Sysname-qospolicy-user1] Related commands • classifier behavior • qos apply policy • qos apply policy global id-list { inbound | outbound } Default No QoS policy is applied to a VLAN. Views System view Predefined user roles network-admin Parameters policy-name: - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 69
inbound ] Views User view Predefined user roles network-admin Parameters inbound: Clears the statistics of the QoS policy applied to the incoming traffic of the control plane. slot slot-number: Clears the statistics of the QoS policies applied to the control plane of the IRF member device specified - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 70
qos vlan-policy [ vlan vlan-id ] [ inbound | outbound ] Views User view Predefined user roles network-admin Parameters vlan vlan-id: Specifies a VLAN ID in the specified VLAN. Usage guidelines If no direction is specified, this command clears the statistics of the QoS policies in both directions of - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 71
Priority mapping commands Priority map commands display qos map-table Use display qos map-table to display the configuration of a priority map. Syntax display qos map-table [ dot1p-dp | dot1p-lp | dscp-dot1p| dscp-dp | dscp-dscp ] Views Any view Predefined user roles network-admin network- - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 72
-value-list export export-value undo import { import-value-list | all } Default The default priority maps are used. For more information, see ACL and QoS Configuration Guide. Views Priority map view Predefined user roles network-admin Parameters import-value-list: Specifies a list of input values - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 73
• import Port priority commands qos priority Use qos priority to change the port priority of an interface. Use undo qos priority to restore the default. Syntax qos priority priority-value undo qos priority Default The port priority is 0. Views Ethernet interface view Predefined user roles network - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 74
[ interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator Parameters interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, this command displays priority trust mode and port priority information of - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 75
Default The switch does not trust the priority carried in packets. Views Ethernet interface view Predefined user roles network-admin Parameters dot1p: Uses the 802. interface ten-gigabitethernet 1/1/5 [Sysname-Ten-GigabitEthernet1/1/5] qos trust dot1p Related commands display qos trust interface 70 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 76
interface [ interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator Parameters interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, this command displays the GTS configuration and statistics on all - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 77
-information-rate [ cbs committed-burst-size ] undo qos gts queue queue-number Default No GTS parameters are configured on an interface. Views Ethernet interface view Predefined user roles network-admin Parameters queue queue-number: Shapes the packets in the specified queue. The value range for the - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 78
29 Command output Field Interface Direction CIR CBS Description Interface type and interface number. Direction in which the rate limit configuration is inbound | outbound } Default Rate limit is not configured on an interface. Views Ethernet interface view Predefined user roles network-admin - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 79
: Specifies the CBS in bytes. The value range for the committed-burst-size argument is an integral multiple of 512 between 512 and 134217728. The default value for this argument is the product of 62.5 and the CIR and must be an integral multiple of 512. If the product is not - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 80
Priority queuing Table 30 Command output Field Interface Output queue Description Interface type and interface number. Type of the current output queue. Related commands qos sp qos sp Use qos sp to configure SP queuing on an interface. Use undo qos sp to restore the default. Syntax qos sp 75 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 81
[ interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator Parameters interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, this command displays the WRR queuing configuration of all the - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 82
. Views Ethernet interface view Predefined user roles network-admin Parameters byte-count: Allocates bandwidth to queues in terms of bytes. weight: Allocates bandwidth to queues in terms of packets. Usage guidelines You must use the qos wrr command to enable WRR queuing before you can configure WRR - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 83
weight for the specified queue in WRR queuing, in the range of 1 to 15, Usage guidelines You must use the qos wrr command to enable WRR queuing before you can configure WRR queuing parameters for a queue on an interface. The queue-id argument can be either a number or a keyword. Table 32 shows the - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 84
queue-id argument Number 0 1 2 GigabitEthernet1/1/5] qos wrr 1 group 2 byte-count 5 Related commands • display qos wrr interface • qos wrr qos wrr Default An interface uses the byte-count WRR queuing algorithm, and all the queues are in WRR group 1. Views Ethernet interface view Predefined user - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 85
in a WRR group are scheduled according to user-configured weights, and WRR groups are scheduled at a 1:1 ratio. You must use the qos wrr command to enable WRR queuing before you can configure this command on an interface. The queue-id argument can be either a number or a keyword. Table 32 shows the - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 86
Number of the group that holds the queue. By default, all queues are in group 1. Byte-count scheduling weight of the queue. Minimum guaranteed bandwidth. Related commands queue-id Default The minimum guaranteed bandwidth is 64 kbps. Views Ethernet interface view Predefined user roles network-admin - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 87
. Views Ethernet interface view Predefined user roles network-admin Parameters byte-count: Allocates bandwidth to queues in terms of bytes. weight: Allocates bandwidth to queues in terms of packets. Usage guidelines You must use the qos wfq command to enable WFQ before you can configure WFQ queuing - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 88
Default When WFQ queuing is used on an interface, all the queues are in WFQ group 1 and have a weight of 1. Views Ethernet interface view Predefined user command to enable WFQ first before you configure this command. The queue-id argument can be either a number or a keyword. Table 32 shows the number - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 89
-id Default When WFQ queuing is used on an interface, all the queues are in the WFQ group. Views Ethernet interface view Predefined user roles network command to enable WFQ first before you configure this command. The queue-id argument can be either a number or a keyword. Table 32 shows the number - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 90
[ interface-type interface-number ] Views Any view Predefined user roles network-admin network-operator Parameters interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, this command displays the WRED configuration and statistics of all - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 91
the name of the WRED table to be displayed. slot slot-number: Specifies an IRF member device. The slot-number argument is the member device ID in the IRF fabric. Usage guidelines If no WRED table name is specified, this command displays the configuration of all the WRED tables. If no slot - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 92
Ethernet interface view Predefined user roles network-admin Parameters table-name: Specifies the name of a WRED table. Usage guidelines If no WRED table name is specified, this command applies the default qos wred queue table table-name Default No WRED table exists on the switch. Views System view 87 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 93
-table1] Related commands display qos wred table queue Use queue to configure the drop-related prob ] undo queue { queue-value | all } Default After a WRED table is created, the low-limit table view Predefined user roles network-admin Parameters queue-value: Specifies a queue number in the range - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 94
on the user-configured drop 20 discard-probability 30 Related commands • display qos wred table default. Syntax queue queue-value ecn undo queue queue-value ecn Default ECN is not enabled on any queue. Views WRED table view Predefined user roles network-admin Parameters queue-value: Queue number - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 95
sender support ECN, Default The exponent for average queue length calculation is 9. Views WRED table view Predefined user roles network-admin Parameters queue-value: Specifies a queue number × 2-n, where n can be configured with the qos wred weighting-constant command. Examples # In WRED table queue - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 96
Related commands • display qos wred table • qos wred table 91 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 97
Aggregate CAR commands car name Use car name to reference an aggregate CAR action in a traffic behavior. Use undo car to remove an aggregate CAR action from a traffic behavior. Syntax car name car-name undo car Default No aggregate CAR action is configured in a traffic behavior. Views Traffic - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 98
a case-sensitive string of 1 to 31 characters. If 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 name Name: a Mode: aggregative CIR 12800 (kbps), CBS 800256 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 99
-size ] ] [ pir peek-information-rate ] [ green action | red action | yellow action ] * undo qos car car-name Default No aggregate CAR action is configured. Views System view Predefined user roles network-admin Parameters car-name: Specifies the name of the aggregate CAR action. This argument must - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 100
or referenced in a QoS policy. Examples # Configure the aggregate CAR action aggcar-1, where CIR aggregative cir 25600 cbs 512000 red discard Related commands display qos car name reset qos car name car name [ car-name ] Views User view Predefined user roles network-admin Parameters car-name: - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 101
cause system problems. Before manually changing data buffer settings, make sure you understand its impact on your device. If the system requires large buffer spaces, HP recommends that you use the burst-mode enable command. This command cannot be configured together with any other command in this - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 102
number in an IRF fabric. Without this option, the command applies to all member devices. cell: Specifies cell resources. queue-id: Specifies a queue by its number in the range of 0 to 7. ratio ratio: Specifies the fixed-area space ratio, in percentage. Usage guidelines When you manually configure - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 103
default setting. The final shared-area ratio for each queue is determined by the chip based on the buffer queue shared command configuration and the number 67 80 89 Examples # Configure queue 0 to use up to 5% shared-area space of cell resources in the egress buffer of IRF member device 2. - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 104
buffer. slot slot-number: Specifies a member device by its number in an IRF fabric. Without this option, the command applies to all member devices. cell: Specifies cell resources. ratio ratio: Specifies the ratio of the shared area, in percentage. Usage guidelines After you configure the shared area - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 105
display buffer configuration. Syntax display buffer [ slot slot-number ] [ queue [ queue-id ] ] Views Any view Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies a member device by its number in an IRF fabric. Without this option, the command applies - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 106
Description ID of an IRF member device. Resource type: cell. The switch only supports configuring cell resources. Queue ID in the range of 0 to 7. Egress buffer. Configuration made by the buffer total-shared command. • Guaranteed represents the percentage value configured by using the buffer queue - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 107
Time range commands display time-range Use display time-range to display time range configuration and status. Syntax display time-range { time-range-name | all } Views Any view Predefined user roles network-admin network-operator Parameters time-range-name: Specifies a time range name, a case- - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 108
[ to time2 date2 ] | to time2 date2 ] Default No time range exists. Views System view Predefined user roles network-admin Parameters time-range-name: Specifies a time you provide an existing time range name for the time-range command, the command adds a statement to the time range. You can create - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 109
the time-range test 08:00 to 12:00 mon from 00:00 01/01/2011 to 23:59 12/31/2011 command. You can create a maximum of 1024 time ranges, each with a maximum of 32 periodic statements and 12 absolute 14:00 to 16:00 3 from 00:00 6/1/2011 to 24:00 6/30/2011 Related commands display time-range 104 - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 110
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.com/learn - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 111
Command conventions Convention Boldface Italic [ ] { x | y | ... } [ x | y | ... ] { x | y | ... } * [ x | y | ... ] * & # Description Bold text represents commands bold text. For example, the New User window appears; click OK. Multi-level or damage to hardware or software. An alert that calls - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 112
wired-WLAN switch. Represents an access point. Represents a security product, such as a firewall, a UTM, or a load-balancing or security card that is installed in a device. Represents a security card, such as a firewall card, a load-balancing card, or a NetStream card. Port numbering in examples - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 113
traffic behavior,42 display traffic classifier,34 Documents,105 F filter,44 I if-match,35 import,67 N nest top-most,44 P packet-filter,13 packet-filter default deny,14 Q qos apply policy (interface view, control plane view),61 qos apply policy global,62 qos bandwidth queue,81 qos car,93 qos gts - HP 6125XLG | R2306-HP 6125XLG Blade Switch ACL and QoS Command Reference - Page 114
global,64 reset qos vlan-policy,65 rule (Ethernet frame header ACL view),17 rule (IPv4 advanced ACL view),18 rule (IPv4 basic ACL view),23 rule (IPv6 advanced ACL view),24 rule (IPv6 basic ACL view),29 rule comment,31 S step,32 Subscription service,105 T time-range,102 traffic behavior,51 traffic
HP 6125XLG Blade Switch
ACL and QoS
Command Reference
Part number: 5998-3737
Software version: Release 2306
Document version: 6W100-20130912