Frame Relay Traffic Shaping - Page 2

 By Cisco Press
Page 2 of 3   |  Back to Page 1
Print Article

Frame Relay DE Bit
Frame Relay frames can be specified regarding which have low priority or low time sensitivity. These frames will be the first to be dropped when a Frame Relay switch is congested. The DE bit is the mechanism that allows a Frame Relay switch to identify such frames to be dropped or discarded. DE lists and groups can be managed in the following manner:

  • DE lists can be specified that identify the characteristics of frames to be eligible for discarding.
  • DE groups can be specified to identify the affected DLCI.
  • DE lists can also be specified based on the protocol or the interface, and on characteristics such as fragmentation of the packet, a specific TCP or User Datagram Protocol (UDP) port, an access list number, or a packet size.

Differences Between Traffic-Shaping Mechanisms
Generic traffic shaping (GTS), class-based shaping, distributed traffic shaping (DTS), and Frame Relay traffic shaping (FRTS) are similar in implementation, share the same code and data structures, differ in regard to their CLIs, and differ in the queue types used.

Following are some examples in which these mechanisms differ:

  • For GTS, the shaping queue is a weighted fair queue. For FRTS, the queue can be a weighted fair queue (configured by the frame-relay fair-queue command), a strict priority queue with WFQ (configured by the frame-relay ip rtp priority command in addition to the frame-relay fair-queue command), custom queuing (CQ), priority queuing (PQ), or first-in, first-out (FIFO). See Table 15-16 for detailed differences.
  • For class-based shaping, GTS can be configured on a class, rather than only on an access control list (ACL). To do so, you must first define traffic classes based on match criteria including protocols, access control lists (ACLs), and input interfaces. Traffic shaping can be applied to each defined class.
  • FRTS supports shaping on a per-DLCI basis; GTS and DTS are configurable per interface or subinterface.
  • DTS supports traffic shaping based on a variety of match criteria, including user-defined classes, and DSCP.

Table 15-16: Differences Between Shaping Mechanisms

Mechanism GTS Class-Based DTS FRTS
Command-Line Interface Applies parameters per subinterface

Traffic group command supported
Applies parameters per interface or per class Applies parameters per interface or subinterface Classes of parameters

Applies parameters to all VCs on an interface through inheritance mechanism

No traffic group command
Queues Supported Weighted fair queuing (WFQ) per subinterface Class-based weighted fair queuing (CBWFQ) inside GTS WFQ, strict priority queue with WFQ, CQ, PQ, first come, first served (FCFS) per VC WFQ, strict priority queue with WFQ, CQ, PQ, FCFS per VC

GTS can be configured to behave the same as FRTS by allocating one DLCI per subinterface and using GTS plus BECN support. The behavior of the two is then the same with the exception of the different shaping queues used.

FRTS, like GTS, can eliminate bottlenecks in Frame Relay networks that have high-speed connections at the central site and low-speed connections at branch sites. Rate enforcement can be configured as a peak rate configured to limit outbound traffic to limit the rate at which data is sent on the VC at the central site.

FRTS can be used to configure rate enforcement to either the CIR or some other defined value, such as the excess information rate, on a per-VC basis. The ability to allow the transmission speed that the router uses to be controlled by criteria other than line speed -- the CIR or excess information rate -- provides a mechanism for sharing media by multiple VCs. Bandwidth can be allocated to each VC, creating a virtual time-division multiplexing (TDM) network.

PQ, CQ, and WFQ can be defined at the VC or subinterface level. These queuing methods allow for finer granularity in the prioritization and queuing of traffic, providing more control over the traffic flow on an individual VC. If CQ is combined with the per-VC queuing and rate enforcement capabilities, Frame Relay VCs can carry multiple traffic types such as IP, SNA, and IPX with bandwidth guaranteed for each traffic type.

FRTS can dynamically throttle traffic by using information that is contained in the BECN-tagged frames that are received from the network. With BECN-based throttling, frames are held in the router buffers to reduce the data flow from the router into the Frame Relay network. Throttling is done on a per-VC basis, and the transmission rate is adjusted based on the number of BECN-tagged frames received.

This article was originally published on Feb 7, 2002
Get the Latest Scoop with Networking Update Newsletter