Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Understanding Port Shaping and Queue Shaping for CoS on EX Series Switches

    If the amount of traffic on a switch's network interface is more than the maximum bandwidth allowed on the interface, it leads to congestion. Port shaping and queue shaping can be used to manage the excess traffic and avoid congestion. Port shaping defines the maximum bandwidth allocated to a port, while queue shaping defines a limit on excess-bandwidth usage per queue.

    This topic covers:

    Port Shaping

    Port shaping enables you to shape the aggregate traffic through a port or channel to a rate that is less than the line or port rate.

    When you configure a shaping rate on an aggregated Ethernet (ae) interface, all members of the ae interface are shaped at the configured shaping rate. For example, consider an ae0 interface that consists of ge-0/0/0, ge-0/0/1, and ge-0/0/2 interfaces. If a shaping rate of X Mpbs is configured on ae0, traffic at the rate of X Mpbs flows through each of the three interfaces. Therefore, the total traffic flowing through ae0 would be 3X Mbps.

    Queue Shaping

    Queue shaping throttles the rate at which queues transmit packets. For example, using queue shaping, you can rate-limit a strict-priority queue so that the strict-priority queue does not lock out (or starve) low-priority queues. Similarly, for any queue, you can configure queue shaping.

    Published: 2012-06-21