traffic-shape

Displays traffic-shaping related configuration details and statistics. Traffic shaping regulates network data transfers to ensure a specific performance level. Traffic shaping delays the flow of packets defined as less important than prioritized traffic streams. Traffic shaping enables traffic control out an interface to match its flow to the speed of a remote target‘s interface and ensure traffic conforms applied policies. Traffic can be shaped to meet downstream requirements and eliminate network congestion when data rates are in conflict.

Apply traffic shaping to specific applications to apply application categories. When application and ACL rules are conflicting, ACL rules take precedence for the traffic shaping class. Using traffic shaping, an application takes precedence over an application category.

Supported on the following devices:

Syntax

show traffic-shape [priority-map|statistics {class <1-4>}|status] {on <DEVICE-NAME>}

Parameters

show traffic-shape [priority-map|statistics {class <1-4>}|status] {on <DEVICE-NAME>}
traffic-shape Displays traffic-shaping related configuration details and statistics
priority-map Displays the traffic shaper queue priority. There are 8 queues (0 - 7), and traffic is queued in each based on incoming packets 802.1p markings.
statistics class <1-4> Displays traffic-shaping related statistics for all traffic shaper classes or for a selected class
  • class <1-4> – Optional. Specify the traffic class from 1 - 4. The system displays traffic shaping statistics for the selected class. If not selected, the system statistics for all classes.
status Displays the controller or service platform‘s traffic shaping status (whether running or not)
on <DEVICE-NAME> Optional. Displays traffic-shaping related configuration details and statistics on a specified device
  • <DEVICE-NAME> – Specify the name of the AP, wireless controller, or service platform.

Examples

ap7532-DEB9B0#show traffic-shape priority-map
----------------------------------------
  DOT1P-PRIORITY    TX-SHAPER-PRIORITY
----------------------------------------
 0                2
 1                0
 2                1
 3                3
 4                4
 5                5
 6                6
 7                7
----------------------------------------
ap7532-DEB9B0#
ap7532-DEB9B0#show traffic-shape status
State of Traffic shaper:  running
ap7532-DEB9B0#
ap7532-DEB9B0#show traffic-shape statistics

Traffic shaper class : 1
Class 1 is not configured:

Traffic shaper class : 3
Class 3 is not configured:

Traffic shaper class : 2
Rate: 1500 Kbps
---------------------------------------------------------------------------------------
 PRIORITY  PKTS-SENT  PKTS-DELAYED PKTS-DROPPED CURRENT-QUEUE-LEN  CURRENT-LATENCY(IN USECS)
---------------------------------------------------------------------------------------
  1        0           0            0            0                 0
  0        0           0            0            0                 0
  3        0           0            0            0                 0
  2        152153035   151924251    1508343      11                33447
  5        0           0            0            0                 0
  4        0           0            0            0                 0
  7        0           0            0            0                 0
  6        0           0            0            0                 0
---------------------------------------------------------------------------------------

Traffic shaper class : 4
Class 4 is not configured:
ap7532-DEB9B0#