8.2 Frame Relay Traffic Shaping
8.4.4 Configuring Frame Relay traffic shaping
To enable Frame Relay traffic shaping, perform the following steps.
  1. Specify a map class. Specify a map class to be defined with the map-class frame-relay command:

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

  1. Define the map class. When you define a map class for Frame Relay, you can do the following:
  • Define the average and peak rates (in bits per second) that are allowed on VCs associated with the map class.
  • Specify that the router dynamically fluctuates the rate at which it sends packets, depending on the BECNs it receives.
  • Specify either a custom queue list or a priority queue group to use on VCs associated with the map class.

Once in map class configuration mode, you can define the average and peak rates, specify that the router dynamically fluctuate the rate at which it sends packets-depending on the BECNs it receives-or specify either a custom queue list or a priority queue group to use on VCs associated with the map class. See the following section, "Ways to Define a Map Class," for different ways to define a map class for traffic shaping.

  1. Enable Frame Relay on an interface. After you have defined a map class with queuing and traffic shaping parameters, enter interface configuration mode and enable Frame Relay encapsulation on an interface with the encapsulation frame-relay command, discussed earlier in this chapter in the "Configuring Frame Relay" section.

Router(config-if)#encapsulation frame-relay

  1. Enable Frame Relay traffic shaping on an interface with the frame-relay traffic-shaping command. Enabling Frame Relay traffic shaping on an interface enables both traffic shaping and per-VC queuing on all the PVCs and SVCs on the interface. Traffic shaping enables the router to control the circuit output rate and react to congestion notification information.
  1. Add the map class to VCs on the interface. Add a map class to all VCs on the interface with the frame-relay class map-class-name  command. The map-class-name argument must match the map-class-name of the map class you configured:

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

Note: The map class can be mapped to the interface or to a specific subinterface on the interface.