HP FlexFabric 7900 Switch Series ACL and QoS Command Reference Part number: 5998-4295 Software version: Release 2109 Document version: 6W100-20140122
Legal and notice information © Copyright 2014 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents ACL commands ···························································································································································· 1 acl ·············································································································································································· 1 acl copy ·············································································································································
display qos map-table ··········································································································································· 48 import······································································································································································ 49 qos map-table ························································································································································ 49 P
Documents ······························································································································································ 82 Websites································································································································································· 82 Conventions ···························································································································································
ACL commands The switch has one built-in MPU. The slot number of this MPU is fixed at 0. Unless otherwise stated, the term "card" in this document refers to both the MPU and LPUs. acl Use acl to create an ACL, and enter its view. If the ACL has been created, you directly enter its view. Use undo acl to delete the specified or all ACLs. Syntax acl number acl-number [ name acl-name ] [ match-order { auto | config } ] undo acl { all | name acl-name | number acl-number } Default No ACL exists.
Examples # Create IPv4 basic ACL 2000, and enter its view. system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] # Create IPv4 basic ACL 2001 with the name flow, and enter its view. system-view [Sysname] acl number 2001 name flow [Sysname-acl-basic-2001-flow] Related commands display acl acl copy Use acl copy to create an ACL by copying an ACL that already exists.
Usage guidelines The new ACL has the same properties and content as the source ACL, but not the same ACL number and name. You can assign a name to an ACL only when you create it. After an ACL is created with a name, you cannot rename it or remove its name. Examples # Create IPv4 basic ACL 2002 by copying IPv4 basic ACL 2001. system-view [Sysname] acl copy 2001 to 2002 acl name Use acl name to enter the view of an ACL that has a name.
Views IPv4 basic ACL view, IPv4 advanced ACL view, Ethernet frame header ACL view Predefined user roles network-admin Parameters text: Configures a description for the ACL, a case-sensitive string of 1 to 127 characters. Examples # Configure a description for IPv4 basic ACL 2000. system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] description This is an IPv4 basic ACL. Related commands display acl display acl Use display acl to display configuration and match statistics for ACLs.
ACL's step is 5 rule 5 permit source 1.1.1.1 0 (5 times matched) rule 5 comment This rule is used on FortyGigE 1/0/1. Table 1 Command output Field Description Basic ACL 2001 Category and number of the ACL. The following field information is about IPv4 basic ACL 2000. named flow The name of the ACL is flow. If the ACL is not named, this field displays -none-. 1 rule The ACL contains one rule. match-order is auto The match order for the ACL is auto, which sorts ACL rules in depth-first order.
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 displays ACL application information on all interfaces except VLAN interfaces for packet filtering. interface vlan-interface vlan-interface-number: Specifies a VLAN interface by its number. inbound: Specifies the inbound direction. outbound: Specifies the outbound direction. slot slot-number: Specifies a card by its slot number.
Parameters interface interface-type interface-number: Displays the statistics of an interface specified by its type and number. inbound: Displays the statistics in the inbound direction. outbound: Displays the statistics in the outbound direction. acl-number: Specifies the number of an ACL: • 2000 to 2999 for IPv4 basic ACLs. • 3000 to 3999 for IPv4 advanced ACLs. • 4000 to 4999 for Ethernet frame header ACLs. name acl-name: Specifies an ACL by its name.
Related commands reset packet-filter statistics display packet-filter statistics sum Use display packet-filter statistics sum to display accumulated packet filtering ACL statistics. Syntax display packet-filter statistics sum { inbound | outbound } { acl-number | name acl-name } [ brief ] Views Any view Predefined user roles network-admin network-operator Parameters inbound: Displays the statistics in the inbound direction. outbound: Displays the statistics in the outbound direction.
Field 2 packets Description Two packets matched the rule. This field is not displayed when no packets matched the rule. Totally 0 packets permitted, 0 packets denied Number of packets permitted and denied by the ACL. Totally 0% permitted, 0% denied Ratios of permitted and denied packets to all packets. Related commands reset packet-filter statistics display packet-filter verbose Use display packet-filter verbose to display application details of ACLs for packet filtering.
number of the slot that holds the card. If no card is specified, the command displays ACL application details for packet filtering on all MPUs of the IRF fabric. (In IRF mode.) Usage guidelines When neither of acl-number and name acl-name is specified, this command displays application details of all ACLs (IPv4 basic, IPv4 advanced, and Ethernet frame header ACLs) for packet filtering.
number of the slot that holds the card. If no card is specified, the command displays QoS and ACL resource usage on all cards of the IRF fabric. (In IRF mode.) Usage guidelines The command does not display any usage data if the specified card or IRF member device does not support counting QoS and ACL resource. Examples # Display QoS and ACL resource usage.
Use undo packet-filter to remove an ACL application from an interface. Syntax packet-filter { acl-number | name acl-name } { inbound | outbound } [ hardware-count ] undo packet-filter { acl-number | name acl-name } { inbound | outbound } Default An interface does not filter packets. Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view, VLAN interface view Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number: • 2000 to 2999 for IPv4 basic ACLs.
Syntax packet-filter default deny undo packet-filter default deny Default The packet filter permits packets that do not match any ACL rule. Views System view Predefined user roles network-admin Usage guidelines The packet filter applies the default action to all ACL applications for packet filtering. The default action appears in the display command output for packet filtering. Examples # Set the packet filter default action to deny.
Examples # Clear statistics for IPv4 basic ACL 2001. reset acl counter 2001 Related commands display acl reset packet-filter statistics Use reset packet-filter statistics to clear the match statistics (including the accumulated statistics) and the default action statistics of ACLs for packet filtering.
rule (Ethernet frame header ACL view) Use rule to create or edit an Ethernet frame header ACL rule. Use undo rule to delete an Ethernet frame header ACL rule or some attributes in the rule.
time-range time-range-name: Specifies a time range for the rule. The time-range-name argument is a case-insensitive string of 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. For more information about time range, see ACL and QoS Configuration Guide.
Default An IPv4 advanced ACL does not contain any rule. Views IPv4 advanced ACL view Predefined user roles network-admin Parameters rule-id: Specifies a rule ID in the range of 0 to 65534. If no rule ID is provided when you create an ACL rule, the system automatically assigns it a rule ID. This rule ID is the nearest higher multiple of the numbering step to the current highest rule ID, starting from 0.
Parameters Function Description dscp dscp Specifies a DSCP priority. The dscp argument can be a number in the range of 0 to 63, or in words: af11 (10), af12 (12), af13 (14), af21 (18), af22 (20), af23 (22), 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). fragment Applies the rule to fragments. Without this keyword, the rule applies to all fragments and non-fragments.
Parameters Function established Specifies the flags for indicating the established status of a TCP connection. Description Parameter specific to TCP. The rule matches TCP connection packets with the ACK or RST flag bit set. If the protocol argument is icmp (1), set the parameters shown in Table 9. Table 9 ICMP-specific parameters for IPv4 advanced ACL rules Parameters Function Description The icmp-type argument is in the range of 0 to 255.
Usage guidelines Within an ACL, the permit or deny statement of each rule must be unique. If the ACL rule you are creating or editing has the same deny or permit statement as another rule in the ACL, your creation or editing attempt fails. You can edit ACL rules only when the match order is config. If no optional keywords are provided for the undo rule command, you delete the entire rule. If optional keywords or arguments are provided, you delete the specified attributes.
• display acl • step • time-range rule (IPv4 basic ACL view) Use rule to create or edit an IPv4 basic ACL rule. Use undo rule to delete an entire IPv4 basic ACL rule or some attributes in the rule. Syntax rule [ rule-id ] { deny | permit } [ counting | fragment | source { source-address source-wildcard | any } | time-range time-range-name ] * undo rule rule-id [ counting | fragment | source | time-range ] * Default An IPv4 basic ACL does not contain any rule.
Within an ACL, the permit or deny statement of each rule must be unique. If the ACL rule you are creating or editing has the same deny or permit statement as another rule in the ACL, your creation or editing attempt fails. You can edit ACL rules only when the match order is config. If no optional keywords are provided for the undo rule command, you delete the entire rule. If optional keywords or arguments are provided, you delete the specified attributes.
Examples # Create a rule for IPv4 basic ACL 2000, and add a comment about the rule. system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule 0 deny source 1.1.1.1 0 [Sysname-acl-basic-2000] rule 0 comment This rule is used for telnet. Related 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.
QoS policy commands The switch has one built-in MPU. The slot number of this MPU is fixed at 0. Unless otherwise stated, the term "card" in this document refers to both the MPU and LPUs. Traffic class commands display traffic classifier Use display traffic classifier to display traffic class information.
If-match acl 2000 Classifier: 2 (ID 101) Operator: AND Rule(s) : If-match protocol ip Classifier: 3 (ID 102) Operator: AND Rule(s) : -none- Table 11 Command output Field Description Classifier Traffic class name and its match criteria. Operator Match operator you set for the traffic class. If the operator is AND, the traffic class matches the packets that match all its match criteria. If the operator is OR, the traffic class matches the packets that match any of its match criteria.
Table 12 Available match criteria Option Description Matches an ACL. acl { acl-number | name acl-name } The acl-number argument is in the range of 2000 to 3999 for an IPv4 ACL, and 4000 to 4999 for an Ethernet frame header ACL. The acl-name argument is a case-insensitive string of 1 to 63 characters, which must start with an English letter, and to avoid confusion, it cannot be all. any Matches all packets. destination-mac mac-address Matches a destination MAC address. Matches DSCP values.
• 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, specify the operator of the class as OR and use the if-match command multiple times. Defining an ACL-based match criterion • If the ACL referenced in the if-match command does not exist, the relevant QoS policy cannot be applied normally. • You can configure multiple ACLs for a class.
# Define a match criterion for traffic 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 service-dot1p 5 # Define a match criterion for traffic class class1 to match the advanced ACL 3101.
[Sysname] traffic classifier class1 [Sysname-classifier-class1] if-match control-plane protocol arp traffic classifier Use traffic classifier to create a traffic class and enter traffic class view. Use undo traffic classifier to delete a traffic class. Syntax traffic classifier classifier-name [ operator { and | or } ] undo traffic classifier classifier-name Default No traffic class exists.
Default No traffic accounting action is configured. Views Traffic behavior view Predefined user roles network-admin Parameters byte: Counts traffic in bytes. packet: Counts traffic in packets. Examples # Configure a traffic accounting action in traffic behavior database to count traffic in bytes. system-view [Sysname] traffic behavior database [Sysname-behavior-database] accounting byte car Use car to configure a CAR action in a traffic behavior.
pir peak-information-rate: Specifies the peak information rate (PIR) in kbps. The value range for the peak-information-rate argument is an integral multiple of 8 between 8 and 160000000. Usage guidelines A QoS policy that references the traffic behavior can be applied in either the inbound direction or outbound direction of an interface. If you configure the car command multiple times in the same traffic behavior, the most recent configuration takes effect.
User-defined behavior information: Behavior: 1 (ID 100) Marking: Remark dscp 3 Committed Access Rate: CIR 128 (kbps), CBS 8192 (Bytes), EBS 512 (Bytes) Green action: pass Yellow action: pass Red action: discard Behavior: 2 (ID 101) Accounting enable: Packet Filter enable: Permit Marking: Remark dot1p 1 Behavior: 3 (ID 102) -none- Table 13 Command output Field Description Behavior Name and contents of a traffic behavior. Marking Information about priority marking.
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 # Configure a traffic filtering action as deny in traffic behavior database. system-view [Sysname] traffic behavior database [Sysname-behavior-database] filter deny redirect Use redirect to configure a traffic redirecting action in the traffic behavior.
[Sysname-behavior-database] redirect interface fortygige1/0/1 Related commands • classifier behavior • qos policy • traffic behavior remark dscp Use remark dscp to configure a DSCP marking action. Use undo remark dscp to restore the default. Syntax remark dscp dscp-value undo remark dscp Default No DSCP marking action is configured. Views Traffic behavior view Predefined user roles network-admin Parameters dscp-value: DSCP value, which can be a number from 0 to 63 or a keyword in Table 14.
Keyword DSCP value (binary) DSCP value (decimal) cs2 010000 16 cs3 011000 24 cs4 100000 32 cs5 101000 40 cs6 110000 48 cs7 111000 56 ef 101110 46 Usage guidelines A DSCP marking action takes effect only on incoming IP packets that are forwarded at Layer 3 by the local switch. Examples # Configure traffic behavior database to mark matching traffic with DSCP 6.
traffic behavior Use traffic behavior to create a traffic behavior and enter traffic behavior view. Use undo traffic behavior to delete a traffic behavior. Syntax traffic behavior behavior-name undo traffic behavior behavior-name Default No traffic behavior exists. Views System view Predefined user roles network-admin Parameters behavior-name: Sets a traffic behavior name, a case-sensitive string of 1 to 31 characters. Examples # Create a traffic behavior named behavior1.
Parameters classifier-name: Specifies a traffic class by its name, a case-sensitive string of 1 to 31 characters. behavior-name: Specifies a traffic behavior by its name, a case-sensitive string of 1 to 31 characters. Usage guidelines A traffic class can associate with only one traffic behavior in a QoS policy. If the specified traffic class or traffic behavior does not exist, the system defines a null traffic class or traffic behavior.
card. If no card is specified, this command displays the QoS policies on all cards of all member devices. (In IRF mode.) Examples # Display the configuration information of all the user-defined QoS policies.
slot slot-number: Displays information about the global QoS policies on the card specified by the slot number. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument refers to the ID of the IRF member device, and the slot-number argument refers to the number of the slot where the card resides. (In IRF mode.
For the output description, see Table 11 and Table 13. display qos policy interface Use display qos policy interface to display information about the QoS policies applied to an interface or all interfaces.
Operator: AND Rule(s) : If-match protocol ip Behavior: 2 Accounting enable: 0 (Packets) Filter enable: Permit Marking: Remark dot1p 1 Table 16 Command output Field Description Direction Direction in which the QoS policy is applied to the interface. Green packets Traffic statistics for green packets. Red packets Traffic statistics for red packets. For the output description, see Table 11 and Table 13.
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument refers to the ID of the IRF member device, and the slot-number argument refers to the number of the slot where the card resides. (In IRF mode.) Usage guidelines If no direction is specified, this command displays information about QoS policies applied to VLANs in both the inbound and outbound directions.
Vlan 2: outbound Table 17 Command output Field Description Direction Direction in which the QoS policy is applied for the VLAN. Green packets Statistics about green packets. Red packets Statistics about red packets. Vlan 2: outbound The QoS policy is applied to the outgoing traffic of VLAN 2. For the output description, see Table 11 and Table 13. qos apply policy Use qos apply policy to apply a QoS policy. Use undo qos apply policy to remove the QoS policy.
Action Inbound Outbound Redirecting traffic to the CPU Supported Supported DSCP marking Supported Not supported Local precedence marking Supported Not supported Examples # Apply QoS policy USER1 to the incoming traffic of FortyGigE 1/0/1. system-view [Sysname] interface fortygige 1/0/1 [Sysname-FortyGigE1/0/1] qos apply policy USER1 outbound qos apply policy global Use qos apply policy global to apply a QoS policy globally. Use undo qos apply policy global to remove the QoS policy.
Use undo qos policy to delete a QoS policy. Syntax qos policy policy-name undo qos policy policy-name Default No QoS policy is configured. Views System view Predefined user roles network-admin Parameters policy-name: QoS policy name, a case-sensitive string of 1 to 31 characters. Usage guidelines To use the undo qos policy command to delete a QoS policy that has been applied to a certain object, you must first remove it from the object. Examples # Define QoS policy user1.
Predefined user roles network-admin Parameters policy-name: Specifies a QoS policy name, a case-sensitive string of 1 to 31 characters. vlan-id-list: Specifies a list of up to eight VLAN IDs. A VLAN ID ranges from 1 to 4094. You can enter individual discontinuous VLAN IDs and VLAN ID ranges in the form of start-vlan-id to end-vlan-id where the start VLAN ID must be smaller than the end VLAN ID. Each item in the VLAN list is separated by a space. You can specify up to eight VLAN IDs.
Views User view Predefined user roles network-admin Parameters vlan vlan-id: Specifies a VLAN ID, which ranges from 1 to 4094. inbound: Clears the statistics of the QoS policy applied to the incoming traffic of the specified VLAN. outbound: Clears the statistics of the QoS policy applied to the incoming traffic of the specified VLAN. Usage guidelines If no direction is specified, this command clears the statistics of the QoS policies in both directions of the VLAN.
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-operator Parameters The switch provides the following types of priority map. Table 19 Priority maps Priority mapping Description dot1p-dp 802.1p-drop priority map. dot1p-lp 802.1p-local priority map.
4 : 4 5 : 5 6 : 6 7 : 7 Table 20 Command output Field Description MAP-TABLE NAME Name of the priority map. TYPE Type of the priority map. IMPORT Input values of the priority map. EXPORT Output values of the priority map. import Use import to configure mappings for a priority map. Use undo import to restore the specified or all mappings to the default for a priority map.
Syntax qos map-table { dot1p-dp | dot1p-lp | dscp-dot1p| dscp-dp | dscp-dscp } Views System view Predefined user roles network-admin Parameters For the description of the keywords, see Table 19. Examples # Enter the 802.1p-drop priority map view. system-view [Sysname] qos map-table dot1p-dp [Sysname-maptbl-dot1p-dp] Related commands • display qos map-table • import Port priority commands qos priority Use qos priority to change the port priority of an interface.
Related commands display qos trust interface Priority trust mode commands display qos trust interface Use display qos trust interface to display priority trust mode and port priority information on an interface. Syntax display qos trust 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.
Default The switch trusts the 802.1p priority carried in packets. Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view Predefined user roles network-admin Parameters dot1p: Uses the 802.1p priority in incoming packets for priority mapping. dscp: Uses the DSCP value in incoming packets for priority mapping. Examples # Set the trusted packet priority type to 802.1p priority on FortyGigE 1/0/1.
GTS and rate limit commands GTS commands display qos gts interface Use display qos gts interface to view generic traffic shaping (GTS) configuration and statistics on a specified interface or all the interfaces. Syntax display qos gts 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.
Syntax qos gts queue queue-number cir committed-information-rate [ cbs committed-burst-size ] undo qos gts queue queue-number Default No GTS parameters are configured on an interface. Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view Predefined user roles network-admin Parameters queue queue-number: Shapes the packets in the specified queue. The value range for the queue-number argument is 0 to 7. cir committed-information-rate: Specifies the CIR in kbps.
Parameters interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, this command displays the rate limit configuration and statistics on all the interfaces. Examples # Display the rate limit configuration and statistics on all the interfaces.
cbs committed-burst-size: Specifies the CBS in bytes. The value range for the committed-burst-size argument is an integral multiple of 512 between 512 and 128000000. 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 an integral multiple of 512, it is rounded up to the nearest integral multiple of 512 that is greater than the product.
Congestion management commands SP commands display qos queue sp interface Use display qos queue sp interface to view the SP queuing configuration of an interface. Syntax display qos queue sp 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 SP queuing configuration of all the interfaces.
Default An interface uses the SP queuing algorithm. Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view Predefined user roles network-admin Examples # Enable SP queuing on FortyGigE 1/0/1. system-view [Sysname] interface fortygige 1/0/1 [Sysname-FortyGigE1/0/1] qos sp Related commands display qos queue sp interface WRR commands display qos queue wrr interface Use display qos queue wrr interface to display the WRR queuing configuration on an interface.
ef 1 9 cs6 1 13 cs7 1 15 Table 25 Command output Field Description Interface Interface type and interface number. Output queue Type of the current output queue. Queue ID ID of a queue. Group Number of the group a queue is assigned to. By default, all queues belong to group 1. Weight Packet-based queue scheduling weight of a queue. N/A is displayed for a queue that uses the SP queue scheduling algorithm.
system-view [Sysname] interface fortygige 1/0/1 [Sysname-FortyGigE1/0/1] qos wrr byte-count Related commands display qos queue wrr interface qos wrr { byte-count | weight } Use qos wrr { byte-count | weight } to configure the WRR queuing parameters for a queue on an interface. Use undo qos wrr to restore the default WRR queuing parameters of a queue on an interface.
Number Keyword 4 af4 5 ef 6 cs6 7 cs7 Examples # Enable byte-count WRR queuing on FortyGigE 1/0/1, and assign queues 0 and 1 to the WRR group, with the scheduling weights 10 and 5, respectively.
You must use the qos wrr command to enable WRR queuing before you can configure this command on an interface. Examples # Enable packet-based WRR queuing on FortyGigE 1/0/1, and assign queue 0 to the SP group.
Table 27 Command output Field Description Interface Interface type and interface number. Output queue Type of the current output queue. Queue ID ID of a queue. Group Number of the group that holds the queue. By default, all queues are in group 1. Byte-count Byte-count scheduling weight of the queue. Min-Bandwidth Minimum guaranteed bandwidth. qos bandwidth queue Use qos bandwidth queue to set the minimum guaranteed bandwidth for a specified queue on an interface.
Related commands qos wfq qos wfq Use qos wfq to enable WFQ and specify the WFQ weight type on an interface. Use undo qos wfq to disable WFQ and restore the default queuing algorithm on an interface. Syntax qos wfq { byte-count | weight } undo qos wfq { byte-count | weight } Default An interface uses the SP queuing algorithm. Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view Predefined user roles network-admin Parameters byte-count: Allocates bandwidth to queues in terms of bytes.
undo qos wfq queue-id Default When WFQ queuing is used on an interface, all the queues are in the WFQ group and have a weight of 1. Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view Predefined user roles network-admin Parameters queue-id: Specifies a queue by its ID. A queue ID is a number in the range of 0 to 7 or a keyword in Table 26. group 1: Specifies the WFQ group. Only one WFQ group is supported. byte-count: Allocates bandwidth to queues in terms of bytes.
Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view Predefined user roles network-admin Parameters queue-id: Specifies a queue by its ID. A queue ID is a number in the range of 0 to 7 or a keyword in Table 26. sp: Assigns a queue to the SP group, which uses the SP queue scheduling algorithm. Usage guidelines With this SP+WFQ queuing method, the system schedules traffic in the following order: 1.
Views Queue scheduling profile view Predefined user roles network-admin Parameters queue-id: Specifies a queue by its ID. A queue ID is a number in the range of 0 to 7 or a keyword in Table 26. min bandwidth-value: Specifies the minimum guaranteed bandwidth in the range of 8 to 100000000 kbps. The parameter specifies the bandwidth guaranteed for a queue when the port is congested.
Parameters profile-name: Specifies the queue scheduling profile name, a string of 1 to 31 case-sensitive characters. slot slot-number: Specifies a card by its slot number. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument refers to the ID of the IRF member device, and the slot-number argument refers to the number of the slot where the card resides. (In IRF mode.
Field Description Scheduling weight type. Schedule-unit • For an SP queue, this field is always N/A. • For a WRR queue or WFQ queue, this field can be weight or byte-count. Schedule-value Scheduling weight of the queue. For an SP queue, this field is always N/A. Bandwidth Minimum guaranteed bandwidth of the queue. This parameter can be configured for only WFQ queues.
undo qos apply qmprofile Default No queue scheduling profile is applied to an interface. Views Layer 2 Ethernet interface view, Layer 3 Ethernet interface view Predefined user roles network-admin Parameters profile-name: Specifies the queue scheduling profile name, a case-sensitive string of 1 to 31 characters. Usage guidelines You can apply only one queue scheduling profile to an interface. Examples # Apply queue scheduling profile myprofile to FortyGigE 1/0/1.
Examples # Create queue scheduling profile myprofile and enter queue scheduling profile view. system-view [Sysname] qos qmprofile myprofile [Sysname-qmprofile-myprofile] Related commands • display qos qmprofile interface • queue queue Use queue to configure queue scheduling parameters. Use undo queue to restore the default.
# Create queue scheduling profile myprofile and configure it as follows: • Configure queue 1 to use WRR. • Set the scheduling weight to 10 for queue 1. • Assign queue 1 to WRR priority group 1.
Dropped: 0 packets, 0 bytes Total queue length: 0 packets Current queue length: 0 packets, 0% use ratio Queue 2 Forwarded: 0 packets, 0 bytes Dropped: 0 packets, 0 bytes Total queue length: 0 packets Current queue length: 0 packets, 0% use ratio Queue 3 Forwarded: 0 packets, 0 bytes Dropped: 0 packets, 0 bytes Total queue length: 0 packets Current queue length: 0 packets, 0% use ratio Queue 4 Forwarded: 0 packets, 0 bytes Dropped: 0 packets, 0 bytes Total queue length: 0 packets Current queue length: 0 pack
reset qos queue-statistics interface Use reset qos queue-statistics interface to clear queue statistics for an interface. Syntax reset qos queue-statistics interface [ interface-type interface-number ] outbound Views User view Predefined user roles network-admin Parameters interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, the command clears queue statistics for all interfaces. outbound: Clears outbound queue statistics.
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 behavior view Predefined user roles network-admin Parameters car-name: Specifies the name of an aggregate CAR action. This argument must start with a letter, and is a case-sensitive string of 1 to 31 characters.
network-operator Parameters car-name: Specifies the name of an aggregate CAR action. This argument must start with a letter, and is 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 # (In standalone mode.) Display aggregate CAR configuration and statistics.
Syntax qos car car-name aggregative cir committed-information-rate [ cbs committed-burst-size [ ebs excess-burst-size ] ] [ pir peek-information-rate ] 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 start with a letter, and is a case-sensitive string of 1 to 31 characters. aggregative: Specifies the aggregate CAR action.
Views User view Predefined user roles network-admin Parameters car-name: Specifies the name of an aggregate CAR action. This argument must start with a letter, and is a case-sensitive string of 1 to 31 characters. If no car-name is specified, the statistics about all the aggregate CAR actions is cleared. Examples # Clear the statistics about the aggregate CAR action aggcar-1.
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-insensitive string of 1 to 32 characters. It must start with an English letter. all: Displays the configuration and status of all existing time ranges.
Syntax time-range time-range-name { start-time to end-time days [ from time1 date1 ] [ to time2 date2 ] | from time1 date1 [ to time2 date2 ] | to time2 date2 } undo time-range time-range-name [ start-time to end-time days [ from time1 date1 ] [ to time2 date2 ] | from time1 date1 [ 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 range name.
• Periodic statement in the start-time to end-time days format. A periodic statement recurs periodically on a day or days of the week. • Absolute statement in the from time1 date1 to time2 date2 format. An absolute statement does not recur. • Compound statement in the start-time to end-time days from time1 date1 to time2 date2 format. A compound statement recurs on a day or days of the week only within the specified period.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. [] Square brackets enclose syntax choices (keywords or arguments) that are optional. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
Network topology icons Represents a generic network device, such as a router, switch, 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. Represents an access controller, a unified wired-WLAN module, or the switching engine on a unified wired-WLAN switch. Represents an access point.
Index ABCDFIPQRSTW display traffic classifier,24 A Documents,82 accounting,29 acl,1 F acl copy,2 filter,32 acl name,3 I B if-match,25 bandwidth,66 import,49 C P car,30 packet-filter,11 car name,75 packet-filter default deny,12 classifier behavior,36 Q D qos apply policy,43 description,3 qos apply policy global,44 display acl,4 qos apply qmprofile,69 display packet-filter,5 qos bandwidth queue,63 display packet-filter statistics,6 qos car,76 display packet-filter statistics sum
reset acl counter,13 S reset packet-filter statistics,14 step,23 reset qos car name,77 Subscription service,82 reset qos policy global,46 T reset qos queue-statistics interface,74 time-range,79 reset qos vlan-policy,46 traffic behavior,36 rule (Ethernet frame header ACL view),15 rule (IPv4 advanced ACL view),16 traffic classifier,29 rule (IPv4 basic ACL view),21 W rule comment,22 Websites,82 86