cc/td/doc/product/software/ios121/121newft/121limit/121e/121e2
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuration Tasks
Preliminary Frame Relay Configuration for Voice

Configuration Tasks

This section describes how to configure VoFR, including the Cisco implementations for FRF.11 and FRF.12. The following major tasks are covered and are divided into the following sections:

This section specifically describes the commands to configure VoFR applications. It is assumed you have already configured your Frame Relay backbone network, including the map class and the LMI. For more information about Frame Relay configuration, see the Wide-Area Networking Configuration Guide.

Preliminary Frame Relay Configuration for Voice

This section describes preliminary Frame Relay configuration tasks that are necessary to support VoFR:

Configuring a Map Class to Support Voice over Frame Relay

Before configuring a Frame Relay DLCI for voice traffic, you must create a Frame Relay map class and configure it to support voice traffic. Configuring a Frame Relay map class is required because the voice bandwidth and fragmentation size attributes are configured on the map class. These attributes are required for sending voice traffic on the PVC.

This section is divided into the following procedures:

A map class applies to a single DLCI or to a group of DLCIs, depending on how the class has been applied to the virtual circuit. If you have a large number of PVCs to configure, you can assign the PVCs the same traffic-shaping properties without statically defining the values for each PVC. You can create multiple map classes with different variables for each map class.

Configure a Frame Relay Map Class to Support Voice Traffic (Required)

To configure a Frame Relay map class to support voice traffic on a single DLCI or a group of DLCIs, use the following commands, beginning in global configuration mode:

Command Purpose
Step 1 

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

Create a map-class name you will assign to a group of PVCs. The map-class name must be unique.

Step 2 

router(config-map-class)# frame-relay voice bandwidth bps reserved

(FRF.11 only) Sets the bandwidth (in kpbs) reserved for voice traffic. This amount determines the number of voice calls allowed on the DLCIs associated with this map class. Set this value to no higher than the minimum CIR if you want to preserve voice quality when a burst is being transmitted. The valid range is from 8000 to 45,000,000 bps.

This command must be configured for voice calls to take place. The default for this command is 0, which disables all voice calls.

To configure the map class to support FRF.12 fragmentation, see the "Configure a Frame Relay Map Class to Support FRF.12 Fragmentation (Required)" section. To configure the map class to support traffic shaping if you want to send both voice traffic and data traffic on the same PVC, see the "Configure a Service Policy for Traffic-Shaping Parameters for Use on a Map Class (Optional)" section.

Calculating Voice Bandwidth for FRF.11

The frame-relay voice-bandwidth map-class command is used to configure how much bandwidth is reserved for voice traffic. If not enough reserved voice bandwidth remains on the PVC, then any new call attempted will be rejected.

When you consider the amount of voice bandwidth to allocate to voice, your overall bandwidth calculation must include the voice packetization overhead and not just the raw compressed speech codec bandwidth. For VoFR voice packets, there are a total of 6 or 7 bytes total overhead per packet (including standard Frame Relay headers and flags). For subchannels (CIDs) less than number 64, the overhead is 6 bytes. For subchannels greater than or equal to number 64, the overhead is 7 bytes. Add one additional byte if voice sequence numbers are enabled in the voice packets.

To determine the required voice bandwidth, use the following calculation:

required_bandwidth = codec_bandwidth * (1 + overhead/payload_size)

This calculation addresses the amount of bandwidth consumed on the physical network interface. This does not necessarily represent the amount of connection bandwidth used within the Frame Relay network itself, which may be higher because of the overhead of switching small packets.

When using 30-millisecond duration voice packets, an approximate rule of thumb is to add 2000 bps overhead to the raw voice compressed speech codec rate. With the 32 kbps G.726 ADPCM speech coder, a 30-millisecond speech frame uses 120 bytes voice payload plus 6 to 7 bytes overhead, and the overall bandwidth requirement is around 34 kbps for each call.

The codec command is configured as part of the dial peer configuration procedures in the Appendix   section of this document.

Configure a Frame Relay Map Class to Support Voice over Frame Relay/FRF.11 Fragmentation (Required)

To configure the map class to support FRF.11, use the following commands to configure a service policy and apply this service policy in map-class configuration mode:

Command Purpose
Step 1 

router(config)# class-map class-map-name

Creates a class map that will be assigned to a group of PVCs. The map class name must be unique.

Step 2 

router(config-class-map)# match protocol vofr

Specifies Voice over Frame Relay packets as a matching criterion.

Step 3 

router(config-class-map)# exit

Exits class map configuration mode.

Step 4 

router(config)# policy-map policy-map-name

Specifies the name of the service policy to configure.

Step 5 

router(config-pmap-c)# class class-map-name

Specifies the name of a predefined class, which was defined with the class-map command, included in the service policy. In this particular example, the class-map-name might have been specified in Step 1.

Step 6 

router(config-pmap-c)# priority kpbs

Specifies the guaranteed allowed bandwidth (in kbps) for priority traffic.

Step 7 

router(config-pmap-c)# exit

Exits policy map class configuration mode.

Step 8 

router(config-pmap)# exit

Exits policy map configuration mode.

Step 9 

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

Creates a map class name that will be assigned to a group of PVCs. The map class name must be unique.

Step 10 

router(config-map-class)# frame-relay fragment fragment-size

Configures Frame Relay fragmentation for the map class. The fragment_size defines the payload size of a fragment, and excludes the Frame Relay headers and any Frame Relay fragmentation header. The valid range is from 16 to 1600 bytes, and the default is 53.

The fragment_size should be less than or equal to the MTU size.

Set the fragmentation size such that the largest data packet is not larger than the voice packets.

