Table Of Contents
Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Prerequisites for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Restrictions for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Information About Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Benefits of Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Frame Relay Voice-Adaptive Traffic Shaping
Frame Relay Voice-Adaptive Fragmentation
How to Configure Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Configuring Class Policy for the Priority Queue and Bandwidth Queues
Configuring Frame Relay Voice-Adaptive Traffic Shaping Using the Class-Default Class
Configuring a Map Class for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Enabling Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation on the Interface
Verifying Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Configuration Examples for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation Examples
Verifying Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation Example
frame-relay fragmentation voice-adaptive
Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
The Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation feature helps ensure voice quality by adjusting the rate of traffic and activating fragmentation on the basis of the presence of voice on the permanent virtual circuit (PVC). Frame Relay voice-adaptive traffic shaping enables a PVC to adjust the rate of traffic if packets are detected in the priority queue or if H.323 call setup signaling packets are detected. Frame Relay voice-adaptive fragmentation allows fragmentation to be activated when priority-queue or H.323 signaling packets are detected. When priority-queue traffic and signaling packets are not present, Frame Relay voice-adaptive fragmentation allows fragmentation to be deactivated.
Feature Specifications for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Prerequisites for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
•
Restrictions for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
•
Information About Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
•
How to Configure Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
•
Configuration Examples for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Prerequisites for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Prerequisites for Frame Relay Voice-Adaptive Traffic Shaping
•
Traffic shaping and low latency queueing must be configured using the Modular QoS CLI (MQC).
Prerequisites for Frame Relay Voice-Adaptive Fragmentation
•
End-to-end fragmentation must be configured in a map class or on the interface.
•
Frame Relay traffic shaping or traffic shaping using the MQC must be configured. If end-to-end fragmentation is configured on the interface, traffic shaping must be configured using the MQC.
•
Low latency queueing must be configured.
•
End-to-end fragmentation must be configured on the peer router. Although the peer router may not see the expected fragmented packets from the router doing voice-adaptive fragmentation, the peer will be able to handle large unfragmented packets in addition to fragmented packets.
Restrictions for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
The feature supports FRF.12 fragmentation only. Neither FRF.11 Annex C nor Cisco proprietary fragmentation is supported.
Information About Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
•
Benefits of Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
•
Frame Relay Voice-Adaptive Traffic Shaping
•
Frame Relay Voice-Adaptive Fragmentation
Benefits of Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Before the introduction of this new feature, Frame Relay adaptive shaping could be used to reduce the sending rate when a network was congested. Because the adaptive shaping mechanism was triggered by network congestion, voice traffic might already have been delayed by the time the sending rate was reduced. The Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation feature helps to ensure voice quality by adjusting the rate of traffic based on the presence of voice on the PVC.
Frame Relay voice-adaptive traffic shaping and fragmentation
•
Prevents delay of voice packets when network congestion occurs by reducing the traffic rate to the minimum committed information rate (minCIR) and turning on fragmentation when voice packets are present on a PVC.
•
Maximizes utilization of the PVC by increasing the traffic rate to committed information rate (CIR) when voice packets are not present.
•
Reduces CPU utilization by turning off fragmentation when there are no voice packets present.
Frame Relay Voice-Adaptive Traffic Shaping
Frame Relay voice-adaptive traffic shaping enables a router to reduce the PVC sending rate to the minCIR whenever packets (usually voice) are detected in the low latency queueing priority queue or H.323 call setup signaling packets are present. When there are no packets in the priority queue and signaling packets are not present for a configured period of time, the router increases the PVC sending rate from minCIR to CIR to maximize throughput.
Note
Although the priority queue is generally used for voice traffic, Frame Relay voice-adaptive traffic shaping will respond to any packets (voice or data) in the priority queue.
Frame Relay voice-adaptive traffic shaping can be used at the same time as other types of adaptive traffic shaping. For example, if both Frame Relay voice-adaptive traffic shaping and adaptive shaping based on interface congestion are configured, the router will reduce the sending rate to minCIR if there are packets in the priority queue or the interface queue size exceeds the configured threshold.
Frame Relay voice-adaptive traffic shaping can be used in conjunction with or independently of voice-adaptive fragmentation.
Frame Relay Voice-Adaptive Fragmentation
Frame Relay voice-adaptive fragmentation enables a router to fragment large data packets whenever packets (usually voice) are detected in the low latency queueing priority queue or H.323 call setup signaling packets are present. When there are no packets in the priority queue for a configured period of time and signaling packets are not present, fragmentation is stopped.
Note
Although the priority queue is generally used for voice traffic, Frame Relay voice-adaptive fragmentation will respond to any packets (voice or data) in the priority queue.
Frame Relay voice-adaptive fragmentation can be used in conjunction with or independent of voice-adaptive traffic shaping.
To use voice-adaptive fragmentation, you must also have end-to-end fragmentation configured in a map class or on the interface.
How to Configure Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
The following tasks describe how to configure low latency queueing in addition to Frame Relay voice-adaptive traffic shaping and fragmentation.
Note
The following tasks enable both Frame Relay voice-adaptive traffic shaping and fragmentation. These two features can also be used separately. If you choose to use voice-adaptive fragmentation by itself, you can configure either MQC traffic shaping (as in the tasks that follow) or Frame Relay traffic shaping. If you use Frame Relay traffic shaping, end-to-end fragmentation must be configured in a map class.
•
Configuring Class Policy for the Priority Queue and Bandwidth Queues (required)
•
Configuring Frame Relay Voice-Adaptive Traffic Shaping Using the Class-Default Class (required)
•
Configuring a Map Class for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation (required)
•
Enabling Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation on the Interface (required)
•
Verifying Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation (optional)
Configuring Class Policy for the Priority Queue and Bandwidth Queues
Perform this task to configure a policy map for the priority class and other classes.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
policy-map policy-map
4.
class class-name
5.
priority bandwidth-kbps
6.
exit
7.
class class-name
8.
bandwidth bandwidth-kbps
9.
end
DETAILED STEPS
Configuring Frame Relay Voice-Adaptive Traffic Shaping Using the Class-Default Class
Perform the following task to configure the shaping policy, including Frame Relay voice-adaptive traffic shaping, in the class-default class.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
policy-map policy-map
4.
class class-default
5.
shape [average | peak] mean-rate [[burst-size] [excess-burst-size]]
6.
shape adaptive mean-rate-lower-bound
7.
shape fr-voice-adapt [deactivation seconds]
8.
service-policy policy-map-name
9.
end
DETAILED STEPS
Configuring a Map Class for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Perform the following task to configure a map class for Frame Relay voice-adaptive traffic shaping and fragmentation.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
map-class frame-relay map-class-name
4.
frame-relay fragment fragment_size
5.
service-policy output policy-map-name
6.
end
DETAILED STEPS
Enabling Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation on the Interface
Perform the following task to enable Frame Relay voice-adaptive traffic shaping and fragmentation on the interface.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface type number
4.
encapsulation frame-relay
5.
frame-relay fragmentation voice-adaptive [deactivation seconds]
6.
frame-relay fragment fragment-size end-to-end
7.
frame-relay interface-dlci dlci [ietf | cisco] [voice-cir cir]
8.
class name
9.
end
DETAILED STEPS
Verifying Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
Perform this task to verify the configuration and operation of Frame Relay voice-adaptive traffic shaping and fragmentation.
SUMMARY STEPS
1.
enable
2.
show policy-map [policy-map]
3.
show policy-map interface interface-name [dlci dlci] [input | output]
4.
show frame-relay pvc [interface interface] [dlci] [64-bit]
DETAILED STEPS
Configuration Examples for Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation
•
Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation Examples
•
Verifying Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation Example
Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation Examples
The following examples show the configuration of Frame Relay voice-adaptive traffic shaping and fragmentation. The first example shows end-to-end fragmentation configured in a map class that is associated with PVC 100. In the second example, end-to-end fragmentation is configured directly on the interface.
With both example configurations, priority-queue packets or H.323 call setup signaling packets destined for PVC 100 will result in the reduction of the sending rate from CIR to minCIR and the activation of FRF.12 end-to-end fragmentation. If signaling packets and priority-queue packets are not detected for 50 seconds, the sending rate will increase to CIR and fragmentation will be deactivated.
Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation with End-to-End Fragmentation Configured in a Map Class
interface serial0encapsulation frame-relayframe-relay fragmentation voice-adaptive deactivation 50frame-relay interface-dlci 100class voice_adaptive_class!map-class frame-relay voice_adaptive_classframe-relay fragment 80service-policy output shapeclass-map match-all voicematch access-group 102class-map match-all datamatch access-group 101policy-map vatsclass voicepriority 10class databandwidth 10policy-map shapeclass class-defaultshape average 60000shape adaptive 30000shape fr-voice-adapt deactivation 50service-policy vatsFrame Relay Voice-Adaptive Traffic Shaping and Fragmentation with End-to-End Fragmentation Configured on the Interface
interface serial0encapsulation frame-relayframe-relay fragmentation voice-adaptive deactivation 50frame-relay interface-dlci 100class voice_adaptive_classframe-relay fragment 80 end-to-end!map-class frame-relay voice_adaptive_classservice-policy output shapeclass-map match-all voicematch access-group 102class-map match-all datamatch access-group 101policy-map vatsclass voicepriority 10class databandwidth 10policy-map shapeclass class-defaultshape average 60000shape adaptive 30000shape fr-voice-adapt deactivation 50service-policy vatsVerifying Frame Relay Voice-Adaptive Traffic Shaping and Fragmentation Example
Sample Output for the show policy-map Command
The following sample output for the show-policy map command indicates that Frame Relay voice-adaptive traffic shaping is configured in the class-default class in the policy map "MQC-SHAPE-LLQ1" and that the deactivation timer is set at 30 seconds.
Router# show policy-mapPolicy Map VSD1Class VOICE1Strict PriorityBandwidth 10 (kbps) Burst 250 (Bytes)Class SIGNALS1Bandwidth 8 (kbps) Max Threshold 64 (packets)Class DATA1Bandwidth 15 (kbps) Max Threshold 64 (packets)Policy Map MQC-SHAPE-LLQ1Class class-defaultTraffic ShapingAverage Rate Traffic ShapingCIR 63000 (bps) Max. Buffers Limit 1000 (Packets)Adapt to 8000 (bps)Voice Adapt Deactivation Timer 30 Secservice-policy VSD1Sample Output for the show policy interface Command
The following sample output shows that Frame Relay voice-adaptive traffic shaping is active and has 29 seconds left on the deactivation timer. This means that the current sending rate on DLCI 201 is minCIR, but if no voice packets are detected for 29 seconds, the sending rate will increase to CIR.
Router# show policy interface Serial3/1.1Serial3/1.1:DLCI 201 -Service-policy output:MQC-SHAPE-LLQ1Class-map:class-default (match-any)1434 packets, 148751 bytes30 second offered rate 14000 bps, drop rate 0 bpsMatch:anyTraffic ShapingTarget/Average Byte Sustain Excess Interval IncrementRate Limit bits/int bits/int (ms) (bytes)63000/63000 1890 7560 7560 120 945Adapt Queue Packets Bytes Packets Bytes ShapingActive Depth Delayed Delayed ActiveBECN 0 1434 162991 26 2704 yesVoice Adaptive Shaping active, time left 29 secsService-policy :VSD1Class-map:VOICE1 (match-all)9 packets, 621 bytes30 second offered rate 0 bps, drop rate 0 bpsMatch:access-group 111Match:not access-group 112QueueingStrict PriorityOutput Queue:Conversation 24Bandwidth 10 (kbps) Burst 250 (Bytes)(pkts matched/bytes matched) 18/1242(total drops/bytes drops) 0/0Class-map:SIGNALS1 (match-all)0 packets, 0 bytes30 second offered rate 0 bps, drop rate 0 bpsMatch:access-group 112QueueingOutput Queue:Conversation 25Bandwidth 8 (kbps) Max Threshold 64 (packets)(pkts matched/bytes matched) 0/0(depth/total drops/no-buffer drops) 0/0/0Class-map:DATA1 (match-all)1424 packets, 148096 bytes30 second offered rate 14000 bps, drop rate 0 bpsMatch:access-group 113QueueingOutput Queue:Conversation 26Bandwidth 15 (kbps) Max Threshold 64 (packets)(pkts matched/bytes matched) 1442/149968(depth/total drops/no-buffer drops) 0/0/0Class-map:class-default (match-any)1 packets, 34 bytes30 second offered rate 0 bps, drop rate 0 bpsMatch:anySample Output for the show frame-relay pvc Command
The following sample output indicates that Frame Relay voice-adaptive fragmentation is active on DLCI 202 and there are 29 seconds left on the deactivation timer. If no packets are detected in the priority queue and no H.323 signaling packets are detected in the next 29 seconds, fragmentation will stop.
Router# show frame-relay pvc 202PVC Statistics for interface Serial3/1 (Frame Relay DTE)DLCI = 202, DLCI USAGE = LOCAL, PVC STATUS = STATIC, INTERFACE = Serial3/1.2input pkts 0 output pkts 479 in bytes 0out bytes 51226 dropped pkts 0 in pkts dropped 0out pkts dropped 0 out bytes dropped 0in FECN pkts 0 in BECN pkts 0 out FECN pkts 0out BECN pkts 0 in DE pkts 0 out DE pkts 0out bcast pkts 0 out bcast bytes 05 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 5000 bits/sec, 5 packets/secpvc create time 00:23:36, last time pvc status changed 00:23:31fragment type end-to-end fragment size 80 adaptive active, time left 29 secsAdditional References
The following sections provide additional information related to Frame Relay voice-adaptive traffic shaping and fragmentation:
•
MIBs
•
RFCs
Related Documents
Standards
Standards TitleNo new or modified standards are supported by this feature. Support for existing standards has not been modified by this feature.
—
MIBs
MIBs MIBs LinkNo new or modified MIBs are supported by this feature. Support for existing MIBs has not been modified by this feature.
To obtain lists of supported MIBs by platform and Cisco IOS release, and to download MIB modules, go to the Cisco MIB website on Cisco.com at the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
http://tools.cisco.com/ITDIT/MIBS/servlet/index
If Cisco MIB Locator does not support the MIB information that you need, you can also obtain a list of supported MIBs and download MIBs from the Cisco MIBs page at the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
To access Cisco MIB Locator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions found at this URL:
RFCs
RFCs TitleNo new or modified RFCs are supported by this feature. Support for existing RFCs has not been modified by this feature.
—
Technical Assistance
Command Reference
This section documents new and modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.2 T command reference publications.
New Commands
•
frame-relay fragmentation voice-adaptive
Modified Commands
frame-relay fragmentation voice-adaptive
To enable voice-adaptive Frame Relay fragmentation, use the frame-relay fragmentation voice-adaptive command in interface configuration mode. To disable voice-adaptive Frame Relay fragmentation, use the no form of this command.
frame-relay fragmentation voice-adaptive [deactivation seconds]
no frame-relay fragmentation voice-adaptive
Syntax Description
deactivation seconds
(Optional) Number of seconds that must elapse after the last voice packet is transmitted before fragmentation is deactivated. The range is from 1 to 10000.
Defaults
Voice-adaptive Frame Relay fragmentation is not enabled.
Seconds: 30Command Modes
Interface configuration
Command History
Usage Guidelines
Frame Relay voice-adaptive fragmentation can be used in conjunction with Frame Relay voice-adaptive traffic shaping to reduce network congestion and improve voice transmission quality.
The frame-relay fragmentation voice-adaptive command can be used only on main interfaces. This command is not supported on subinterfaces.
Frame Relay voice-adaptive fragmentation enables a router to fragment large packets whenever packets (usually voice) are detected in the low latency queueing priority queue or H.323 call setup signaling packets are present. When there are no packets in priority queue for a configured period of time and signaling packets are not present, fragmentation is stopped.
Note
Although the priority queue is generally used for voice traffic, Frame Relay voice-adaptive fragmentation will respond to any packets (voice or data) in the priority queue.
Note the following prerequisites for Frame Relay voice-adaptive fragmentation:
•
End-to-end fragmentation must be configured in a map class by using the frame-relay fragment command or on the interface by using the frame-relay fragment end-to-end command.
•
Frame Relay traffic shaping or traffic shaping using the Modular QoS CLI (MQC) must be configured. If end-to-end fragmentation is configured on the interface, traffic shaping using the MQC must be configured.
•
Low latency queueing must be configured.
Frame Relay voice-adaptive fragmentation supports FRF.12 fragmentation only. Neither FRF.11 Annex C nor Cisco proprietary fragmentation is supported.
Examples
The following examples show the configuration of Frame Relay voice-adaptive traffic shaping and fragmentation. The first example shows end-to-end fragmentation configured in a map class that is associated with PVC 100. In the second example, end-to-end fragmentation is configured directly on the interface.
With both example configurations, priority-queue packets or H.323 call setup signaling packets destined for PVC 100 will result in the reduction of the sending rate from CIR to minCIR and the activation of FRF.12 end-to-end fragmentation. If signaling packets and priority-queue packets are not detected for 50 seconds, the sending rate will increase to CIR and fragmentation will be deactivated.
Frame Relay Voice-Adaptive Fragmentation with End-to-End Fragmentation Configured in a Map Class
interface serial0encapsulation frame-relayframe-relay fragmentation voice-adaptive deactivation 50frame-relay interface-dlci 100class voice_adaptive_class!map-class frame-relay voice_adaptive_classframe-relay fair-queueframe-relay fragment 80service-policy output shapeFrame Relay Voice-Adaptive Fragmentation with End-to-End Fragmentation Configured on the Interface
interface serial0encapsulation frame-relayframe-relay fragmentation voice-adaptive deactivation 50frame-relay fragment 80 end-to-endframe-relay interface-dlci 100class voice_adaptive_classRelated Commands
shape fr-voice-adapt
To enable Frame Relay voice-adaptive traffic shaping, use the shape fr-voice-adapt command in policy-map class configuration mode. To disable Frame Relay voice-adaptive traffic shaping, use the no form of this command.
shape fr-voice-adapt [deactivation seconds]
no shape fr-voice-adapt
Syntax Description
Defaults
Frame Relay voice-adaptive traffic shaping is not enabled.
Seconds: 30Command Modes
Policy-map class configuration
Command History
Usage Guidelines
Frame Relay voice-adaptive traffic shaping enables a router to reduce the permanent virtual circuit (PVC) sending rate to the minimum CIR (minCIR) whenever packets (usually voice) are detected in the low latency queueing priority queue or H.323 call setup signaling packets are present. When there are no packets in priority queue and signaling packets are not present for a configured period of time, the router increases the PVC sending rate from minCIR to CIR to maximize throughput.
The shape fr-voice-adapt command can be configured only in the class-default class. If you configure the shape fr-voice-adapt command in another class, the associated Frame Relay map class will be rejected when you attach it to the interface.
Frame Relay voice-adaptive traffic shaping can be used with other types of adaptive traffic shaping. For example, when both voice-adaptive traffic shaping and adaptive shaping based on interface congestion are configured, the sending rate will change to minCIR if there are packets in the priority queue or the interface queue size exceeds the configured threshold.
Note
Although the priority queue is generally used for voice traffic, Frame Relay voice-adaptive traffic shaping will respond to any packets (voice or data) in the priority queue.
In order to use Frame Relay voice-adaptive traffic shaping, you must have low latency queueing and traffic shaping configured using the Modular QoS CLI.
Examples
The following example shows the configuration of Frame Relay voice-adaptive traffic shaping and fragmentation. With this configuration, priority- queue packets or H.323 call setup signaling packets destined for PVC 100 will result in the reduction of the sending rate from CIR to minCIR and the activation of FRF.12 end-to-end fragmentation. If signaling packets and priority-queue packets are not detected for 50 seconds, the sending rate will increase to CIR and fragmentation will be turned off.
interface serial0encapsulation frame-relayframe-relay fragmentation voice-adaptive deactivation 50frame-relay fragment 80 end-to-endframe-relay interface-dlci 100class voice_adaptive_class!map-class frame-relay voice_adaptive_classframe-relay fair-queueservice-policy output shapeclass-map match-all voicematch access-group 102class-map match-all datamatch access-group 101policy-map vatsclass voicepriority 10class databandwidth 10policy-map shapeclass class-defaultshape average 60000shape adaptive 30000shape fr-voice-adapt deactivation 50service-policy vatsRelated Commands
show frame-relay pvc
To display statistics about permanent virtual circuits (PVCs) for Frame Relay interfaces, use the show frame-relay pvc command in privileged EXEC mode.
show frame-relay pvc [interface interface] [dlci] [64-bit]
Syntax Description
Command Modes
Privileged EXEC
Command History

