8.4 Frame Relay Traffic Shaping
8.4.7 Rate enforcement example
Perform the following steps to configure Frame Relay rate enforcement
  1. Define a map class and enter map class configuration mode:

Router(config)#map-class frame-relay map-class-name

  1. Define the rate enforcement parameters to use:

Router(config-map-class)#[no] frame-relay traffic-rate average [peak]

average is the average rate (equivalent to CIR).

peak is the “peak rate” (equivalent to CIR + Be/t = CIR(1 + Be/Bc)). The default peak value is the line rate (derived from the bandwidth command). For SVCs, the configured peak and average rates are converted to the equivalent CIR, Be, and Bc values for use by SVC signaling. Only one command format (“traffic rate” or CIR, Be, and Bc) will be accepted in one map class. The user is warned when entering a second command type that the previous one is being overwritten.

  1. Enable both traffic shaping and per-VC queuing for all VCs (PVCs and SVCs) on a Frame Relay interface:

Router(config-if)#frame-relay traffic-shaping

For VCs where no specific traffic shaping or queuing parameters are specified, a set of default values is used.

  1. Associate a map class with an interface or subinterface:

Router(config)#frame-relay class name

Each VC created on the interface/subinterface inherits all the relevant parameters defined in the frame-relay-class name. For each VC, the precedence rules are as follows:

Use a map class associated with VC if it exists.

  • If not, use a map class associated with subinterface, if it exists.
  • If not, use a map class associated with interface, if it exists.
  • If not, use the default parameters.
  1. (Optional) Apply a map class to a specific DLCI for which a Frame Relay map statement exists:

Router(config-map-class)#frame-relay interface-dlci
dlci [broadcast] [ietf | cisco]

Lab Activity    
  Your main office in Atlanta has a high-speed T1 Frame Relay connection. It is over-running your remote sites that only have 56K Frame Relay connections. Install rate enforcement on your router in Atlanta to control how much traffic is sent to these sites. Routing should be handled using IGRP.