Configuring egress per-queue rate-limiting (2920, 3800, and 5400R switches only)


[NOTE: ]

NOTE: Beginning with software release 15.18, the HP 2920, 3800, and 5400R switches support egress per-queue rate-limiting, including configuration on static trunks. (Egress per-queue rate-limiting is not supported on dynamic LACP or distributed (DT) trunks.)


Overview

Egress rate-limiting permits administrators to configure the maximum percentage of traffic allowed to egress an interface for each priority queue.

  • Egress per-queue rate-limiting allows configurations on both physical ports and static trunks.

  • The number of queue percentages will vary based on the number of queues configured on the device (i.e., 2-queues, 4-queues, 8-queues).

  • Configuration is allowed on a static trunk (manual HP trunks and static LACP trunks), but the actual traffic enforcement occurs per-port on the individual ports belonging to the trunk.

Restrictions

  • While limits on all egress traffic (rate-limit all) and limits on specific egress queues (rate-limit queues) can be configured at the same time on a given port (i.e., can be concurrent features), this may result in lower actual limits than expected. This is particularly true of queue-limits, where a packet may be dropped for the port as a whole even when the queue is below its limit.

  • The egress per-queue rate-limiting is not configurable on dynamic LACP and Distributed trunks.

  • Other rate-limiting features (ingress and egress) are not supported on trunked ports.

Configuration commands

Rate-limit queues out command

The rate-limit queues out command configures the maximum percentage of outbound port traffic that can be transmitted by each queue available on a port or static trunk.

  • To prevent transmission through a specific egress queue on a specific port, use a value of zero (0-percent) for that queue.

  • To prevent any limitation of traffic through a specific egress queue on a specific port, use a value of 100 (100–percent) for that queue.

The rate-limit queues out command is not supported on either distributed trunks or dynamic trunks.

Syntax:
[no] int 


<port-list> rate-limit queues out percent 


queue1_% 

queue2_% 

queue3_% 

queue4_% 

queue5_% 

queue6_% 

queue7_% 

queue8_%

Rate-limit queues out percent command

int 5 rate-limit queues out percent 60 50 70 60 40 80 90 30

Show commands

Syntax:

show running-config

Displays the running configuration which includes the rate limit queue percentage.

Output for the show running-config command

HP-Switch# show running-config
Running configuration:
; J9727A Configuration Editor; Created on release #WB.15.18.0000x
; Ver #09:14.29.eb.8f.fc.f3.ff.37.2d:ba

hostname "HP-2920-24G-PoEP"
module 1 type j9727a
trunk 10-12 trk1 trunk
interface 5
   rate-limit queues out percent 60 50 70 60 40 80 90 30
   exit
interface Trk1
   rate-limit queues out percent 60 50 70 60 40 80 90 30
   exit
snmp-server community "public" unrestricted
oobm
   ip address dhcp-bootp
   exit
vlan 1
   name "DEFAULT_VLAN"
   untagged 1-9,13-24,A1-A2,B1-B2,Trk1
   ip address dhcp-bootp
   exit
spanning-tree Trk1 priority 4

show rate-limit queues

Syntax:

show rate-limit queues <port-list>

Using the show rate-limit command with the queues option added in software release 15.18 enables you to specify both individual ports and port trunk names to display the output. If nothing is specified, all physical ports and any static, non-DT trunks are displayed with their current settings previously configured with the rate-limit queues command. The optional <port-list> parameter limits the display output to the listed ports (and static, non-DT trunks, if any).

Command output when no port list specified

HP-Switch# show rate-limit queues

 Outbound Queue-Based Rate-Limit %

Port   Q1  Q2  Q3  Q4  Q5  Q6  Q7  Q8
------ --- --- --- --- --- --- --- ---
1      5   10  10  5   10  10  20  20
2      5   10  10  5   10  10  20  20
3      5   10  10  5   10  10  20  20
4      5   10  10  5   10  10  20  20
7      5   10  10  5   10  10  20  20

22     5   10  10  5   10  10  20  20

24     5   10  10  5   10  10  20  20  
Trk1   5   10  10  5   10  10  10  20
Trk6   5   10  10  5   10  10  10  20

Output with trunk queue set to 100 percent

HP-Switch# show rate-limit queues

 Outbound Queue-Based Rate-Limit %

  Port   Q1  Q2     Q3  Q4     Q5  Q6  Q7  Q8
  ------ --- ------ --- ------ --- --- --- ------
  5      5   10     10  5      10  10  20  20
  8      5   10     10  5      10  10  20  20
  18     5   10     10  5      10  10  20  20
  Trk1   5   10     10  5      10  10  20  100

Output when port list specified

HP-Switch# show rate-limit queues A1-A4

Outbound Queue-Based Rate-Limit %

Port   Q1  Q2  Q3  Q4  Q5  Q6  Q7  Q8
------ --- --- --- --- --- --- --- ---
1      5   10  10  5   10  10  20  20
2      5   10  10  5   10  10  20  20
3      5   10  10  5   10  10  20  20
4      5   10  10  5   10  10  20  20

Output when trunk name specified

HP-Switch# show rate-limit queues Trk6

Outbound Queue-Based Rate-Limit %

Port   Q1  Q2  Q3  Q4  Q5  Q6  Q7  Q8
------ --- --- --- --- --- --- --- ---
Trk6   5   10  10  5   10  10  20  20