Step 11 

router(config-map-class)# service-policy output policy-map-name

Specifies the name of the service policy to be attached to the interface.

Configure a Frame Relay Map Class to Support FRF.12 Fragmentation (Required)

To configure the map class to support FRF.12 fragmentation, use the following command in map-class configuration mode:

router(config-map-class)# frame-relay fragment fragment_size

This command configures Frame Relay fragmentation for the map class. The fragment_size defines the payload size of a fragment, and excludes the Frame Relay headers and any Frame Relay fragmentation header. The valid range is from 16 to 1600 bytes, and the default is 53.

The fragment_size should be less than or equal to the MTU size.

Set the fragmentation size such that the largest data packet is not larger than the voice packets.

To configure the map class to support traffic shaping if you want to send both voice traffic and data traffic on the same PVC, see the next section, "Configure a Service Policy for Traffic-Shaping Parameters for Use on a Map Class (Optional)" section of this document.

Configure a Service Policy for Traffic-Shaping Parameters for Use on a Map Class (Optional)

When you configure a Frame Relay PVC to support voice traffic, you must ensure that the carrier can accommodate the traffic rate or profile transmitted on the PVC. If too much traffic is sent at once, the carrier might discard frames, which causes disruptions to real-time voice traffic. The carrier might also deal with traffic bursts by queuing up the bursts and delivering them at a metered rate. Excessive queuing also causes disruption to real-time voice traffic.

To compensate for this condition, traffic shaping is required if you are sending both voice traffic and data traffic over the same PVC.


Note   When you configure the outgoing Excess Burst size, the Committed Burst size, and the committed information rate (CIR) values, obtain the appropriate values from your carrier. The values configured on the router must match those of the carrier. Traffic shaping is necessary to prevent your carrier from discarding Discard Eligible (DE) bits on ingress or to prevent excessive burst data from affecting voice quality.

Use the following commands to configure shaping parameters for Cisco 7500 routers with a VIP:

Command Purpose
Step 1 

Router(config)# policy-map policy-name

Specifies the name of the service policy to be created.

Step 2 

Router(config-pmap)# class class-default

 

Specifies the name of the default class to configure. Although the default class is not required to configure traffic-shaping parameters, Cisco Systems highly recommends that you configure traffic shaping on the default class.

Step 3 

Router(config-pmap-c)# shape {average | peak}
mean-rate [burst-size [excess-burst-size]]

Shapes traffic to the indicated bit rate according to the algorithm specified.

Step 4 

router(config-pmap-c)# exit

Exits policy map class configuration mode.

Step 5 

router(config-pmap)# exit

Exits policy map configuration mode.

Step 6 

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

Creates a map-class name you will assign to a group of PVCs. The map-class name must be unique.

Step 7 

router(config-map-class)# service-policy output policy-map-name

Specifies the name of the service policy to be attached to the interface. In this particular example, the name of the service policy was specified in Step 1.

For additional information on the shape command, see the Distributed Traffic Shaping  feature module on CCO.

If your shape configuration is complete, see the "Verifying Your Frame Relay Configuration" section. To begin your dial peer configuration, see Appendix  section of this document.

Creating a Service Policy for FRF.11 and FRF.12 (Optional)

To create a service policy for FRF.11 and FRF.12, enter the following commands:

Command Purpose
Step 1 

Router(config)# class-map class-name

Specifies the name of the traffic class to configure.

Step 2 

Router(config-cmap)# match match-criterion

Specifies the match criterion. IP precedence matching is the most commonly used match criterion for FRF.12. For FRF.11, the match protocol vofr command is the required match criterion.

Step 3 

Router(config-cmap)# exit

Exits class map configuration mode.

Step 4 

Router(config)# policy-map policy-name

Specifies the name of the service policy to configure.

Step 5 

Router(config-pmap)# class class-name

Specifies the name of a predefined class, which was defined with the class-map command, included in the service policy. In this example, the class-name was defined in Step 1.

Step 6 

Router(config-pmap-c)# priority bandwidth

 

Reserves a priority queue for CBWFQ traffic.

For information on the priority command, see the Low Latency Queueing for the V ersatile Interface Processor document on CCO.

Step 7 

Router(config-pmap-c)# exit

Exits policy map class configuration mode.

Step 8 

Router(config-pmap)# exit

Exits policy map configuration mode.

Step 9 

Router(config)# policy-map policy-name

Specifies the name of the service policy to configure.

Step 10 

Router(config-pmap)# class class-name

Specifies the name of a predefined class, which was defined with the class-map command, included in the service policy.
In this example, the class-name was defined in step 1.

Step 11 

Router(config-pmap-c)# shape {average | peak}

mean-rate [burst-size [excess-burst-size]]

Shapes traffic to the indicated bit rate according to the algorithm specified.

Step 12 

Router(config-pmap-c)# service-policy

policy-name

Specifies the name of a previously configured service policy to use in the new service policy. For purposes of FRF.11 and FRF.12, the policy-name is specified in Step 10.

Step 13 

Router(config-pmap-c)# exit

Exits policy map class configuration mode.

Step 14 

Router(config-pmap)# exit

Exits policy map configuration mode.

Step 15 

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

Creates a map class name you will assign to a group of PVCs. The map class name must be unique.

Step 16 

Router(map-class)#  service-policy [ input | output] policy-map-name

Specifies the name of the service policy to be attached to the interface.

Verifying Your Frame Relay Configuration

You can check the validity of your Frame Relay configuration by performing the following tasks:


hometocprevnextglossaryfeedbacksearchhelp
Posted: Thu Jan 16 00:37:40 PST 2003
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.