Table Of Contents
Configuring Cisco MC3810 Series Concentrators to Use High-Performance Compression Modules
Related Features and Technologies
Supported Standards, MIBs, and RFCs
Verifying Codec Complexity Settings
Specifying Codecs for Network Dial Peers
Configuring Cisco MC3810 Series Concentrators to Use High-Performance Compression Modules
This document describes feature changes introduced in Cisco IOS Release 12.0(7)XK and supported in Cisco IOS Release 12.1(2)T and later for Cisco MC3810 series concentrators that contain high-performance voice compression modules (HCMs).
This document includes the following sections:
•
"Supported Platforms" on page 2
•
"Supported Standards, MIBs, and RFCs" on page 3
•
"Configuration Tasks" on page 3
•
"Command Reference" on page 7
Feature Overview
High-performance voice compression modules (HCMs) provide voice compression according to the voice compression coding algorithm (codec) specified when the Cisco MC3810 is configured. Table 1 shows the number of voice channels each type of compression module can support.
Table 1 Voice Compression Module Application Information
Type Codec Packaging Complexity (see Table 2) Voice Channels per HCMHCM2
High complexity (codec complexity set to high)
4
Medium complexity (codec complexity set to medium)
8
HCM6
High complexity (codec complexity set to high)
12
Medium complexity (codec complexity set to medium)
24
Benefits
HCMs support more voice channels than the earlier voice compression modules (VCMs) used in the Cisco MC3810 series.
Restrictions
The following restrictions apply to HCMs:
•
HCMs should not be combined with VCMs in a Cisco MC3810 chassis.
•
HCMs require Cisco IOS Release 12.0(7)XK or 12.1(2)T or later.
Related Features and Technologies
Voice over Internet Protocol (VoIP)
Voice over Frame Relay (VoFR)
Voice over Asynchronous Transfer Mode (VoATM)
Related Documents
•
Cisco IOS Multiservice Applications Configuration Guide, Cisco IOS Release 12.1
•
Cisco IOS Multiservice Applications Command Reference, Cisco IOS Release 12.1
Supported Platforms
•
Cisco MC3810 series
Supported Standards, MIBs, and RFCs
RFCs
•
RFC 1890— RTP: A Transport Protocol for Real-Time Applications
•
RFC 1889—RTP Profile for Audio and Video Conferences with Minimal Control
MIBs
•
CISCO-ENTITY-VENDORTYPE-OID-MIB
•
OLD-CISCO-CHASSIS-MIB
•
CAS_INTF_MIB
International Telecommunication Union (ITU-T) G-Series Codec Compression Specifications
–
G.711 A Law at 64,000 bps
–
G.711 u Law at 64,000 bps
–
G.723.1 Annex A at 5300 bps
–
G.723.1 Annex A at 6300 bps
–
G.723.1 at 5300 bps
–
G.723.1 at 6300 bps
–
G.726 at 16,000 bps
–
G.726 at 24,000 bps
–
G.726 at 32,000 bps
–
G.728 at 16,000 bps
–
G.729 at 8000 bps
–
G.729 Annex A and B at 8000 bps
–
G.729 Annex A at 8000 bps
–
G.729 Annex B at 8000 bps
Prerequisites
One or two HCM modules must be installed in your Cisco MC3810 chassis.
Note
An HCM may not be combined with a VCM in one chassis.
Configuration Tasks
Complete the following tasks to configure the Cisco MC3810 voice ports for operation with one or two HCMs installed:
•
Specifying Codecs for Network Dial Peers
Configuring Codec Complexity
To configure codec complexity for voice ports, enter the following commands, beginning in privileged EXEC mode. Commands apply to both analog and digital voice ports unless otherwise indicated. You enter the codec complexity command in voice-card configuration mode. On the Cisco MC3810 series, voice-card 0 is used as a virtual voice-card, and the setting applies to all voice ports on a Cisco MC3810.
This procedure does not cover other voice-port configuration commands that may be required. To learn more, see the Cisco IOS Multiservice Applications Configuration Guide and the Cisco IOS Multiservice Applications Command Reference for Cisco IOS Release 12.1.
Command PurposeStep 1
router# show voice dspCheck the DSP voice channel activity. If any DSP voice channels are in the busy state, you cannot change the codec complexity.
When all of the DSP channels are in the idle state, continue to step 2.
Step 2
router# configure terminalEnter global configuration mode.
Step 3
router(config)# voice-card 0Enter voice-card configuration mode and specify voice card 0. Voice card 0 provides the configuration mode for setting the codec complexity on a Cisco MC3810.
Step 4
router(config-voicecard)# codec complexity {high | medium}Specify the codec complexity for this Cisco MC3810 according to the bandwidth requirements and the number of voice channels to be supported per DSP. The default is medium complexity, which provides four voice channels per DSP.
See the "codec complexity" section in the Command Reference for information about the codec complexity command.
Step 5
router(config-voicecard)# exitExit from voice-card configuration mode.
Verifying Codec Complexity Settings
To verify the codec complexity configuration, enter the show running-config command to display the current voice-card setting. If medium complexity is specified, the codec complexity setting is not displayed. If high complexity is specified, the setting codec complexity high is displayed. The following example shows an excerpt from the command output if high complexity has been specified:
Router# show running-config...hostname router-alphavoice-card 0codec complexity high..Specifying Codecs for Network Dial Peers
Follow these steps to specify a codec for each network dial peer according to the codec complexity setting selected for this Cisco MC3810. If you do not set codec complexity and specify a codec, the defaults remain in effect: medium complexity and G.729, 8000 bps.
This does not cover the complete dial-peer configuration procedure. To learn more, see the Cisco IOS Multiservice Applications Configuration Guide and the Cisco IOS Multiservice Applications Command Reference for Cisco IOS Release 12.1.
Verifying Network Dial Peers
Follow the procedure below to verify dial-peer configuration. To learn more about these commands, see the Cisco IOS Multiservice Applications Configuration Guide and the Cisco IOS Multiservice Applications Command Reference for Cisco IOS Release 12.1.
Enter the privileged EXEC show dial-peer voice command. The following text is sample output from the show dial-peer voice command for a VoIP dial peer:
Router# show dial-peer voice 10VoiceOverIpPeer10information type = voice,tag = 10, destination-pattern = `555....',answer-address = `', preference=0,group = 10, Admin state is up, Operation state is up,incoming called-number = `', connections/maximum = 0/unlimited,DTMF Relay = disabled,application associated:type = voip, session-target = `ipv4:10.1.1.1',technology prefix:ip precedence = 0, UDP checksum = disabled,session-protocol = cisco, req-qos = best-effort,acc-qos = best-effort,fax-rate = voice, payload size = 20 bytescodec = g711alaw, payload size = 160 bytes,Expect factor = 10, Icpif = 30,signaling-type = cas,VAD = enabled, Poor QOV Trap = disabled,voice class perm tag = `'Connect Time = 0, Charged Units = 0,Successful Calls = 0, Failed Calls = 0,Accepted Calls = 0, Refused Calls = 0,Last Disconnect Cause is "",Last Disconnect Text is "",Last Setup Time = 0.The following text is sample output from the show dial-peer voice command for a VoFR dial peer:
Router# show dial-peer voice 20VoiceOverFRPeer20information type = voice,tag = 20, destination-pattern = `555....',answer-address = `', preference=0,group = 20, Admin state is up, Operation state is up,incoming called-number = `', connections/maximum = 0/unlimited,DTMF Relay = disabled,application associated:type = vofr, session-target = `Serial0 120',called number = `',session-protocol = cisco-switched,fax-rate = voice, payload size = 30 bytescodec = g729r8, payload size = 30 bytes,signaling-type = cas,VAD = enabled,Voice Sequence Numbers = disabled,voice class perm tag = `'Connect Time = 0, Charged Units = 0,Successful Calls = 0, Failed Calls = 0,Accepted Calls = 0, Refused Calls = 0,Last Disconnect Cause is "",Last Disconnect Text is "",Last Setup Time = 0.The following text is sample output from the show dial-peer voice command for a VoATM dial peer:
Router# show dial-peer voice 1VoiceOverATMPeer1information type = voice,tag = 1, destination-pattern = `555....',answer-address = `', preference=5,group = 1, Admin state is up, Operation state is up,incoming called-number = `', connections/maximum = 0/unlimited,DTMF Relay = disabled,application associated:type = voatm, session-target = `ATM0 pvc 101/1001',session-protocol = cisco-switched,fax-rate = voice, payload size = 30 bytescodec = g729r8, payload size = 30 bytes,signaling-type = cas,VAD = enabled,Voice Sequence Numbers = disabled,voice class perm tag = `'Connect Time = 0, Charged Units = 0,Successful Calls = 0, Failed Calls = 0,Accepted Calls = 0, Refused Calls = 0,Last Disconnect Cause is "",Last Disconnect Text is "",Last Setup Time = 0.Command Reference
This section documents new or modified commands. Modified commands are indicated by an
asterisk (*). All other commands used with this feature are documented in the Cisco IOS Release 12.1 command reference publications.codec (dial-peer)
To specify the voice codec for a network dial peer, enter the codec dial-peer configuration command. Use the no form of this command to restore the default value.
codec codec [bytes payload-size]
no codec
Syntax Description
codec
Codec options on Cisco MC3810 series equipped with HCM, and with codec complexity set to high or medium:
•
g711alaw—G.711 A Law, 64000 bps
•
g711ulaw—G.711 u Law, 64000 bps
•
g723ar53—G.723.1 Annex A, 5300 bps
•
g723ar63—G.723.1 Annex A, 6300 bps
•
g723r53—G.723.1, 5300 bps
•
g723r63—G.723.1, 6300 bps
•
g726r16—G.726, 16000 bps
•
g726r24—G.726, 24000 bps
•
g726r32—G.726, 32000 bps
•
g728—G.728, 16000 bps
•
g729abr8—G.729 Annex A and Annex B, 8000 bps
•
g729ar8—G.729 Annex A, 8000 bps
•
g729br8—G.729 Annex B, 8000 bps
•
g729r8—G.729, 8000 bps
bytes
(Optional) The voice payload for each frame.
payload-size
(Optional) Number of bytes you specify as the voice payload of each frame. Values depend on the codec type and the packet voice protocol. See Table 3 for valid entries and default values.
Defaults
If no codec is specified, dial peers are configured for g729r8 and the voice payload is as shown in Table 3 for G.729r8.
If a codec is specified without the bytes keyword, the voice payload is as shown in Table 3.
Command Modes
Dial-peer configuration
Command History
Usage Guidelines
A codec type can be configured on the dial-peer if it is supported under the codec complexity setting you have specified.
The dial-peer configuration command is particularly useful when you must change to a small-bandwidth codec. Large-bandwidth codecs, such as G.711, do not fit in a small-bandwidth link. However, g711alaw and g711ulaw provide higher-quality voice transmission than other codecs. For almost toll quality (and a significant savings in bandwidth), g729r8 provides near-toll quality with considerable bandwidth savings.
If the destination router does not support a codec required by the originating router, the call setup fails.
You can change the payload of each voice packet frame by using the bytes payload-size setting. However, increasing the payload size can add processing delay for each voice packet. Table 3 describes the voice payload options and default values for the codecs and packet voice protocols.
Examples
The following example configures VoIP dial peer number 10 to use codec type g723r53 (G.723.1 at 5300 bps), and specifies a non-default voice payload size of 40 bytes:
router(config)# dial-peer voice 10 voip router(config-dialpeer)# codec g723r53 bytes 40Related Commands
Command Descriptioncodec complexity
This voice-card configuration command sets codec complexity and call density.
show dial-peer voice
Displays the codec setting for dial peers.
codec complexity
To match the DSP complexity packaging to the codec(s) to be supported, enter the codec complexity voice-card configuration command. The no form of the command restores the default value.
codec complexity {high | medium}
no codec complexity
Syntax Description
Defaults
The DSP supports medium complexity codecs.
Command Modes
Voice-card configuration
Command History
Usage Guidelines
Select a higher codec complexity if that is required in order to support a particular codec or combination of codecs.
Select a lower codec complexity to support the greatest number of voice channels, provided that the lower complexity is compatible with the particular codecs in use.
To change codec complexity, all of the DSP voice channels must be in the idle state.
Codec complexity refers to the amount of processing required to perform voice compression. Codec complexity affects the call density—the number of calls that can take place on the digital signal processors (DSPs). With higher codec complexity, fewer calls can be handled.
Note
In the Cisco MC3810 series, this command is valid only with HCM(s) installed, and you must specify voice card 0 in the command mode. If two HCMs are installed, the codec complexity command configures both HCMs at once.
Examples
The following example sets the codec complexity to high on a Cisco MC3810 containing one or two HCMs:
router(config)# voice-card 0 router(config-voicecard)# codec complexity highThe following example sets the codec complexity to high on voice card 1 in a Cisco 2600 or 3600 series router:
router(config)# voice-card 1 router(config-voicecard)# codec complexity highRelated Commands
ds0-group
To specify the DS0 timeslots that make up a logical voice port on a T1 or E1 controller, and to specify the signaling type, enter the ds0-group controller configuration command. Use the no form of the command to remove the DS0 group and signaling setting.
ds0-group ds0-group-number timeslots timeslot-list type signal-type
no ds0-group ds0-group-number
Syntax Description
Defaults
No DS0 group is defined.
Command Modes
Controller configuration
Command History
Usage Guidelines
The ds0-group command automatically creates a logical voice port that is numbered as follows on the Cisco MC3810 series: slot:ds0-group-number.
On the Cisco MC3810 series, the slot number is the controller number. Although only one voice port is created for each DS0 group, applicable calls are routed to any channel in the group.
On the Cisco MC3810 series when configured for transparent CCS, the channel type configured as the ext-sig-master is considered the master side of the permanent virtual circuit (PVC) connection which is responsible for establishing the PVC connection. After the master channel is configured, a fixed timer of 30 seconds starts. The voice-signaling driver then generates an off-hook signal on the master voice channel after the timer expires. The call is treated as a regular call, and the master channel does not hang up after the connection is made. If the call does not go through, or if the T1/E1 trunk is down, the 30-second timer on the master channel side restarts. A new off-hook signal is then generated at the master channel side after the timer expires.
Examples
The following example configures DS0 groups 0 and 1 with different CAS signaling on controller T1 0:
router(config)# controller T1 0router(config-controller)# mode casrouter(config-controller)# framing esfrouter(config-controller)# linecode b8zsrouter(config-controller)# ds0-group 0 timeslot 1-10 type fxs-ground-startrouter(config-controller)# ds0-group 1 timeslot 11-24 type fxo-loop-startThe following example configures DS0 groups 1 and 2 on controller T1 0 to support transparent CCS:
router(config)# controller T1 0router(config-controller)# mode ccs cross-connectrouter(config-controller)# ds0-group 1 timeslot 1-10 type ext-sig-masterrouter(config-controller)# ds0-group 2 timeslot 11-24 type ext-sig-slaveRelated Commands
voice-card
To configure a voice card and enter voice-card configuration mode, enter the voice-card command.
voice-card slot
Syntax Description
Command Modes
Global configuration
Command History
Usage Guidelines
You can configure codec complexity only in voice-card configuration mode. On the Cisco 2600 and 3600 series, the slot corresponds to the physical slot in the chassis. On the Cisco MC3810 series, the slot is always 0, and all changes made in voice-card mode apply to the entire Cisco MC3810. On Cisco MC3810 series concentrators, this command is available only if the chassis is equipped with one or two HCMs.
Examples
The following example enters voice-card configuration mode for the voice card in slot 1 on a Cisco 2600 or 3600 router:
router(config)# voice-card 1router(config-voicecard)#The following example enters voice-card configuration mode on a Cisco MC3810 concentrator:
router(config)# voice-card 0router(config-voicecard)#Related Commands
Command DescriptionMatches the DSP complexity packaging to the codec(s) to be supported. Codec complexity changes are made in the voice-card configuration mode.
