8.4 Frame Relay Traffic Shaping
8.4.5 How to define a map class
This section shows the different ways to define a map class for traffic shaping.

Traffic Shaping through Rate Enforcement

Define the average and peak rates if the data is being sent faster than the speed at which the destination is receiving. If you define the average and peak rates (in bits per second) that are allowed on VCs associated with the map class, use the frame-relay traffic-rate average [peak] command. .

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

Traffic Shaping through Dynamic Enforcement

Specify that the router dynamically fluctuates the rate at which it sends packets, depending on the BECNs that it receives if you want the sending router to adjust its transmission rate based on the BECNs received. To select BECN as the mechanism to which traffic shaping will adapt, use the frame-relay adaptive-shaping becn command.

Note: The frame-relay adaptive-shaping  command replaces the frame-relay becn-response-enable  command.

Traffic Shaping through Queuing

Specify either a custom queue list or a priority queue group to use on VCs associated with the map class if you want to use Cisco queuing mechanisms to control traffic flow.

To specify a custom queue list, use the frame-relay custom-queue-list number command.

To specify a priority queue list, use the frame-relay priority-group number command. The number is a required number assigned to the custom or priority queue list. The command syntax for both of these commands is described in Table .