ATM Software Segmentation and Reassembly

Feature History

Release

Modification

12.2(2)XB

Cisco 2600 Series T1/E1 ATM and Cisco 3660 T1 Inverse Multiplexing over ATM (IMA) ATM Adaption Layer 2 (AAL2) Support was introduced.

12.2(8)T

This feature was integrated into the Cisco IOS Release 12.2(8)T.

This document describes the ATM Software segmentation and reassembly (SAR) feature and includes the following sections:

Finding Feature Information

Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/​go/​cfn. An account on Cisco.com is not required.

Feature Overview

The ATM Software Segmentation and Reassembly (SAR) feature allows the Cisco 2600 series to carry voice and data traffic over ATM networks using AAL2 and AAL5 and allows the Cisco 3660 to support AAL2 voice traffic.

For the Cisco 2600 series, this feature works in conjunction with the T1/E1 multiflex voice/WAN interface card (VWIC), which is plugged into a WIC slot to provide one ATM WAN interface at a T1/E1 rate supporting up to 24/30 channels of voice.

T1/E1 ATM support is a time-to-market feature that helps service providers take advantage of the inherent quality of service (QoS) features of ATM multiservice applications. FR-ATM (FRF.5 and FRF.8) internetworking is supported on the Cisco 2600 series.

On the Cisco 3660 a T1 IMA network module is used as the IMA interface providing a maximum of one ATM IMA interface that supports up to 48/60 voice channels. Up to eight T1/E1s and multiple IMA groups are permitted, but only the first IMA group supports voice over AAL2 for up to 48/60 voice channels. NM-IMA already supports AAL5 on both the Cisco 2600 series and Cisco 3600 series (not just 3660).

The Cisco 2600 Series T1/E1 ATM portion of this feature provides a shared implementation of the ATM features currently available on the Cisco MC3810 with the Cisco 2600 series.

The figure below illustrates the ATM AAL2 nonswitched trunking feature connecting two private branch exchanges (PBXs) together without the call agent (CA).

Figure 1. ATM AAL2 Non-Switched Trunking Solution

The next two figures below illustrate CA solutions. In these solutions, a CA provides business voice services traditionally offered by a circuit-based PBX.

In the figure below, the trunking gateway (the Cisco 3660 platform) requires support of incoming and outgoing multi-frequency signaling for the barge-in and busy-line verify features. The residential gateway (the Cisco uBR924 cable access router) must support the CLASS features and 911 capability.

Figure 2. Residential Cable Access Solution

In the figure below, the gateway (the Cisco 2600 platform) requires PBX connectivity to interface with the legacy PBX.

Figure 3. IP Centrex Solution

Benefits

AAL2 and AAL5 Functionality

Adds AAL2 and AAL5 functionality to the Cisco 2600 series and AAL2 to the Cisco 3660 on an IMA network module. AAL2 and AAL5 are the most bandwidth-efficient, standards-based trunking methods for transporting compressed voice, voice-band data, and frame-mode data over ATM infrastructures.

Economical ATM SAR Option

Provides robust, low-cost addition of ATM software SAR functionality to the Cisco 2600 series.

Lower Overhead and Better QoS

Enhances continued use of existing ATM infrastructure, providing traditionally high ATM QoS.

Restrictions

Cisco 2600 Series and Cisco 3660

  • Analog voice modules are not supported for AAL2 feature. (IP over ATM AAL5 is supported.)

Cisco 2600 Series

  • SS7 and bisync protocol cannot be used when this feature is active.

  • Only one T1/E1 multiflex VWIC is supported, setting the number of allowable T1/E1 ATM interfaces to one.

  • Only the Cisco 2650 and Cisco 2651 support end-to-end, Network Traceable Reference (NTR) clocking. For the NTR clock to work correctly, the T1/E1 multiflex VWIC must be placed in slot zero of the Cisco 2650 and Cisco 2651. In the case where a two-port T1/E1 multiflex VWIC is installed in slot zero, either of the two ports can be configured for support, but only one can be supported.

  • The T1/E1 ATM feature requires that the T1/E1 multiflex VWIC be placed in slot zero.

Cisco 3660

  • Only one IMA group can support AAL2 voice. If there are multiple IMA groups, then only the first IMA group supports AAL2 voice.

  • Two T1/E1s are supported for ATM and 48/60 voice ports for PBX.

  • Only the T1/E1 IMA network module supports AAL2 voice. This feature does not support OC3/T3/E3 network modules.

  • The T1/E1 IMA network module does not support an NTR clock.

Cisco 2620XM

  • When the traffic is sent with rate 100pps (256 bytes size), some cells are lost on the router where VWIC-1MFT-E1 is configured as ATM port. There is no workaround to this limitation. For a detailed description, see Traffic Shaping on Cisco 3810 Routers at the following URL:

http:/​/​www.cisco.com/​warp/​public/​121/​traff_​shape3810.pdf

Related Features and Technologies

  • Media Gateway Control Protocol (MGCP) channel associated signaling (CAS) PBX and AAL2 permanent virtual circuit (PVC) Software

  • PRI/Q.931 Signaling Backhaul

  • Voice over ATM with AAL2 Trunking

Related Documents

  • MGCP CAS PBX and AAL2 PVC
    • http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122t/122t2/ftmgcptk.htm
  • ATM forum documents for AAL2
    • ATM Trunking Using AAL2 for Narrowband Services (AF-VTOA-0113.000)

http://www.atmforum.com/atmforum/specs/approved.html

  • ITU I-series documents located at

http://www.itu.int/home/index.html

    • I.363.2, B-ISDN ATM Adaptation Layer Specification: Type 2 AAL
    • I.366.1, Segmentation and Reassembly Service Specific Convergence Sublayer for the AAL Type 2
    • I.366.2, AAL Type 2 Service Specific Convergence Sublayer for Trunking
  • Cisco IOS Voice, Video, and Fax Configuration Guide, Release 12.2

  • Cisco IOS Voice, Video, and Fax Command Reference, Release 12.2

  • Cisco IOS Interface Command Reference, Release 12.2

  • Cisco IOS Interface Configuration Guide, Release 12.2

Supported Platforms

  • Cisco 2600 series

  • Cisco 3660

Supported Standards and MIBs and RFCs

Standards

No new or modified standards are supported by this feature.

MIBs

No new or modified MIBs are supported 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 .

RFCs

  • RFC 1577

  • RFC 1483

  • RFC 2221

  • RFC 3661

Prerequisites

T1/E1 multiflex VWICs on Cisco 2600 series routers must be plugged into slot zero. The Cisco 3660 must be configured with a T1/E1 IMA Network Module. PBX voice requires a Digital T1/E1 Packet Voice Trunk Network Module Interface to be installed in the network module slot in the Cisco 2600 series or Cisco 3660.

You can configure the following four features on the Cisco 2600 series and Cisco 3660 routers:

  • AAL2 Trunking with CAS

  • AAL2 Trunking with common channel signaling (CCS)

  • MGCP CAS

  • MGCP Primary Rate Interface (PRI) Backhaul

Configuration Tasks for AAL2 Trunking with CAS

See the following sections for configuration tasks for AAL2 Trunking with CAS on Cisco 2600 series and Cisco 3660:

Configuring ATM on Cisco 2600 Series

This section describes the ATM configuration tasks necessary to support Voice over ATM using AAL2 on the Cisco 2600 series.


Note


If any DS0 groups (CAS groups), channel groups, or clear channels are configured on T1/E1 controller 0, you must remove them before configuring VoATM. Because ATM uses all of the DS0 time slots on the controller, the ATM configuration cannot take place if any DS0s on controller 0 are used by other applications.


You must perform the VoATM configuration on the Cisco 2600 series or Cisco 3660 concentrators at both ends of the ATM link.


Note


When verifying your ATM PVC connectivity, note that you cannot enter the ping command over a voice PVC because the command applies to data only. If you have data and voice PVCs set to the same destination, you can enter the ping command over the data PVC.


To configure a Cisco 2600 series or Cisco 3660 series concentrator to support VoATM on a T1/E1 trunk, complete the following steps beginning in global configuration mode:

SUMMARY STEPS

    1.    Router(config)# controller t1 e1 0/0

    2.    Router(config-controller)# mode atm

    3.    Router(config-controller)# framing framing type

    4.    Router(config-controller)# linecode linecode type

    5.    Router(config-controller)# no shutdown

    6.    Router(config-controller)# exit

    7.    Router(config)# interface atm slot/port subinterface-number multipoint |point-to-point]]

    8.    Router(config-if)# pvcword ] { vpi/vci | vci

    9.    Router ( config-if-atm-vc ) # encapsulation aal2

    10.    Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst

    11.    Router(config-if-atm-vc)# oam-pvc manage] [ frequency

    12.    Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency

    13.    Router(config-if-atm-vc)# end

    14.    Router# show atm vc


DETAILED STEPS
     Command or ActionPurpose
    Step 1 Router(config)# controller t1 e1 0/0 

    Selects the T1 or E1 controller 0/0.

     
    Step 2 Router(config-controller)# mode atm

    Example:
    
    
            
     

    Specifies that the controller will support ATM encapsulation and create ATM interface 0/0.

     
    Step 3 Router(config-controller)# framing framing type 

    Specifies the T1 framing type as extended superframe or esf.

    When the controller is set to ATM mode, the Controller framing is automatically set to Extended SuperFrame (esf) on T1 and to crc4 on E1.

     
    Step 4 Router(config-controller)# linecode linecode type 

    Specifies the T1 line code type as b8zs.

    The linecode is automatically set to b8zs on T1 and to HDB3 on E1.

     
    Step 5 Router(config-controller)# no shutdown 

    Ensures that the controller is activated.

     
    Step 6 Router(config-controller)# exit 

    Exits controller configuration mode.

     
    Step 7 Router(config)# interface atm slot/port subinterface-number multipoint |point-to-point]]  

    Enters interface configuration mode to configure ATM interface 0/0 or an ATM subinterface.

    For subinterfaces, the default is multipoint.

     
    Step 8 Router(config-if)# pvcword ] { vpi/vci | vci 

    Creates an ATM PVC for voice traffic and enter ATM virtual circuit configuration mode.

    vpi= 0 to 255

    vci= 1 to 1023

    word= optional PVC identifier (letters only); if you assign a PVC identifier, you can use it to specify this PVC when configuring network dial peers

    Note   

    AAL2 encapsulation is not supported for interim local management interface (ilmi) and Q signaling ATM adaption layer (qsaal) PVCs.

     
    Step 9 Router ( config-if-atm-vc ) # encapsulation aal2 

    Sets the encapsulation of the PVC to support AAL2 voice traffic. This automatically creates channel identifiers (CIDs) 1 through 255.

     
    Step 10 Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst 

    Configures the PVC for variable-bit-rate real-time (VBRrt) (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

    • Peak rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

    • Average rate--Calculate according to the maximum number of calls the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

    G.711 with 40 or 80 byte sample size--max calls x 85

    G.726 with 40 or 80 byte sample size--max calls x 43

    G.729 with 20 byte sample size--max calls x 22

    G.729 with 30 byte sample size--max calls x 15

    If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by as much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

    • Burst size--Set the burst size as large as possible, and never less than the minimum burst size.

    Guidelines are as follows:

    The minimum burst size is 4 x the number of voice calls.

    The maximum burst size is the maximum allowed by the carrier.

    You can calculate the value using the calculator at the following URL:

    http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

     
    Step 11 Router(config-if-atm-vc)# oam-pvc manage] [ frequency 

    (Optional) Configures transmission of end-to-end F5 OAM loopback cells on a PVC, optionally specifies the number of seconds between loopback cells, and optionally enable operation, administration, and maintenance (OAM) management of the connection.

    The range for frequency is 0 to 600. The default is 10.

     
    Step 12 Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency 

    (Optional) Specifies OAM management parameters for verifying connectivity of a PVC connection. This command is supported only if OAM management is enabled.

    • The value of up-count is the number of OAM loopback cell responses received to change the PVC connection to up. The range is 1 to 600; the default is 3.

    • The value of down-count is the number of OAM loopback cell responses not received to change the PVC connection to down. The range is 1 to 600; the default is 5.

    • The value of retry-frequency is the number of seconds between loopback cells sent to verify the down state of a PVC. The range is 1 to 1000; the default is 1.

    Note   

    Enter the oam retry command only once with all the arguments in the order shown. The first number always specifies up-count ; the second down-count , and the third retry-frequency .

     
    Step 13 Router(config-if-atm-vc)# end 

    Exits configuration mode.

     
    Step 14 Router# show atm vc 

    Verifies the ATM PVC configuration.

     

    Configuring ATM on Cisco 3660


    Note


    When verifying your ATM PVC connectivity, note that you cannot enter the ping command over a voice PVC, because the command applies to data only. If you have data and voice PVCs set to the same destination, you can enter the ping command over the data PVC.


    SUMMARY STEPS

      1.    Router(config)# interface atm < slot>/ima<grp#> [subinterface-number [multipoint | point-to-point]]

      2.    Router(config-if)# pvc [name] vpi/vci

      3.    Router ( config-if-atm-vc ) # encapsulation aal2

      4.    Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst

      5.    Router(config-if-atm-vc)# oam-pvc manage] [ frequency

      6.    Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency

      7.    Router(config-if-atm-vc)# end

      8.    Router# show atm vc

      9.    Router(config-if-atm-vc)# vbr-rtpeak-rateaverage-rate [burst ]

      10.    Router(config-if-atm-vc)# vccipvc-identifier

      11.    Router(config-if-atm-vc)# exit

      12.    Router(config-if)# exit

      13.    Router(config)# dial-peer voicenumberpots

      14.    Router(config-dial-peer)# application MGCPAPP


    DETAILED STEPS
       Command or ActionPurpose
      Step 1 Router(config)# interface atm < slot>/ima<grp#> [subinterface-number [multipoint | point-to-point]] 

      Enters interface configuration mode to configure ATM interface 0/0 or an ATM subinterface.

      Note   

      To configure an IMA group on each ATM interface, enter the IMA group and group number.

      The default for subinterfaces is multipoint.

      For all Scenarios : Set up three subinterfaces for point-to-point.

       
      Step 2 Router(config-if)# pvc [name] vpi/vci 

      Creates an ATM PVC for voice traffic and enters ATM virtual circuit configuration mode.

      Note   

      AAL2 encap is not supported for ilmi and qsaal PVCs.

       
      Step 3 Router ( config-if-atm-vc ) # encapsulation aal2 

      Sets the encapsulation of the PVC to support AAL2 voice traffic. This automatically creates channel identifiers (CIDs) 1 through 255.

       
      Step 4 Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst 

      Configures the PVC for VBR-rt (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

      • Peak rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

      • Average rate--Calculate according to the maximum number of calls the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

      G.711 with 40 or 80 byte sample size--max calls x 85

      G.726 with 40 or 80 byte sample size--max calls x 43

      G.729 with 30 byte sample size--max calls x 15

      G.729 with 20 byte sample size--max calls x 22

      G.729 with 10 byte sample size--max calls x 43

      If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by as much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

      • Burst size--Set the burst size as large as possible, and never less than the minimum burst size. Guidelines are as follows:

      The minimum burst size is 4 x the number of voice calls.

      The maximum burst size is the maximum allowed by the carrier.

      You can calculate the value using the calculator at the following URL:

      http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

       
      Step 5 Router(config-if-atm-vc)# oam-pvc manage] [ frequency 

      (Optional) Configures transmission of end-to-end F5 OAM loopback cells on a PVC, optionally specifies the number of seconds between loopback cells, and optionally enables OAM management of the connection.

      The range for frequency is 0 to 600. The default is 10.

       
      Step 6 Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency 

      (Optional) Specifies OAM management parameters for verifying connectivity of a PVC connection. This command is supported only if OAM management is enabled.

      • The value of up-count is the number of OAM loopback cell responses received to change the PVC connection to up. The range is 1 to 600; the default is 3.

      • The value of down-count is the number of OAM loopback cell responses not received to change the PVC connection to down. The range is 1 to 600; the default is 5.

      • The value of retry-frequency is the number of seconds between loopback cells sent to verify the down state of a PVC. The range is 1 to 1000; the default is 1.

      Note   

      Enter the oam retry command only once with all the arguments in the order shown. The first number always specifies up-count ; the second down-count , and the third retry-frequency .

       
      Step 7 Router(config-if-atm-vc)# end 

      Exits configuration mode.

       
      Step 8 Router# show atm vc 

      Verifies the ATM PVC configuration.

       
      Step 9 Router(config-if-atm-vc)# vbr-rtpeak-rateaverage-rate [burst ] 

      Configure the PVC for the variable-bit-rate real-time (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

      • Peak rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

      • Average rate--Calculate according to the maximum number of calls (max calls) the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

      for VoIP:

      G.711 with 40 or 80 byte sample size: max calls x 128K

      G.726 with 40 byte sample size: max calls x 85K

      G.729a with 10 byte sample size: max calls x 85K

      for VoAAL2:

      G.711 with 40 byte sample size: max calls x 85K

      G.726 with 40 byte sample size: max calls x 43K

      G.729a with 10 byte sample size: max calls x 43K

      If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by a s much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

      • Burst size-- Set the burst size as large as possible, and never less than the minimum burst size. Guidelines are as follows:

      The minimum burst size is 4 x the number of voice calls.

      The maximum burst size is the maximum allowed by the carrier.

      You can calculate the value using the calculator at the following URL:

      http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

       
      Step 10 Router(config-if-atm-vc)# vccipvc-identifier 

      Assigns a unique identifier to the PVC.

       
      Step 11 Router(config-if-atm-vc)# exit 

      Exits ATM virtual circuit configuration mode.

       
      Step 12 Router(config-if)# exit 

      Exits interface configuration mode.

       
      Step 13 Router(config)# dial-peer voicenumberpots 

      Enters dial peer configuration mode for the plain old telephone service (POTS) dial peer.

       
      Step 14 Router(config-dial-peer)# application MGCPAPP 

      Initiates the MGCP protocol for the voice ports.

       

      Configuring Voice Band Detection Playout Settings

      To configure voice band detection playout buffer delay on Cisco 2600 series and Cisco 3600 series routers , use the following commands beginning in the voice service configuration mode:

      SUMMARY STEPS

        1.    Router(config)# voice service voatm

        2.    Router(config-voice-service)# session protocol aal2

        3.    Router(config-voice-service-session)# vbd-playout-delay maximum time

        4.    Router(config-voice-service-session)# vbd-playout-delay minimum time

        5.    Router(config-voice-service-session)# vbd-playout-delay mode {fixed | passthrough}

        6.    Router(config-voice-service-session)# vbd-playout-delay nominal time

        7.    Router(config-voice-service-session)# end


      DETAILED STEPS
         Command or ActionPurpose
        Step 1 Router(config)# voice service voatm 

        Enters voice-service configuration mode.

         
        Step 2 Router(config-voice-service)# session protocol aal2

        Example:
        
        
                
         

        Enters voice-service-session configuration mode and specifies AAL2 trunking.

         
        Step 3 Router(config-voice-service-session)# vbd-playout-delay maximum time 

        Specifies the maximum AAL2 voice band detection playout delay buffer on Cisco 2600 series and Cisco 3660 routers in milliseconds.

        The time is set in milliseconds. The range is from 40-1700 milliseconds. The default is set to 200 milliseconds.

         
        Step 4 Router(config-voice-service-session)# vbd-playout-delay minimum time 

        Specifies the minimum AAL2 voice band detection playout delay buffer on Cisco 2600 series and Cisco 3660 routers.

        The time is set in milliseconds. The range is from 4-1700 milliseconds. The default is set to 4 milliseconds.

         
        Step 5 Router(config-voice-service-session)# vbd-playout-delay mode {fixed | passthrough} 

        Configures voice band detection playout delay adaptation mode on a Cisco router.

        When the vbd-delay-playout mode is set to fixed, jitter buffer is set at a constant delay in milliseconds.

        When the vbd-delay-playout mode is set to passthrough, jitter buffer is set to DRAIN_FILL for clock compensation. There is no default.

         
        Step 6 Router(config-voice-service-session)# vbd-playout-delay nominal time 

        Specifies the nominal AAL2 voice band detection playout delay buffer on Cisco 2600 series and Cisco 3660 routers.

        The time is set in milliseconds. The range is from 0-1500 milliseconds. The default is 100 milliseconds.

         
        Step 7 Router(config-voice-service-session)# end 

        Exits voice-service-session configuration mode.

         

        Configuring Subcell Multiplexing for AAL2 Voice

        This section describes the configuration tasks necessary to enable AAL2 common part sublayer (CPS) subcell multiplexing when the Cisco 2600 series router or a Cisco 3660 interoperates with a voice interface service module (VISM) in an MGX switch.

        To configure the Cisco 2600 series router or the Cisco 3660 to perform subcell multiplexing, complete the following steps beginning in global configuration mode:

        SUMMARY STEPS

          1.    Router(config)# voice service voatm

          2.    Router(config-voice-service)# session protocol aal2

          3.    Router(config-voice-service-session)# subcell-mux <number>

          4.    Router(config-voice-service-session)# end


        DETAILED STEPS
           Command or ActionPurpose
          Step 1 Router(config)# voice service voatm 

          Enters voice-service configuration mode.

           
          Step 2 Router(config-voice-service)# session protocol aal2 

          Enters voice-service-session configuration mode and specifies AAL2 trunking.

           
          Step 3 Router(config-voice-service-session)# subcell-mux <number> 

          Enables subcell multiplexing. The number is time in milliseconds.

          By default, subcell multiplexing is not enabled.

           
          Step 4 Router(config-voice-service-session)# end 

          Exits configuration mode.

           

          Configuring End-to-End Clocking

          The following commands can be used to configure the Cisco 3660 only when there is a time-division multiplexing (TDM) switch module on board. For the Cisco 2600 series, these commands are automatically allowed.


          Note


          When verifying your ATM PVC connectivity, note that you cannot enter the ping command over a voice PVC because the command applies to data only. If you have data and voice PVCs set to the same destination, you can enter the ping command over the data PVC.


          SUMMARY STEPS

            1.    Router(config)# network-clock-participate{nm | wic} slot

            2.    For Cisco 2600 series:

            3.    Router(config) network-clock-select priority t1 slot/port

            4.    Router(config) network-clock-select priority t1 slot/port

            5.    Router(config) voice-card slot


          DETAILED STEPS
             Command or ActionPurpose
            Step 1 Router(config)# network-clock-participate{nm | wic} slot 

            Enables the Cisco 2600 series router or the Cisco 3660 to receive clock signals from the VWIC by entering the keyword wic and the slot number 0 on the router.

             
            Step 2 For Cisco 2600 series:

            Example:
            Router(config)#
             network-clock-participate {nm | wic} slot


            Example:
            
            
                    


            Example:
            For Cisco 3660:


            Example:
            Router(config)# network-clock-participate {nm} slot
             

            Enables the Cisco 2600 series router or the Cisco 3660 to receive clock signals from the network module by entering the keyword nm and the slot number 1 on the router.

             
            Step 3 Router(config) network-clock-select priority t1 slot/port 

            Names a source to provide timing for the network clock and to specify the selection priority for this clock source. The priority selection is 1 or 2 .

            Use the no form of this command to cancel the selection.

             
            Step 4 Router(config) network-clock-select priority t1 slot/port 

            Assigns priority 1 to ATM interface 0/0 and priority 2 to controller 1/0.

             
            Step 5 Router(config) voice-card slot 

            Enters voice-card configuration mode and sets codec complexity. For slot, use a value from 0 to 3 that describes the card location in the module.

             

            Configuring a CAC Master for AAL2 Voice

            This section describes the configuration tasks necessary to configure call admission control (CAC) for AAL2 voice. The commands and procedures in this section are common to the Cisco 2600 series and the Cisco 3660 routers.

            You can configure a Cisco 2600 series router or a Cisco 3660 as either a CAC master or a CAC slave. By default, this is a CAC slave. You typically configure a CAC master at one end of an ATM trunk and a CAC slave at the opposite end. A Cisco 2600 series router or a Cisco 3660 configured as a master always performs CAC during fax/modem upspeed. A Cisco 2600 series router or a Cisco 3660 configured as a slave sends a request for CAC to the CAC master.

            To configure a Cisco 2600 series router or a Cisco 3660 as a CAC master, complete the following steps beginning in global configuration mode:

            SUMMARY STEPS

              1.    Router(config)# voice service voatm

              2.    Router(config-voice-service)# session protocol aal2

              3.    Router(config-voice-service-session)# cac master

              4.    Router(config-voice-service-session)# end


            DETAILED STEPS
               Command or ActionPurpose
              Step 1 Router(config)# voice service voatm 

              Enters voice-service configuration mode.

               
              Step 2 Router(config-voice-service)# session protocol aal2 

              Enters voice-service-session configuration mode and specifies AAL2 trunking.

               
              Step 3 Router(config-voice-service-session)# cac master 

              Configures this Cisco 2600 series router or a Cisco 3660 as a CAC master.

               
              Step 4 Router(config-voice-service-session)# end 

              Exits configuration mode.

               

              Configuring a CAC Slave for AAL2 Voice

              To return a Cisco 2600 series router or a Cisco 3660 to its default operation as a CAC slave, complete the following steps beginning in global configuration mode:

              SUMMARY STEPS

                1.    Router(config)# voice service voatm

                2.    Router(config-voice-service)# session protocol aal2

                3.    Router(config-voice-service-session)# no cac master

                4.    Router(config-voice-service-session)# end


              DETAILED STEPS
                 Command or ActionPurpose
                Step 1 Router(config)# voice service voatm 

                Enters voice-service configuration mode.

                 
                Step 2 Router(config-voice-service)# session protocol aal2 

                Enters voice-service-session configuration mode and specifies AAL2 trunking.

                 
                Step 3 Router(config-voice-service-session)# no cac master 

                Configures this Cisco 2600 series router or a Cisco 3660 as a CAC slave.

                 
                Step 4 Router(config-voice-service-session)# end 

                Exits configuration mode.

                 

                Configuring Dial Peers for AAL2 Voice

                For more information on dial peers and dial-peer configuration, see the "Configuring Voice over ATM" chapter in the Cisco IOS Multiservice Applications Configuration Guide, Release 12.1.

                Configuring Network Dial Peers to Support AAL2

                To configure a network dial peer for Voice over ATM (VoATM), specify a unique tag number, an ATM, a virtual circuit number, and a channel identifier (CID).

                To configure VoATM dial peers, use the following commands beginning in global configuration mode:

                SUMMARY STEPS

                  1.    Router(config)# dial-peer voicetag voatm

                  2.    Router(config-dial-peer)# destination-pattern string

                  3.    Router(config-dial-peer)# session protocol aal2-trunk

                  4.    Router(config-dial-peer)# session target atm 0/0 pvc word | vpi/vci | vci } cid

                  5.    Router(config-dial-peer)# codec aal2 profile itut |custom profile-number codec

                  6.    Router(config-dial-peer)# dtmf-relay

                  7.    Router(config-dial-peer)# signal-type ext-signal transparent

                  8.    Router(config-dial-peer)# no vad

                  9.    Router(config-dial-peer)# exit

                  10.    Repeat Step 1 through Step 9


                DETAILED STEPS
                   Command or ActionPurpose
                  Step 1 Router(config)# dial-peer voicetag voatm 

                  Defines a VoATM dial peer for VoATM and enters dial-peer configuration mode.

                  The tag identifies the dial peer. Each tag on any one router must be unique.

                   
                  Step 2 Router(config-dial-peer)# destination-pattern string 

                  Configures the dial peer’s destination pattern.

                  The string is a series of digits that specify the E.164 or private dialing plan telephone number. Valid entries are the digits 0 through 9 and the letters A through D. The following special characters can be entered in the string:

                  • The star (*) and the pound sign (#) can be used in a dial string, but not as leading characters (for example *650 is not permitted).

                  • The period (.) can be entered as a wildcard digit. Network dial peers typically use wildcards to represent a range of destination telephone numbers (for example, 1408555.... for all numbers in area code 408 with the 555 prefix).

                  • The comma (,) can be used only in prefixes, and is used to insert a 1-second pause.

                  • The timer (T) character can be used to configure variable-length dial plans.

                   
                  Step 3 Router(config-dial-peer)# session protocol aal2-trunk 

                  Configures the session protocol to support AAL2-trunk permanent (private line) trunk calls.

                   
                  Step 4 Router(config-dial-peer)# session target atm 0/0 pvc word | vpi/vci | vci } cid

                  Example:
                  (for Cisco 2600 series)


                  Example:
                  For Cisco 3660:


                  Example:
                  router(config-dial-peer)# session target atm <slot>/ima <group#>
                   

                  Configures the ATM session target for the dial peer. Be sure to specify atm 0/0 as the interface for the PVC.

                  Use word to identify the PVC if a word name was assigned when the PVC was created in the Configuring ATM on Cisco 2600 Series.

                  Use word to identify the PVC if a word name was assigned when the PVC was created in the Configuring ATM on Cisco 3660.

                   
                  Step 5 Router(config-dial-peer)# codec aal2 profile itut |custom profile-number codec 

                  Specifies a codec profile for the DSP.

                  Profile options are itut 1, itut 2, itut 7, custom 100, and custom 110.

                  The default is itut 1 with codec G.711 u-law.

                  See the "Command Reference" section for the codec options available for each AAL2 profile.

                  Note   

                  Use this command instead of the codec (dial-peer)command for AAL2 trunk applications.

                   
                  Step 6 Router(config-dial-peer)# dtmf-relay 

                  (Optional) If the codec type is a low bit-rate codec such as g729 or g723, specify support for dual tone multifrequency (DTMF) relay to improve end-to-end transport of DTMF tones. DTMF tones do not always propagate reliably with low bit-rate codecs.

                  DTMF relay is disabled by default.

                   
                  Step 7 Router(config-dial-peer)# signal-type ext-signal transparent 

                  (Optional) Defines the type of ABCD signaling packets that are generated by the voice port and sent over the ATM network. The signal type must be configured to the same setting at both ends of the PVC.

                  Enter ext-signal for common channel signaling (CCS). ABCD signaling packets are not sent.

                  Enter transparent for nonswitched trunks using channel associated signaling (CAS). ABCD signaling bits are passed transparently to the ATM network.

                   
                  Step 8 Router(config-dial-peer)# no vad 

                  (Optional) Disables voice activity detection (VAD) on the dial peer. VAD is enabled by default.

                   
                  Step 9 Router(config-dial-peer)# exit 

                  Exits from the dial-peer configuration mode.

                   
                  Step 10 Repeat Step 1 through Step 9
                   

                  Configures additional VoATM dial peers.

                   
                  What to Do Next

                  Configuring MGCP POTS Dial Peer

                  To configure MGCP POTS dial peer on the Cisco 2600 series and Cisco 3660, complete the following commands beginning in global configuration mode:

                  SUMMARY STEPS

                    1.    Router(config)# dial-peer voice number pots

                    2.    Router(config-dial-peer)# application MGCPAPP

                    3.   

                    4.    Router(config-dial-peer)# exit


                  DETAILED STEPS
                     Command or ActionPurpose
                    Step 1 Router(config)# dial-peer voice number pots  

                    Enters the dial-peer configuration mode for the POTS dial peer.

                     
                    Step 2 Router(config-dial-peer)# application MGCPAPP  

                    Initiates the MGCP protocol for the voice ports.

                     
                    Step 3


                    Example:
                    Router(config-dial-peer)# port slot/port:ds0-group
                    
                    
                     

                    This command associates the dial peer with a specific logical interface.

                    The value of slot is the router location where the voice port adapter is installed. Valid entries are from 0 to 3.

                    The value of port indicates the voice interface card location. Valid entries are 0 or 1.

                    Each defined DS0 group number is represented on a separate voice port. This allows you to define individual DS0s on the digital T1/E1 card.

                     
                    Step 4 Router(config-dial-peer)# exit  

                    Exits from the dial-peer configuration mode.

                     

                    Configuring DS-0 group for CAS

                    To configure ds0 group for CAS on the Cisco 2600 series and Cisco 3660, complete the following steps:

                    SUMMARY STEPS

                      1.    Router(config)# controller{t1 | e1} slot/port

                      2.    Router(config-controller)# mode cas

                      3.    Router(config-controller)# ds0-group channel-number timeslots range type signaling-type

                      4.    Router(config-controller)# exit


                    DETAILED STEPS
                       Command or ActionPurpose
                      Step 1 Router(config)# controller{t1 | e1} slot/port 

                      For the CAS PBX Scenarios only : Selects the T1/E1 controller 1/0.

                       
                      Step 2 Router(config-controller)# mode cas 

                      For the CAS PBX Scenarios only : Specifies that the controller will support CAS.

                       
                      Step 3 Router(config-controller)# ds0-group channel-number timeslots range type signaling-type 

                      For the CAS PBX Scenarios only : Configures the T1 time slots for CAS calls. The scenarios use the following three DS0 definitions:

                      • ds0-group 1 time slots 1-8 type e&m-immediate-start

                      • ds0-group 2 time slots 9-16 type e&m-wink-start

                      • ds0-group 3 time slots 17-24 type fxs-ground-start

                       
                      Step 4 Router(config-controller)# exit 

                      For the CAS PBX Scenarios only : Exits controller configuration mode.

                       

                      Configuration Tasks for AAL2 Trunking with CCS

                      See the following sections for configuration tasks for AAL2 Trunking with CCS on Cisco 2600 series and Cisco 3660:

                      Configuring ATM on the Cisco 2600 Series

                      This section describes the ATM configuration tasks necessary to support Voice over ATM using AAL2 on Cisco 2600 series.


                      Note


                      If any DS0 groups (CAS groups), channel groups, or clear channels are configured on T1/E1 controller 0, you must remove them before configuring VoATM. Because ATM uses all of the DS0 time slots on the controller, the ATM configuration cannot take place if any DS0s on controller 0 are used by other applications.


                      You must perform the VoATM configuration on the Cisco 2600 series or Cisco 3660 concentrators at both ends of the ATM link.


                      Note


                      When verifying your ATM PVC connectivity, note that you cannot enter the ping command over a voice PVC, because the command applies to data only. If you have data and voice PVCs set to the same destination, you can enter the ping command over the data PVC.


                      To configure a Cisco 2600 series or Cisco 3660 series concentrator to support VoATM on a T1/E1 trunk, complete the following steps beginning in global configuration mode:

                      SUMMARY STEPS

                        1.    Router(config)# controller t1 e1 0/0

                        2.    Router(config-controller)# mode atm

                        3.    Router(config-controller)# framing framing type

                        4.    Router(config-controller)# linecode linecode type

                        5.    Router(config-controller)# no shutdown

                        6.    Router(config-controller)# exit

                        7.    Router(config)# interface atm slot/port subinterface-number multipoint |point-to-point]]

                        8.    Router(config-if)# pvcword ] { vpi/vci | vci

                        9.    Router ( config-if-atm-vc ) # encapsulation aal2

                        10.    Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst

                        11.    Router(config-if-atm-vc)# oam-pvc manage] [ frequency

                        12.    Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency

                        13.    Router(config-if-atm-vc)# end

                        14.    Router# show atm vc


                      DETAILED STEPS
                         Command or ActionPurpose
                        Step 1 Router(config)# controller t1 e1 0/0 

                        Selects the T1 or E1 controller 0/0.

                         
                        Step 2 Router(config-controller)# mode atm

                        Example:
                        
                        
                                
                         

                        Specifies that the controller will support ATM encapsulation and create ATM interface 0/0.

                         
                        Step 3 Router(config-controller)# framing framing type 

                        Specifies the T1 framing type as extended super frame or esf.

                        When the controller is set to ATM mode, the Controller framing is automatically set to Extended SuperFrame (esf) on T1 and to crc4 on E1.

                         
                        Step 4 Router(config-controller)# linecode linecode type 

                        Specifies the T1 linecode type as b8zs.

                        The linecode is automatically set to b8zs on T1 and to hdb3 on E1.

                         
                        Step 5 Router(config-controller)# no shutdown 

                        Ensures that the controller is activated.

                         
                        Step 6 Router(config-controller)# exit 

                        Exits controller configuration mode.

                         
                        Step 7 Router(config)# interface atm slot/port subinterface-number multipoint |point-to-point]]  

                        Enters interface configuration mode to configure ATM interface 0/0 or an ATM subinterface.

                        For subinterfaces, the default is multipoint.

                         
                        Step 8 Router(config-if)# pvcword ] { vpi/vci | vci 

                        Creates an ATM PVC for voice traffic and enters ATM virtual circuit configuration mode.

                        vpi= 0 to 255

                        vci= 1 to 1023

                        word= optional PVC identifier (letters only); if you assign a PVC identifier, you can use it to specify this PVC when configuring network dial peers

                        Note   

                        AAL2 encap is not supported for ilmi and qsaal PVCs.

                         
                        Step 9 Router ( config-if-atm-vc ) # encapsulation aal2 

                        Sets the encapsulation of the PVC to support AAL2 voice traffic. This automatically creates channel identifiers (CIDs) 1 through 255.

                         
                        Step 10 Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst 

                        Configures the PVC for variable-bit-rate real-time (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

                        • peak-rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

                        • average-rate--Calculate according to the maximum number of calls the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

                        G.711 with 40 or 80 byte sample size--max calls x 85

                        G.726 with 40 or 80 byte sample size--max calls x 43

                        G.729 with 30 byte sample size--max calls x 15

                        G.729 with 20 byte sample size--max calls x 22

                        G.729 with 30 byte sample size--max calls x 15

                        If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by as much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

                        • burst--Set the burst size as large as possible, and never less than the minimum burst size.

                        Guidelines are as follows:

                        The minimum burst size is 4 x the number of voice calls.

                        The maximum burst size is the maximum allowed by the carrier.

                        You can calculate the value using the calculator at the following URL:

                        http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

                         
                        Step 11 Router(config-if-atm-vc)# oam-pvc manage] [ frequency 

                        (Optional) Configures transmission of end-to-end F5 OAM loopback cells on a PVC, optionally specifies the number of seconds between loopback cells, and optionally enables OAM management of the connection.

                        The range for frequency is 0 to 600. The default is 10.

                         
                        Step 12 Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency 

                        (Optional) Specifies OAM management parameters for verifying connectivity of a PVC connection. This command is supported only if OAM management is enabled.

                        • The value of up-count is the number of OAM loopback cell responses received to change the PVC connection to up. The range is 1 to 600; the default is 3.

                        • The value of down-count is the number of OAM loopback cell responses not received to change the PVC connection to down. The range is 1 to 600; the default is 5.

                        • The value of retry-frequency is the number of seconds between loopback cells sent to verify the down state of a PVC. The range is 1 to 1000; the default is 1.

                        Note   

                        Enter the oam retry command only once with all the arguments in the order shown. The first number always specifies up-count ; the second down-count , and the third retry-frequency .

                         
                        Step 13 Router(config-if-atm-vc)# end 

                        Exits configuration mode.

                         
                        Step 14 Router# show atm vc 

                        Verifies the ATM PVC configuration.

                         

                        Configuring ATM on the Cisco 3660


                        Note


                        When verifying your ATM PVC connectivity, note that you cannot enter the ping command over a voice PVC because the command applies to data only. If you have data and voice PVCs set to the same destination, you can enter the ping command over the data PVC.


                        SUMMARY STEPS

                          1.    Router(config)# interface atm < slot>/ima<grp#> [subinterface-number [multipoint | point-to-point]]

                          2.    Router(config-if)# pvc [name] vpi/vci

                          3.    Router ( config-if-atm-vc ) # encapsulation aal2

                          4.    Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst

                          5.    Router(config-if-atm-vc)# oam-pvc manage] [ frequency

                          6.    Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency

                          7.    Router(config-if-atm-vc)# end

                          8.    Router# show atm vc

                          9.    Router(config-if-atm-vc)# vbr-rtpeak-rateaverage-rate [burst ]

                          10.    Router(config-if-atm-vc)# vccipvc-identifier

                          11.    Router(config-if-atm-vc)# exit

                          12.    Router(config-if)# exit

                          13.    Router(config)# dial-peer voicenumberpots

                          14.    Router(config-dial-peer)# application MGCPAPP


                        DETAILED STEPS
                           Command or ActionPurpose
                          Step 1 Router(config)# interface atm < slot>/ima<grp#> [subinterface-number [multipoint | point-to-point]] 

                          Enters interface configuration mode to configure ATM interface 0/0 or an ATM subinterface.

                          Note   

                          To configure an IMA group on each ATM interface, enter the IMA group and group number.

                          The default for subinterfaces is multipoint.

                          For all Scenarios : Set up three subinterfaces for point-to-point.

                           
                          Step 2 Router(config-if)# pvc [name] vpi/vci 

                          Creates an ATM PVC for voice traffic and enters ATM virtual circuit configuration mode.

                          Note   

                          AAL2 encap is not supported for ilmi and qsaal PVCs.

                           
                          Step 3 Router ( config-if-atm-vc ) # encapsulation aal2 

                          Sets the encapsulation of the PVC to support AAL2 voice traffic. This automatically creates channel identifiers (CIDs) 1 through 255.

                           
                          Step 4 Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst 

                          Configures the PVC for variable-bit-rate real-time (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

                          • peak rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

                          • average rate--Calculate according to the maximum number of calls the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

                          G.711 with 40 or 80 byte sample size--max calls x 85

                          G.726 with 40 or 80 byte sample size--max calls x 43

                          G.729 with 30 byte sample size--max calls x 15

                          G.729 with 20 byte sample size--max calls x 22

                          G.729 with 10 byte sample size--max calls x 43

                          If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by as much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

                          • burst size--Set the burst size as large as possible, and never less than the minimum burst size. Guidelines are as follows:

                          The minimum burst size is 4 x the number of voice calls.

                          The maximum burst size is the maximum allowed by the carrier.

                          You can calculate the value using the calculator at the following URL:

                          http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

                           
                          Step 5 Router(config-if-atm-vc)# oam-pvc manage] [ frequency 

                          (Optional) Configures transmission of end-to-end F5 OAM loopback cells on a PVC, optionally specify the number of seconds between loopback cells, and optionally enable OAM management of the connection.

                          The range for frequency is 0 to 600. The default is 10.

                           
                          Step 6 Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency 

                          (Optional) Specifies OAM management parameters for verifying connectivity of a PVC connection. This command is supported only if OAM management is enabled.

                          • The value of up-count is the number of OAM loopback cell responses received to change the PVC connection to up. The range is 1 to 600; the default is 3.

                          • The value of down-count is the number of OAM loopback cell responses not received to change the PVC connection to down. The range is 1 to 600; the default is 5.

                          • The value of retry-frequency is the number of seconds between loopback cells sent to verify the down state of a PVC. The range is 1 to 1000; the default is 1.

                          Note   

                          Enter the oam retry command only once with all the arguments in the order shown. The first number always specifies up-count ; the second down-count , and the third retry-frequency .

                           
                          Step 7 Router(config-if-atm-vc)# end 

                          Exits configuration mode.

                           
                          Step 8 Router# show atm vc 

                          Verifies the ATM PVC configuration.

                           
                          Step 9 Router(config-if-atm-vc)# vbr-rtpeak-rateaverage-rate [burst ] 

                          Configures the PVC for the variable-bit-rate real-time (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

                          • peak rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

                          • average rate--Calculate according to the maximum number of calls (max calls) the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

                          for VoIP:

                          G.711 with 40 or 80 byte sample size: max calls x 128K

                          G.726 with 40 byte sample size: max calls x 85K

                          G.729a with 10 byte sample size: max calls x 85K

                          for VoAAL2:

                          G.711 with 40 byte sample size: max calls x 85K

                          G.726 with 40 byte sample size: max calls x 43K

                          G.729a with 10 byte sample size: max calls x 43K

                          If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by a s much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

                          • burst--Set the burst size as large as possible, and never less than the minimum burst size. Guidelines are as follows:

                          The minimum burst size is 4 x the number of voice calls.

                          The maximum burst size is the maximum allowed by the carrier.

                          You can calculate the value using the calculator at the following URL:

                          http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

                           
                          Step 10 Router(config-if-atm-vc)# vccipvc-identifier 

                          Assigns a unique identifier to the PVC.

                           
                          Step 11 Router(config-if-atm-vc)# exit 

                          Exits ATM virtual circuit configuration mode.

                           
                          Step 12 Router(config-if)# exit 

                          Exits interface configuration mode.

                           
                          Step 13 Router(config)# dial-peer voicenumberpots 

                          Enter dial peer configuration mode for the POTS dial peer.

                           
                          Step 14 Router(config-dial-peer)# application MGCPAPP 

                          Initiates the MGCP protocol for the voice ports.

                           

                          Configuring Voice Band Detection Playout Settings

                          To configure voice band detection playout buffer delay on Cisco 2600 series and Cisco 3600 series routers , use the following commands beginning in the voice service configuration mode:

                          SUMMARY STEPS

                            1.    Router(config)# voice service voatm

                            2.    Router(config-voice-service)# session protocol aal2

                            3.    Router(config-voice-service-session)# vbd-playout-delay maximum time

                            4.    Router(config-voice-service-session)# vbd-playout-delay minimum time

                            5.    Router(config-voice-service-session)# vbd-playout-delay mode {fixed | passthrough}

                            6.    Router(config-voice-service-session)# vbd-playout-delay nominal time

                            7.    Router(config-voice-service-session)# end


                          DETAILED STEPS
                             Command or ActionPurpose
                            Step 1 Router(config)# voice service voatm 

                            Enters voice-service configuration mode.

                             
                            Step 2 Router(config-voice-service)# session protocol aal2

                            Example:
                            
                            
                                    
                             

                            Enters voice-service-session configuration mode and specifies AAL2 trunking.

                             
                            Step 3 Router(config-voice-service-session)# vbd-playout-delay maximum time 

                            Specifies the maximum AAL2 voice band detection playout delay buffer on Cisco 2600 series and Cisco 3660 routers in milliseconds.

                            The time is set in milliseconds. The range is from 40-1700 milliseconds. The default is set to 200 milliseconds.

                             
                            Step 4 Router(config-voice-service-session)# vbd-playout-delay minimum time 

                            Specifies the minimum AAL2 voice band detection playout delay buffer on Cisco 2600 series and Cisco 3660 routers.

                            The time is set in milliseconds. The range is from 4-1700 milliseconds. The default is set to 4 milliseconds.

                             
                            Step 5 Router(config-voice-service-session)# vbd-playout-delay mode {fixed | passthrough} 

                            Configures voice band detection playout delay adaptation mode on a Cisco router.

                            When the vbd-delay-playout mode is set to fixed, jitter buffer is set at a constant delay in milliseconds.

                            When the vbd-delay-playout mode is set to passthrough, jitter buffer is set to DRAIN_FILL for clock compensation. There is no default.

                             
                            Step 6 Router(config-voice-service-session)# vbd-playout-delay nominal time 

                            Specifies the nominal AAL2 voice band detection playout delay buffer on Cisco 2600 series and Cisco 3660 routers.

                            The time is set in milliseconds. The range is from 0-1500 milliseconds. The default is 100 milliseconds.

                             
                            Step 7 Router(config-voice-service-session)# end 

                            Exits voice-service-session configuration mode.

                             

                            Configuring Subcell Multiplexing for AAL2 Voice

                            This section describes the configuration tasks necessary to enable AAL2 common part sublayer (CPS) subcell multiplexing when the Cisco 2600 series router or a Cisco 3660 interoperates with a voice interface service module (VISM) in an MGX switch.

                            To configure the Cisco 2600 series router or the Cisco 3660 to perform subcell multiplexing, complete the following steps beginning in global configuration mode:

                            SUMMARY STEPS

                              1.    Router(config)# voice service voatm

                              2.    Router(config-voice-service)# session protocol aal2

                              3.    Router(config-voice-service-session)# subcell-mux <number>

                              4.    Router(config-voice-service-session)# end


                            DETAILED STEPS
                               Command or ActionPurpose
                              Step 1 Router(config)# voice service voatm 

                              Enters voice-service configuration mode.

                               
                              Step 2 Router(config-voice-service)# session protocol aal2 

                              Enters voice-service-session configuration mode and specifies AAL2 trunking.

                               
                              Step 3 Router(config-voice-service-session)# subcell-mux <number> 

                              Enables subcell multiplexing. The number is time in milliseconds.

                              By default, subcell multiplexing is not enabled.

                               
                              Step 4 Router(config-voice-service-session)# end 

                              Exits configuration mode.

                               

                              Configuring End-to-End Clocking

                              The following commands can be used to configure the Cisco3660 only when there is a TDM switch module on board. For Cisco 2600 series these commands are automatically allowed.


                              Note


                              When verifying your ATM PVC connectivity, note that you cannot enter the ping command over a voice PVC because the command applies to data only. If you have data and voice PVCs set to the same destination, you can enter the ping command over the data PVC.


                              SUMMARY STEPS

                                1.    Router(config)# network-clock-participate{nm | wic} slot

                                2.    For Cisco 2600 series:

                                3.    Router(config) network-clock-select priority t1 slot/port

                                4.    Router(config) network-clock-select priority t1 slot/port

                                5.    Router(config) voice-card slot


                              DETAILED STEPS
                                 Command or ActionPurpose
                                Step 1 Router(config)# network-clock-participate{nm | wic} slot 

                                Enables the Cisco 2600 series router or the Cisco 3660 to receive clock signals from the VWIC by entering the keyword wic and the slot number 0 on the router.

                                 
                                Step 2 For Cisco 2600 series:

                                Example:
                                Router(config)#
                                 network-clock-participate {nm | wic} slot


                                Example:
                                
                                
                                        


                                Example:
                                For Cisco 3660:


                                Example:
                                Router(config)# network-clock-participate {nm} slot
                                 

                                Enables the Cisco 2600 series router or the Cisco 3660 to receive clock signals from the network module by entering the keyword nm and the slot number 1 on the router.

                                 
                                Step 3 Router(config) network-clock-select priority t1 slot/port 

                                Names a source to provide timing for the network clock and to specify the selection priority for this clock source. The priority selection is 1 or 2 .

                                Use the no form of this command to cancel the selection.

                                 
                                Step 4 Router(config) network-clock-select priority t1 slot/port 

                                Assigns priority 1 to ATM interface 0/0 and priority 2 to controller 1/0

                                 
                                Step 5 Router(config) voice-card slot 

                                Enters voice-card configuration mode and set codec complexity. For slot use a value from 0 to 3 that describes the card location in the module.

                                 

                                Configuring a CAC Master for AAL2 Voice

                                This section describes the configuration tasks necessary to configure call admission control (CAC) for AAL2 voice. The commands and procedures in this section are common to the Cisco 2600 series and the Cisco 3660.

                                You can configure a Cisco 2600 series router or a Cisco 3660 as either a CAC master or a CAC slave. By default, this is a CAC slave. You typically configure a CAC master at one end of an ATM trunk and a CAC slave at the opposite end. A Cisco 2600 series router or a Cisco 3660 configured as a master always performs CAC during fax/modem upspeed. A Cisco 2600 series router or a Cisco 3660 configured as a slave sends a request for CAC to the CAC master.

                                To configure a Cisco 2600 series router or a Cisco 3660 as a CAC master, complete the following steps beginning in global configuration mode:

                                SUMMARY STEPS

                                  1.    Router(config)# voice service voatm

                                  2.    Router(config-voice-service)# session protocol aal2

                                  3.    Router(config-voice-service-session)# cac master

                                  4.    Router(config-voice-service-session)# end


                                DETAILED STEPS
                                   Command or ActionPurpose
                                  Step 1 Router(config)# voice service voatm 

                                  Enters voice-service configuration mode.

                                   
                                  Step 2 Router(config-voice-service)# session protocol aal2 

                                  Enters voice-service-session configuration mode and specifies AAL2 trunking.

                                   
                                  Step 3 Router(config-voice-service-session)# cac master 

                                  Configures this Cisco 2600 series router or a Cisco 3660 as a CAC master.

                                   
                                  Step 4 Router(config-voice-service-session)# end 

                                  Exits configuration mode.

                                   

                                  Configuring a CAC Slave for AAL2 Voice

                                  To return a Cisco 2600 series router or a Cisco 3660 to its default operation as a CAC slave, complete the following steps beginning in global configuration mode:

                                  SUMMARY STEPS

                                    1.    Router(config)# voice service voatm

                                    2.    Router(config-voice-service)# session protocol aal2

                                    3.    Router(config-voice-service-session)# no cac master

                                    4.    Router(config-voice-service-session)# end


                                  DETAILED STEPS
                                     Command or ActionPurpose
                                    Step 1 Router(config)# voice service voatm 

                                    Enters voice-service configuration mode.

                                     
                                    Step 2 Router(config-voice-service)# session protocol aal2 

                                    Enters voice-service-session configuration mode and specifies AAL2 trunking.

                                     
                                    Step 3 Router(config-voice-service-session)# no cac master 

                                    Configures this Cisco 2600 series router or a Cisco 3660 as a CAC slave.

                                     
                                    Step 4 Router(config-voice-service-session)# end 

                                    Exits configuration mode.

                                     

                                    Configuring Dial Peers for AAL2 Voice

                                    For more information on dial peers and dial-peer configuration, see the "Configuring Voice over ATM" chapter in the Cisco IOS Multiservice Applications Configuration Guide, Release 12.1.

                                    Configuring Network Dial Peers to Support AAL2

                                    To configure a network dial peer for Voice over ATM (VoATM), specify a unique tag number, an atm, a virtual circuit number, and channel identifier (CID).

                                    To configure VoATM dial peers, use the following commands beginning in global configuration mode:

                                    SUMMARY STEPS

                                      1.    Router(config)# dial-peer voicetag voatm

                                      2.    Router(config-dial-peer)# destination-pattern string

                                      3.    Router(config-dial-peer)# session protocol aal2-trunk

                                      4.    Router(config-dial-peer)# session target atm 0/0 pvc word | vpi/vci | vci } cid

                                      5.    Router(config-dial-peer)# codec aal2 profile itut |custom profile-number codec

                                      6.    Router(config-dial-peer)# dtmf-relay

                                      7.    Router(config-dial-peer)# signal-type ext-signal transparent

                                      8.    Router(config-dial-peer)# no vad

                                      9.    Router(config-dial-peer)# exit

                                      10.    Repeat Step 1 through Step 9


                                    DETAILED STEPS
                                       Command or ActionPurpose
                                      Step 1 Router(config)# dial-peer voicetag voatm 

                                      Defines a VoATM dial peer for VoATM and enter dial-peer configuration mode.

                                      The tag identifies the dial peer. Each tag on any one router must be unique.

                                       
                                      Step 2 Router(config-dial-peer)# destination-pattern string 

                                      Configures the dial peer’s destination pattern.

                                      The string is a series of digits that specify the E.164 or private dialing plan telephone number. Valid entries are the digits 0 through 9 and the letters A through D. The following special characters can be entered in the string:

                                      • The star (*) and the pound sign (#) can be used in a dial string, but not as leading characters (for example *650 is not permitted).

                                      • The period (.) can be entered as a wildcard digit. Network dial peers typically use wildcards to represent a range of destination telephone numbers (for example, 1408555.... for all numbers in area code 408 with the 555 prefix).

                                      • The comma (,) can be used only in prefixes, and is used to insert a 1-second pause.

                                      • The timer (T) character can be used to configure variable-length dial plans.

                                       
                                      Step 3 Router(config-dial-peer)# session protocol aal2-trunk 

                                      Configures the session protocol to support AAL2-trunk permanent (private line) trunk calls.

                                       
                                      Step 4 Router(config-dial-peer)# session target atm 0/0 pvc word | vpi/vci | vci } cid

                                      Example:
                                      (for Cisco 2600 series)


                                      Example:
                                      For Cisco 3660:


                                      Example:
                                      router(config-dial-peer)# session target atm <slot>/ima <group#>
                                       

                                      Configures the ATM session target for the dial peer. Be sure to specify atm 0/0 as the interface for the PVC.

                                      Use word to identify the PVC if a word name was assigned when the PVC was created in the Configuring ATM on Cisco 2600 Series.

                                      Use word to identify the PVC if a word name was assigned when the PVC was created in the Configuring ATM on Cisco 3660.

                                       
                                      Step 5 Router(config-dial-peer)# codec aal2 profile itut |custom profile-number codec 

                                      Specifies a codec profile for the DSP.

                                      Profile options are itut 1, itut 2, itut 7, custom 100, and custom 110.

                                      The default is itut 1 with codec G.711 u-law.

                                      See the "Command Reference" section for the codec options available for each AAL2 profile.

                                      Note   

                                      Use this command instead of the codec (dial-peer)command for AAL2 trunk applications.

                                       
                                      Step 6 Router(config-dial-peer)# dtmf-relay 

                                      (Optional) If the codec type is a low bit-rate codec such as g729 or g723, specify support for DTMF relay to improve end-to-end transport of DTMF tones. DTMF tones do not always propagate reliably with low bit-rate codecs.

                                      DTMF relay is disabled by default.

                                       
                                      Step 7 Router(config-dial-peer)# signal-type ext-signal transparent 

                                      (Optional) Defines the type of ABCD signaling packets that are generated by the voice port and sent over the ATM network. The signal type must be configured to the same setting at both ends of the PVC.

                                      Enter ext-signal for common channel signaling (CCS). ABCD signaling packets are not sent.

                                      Enter transparent for nonswitched trunks using channel associated signaling (CAS). ABCD signaling bits are passed transparently to the ATM network.

                                       
                                      Step 8 Router(config-dial-peer)# no vad 

                                      (Optional) Disables voice activity detection (VAD) on the dial peer. VAD is enabled by default.

                                       
                                      Step 9 Router(config-dial-peer)# exit 

                                      Exits from the dial-peer configuration mode.

                                       
                                      Step 10 Repeat Step 1 through Step 9
                                       

                                      Configures additional VoATM dial peers.

                                       

                                      Configuring MGCP POTS Dial Peer

                                      To configure MGCP POTS dial peer on the Cisco 2600 series and the Cisco 3660, complete the following commands beginning in global configuration mode:

                                      SUMMARY STEPS

                                        1.    Router(config)# dial-peer voice number pots

                                        2.    Router(config-dial-peer)# application MGCPAPP

                                        3.   

                                        4.    Router(config-dial-peer)# exit


                                      DETAILED STEPS
                                         Command or ActionPurpose
                                        Step 1 Router(config)# dial-peer voice number pots  

                                        Enters the dial-peer configuration mode for the POTS dial-peer.

                                         
                                        Step 2 Router(config-dial-peer)# application MGCPAPP  

                                        Initiates the MGCP protocol for the voice ports.

                                         
                                        Step 3


                                        Example:
                                        Router(config-dial-peer)# port slot/port:ds0-group
                                        
                                        
                                         

                                        This command associates the dial peer with a specific logical interface.

                                        The value of slot is the router location where the voice port adapter is installed. Valid entries are from 0 to 3.

                                        The value of port indicates the voice interface card location. Valid entries are 0 or 1.

                                        Each defined DS0 group number is represented on a separate voice port. This allows you to define individual DS0s on the digital T1/E1 card.

                                         
                                        Step 4 Router(config-dial-peer)# exit  

                                        Exits from the dial-peer configuration mode.

                                         

                                        Configuring DS-0 Group and Channel Group for CCS

                                        To configure a DS-0 group and the channel group for CCS on the Cisco 2600 series and the Cisco 3660, complete the following commands beginning in global configuration mode:

                                        SUMMARY STEPS

                                          1.    Router(config)# controller {T1 | E1} slot/port

                                          2.    Router(config-controller)# mode ccs frame-forwarding

                                          3.    Router(config-controller)# channel-group number timeslots range speed{48|56|64}]

                                          4.    Router(config-controller)# ds0-group channel-number timeslots range type signaling-type

                                          5.    Router(config-controller)# exit


                                        DETAILED STEPS
                                           Command or ActionPurpose
                                          Step 1 Router(config)# controller {T1 | E1} slot/port 

                                          Enters controller configuration mode for the controller at the specified slot/port location. Valid values for slot and port are 0 and 1.

                                           
                                          Step 2 Router(config-controller)# mode ccs frame-forwarding 

                                          Configures the controller to support CCS transparent signaling.

                                           
                                          Step 3 Router(config-controller)# channel-group number timeslots range speed{48|56|64}] 

                                          Defines the time slots that belong to each T1 or E1 circuit.

                                          • number--channel-group number. When configuring a T1 data line, channel-group numbers can be values from 0 to 23. When configuring an E1 data line, channel-group numbers can be a values from 0 to 30.

                                          • range--time slot or range of time slots belonging to the channel group. The first timeslot is numbered 1. Pick one timeslot from the timeslot range. For a T1 controller, the timeslot range is from 1 to 24. For an E1 controller, the timeslot range is from 1 to 31.

                                          • speed {48 | 56 | 64}--(Optional) Specifies the line speed (in kilobits per second) of the T1 or E1 link. The default line speed for T1 is 56 kbps. The default line speed for E1 is 64 kbps.

                                           
                                          Step 4 Router(config-controller)# ds0-group channel-number timeslots range type signaling-type 

                                          For the CCS PBX Scenarios only : Configures the T1 time slots for CCS calls.

                                          The signaling type is external signaling.

                                           
                                          Step 5 Router(config-controller)# exit 

                                          For the CCS PBX Scenarios only : Exits controller configuration mode.

                                           

                                          Configuring T-CCS Frame Forwarding

                                          To configure T-CCS frame-forwarding on the Cisco 2600 series and the Cisco 3660, complete the following commands beginning in global configuration mode:

                                          SUMMARY STEPS

                                            1.    Router(config)# interface serial 1:channelnumber

                                            2.    Router(config-if)# ccs encap atm

                                            3.    Router(config-if)# ccs connect {serial |atm} slot/number [dlci dlci| pvc vci | pvc vcd | pvc vpi/vci | pvc string]

                                            4.    Router(config-if)# exit


                                          DETAILED STEPS
                                             Command or ActionPurpose
                                            Step 1 Router(config)# interface serial 1:channelnumber 

                                            Enters interface configuration mode. This procedure maps the D channel from the digital T1/E1 packet voice trunk network module to the specified interface.

                                            The channel number argument specifies the channel number. For T1, enter the channel number as 23. For E1, enter 15.

                                             
                                            Step 2 Router(config-if)# ccs encap atm 

                                            (ATM only) Configures the CCS encapsulation to use the ATM packet format.

                                             
                                            Step 3 Router(config-if)# ccs connect {serial |atm} slot/number [dlci dlci| pvc vci | pvc vcd | pvc vpi/vci | pvc string] 

                                            (Frame Relay and ATM) Configures the CCS connection. If the CCS connection is over Frame Relay, specify a serial interface and the DLCI.

                                            If the CCS connection is over ATM, specify ATM, slot and interface, and the PVC.

                                             
                                            Step 4 Router(config-if)# exit 

                                            Exits the interface mode.

                                             

                                            Configuration Tasks for MGCP CAS

                                            See the following sections for configuration tasks for MGCP CAS on Cisco 2600 series and Cisco 3660 routers. Each task in this list is identified as either required or optional:

                                            Configuring MGCP CAS PBX on the Cisco 2600 Series and Cisco 3660

                                            Use the following commands for configuring the Media Gateway Control Protocol (MGCP) CAS PBX on Cisco 2600 series and Cisco 3660 routers:

                                            SUMMARY STEPS

                                              1.    Router(config)# mgcp

                                              2.    Router(config)# mgcp call-agent ipaddr | hostname} [port] [service-type type] version version-number

                                              3.    Router(config-if)# mgcp sgcp restart notify

                                              4.    Router(config-if)# mgcp modem passthrough [cisco | ca | nse]

                                              5.    Router(config)# mgcp tse payloadtype

                                              6.    Router(config)# no mgcp timer receive-rtcp

                                              7.    Router(config)# mgcp timer rtp-nsetimer

                                              8.    Router(config)# mgcp quarantine mode process

                                              9.    Router(config)# controller{t1 | e1} slot/port

                                              10.    Router(config-controller)# mode cas

                                              11.    Router(config-controller)# ds0-group channel-number timeslots range type signaling-type tone type addr info service service-type

                                              12.    Router(config-controller)# exit

                                              13.    Router(config-if-atm-vc)# vbr-rtpeak-rateaverage-rate [burst ]

                                              14.    Router(config-if-atm-vc)# vccipvc-identifier

                                              15.    Router(config-if-atm-vc)# exit

                                              16.    Router(config-if)# exit

                                              17.    Router(config)# dial-peer voicenumberpots

                                              18.    Router(config-dial-peer)# application MGCPAPP


                                            DETAILED STEPS
                                               Command or ActionPurpose
                                              Step 1 Router(config)# mgcp 

                                              Starts the MGCP daemon.

                                               
                                              Step 2 Router(config)# mgcp call-agent ipaddr | hostname} [port] [service-type type] version version-number 

                                              Configures the MGCP call agent and service type.

                                               
                                              Step 3 Router(config-if)# mgcp sgcp restart notify 

                                              Causes MGCP to send and process simple gateway control protocol (SGCP) restart in progress (RSIP) messages.

                                               
                                              Step 4 Router(config-if)# mgcp modem passthrough [cisco | ca | nse] 

                                              Enables the router to process fax or modem messages. VoAAL2 does not support cisco.

                                               
                                              Step 5 Router(config)# mgcp tse payloadtype 

                                              Enables the telephony signaling events (TSE) payload for fax and modem messages.

                                               
                                              Step 6 Router(config)# no mgcp timer receive-rtcp 

                                              Turns off the real-time transport protocol (RTP) RTP control protocol (RTCP) transmission interval at the gateway.

                                               
                                              Step 7 Router(config)# mgcp timer rtp-nsetimer 

                                              Turns on the RTP named signaling events (NSE) timeout interval at the gateway.

                                               
                                              Step 8 Router(config)# mgcp quarantine mode process 

                                              (Optional) Turns on processing for MGCP quarantine mode.

                                               
                                              Step 9 Router(config)# controller{t1 | e1} slot/port 

                                              For the CAS PBX scenarios only : Selects the T1/E1 controller 1/0.

                                               
                                              Step 10 Router(config-controller)# mode cas 

                                              For the CAS PBX scenarios only : Specifies that the controller will support CAS.

                                               
                                              Step 11 Router(config-controller)# ds0-group channel-number timeslots range type signaling-type tone type addr info service service-type 

                                              For the CAS PBX scenarios only : Configures the T1 time slots for CAS calls. The scenarios use the following three digital signal level 0 (DS-0) definitions:

                                              • ds0-group 1 time slots 1-8 type e&m-immediate-start

                                              • ds0-group 2 time slots 9-16 type e&m-wink-start

                                              • ds0-group 3 time slots 17-24 type fxs-ground-start

                                               
                                              Step 12 Router(config-controller)# exit 

                                              For the CAS PBX scenarios only : Exits controller configuration mode.

                                               
                                              Step 13 Router(config-if-atm-vc)# vbr-rtpeak-rateaverage-rate [burst ] 

                                              Configure the PVC for the variable-bit-rate real-time (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

                                              • peak rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

                                              • average rate--Calculate according to the maximum number of calls the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

                                              For VoIP:

                                              G.711 with 169 or 80 byte sample size: max calls x 128K

                                              G.726 with 40 byte sample size: max calls x 85K

                                              G.729a with 10 byte sample size: max calls x 85K

                                              For VoAAL2:

                                              G.711 with 40 byte sample size: max calls x 85K

                                              G.726 with 40 byte sample size: max calls x 43K

                                              G.729a with 30 byte sample size: max calls x 15K

                                              If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by as much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

                                              • burst-- Set the burst size as large as possible, and never less than the minimum burst size. Guidelines are as follows:

                                              The minimum burst size is 4 times the number of voice calls.

                                              The maximum burst size is the maximum allowed by the carrier.

                                              You can calculate the value using the calculator at the following URL:

                                              http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

                                               
                                              Step 14 Router(config-if-atm-vc)# vccipvc-identifier 

                                              Assigns a unique identifier to the PVC.

                                               
                                              Step 15 Router(config-if-atm-vc)# exit 

                                              Exits ATM virtual circuit configuration mode.

                                               
                                              Step 16 Router(config-if)# exit 

                                              Exits interface configuration mode.

                                               
                                              Step 17 Router(config)# dial-peer voicenumberpots 

                                              Enters dial-peer configuration mode for the POTS dial peer.

                                               
                                              Step 18 Router(config-dial-peer)# application MGCPAPP 

                                              Initiates MGCP for the voice ports.

                                              You can enter the MGCPAPP keyword in either uppercase or lowercase.

                                               

                                              Configuring ATM on the Cisco 2600 Series

                                              This section describes the ATM configuration tasks necessary to support Voice over ATM using AAL2 on Cisco 2600 series.


                                              Note


                                              If any DS0 groups (CAS groups), channel groups, or clear channels are configured on T1/E1 controller 0, you must remove them before configuring VoATM. Because ATM uses all the DS-0 time slots on the controller, the ATM configuration cannot take place if any DS0s on controller 0 are used by other applications.


                                              You must perform the VoATM configuration on the Cisco 2600 series or Cisco 3660 concentrators at both ends of the ATM link.


                                              Note


                                              When verifying your ATM PVC connectivity, note that you cannot enter the ping command over a voice PVC, because the command applies to data only. If you have data and voice PVCs set to the same destination, you can enter the ping command over the data PVC.


                                              To configure a Cisco 2600 series or Cisco 3660 series concentrator to support VoATM on a T1/E1 trunk, complete the following steps beginning in global configuration mode:

                                              SUMMARY STEPS

                                                1.    Router(config)# controller t1 e1 0/0

                                                2.    Router(config-controller)# mode atm

                                                3.    Router(config-controller)# framing framing type

                                                4.    Router(config-controller)# linecode linecode type

                                                5.    Router(config-controller)# no shutdown

                                                6.    Router(config-controller)# exit

                                                7.    Router(config)# interface atm slot/port subinterface-number multipoint |point-to-point]]

                                                8.    Router(config-if)# pvcword ] { vpi/vci | vci

                                                9.    Router ( config-if-atm-vc ) # encapsulation aal2

                                                10.    Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst

                                                11.    Router(config-if-atm-vc)# oam-pvc manage] [ frequency

                                                12.    Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency

                                                13.    Router(config-if-atm-vc)# end

                                                14.    Router# show atm vc


                                              DETAILED STEPS
                                                 Command or ActionPurpose
                                                Step 1 Router(config)# controller t1 e1 0/0 

                                                Selects the T1 or E1 controller 0/0.

                                                 
                                                Step 2 Router(config-controller)# mode atm

                                                Example:
                                                
                                                
                                                        
                                                 

                                                Specifies that the controller will support ATM encapsulation and create ATM interface 0/0.

                                                 
                                                Step 3 Router(config-controller)# framing framing type 

                                                Specifies the T1 framing type as extended super frame or esf.

                                                When the controller is set to ATM mode, the Controller framing is automatically set to Extended SuperFrame (esf) on T1 and to crc4 on E1.

                                                 
                                                Step 4 Router(config-controller)# linecode linecode type 

                                                Specifies the T1 linecode type as b8zs.

                                                The linecode is automatically set to b8zs on T1 and to hdb3 on E1.

                                                 
                                                Step 5 Router(config-controller)# no shutdown 

                                                Ensures that the controller is activated.

                                                 
                                                Step 6 Router(config-controller)# exit 

                                                Exits controller configuration mode.

                                                 
                                                Step 7 Router(config)# interface atm slot/port subinterface-number multipoint |point-to-point]]  

                                                Enters interface configuration mode to configure ATM interface 0/0 or an ATM subinterface.

                                                For subinterfaces, the default is multipoint.

                                                 
                                                Step 8 Router(config-if)# pvcword ] { vpi/vci | vci 

                                                Creates an ATM PVC for voice traffic and enters ATM virtual circuit configuration mode.

                                                vpi= 0 to 255

                                                vci= 1 to 1023

                                                word= optional PVC identifier (letters only); if you assign a PVC identifier, you can use it to specify this PVC when configuring network dial peers

                                                Note   

                                                AAL2 encap is not supported for ilmi and qsaal PVCs.

                                                 
                                                Step 9 Router ( config-if-atm-vc ) # encapsulation aal2 

                                                Sets the encapsulation of the PVC to support AAL2 voice traffic. This automatically creates channel identifiers (CIDs) 1 through 255.

                                                 
                                                Step 10 Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst 

                                                Configures the PVC for variable-bit-rate real-time (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

                                                • peak-rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

                                                • average-rate--Calculate according to the maximum number of calls the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

                                                G.711 with 40 or 80 byte sample size--max calls x 85

                                                G.726 with 40 or 80 byte sample size--max calls x 43

                                                G.729 with 30 byte sample size--max calls x 15

                                                G.729 with 20 byte sample size--max calls x 22

                                                G.729 with 30 byte sample size--max calls x 15

                                                If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by as much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

                                                • burst--Set the burst size as large as possible, and never less than the minimum burst size.

                                                Guidelines are as follows:

                                                The minimum burst size is 4 x the number of voice calls.

                                                The maximum burst size is the maximum allowed by the carrier.

                                                You can calculate the value using the calculator at the following URL:

                                                http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

                                                 
                                                Step 11 Router(config-if-atm-vc)# oam-pvc manage] [ frequency 

                                                (Optional) Configures transmission of end-to-end F5 OAM loopback cells on a PVC, optionally specifies the number of seconds between loopback cells, and optionally enables OAM management of the connection.

                                                The range for frequency is 0 to 600. The default is 10.

                                                 
                                                Step 12 Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency 

                                                (Optional) Specifies OAM management parameters for verifying connectivity of a PVC connection. This command is supported only if OAM management is enabled.

                                                • The value of up-count is the number of OAM loopback cell responses received to change the PVC connection to up. The range is 1 to 600; the default is 3.

                                                • The value of down-count is the number of OAM loopback cell responses not received to change the PVC connection to down. The range is 1 to 600; the default is 5.

                                                • The value of retry-frequency is the number of seconds between loopback cells sent to verify the down state of a PVC. The range is 1 to 1000; the default is 1.

                                                Note   

                                                Enter the oam retry command only once with all the arguments in the order shown. The first number always specifies up-count ; the second down-count , and the third retry-frequency .

                                                 
                                                Step 13 Router(config-if-atm-vc)# end 

                                                Exits configuration mode.

                                                 
                                                Step 14 Router# show atm vc 

                                                Verifies the ATM PVC configuration.

                                                 

                                                Configuring ATM on the Cisco 3660


                                                Note


                                                When verifying your ATM PVC connectivity, note that you cannot enter the ping command over a voice PVC, because the command applies to data only. If you have data and voice PVCs set to the same destination, you can enter the ping command over the data PVC.


                                                SUMMARY STEPS

                                                  1.    Router(config)# interface atm < slot>/ima<grp#> [subinterface-number [multipoint | point-to-point]]

                                                  2.    Router(config-if)# pvc [name] vpi/vci

                                                  3.    Router ( config-if-atm-vc ) # encapsulation aal2

                                                  4.    Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst

                                                  5.    Router(config-if-atm-vc)# oam-pvc manage] [ frequency

                                                  6.    Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency

                                                  7.    Router(config-if-atm-vc)# end

                                                  8.    Router# show atm vc

                                                  9.    Router(config-if-atm-vc)# vbr-rtpeak-rateaverage-rate [burst ]

                                                  10.    Router(config-if-atm-vc)# vccipvc-identifier

                                                  11.    Router(config-if-atm-vc)# exit

                                                  12.    Router(config-if)# exit

                                                  13.    Router(config)# dial-peer voicenumberpots

                                                  14.    Router(config-dial-peer)# application MGCPAPP


                                                DETAILED STEPS
                                                   Command or ActionPurpose
                                                  Step 1 Router(config)# interface atm < slot>/ima<grp#> [subinterface-number [multipoint | point-to-point]] 

                                                  Enters interface configuration mode to configure ATM interface 0/0 or an ATM subinterface.

                                                  Note   

                                                  To configure an IMA group on each ATM interface, enter the IMA group and group number.

                                                  The default for subinterfaces is multipoint.

                                                  For all Scenarios : Set up three subinterfaces for point-to-point.

                                                   
                                                  Step 2 Router(config-if)# pvc [name] vpi/vci 

                                                  Creates an ATM PVC for voice traffic and enters ATM virtual circuit configuration mode.

                                                  Note   

                                                  AAL2 encap is not supported for ilmi and qsaal PVCs.

                                                   
                                                  Step 3 Router ( config-if-atm-vc ) # encapsulation aal2 

                                                  Sets the encapsulation of the PVC to support AAL2 voice traffic. This automatically creates channel identifiers (CIDs) 1 through 255.

                                                   
                                                  Step 4 Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst 

                                                  Configures the PVC for variable-bit-rate real-time (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

                                                  • peak rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

                                                  • average rate--Calculate according to the maximum number of calls the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

                                                  G.711 with 40 or 80 byte sample size--max calls x 85

                                                  G.726 with 40 or 80 byte sample size--max calls x 43

                                                  G.729 with 30 byte sample size--max calls x 15

                                                  G.729 with 20 byte sample size--max calls x 22

                                                  G.729 with 10 byte sample size--max calls x 43

                                                  If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by as much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

                                                  • burst size--Set the burst size as large as possible, and never less than the minimum burst size. Guidelines are as follows:

                                                  The minimum burst size is 4 x the number of voice calls.

                                                  The maximum burst size is the maximum allowed by the carrier.

                                                  You can calculate the value using the calculator at the following URL:

                                                  http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

                                                   
                                                  Step 5 Router(config-if-atm-vc)# oam-pvc manage] [ frequency 

                                                  (Optional) Configures transmission of end-to-end F5 OAM loopback cells on a PVC, optionally specify the number of seconds between loopback cells, and optionally enable OAM management of the connection.

                                                  The range for frequency is 0 to 600. The default is 10.

                                                   
                                                  Step 6 Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency 

                                                  (Optional) Specifies OAM management parameters for verifying connectivity of a PVC connection. This command is supported only if OAM management is enabled.

                                                  • The value of up-count is the number of OAM loopback cell responses received to change the PVC connection to up. The range is 1 to 600; the default is 3.

                                                  • The value of down-count is the number of OAM loopback cell responses not received to change the PVC connection to down. The range is 1 to 600; the default is 5.

                                                  • The value of retry-frequency is the number of seconds between loopback cells sent to verify the down state of a PVC. The range is 1 to 1000; the default is 1.

                                                  Note   

                                                  Enter the oam retry command only once with all the arguments in the order shown. The first number always specifies up-count ; the second down-count , and the third retry-frequency .

                                                   
                                                  Step 7 Router(config-if-atm-vc)# end 

                                                  Exits configuration mode.

                                                   
                                                  Step 8 Router# show atm vc 

                                                  Verifies the ATM PVC configuration.

                                                   
                                                  Step 9 Router(config-if-atm-vc)# vbr-rtpeak-rateaverage-rate [burst ] 

                                                  Configures the PVC for the variable-bit-rate real-time (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

                                                  • peak rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

                                                  • average rate--Calculate according to the maximum number of calls (max calls) the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

                                                  For VoIP:

                                                  G.711 with 40 or 80 byte sample size: max calls x 128K

                                                  G.726 with 40 byte sample size: max calls x 85K

                                                  G.729a with 10 byte sample size: max calls x 85K

                                                  For VoAAL2:

                                                  G.711 with 40 byte sample size: max calls x 85K

                                                  G.726 with 40 byte sample size: max calls x 43K

                                                  G.729a with 10 byte sample size: max calls x 43K

                                                  If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by a s much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

                                                  • burst--Set the burst size as large as possible, and never less than the minimum burst size. Guidelines are as follows:

                                                  The minimum burst size is 4 x the number of voice calls.

                                                  The maximum burst size is the maximum allowed by the carrier.

                                                  You can calculate the value using the calculator at the following URL:

                                                  http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

                                                   
                                                  Step 10 Router(config-if-atm-vc)# vccipvc-identifier 

                                                  Assigns a unique identifier to the PVC.

                                                   
                                                  Step 11 Router(config-if-atm-vc)# exit 

                                                  Exits ATM virtual circuit configuration mode.

                                                   
                                                  Step 12 Router(config-if)# exit 

                                                  Exits interface configuration mode.

                                                   
                                                  Step 13 Router(config)# dial-peer voicenumberpots 

                                                  Enter dial peer configuration mode for the POTS dial peer.

                                                   
                                                  Step 14 Router(config-dial-peer)# application MGCPAPP 

                                                  Initiates the MGCP protocol for the voice ports.

                                                   

                                                  Configuring Voice Band Detection Playout Settings

                                                  To configure voice band detection playout buffer delay on Cisco 2600 series and Cisco 3600 series routers , use the following commands beginning in the voice service configuration mode:

                                                  SUMMARY STEPS

                                                    1.    Router(config)# voice service voatm

                                                    2.    Router(config-voice-service)# session protocol aal2

                                                    3.    Router(config-voice-service-session)# vbd-playout-delay maximum time

                                                    4.    Router(config-voice-service-session)# vbd-playout-delay minimum time

                                                    5.    Router(config-voice-service-session)# vbd-playout-delay mode {fixed | passthrough}

                                                    6.    Router(config-voice-service-session)# vbd-playout-delay nominal time

                                                    7.    Router(config-voice-service-session)# end


                                                  DETAILED STEPS
                                                     Command or ActionPurpose
                                                    Step 1 Router(config)# voice service voatm 

                                                    Enters voice-service configuration mode.

                                                     
                                                    Step 2 Router(config-voice-service)# session protocol aal2

                                                    Example:
                                                    
                                                    
                                                            
                                                     

                                                    Enters voice-service-session configuration mode and specifies AAL2 trunking.

                                                     
                                                    Step 3 Router(config-voice-service-session)# vbd-playout-delay maximum time 

                                                    Specifies the maximum AAL2 voice band detection playout delay buffer on Cisco 2600 series and Cisco 3660 routers in milliseconds.

                                                    The time is set in milliseconds. The range is from 40-1700 milliseconds. The default is set to 200 milliseconds.

                                                     
                                                    Step 4 Router(config-voice-service-session)# vbd-playout-delay minimum time 

                                                    Specifies the minimum AAL2 voice band detection playout delay buffer on Cisco 2600 series and Cisco 3660 routers.

                                                    The time is set in milliseconds. The range is from 4-1700 milliseconds. The default is set to 4 milliseconds.

                                                     
                                                    Step 5 Router(config-voice-service-session)# vbd-playout-delay mode {fixed | passthrough} 

                                                    Configures voice band detection playout delay adaptation mode on a Cisco router.

                                                    When the vbd-delay-playout mode is set to fixed, jitter buffer is set at a constant delay in milliseconds.

                                                    When the vbd-delay-playout mode is set to passthrough, jitter buffer is set to DRAIN_FILL for clock compensation. There is no default.

                                                     
                                                    Step 6 Router(config-voice-service-session)# vbd-playout-delay nominal time 

                                                    Specifies the nominal AAL2 voice band detection playout delay buffer on Cisco 2600 series and Cisco 3660 routers.

                                                    The time is set in milliseconds. The range is from 0-1500 milliseconds. The default is 100 milliseconds.

                                                     
                                                    Step 7 Router(config-voice-service-session)# end 

                                                    Exits voice-service-session configuration mode.

                                                     

                                                    Configuring Subcell Multiplexing for AAL2 Voice

                                                    This section describes the configuration tasks necessary to enable AAL2 common part sublayer (CPS) subcell multiplexing when the Cisco 2600 series router or a Cisco 3660 interoperates with a voice interface service module (VISM) in an MGX switch.

                                                    To configure the Cisco 2600 series router or the Cisco 3660 to perform subcell multiplexing, complete the following steps beginning in global configuration mode:

                                                    SUMMARY STEPS

                                                      1.    Router(config)# voice service voatm

                                                      2.    Router(config-voice-service)# session protocol aal2

                                                      3.    Router(config-voice-service-session)# subcell-mux number

                                                      4.    Router(config-voice-service-session)# end


                                                    DETAILED STEPS
                                                       Command or ActionPurpose
                                                      Step 1 Router(config)# voice service voatm 

                                                      Enters voice-service configuration mode.

                                                       
                                                      Step 2 Router(config-voice-service)# session protocol aal2 

                                                      Enters voice-service-session configuration mode and specifies AAL2 trunking.

                                                       
                                                      Step 3 Router(config-voice-service-session)# subcell-mux number 

                                                      Enables subcell multiplexing. The number is time in milliseconds.

                                                      By default, subcell multiplexing is not enabled.

                                                       
                                                      Step 4 Router(config-voice-service-session)# end 

                                                      Exits configuration mode.

                                                       

                                                      Verifying the MGCP CAS PBX and AAL2 PVC Configurations

                                                      Use these commands to verify the configuration settings:

                                                      SUMMARY STEPS

                                                        1.    Router# show dial-peer voice sum

                                                        2.    Router# show run


                                                      DETAILED STEPS
                                                         Command or ActionPurpose
                                                        Step 1 Router# show dial-peer voice sum 

                                                        Displays the status of the dial peer. The dial peer should be active. If it is not, enter the command:

                                                        Router(config-dial-peer)# no shut
                                                         
                                                        Step 2 Router# show run 

                                                        Displays the current configuration settings.

                                                         

                                                        Configuring End-to-End Clocking

                                                        The following commands can be used to configure the Cisco 3660 only when there is a TDM switch module on board. For the Cisco 2600 series routers, these commands are automatically allowed.


                                                        Note


                                                        When verifying your ATM PVC connectivity, note that you cannot enter the ping command over a voice PVC, because the command applies to data only. If you have data and voice PVCs set to the same destination, you can enter the ping command over the data PVC.


                                                        SUMMARY STEPS

                                                          1.    Router(config)# network-clock-participate{nm | wic} slot

                                                          2.    for Cisco 2600 series:

                                                          3.    Router(config)network-clock-select priority t1 slot/port

                                                          4.    Router(config)network-clock-select priority t1 slot/port

                                                          5.    Router(config)voice-card slot


                                                        DETAILED STEPS
                                                           Command or ActionPurpose
                                                          Step 1 Router(config)# network-clock-participate{nm | wic} slot 

                                                          Enables the Cisco 2600 series router or the Cisco 3660 to receive clock signals from the VWIC by entering the keyword wic and the slot number 0 on the router.

                                                           
                                                          Step 2 for Cisco 2600 series:

                                                          Example:
                                                          Router(config)#
                                                           network-clock-participate {nm | wic} slot


                                                          Example:
                                                          for Cisco 3660:


                                                          Example:
                                                          Router(config)# network-clock-participate nm slot
                                                           

                                                          Enables the Cisco 2600 series router or the Cisco 3660 to receive clock signals from the network module by entering the keyword nm and the slot number 1 on the router.

                                                           
                                                          Step 3 Router(config)network-clock-select priority t1 slot/port 

                                                          Names a source to provide timing for the network clock and to specify the selection priority for this clock source. The priority selection is 1 or 2.

                                                          Use the no form of this command to cancel the selection.

                                                           
                                                          Step 4 Router(config)network-clock-select priority t1 slot/port 

                                                          Assigns priority 1 to ATM interface 0/0 and priority 2 to controller 1/0.

                                                           
                                                          Step 5 Router(config)voice-card slot 

                                                          Enters voice-card configuration mode and sets codec complexity. For slot , use a value from 0 to 3 that describes the card location in the module.

                                                           

                                                          Configuring a CAC Master for AAL2 Voice

                                                          This section describes the configuration tasks necessary to configure call admission control (CAC) for AAL2 voice. The commands and procedures in this section are common to the Cisco 2600 series and the Cisco 3660 routers.

                                                          You can configure a Cisco 2600 series router or a Cisco 3660 as either a CAC master or a CAC slave. By default, this is a CAC slave. You typically configure a CAC master at one end of an ATM trunk and a CAC slave at the opposite end. A Cisco 2600 series router or a Cisco 3660 configured as a master always performs CAC during fax/modem upspeed. A Cisco 2600 series router or a Cisco 3660 configured as a slave sends a request for CAC to the CAC master.

                                                          To configure a Cisco 2600 series router or a Cisco 3660 as a CAC master, complete the following steps beginning in global configuration mode:

                                                          SUMMARY STEPS

                                                            1.    Router(config)# voice service voatm

                                                            2.    Router(config-voice-service)# session protocol aal2

                                                            3.    Router(config-voice-service-session)# cac master

                                                            4.    Router(config-voice-service-session)# end


                                                          DETAILED STEPS
                                                             Command or ActionPurpose
                                                            Step 1 Router(config)# voice service voatm 

                                                            Enters voice-service configuration mode.

                                                             
                                                            Step 2 Router(config-voice-service)# session protocol aal2 

                                                            Enters voice-service-session configuration mode and specifies AAL2 trunking.

                                                             
                                                            Step 3 Router(config-voice-service-session)# cac master 

                                                            Configures this Cisco 2600 series router or a Cisco 3660 as a CAC master.

                                                             
                                                            Step 4 Router(config-voice-service-session)# end 

                                                            Exits configuration mode.

                                                             

                                                            Configuring a CAC Slave for AAL2 Voice

                                                            To return a Cisco 2600 series router or a Cisco 3660 to its default operation as a CAC slave, complete the following steps beginning in global configuration mode:

                                                            SUMMARY STEPS

                                                              1.    Router(config)# voice service voatm

                                                              2.    Router(config-voice-service)# session protocol aal2

                                                              3.    Router(config-voice-service-session)# no cac master

                                                              4.    Router(config-voice-service-session)# end


                                                            DETAILED STEPS
                                                               Command or ActionPurpose
                                                              Step 1 Router(config)# voice service voatm 

                                                              Enters voice-service configuration mode.

                                                               
                                                              Step 2 Router(config-voice-service)# session protocol aal2 

                                                              Enters voice-service-session configuration mode and specifies AAL2 trunking.

                                                               
                                                              Step 3 Router(config-voice-service-session)# no cac master 

                                                              Configures this Cisco 2600 series router or a Cisco 3660 as a CAC slave.

                                                               
                                                              Step 4 Router(config-voice-service-session)# end 

                                                              Exits configuration mode.

                                                               

                                                              Configuring MGCP POTS Dial Peer

                                                              To configure MGCP POTS dial peer on the Cisco 2600 series and Cisco 3660, complete the following commands beginning in global configuration mode:

                                                              SUMMARY STEPS

                                                                1.    Router(config)# dial-peer voice number pots

                                                                2.    Router(config-dial-peer)# application MGCPAPP

                                                                3.   

                                                                4.    Router(config-dial-peer)# exit


                                                              DETAILED STEPS
                                                                 Command or ActionPurpose
                                                                Step 1 Router(config)# dial-peer voice number pots  

                                                                Enters dial-peer configuration mode for the POTS dial peer.

                                                                 
                                                                Step 2 Router(config-dial-peer)# application MGCPAPP  

                                                                Initiates MGCP for the voice ports.

                                                                 
                                                                Step 3


                                                                Example:
                                                                Router(config-dial-peer)# port slot/port:ds0-group
                                                                
                                                                
                                                                 

                                                                Associates the dial peer with a specific logical interface.

                                                                The value of slot is the router location where the voice port adapter is installed. Valid entries are from 0 to 3.

                                                                The value of port indicates the voice interface card location. Valid entries are 0 or 1.

                                                                Each defined DS0 group number is represented on a separate voice port. This allows you to define individual DS0s on the digital T1/E1 card.

                                                                 
                                                                Step 4 Router(config-dial-peer)# exit  

                                                                Exits from the dial-peer configuration mode.

                                                                 

                                                                Troubleshooting Tips

                                                                • For a good voice quality and to be able to make fax calls, make sure that you configure end-to-end clocking properly, that is, make sure that the T1 controllers particpating in this configuration do not have any errors.

                                                                • Make sure that you do not configure bisync tunnelling protocol (BSTUN) and ATM on the Cisco 2650 router simultaneously.

                                                                Configuration Tasks for MGCP PRI Backhaul

                                                                See the following sections for configuration tasks for MGCP PRI Backhaul for Cisco 2600 series and Cisco 3660 routers:

                                                                Configuring MGCP CAS PBX on the Cisco 2600 Series and Cisco 3660

                                                                Use the following commands for configuring the Media Gateway Control Protocol (MGCP) CAS PBX on the Cisco 2600 series and the Cisco 3660 routers:

                                                                SUMMARY STEPS

                                                                  1.    Router(config)# mgcp

                                                                  2.    Router(config)# mgcp call-agent ipaddr | hostname} [port] [service-type type] version version-number

                                                                  3.    Router(config-if)# mgcp sgcp restart notify

                                                                  4.    Router(config-if)# mgcp modem passthrough [cisco | ca | nse]

                                                                  5.    Router(config)# mgcp tse payloadtype

                                                                  6.    Router(config)# no mgcp timer receive-rtcp

                                                                  7.    Router(config)# mgcp timer rtp-nsetimer

                                                                  8.    Router(config)# mgcp quarantine mode process

                                                                  9.    Router(config)# controller{t1 | e1} slot/port

                                                                  10.    Router(config-controller)# mode cas

                                                                  11.    Router(config-controller)# ds0-group channel-number timeslots range type signaling-type tone type addr info service service-type

                                                                  12.    Router(config-controller)# exit

                                                                  13.    Router(config-if-atm-vc)# vbr-rtpeak-rateaverage-rate [burst ]

                                                                  14.    Router(config-if-atm-vc)# vccipvc-identifier

                                                                  15.    Router(config-if-atm-vc)# exit

                                                                  16.    Router(config-if)# exit

                                                                  17.    Router(config)# dial-peer voicenumberpots

                                                                  18.    Router(config-dial-peer)# application MGCPAPP


                                                                DETAILED STEPS
                                                                   Command or ActionPurpose
                                                                  Step 1 Router(config)# mgcp 

                                                                  Starts the MGCP daemon.

                                                                   
                                                                  Step 2 Router(config)# mgcp call-agent ipaddr | hostname} [port] [service-type type] version version-number 

                                                                  Configures the MGCP call agent and service type.

                                                                   
                                                                  Step 3 Router(config-if)# mgcp sgcp restart notify 

                                                                  Causes MGCP to send and process SGCP RSIP messages.

                                                                   
                                                                  Step 4 Router(config-if)# mgcp modem passthrough [cisco | ca | nse] 

                                                                  Enables the router to process fax or modem messages. VoAAL2 does not support cisco.

                                                                   
                                                                  Step 5 Router(config)# mgcp tse payloadtype 

                                                                  Enables the TSE payload for fax and modem messages.

                                                                   
                                                                  Step 6 Router(config)# no mgcp timer receive-rtcp 

                                                                  Turns off the RTP RTCP transmission interval at the gateway.

                                                                   
                                                                  Step 7 Router(config)# mgcp timer rtp-nsetimer 

                                                                  Turns on the RTP NSE timeout interval at the gateway.

                                                                   
                                                                  Step 8 Router(config)# mgcp quarantine mode process 

                                                                  (Optional) Turns on processing for MGCP quarantine mode.

                                                                   
                                                                  Step 9 Router(config)# controller{t1 | e1} slot/port 

                                                                  For the CAS PBX scenarios only : Selects the T1/E1 controller 1/0.

                                                                   
                                                                  Step 10 Router(config-controller)# mode cas 

                                                                  For the CAS PBX scenarios only : Specifies that the controller will support CAS.

                                                                   
                                                                  Step 11 Router(config-controller)# ds0-group channel-number timeslots range type signaling-type tone type addr info service service-type 

                                                                  For the CAS PBX scenarios only : Configures the T1 time slots for CAS calls. The scenarios use the following three digital signal level 0 (DS-0) definitions:

                                                                  • ds0-group 1 time slots 1-8 type e&m-immediate-start

                                                                  • ds0-group 2 time slots 9-16 type e&m-wink-start

                                                                  • ds0-group 3 time slots 17-24 type fxs-ground-start

                                                                   
                                                                  Step 12 Router(config-controller)# exit 

                                                                  For the CAS PBX scenarios only : Exits controller configuration mode.

                                                                   
                                                                  Step 13 Router(config-if-atm-vc)# vbr-rtpeak-rateaverage-rate [burst ] 

                                                                  Configures the PVC for the variable-bit-rate real-time (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

                                                                  • peak rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

                                                                  • average rate--Calculate according to the maximum number of calls (max calls) the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

                                                                  For VoIP:

                                                                  G.711 with 40 or 80 byte sample size: max calls x 128K

                                                                  G.726 with 40 byte sample size: max calls x 85K

                                                                  G.729a with 10 byte sample size: max calls x 85K

                                                                  For VoAAL2:

                                                                  G.711 with 40 byte sample size: max calls x 85K

                                                                  G.726 with 40 byte sample size: max calls x 43K

                                                                  G.729a with 10 byte sample size: max calls x 43K

                                                                  If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by a s much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

                                                                  • burst--Set the burst size as large as possible, and never less than the minimum burst size. Guidelines are as follows:

                                                                  The minimum burst size is 4 x the number of voice calls.

                                                                  The maximum burst size is the maximum allowed by the carrier.

                                                                  You can calculate the value using the calculator at the following URL:

                                                                  http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

                                                                   
                                                                  Step 14 Router(config-if-atm-vc)# vccipvc-identifier 

                                                                  Assigns a unique identifier to the PVC.

                                                                   
                                                                  Step 15 Router(config-if-atm-vc)# exit 

                                                                  Exits ATM virtual circuit configuration mode.

                                                                   
                                                                  Step 16 Router(config-if)# exit 

                                                                  Exits interface configuration mode.

                                                                   
                                                                  Step 17 Router(config)# dial-peer voicenumberpots 

                                                                  Enters dial-peer configuration mode for the POTS dial peer.

                                                                   
                                                                  Step 18 Router(config-dial-peer)# application MGCPAPP 

                                                                  Initiates MGCP for the voice ports.

                                                                  You can enter the MGCPAPP keyword in either uppercase or lowercase.

                                                                   

                                                                  Configuring ATM on the Cisco 2600 Series

                                                                  This section describes the ATM configuration tasks necessary to support Voice over ATM using AAL2 on Cisco 2600 series.


                                                                  Note


                                                                  If any DS0 groups (CAS groups), channel groups, or clear channels are configured on T1/E1 controller 0, you must remove them before configuring VoATM. Because ATM uses all of the DS0 time slots on the controller, the ATM configuration cannot take place if any DS0s on controller 0 are used by other applications.


                                                                  You must perform the VoATM configuration on the Cisco 2600 series or Cisco 3660 concentrators at both ends of the ATM link.


                                                                  Note


                                                                  When verifying your ATM PVC connectivity, note that you cannot enter the ping command over a voice PVC because the command applies to data only. If you have data and voice PVCs set to the same destination, you can enter the ping command over the data PVC.


                                                                  To configure a Cisco 2600 series or Cisco 3660 series concentrator to support VoATM on a T1/E1 trunk, complete the following steps beginning in global configuration mode:

                                                                  SUMMARY STEPS

                                                                    1.    Router(config)# controller t1 e1 0/0

                                                                    2.    Router(config-controller)# mode atm

                                                                    3.    Router(config-controller)# framing framing type

                                                                    4.    Router(config-controller)# linecode linecode type

                                                                    5.    Router(config-controller)# no shutdown

                                                                    6.    Router(config-controller)# exit

                                                                    7.    Router(config)# interface atm slot/port subinterface-number multipoint |point-to-point]]

                                                                    8.    Router(config-if)# pvcword ] { vpi/vci | vci

                                                                    9.    Router ( config-if-atm-vc ) # encapsulation aal2

                                                                    10.    Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst

                                                                    11.    Router(config-if-atm-vc)# oam-pvc manage] [ frequency

                                                                    12.    Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency

                                                                    13.    Router(config-if-atm-vc)# end

                                                                    14.    Router# show atm vc


                                                                  DETAILED STEPS
                                                                     Command or ActionPurpose
                                                                    Step 1 Router(config)# controller t1 e1 0/0 

                                                                    Selects the T1 or E1 controller 0/0.

                                                                     
                                                                    Step 2 Router(config-controller)# mode atm

                                                                    Example:
                                                                    
                                                                    
                                                                            
                                                                     

                                                                    Specifies that the controller will support ATM encapsulation and create ATM interface 0/0.

                                                                     
                                                                    Step 3 Router(config-controller)# framing framing type 

                                                                    Specifies the T1 framing type as Extended SuperFrame (esf).

                                                                    When the controller is set to ATM mode, the Controller framing is automatically set to Extended SuperFrame (esf) on T1 and to crc4 on E1.

                                                                     
                                                                    Step 4 Router(config-controller)# linecode linecode type 

                                                                    Specifies the T1 linecode type as b8zs.

                                                                    The linecode is automatically set to b8zs on T1 and to hdb3 on E1.

                                                                     
                                                                    Step 5 Router(config-controller)# no shutdown 

                                                                    Ensures that the controller is activated.

                                                                     
                                                                    Step 6 Router(config-controller)# exit 

                                                                    Exits controller configuration mode.

                                                                     
                                                                    Step 7 Router(config)# interface atm slot/port subinterface-number multipoint |point-to-point]]  

                                                                    Enters interface configuration mode to configure ATM interface 0/0 or an ATM subinterface.

                                                                    For subinterfaces, the default is multipoint.

                                                                     
                                                                    Step 8 Router(config-if)# pvcword ] { vpi/vci | vci 

                                                                    Creates an ATM PVC for voice traffic and enters ATM virtual circuit configuration mode.

                                                                    vpi= 0 to 255

                                                                    vci= 1 to 1023

                                                                    word= optional PVC identifier (letters only); if you assign a PVC identifier, you can use it to specify this PVC when configuring network dial peers

                                                                    Note   

                                                                    AAL2 encap is not supported for ilmi and qsaal PVCs.

                                                                     
                                                                    Step 9 Router ( config-if-atm-vc ) # encapsulation aal2 

                                                                    Sets the encapsulation of the PVC to support AAL2 voice traffic. This automatically creates channel identifiers (CIDs) 1 through 255.

                                                                     
                                                                    Step 10 Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst 

                                                                    Configures the PVC for variable-bit-rate real-time (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

                                                                    • peak-rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

                                                                    • average-rate--Calculate according to the maximum number of calls the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

                                                                    G.711 with 40 or 80 byte sample size--max calls x 85

                                                                    G.726 with 40 or 80 byte sample size--max calls x 43

                                                                    G.729 with 30 byte sample size--max calls x 15

                                                                    G.729 with 20 byte sample size--max calls x 22

                                                                    G.729 with 30 byte sample size--max calls x 15

                                                                    If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by as much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

                                                                    • burst--Set the burst size as large as possible, and never less than the minimum burst size.

                                                                    Guidelines are as follows:

                                                                    The minimum burst size is 4 x the number of voice calls.

                                                                    The maximum burst size is the maximum allowed by the carrier.

                                                                    You can calculate the value using the calculator at the following URL:

                                                                    http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

                                                                     
                                                                    Step 11 Router(config-if-atm-vc)# oam-pvc manage] [ frequency 

                                                                    (Optional) Configures transmission of end-to-end F5 OAM loopback cells on a PVC, optionally specifies the number of seconds between loopback cells, and optionally enables OAM management of the connection.

                                                                    The range for frequency is 0 to 600. The default is 10.

                                                                     
                                                                    Step 12 Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency 

                                                                    (Optional) Specifies OAM management parameters for verifying connectivity of a PVC connection. This command is supported only if OAM management is enabled.

                                                                    • The value of up-count is the number of OAM loopback cell responses received to change the PVC connection to up. The range is 1 to 600; the default is 3.

                                                                    • The value of down-count is the number of OAM loopback cell responses not received to change the PVC connection to down. The range is 1 to 600; the default is 5.

                                                                    • The value of retry-frequency is the number of seconds between loopback cells sent to verify the down state of a PVC. The range is 1 to 1000; the default is 1.

                                                                    Note   

                                                                    Enter the oam retry command only once with all the arguments in the order shown. The first number always specifies up-count ; the second down-count , and the third retry-frequency .

                                                                     
                                                                    Step 13 Router(config-if-atm-vc)# end 

                                                                    Exits configuration mode.

                                                                     
                                                                    Step 14 Router# show atm vc 

                                                                    Verifies the ATM PVC configuration.

                                                                     

                                                                    Configuring ATM on the Cisco 3660


                                                                    Note


                                                                    When verifying your ATM PVC connectivity, note that you cannot enter the ping command over a voice PVC, because the command applies to data only. If you have data and voice PVCs set to the same destination, you can enter the ping command over the data PVC.


                                                                    SUMMARY STEPS

                                                                      1.    Router(config)# interface atm slot/ima grp# [subinterface-number [multipoint | point-to-point]]

                                                                      2.    Router(config-if)# pvc [name] vpi/vci

                                                                      3.    Router ( config-if-atm-vc ) # encapsulation aal2

                                                                      4.    Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst

                                                                      5.    Router(config-if-atm-vc)# oam-pvc manage] [ frequency

                                                                      6.    Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency

                                                                      7.    Router(config-if-atm-vc)# end

                                                                      8.    Router# show atm vc

                                                                      9.    Router(config-if-atm-vc)# vbr-rtpeak-rateaverage-rate [burst ]

                                                                      10.    Router(config-if-atm-vc)# vccipvc-identifier

                                                                      11.    Router(config-if-atm-vc)# exit

                                                                      12.    Router(config-if)# exit

                                                                      13.    Router(config)# dial-peer voicenumberpots

                                                                      14.    Router(config-dial-peer)# application MGCPAPP


                                                                    DETAILED STEPS
                                                                       Command or ActionPurpose
                                                                      Step 1 Router(config)# interface atm slot/ima grp# [subinterface-number [multipoint | point-to-point]] 

                                                                      Enters interface configuration mode to configure ATM interface 0/0 or an ATM subinterface.

                                                                      Note   

                                                                      To configure an IMA group on each ATM interface, enter the IMA group and group number.

                                                                      The default for subinterfaces is multipoint.

                                                                      For all Scenarios : Set up three subinterfaces for point-to-point.

                                                                       
                                                                      Step 2 Router(config-if)# pvc [name] vpi/vci 

                                                                      Creates an ATM PVC for voice traffic and enters ATM virtual circuit configuration mode.

                                                                      Note   

                                                                      AAL2 encap is not supported for ilmi and qsaal PVCs.

                                                                       
                                                                      Step 3 Router ( config-if-atm-vc ) # encapsulation aal2 

                                                                      Sets the encapsulation of the PVC to support AAL2 voice traffic. This automatically creates channel identifiers (CIDs) 1 through 255.

                                                                       
                                                                      Step 4 Router(config-if-atm-vc)# vbr-rtpeak-rate average-rate [ burst 

                                                                      Configures the PVC for variable-bit-rate real-time (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

                                                                      • peak rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

                                                                      • average rate--Calculate according to the maximum number of calls the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

                                                                      G.711 with 40 or 80 byte sample size--max calls x 85

                                                                      G.726 with 40 or 80 byte sample size--max calls x 43

                                                                      G.729 with 30 byte sample size--max calls x 15

                                                                      G.729 with 20 byte sample size--max calls x 22

                                                                      G.729 with 10 byte sample size--max calls x 43

                                                                      If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by as much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

                                                                      • burst size--Set the burst size as large as possible, and never less than the minimum burst size. Guidelines are as follows:

                                                                      The minimum burst size is 4 x the number of voice calls.

                                                                      The maximum burst size is the maximum allowed by the carrier.

                                                                      You can calculate the value using the calculator at the following URL:

                                                                      http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

                                                                       
                                                                      Step 5 Router(config-if-atm-vc)# oam-pvc manage] [ frequency 

                                                                      (Optional) Configures transmission of end-to-end F5 OAM loopback cells on a PVC, optionally specify the number of seconds between loopback cells, and optionally enable OAM management of the connection.

                                                                      The range for frequency is 0 to 600. The default is 10.

                                                                       
                                                                      Step 6 Router(config-if-atm-vc)# oam retryup-count down-count retry-frequency 

                                                                      (Optional) Specifies OAM management parameters for verifying connectivity of a PVC connection. This command is supported only if OAM management is enabled.

                                                                      • The value of up-count is the number of OAM loopback cell responses received to change the PVC connection to up. The range is 1 to 600; the default is 3.

                                                                      • The value of down-count is the number of OAM loopback cell responses not received to change the PVC connection to down. The range is 1 to 600; the default is 5.

                                                                      • The value of retry-frequency is the number of seconds between loopback cells sent to verify the down state of a PVC. The range is 1 to 1000; the default is 1.

                                                                      Note   

                                                                      Enter the oam retry command only once with all the arguments in the order shown. The first number always specifies up-count ; the second down-count , and the third retry-frequency .

                                                                       
                                                                      Step 7 Router(config-if-atm-vc)# end 

                                                                      Exits configuration mode.

                                                                       
                                                                      Step 8 Router# show atm vc 

                                                                      Verifies the ATM PVC configuration.

                                                                       
                                                                      Step 9 Router(config-if-atm-vc)# vbr-rtpeak-rateaverage-rate [burst ] 

                                                                      Configures the PVC for the variable-bit-rate real-time (voice) traffic. Guidelines for setting the peak rate, average rate, and burst size are as follows:

                                                                      • peak rate--If it does not exceed your carrier’s allowable rate, set to the line rate (for example, 1536 kbps for T1-ATM).

                                                                      • average rate--Calculate according to the maximum number of calls (max calls) the PVC will carry times the bandwidth per call. The following formulas give you the average rate in kbps:

                                                                      for VoIP:

                                                                      G.711 with 40 or 80 byte sample size: max calls x 128K

                                                                      G.726 with 40 byte sample size: max calls x 85K

                                                                      G.729a with 10 byte sample size: max calls x 85K

                                                                      for VoAAL2:

                                                                      G.711 with 40 byte sample size: max calls x 85K

                                                                      G.726 with 40 byte sample size: max calls x 43K

                                                                      G.729a with 10 byte sample size: max calls x 43K

                                                                      If voice activity detection (VAD) is enabled, the bandwidth usage is reduced by a s much as 12 percent with the maximum number of calls in progress. With fewer calls in progress, bandwidth savings are less.

                                                                      • burst--Set the burst size as large as possible, and never less than the minimum burst size. Guidelines are as follows:

                                                                      The minimum burst size is 4 x the number of voice calls.

                                                                      The maximum burst size is the maximum allowed by the carrier.

                                                                      You can calculate the value using the calculator at the following URL:

                                                                      http://www-vnt/SPUniv/DSP/Codec_Calc1.asp

                                                                       
                                                                      Step 10 Router(config-if-atm-vc)# vccipvc-identifier 

                                                                      Assigns a unique identifier to the PVC.

                                                                       
                                                                      Step 11 Router(config-if-atm-vc)# exit 

                                                                      Exits ATM virtual circuit configuration mode.

                                                                       
                                                                      Step 12 Router(config-if)# exit 

                                                                      Exits interface configuration mode.

                                                                       
                                                                      Step 13 Router(config)# dial-peer voicenumberpots 

                                                                      Enter dial peer configuration mode for the POTS dial peer.

                                                                       
                                                                      Step 14 Router(config-dial-peer)# application MGCPAPP 

                                                                      Initiates the MGCP protocol for the voice ports.

                                                                       

                                                                      Configuring Voice Band Detection Playout Settings

                                                                      To configure voice band detection playout buffer delay on Cisco 2600 series and Cisco 3600 series routers , use the following commands beginning in the voice service configuration mode:

                                                                      SUMMARY STEPS

                                                                        1.    Router(config)# voice service voatm

                                                                        2.    Router(config-voice-service)# session protocol aal2

                                                                        3.    Router(config-voice-service-session)# vbd-playout-delay maximum time

                                                                        4.    Router(config-voice-service-session)# vbd-playout-delay minimum time

                                                                        5.    Router(config-voice-service-session)# vbd-playout-delay mode {fixed | passthrough}

                                                                        6.    Router(config-voice-service-session)# vbd-playout-delay nominal time

                                                                        7.    Router(config-voice-service-session)# end


                                                                      DETAILED STEPS
                                                                         Command or ActionPurpose
                                                                        Step 1 Router(config)# voice service voatm 

                                                                        Enters voice-service configuration mode.

                                                                         
                                                                        Step 2 Router(config-voice-service)# session protocol aal2

                                                                        Example:
                                                                        
                                                                        
                                                                                
                                                                         

                                                                        Enters voice-service-session configuration mode and specifies AAL2 trunking.

                                                                         
                                                                        Step 3 Router(config-voice-service-session)# vbd-playout-delay maximum time 

                                                                        Specifies the maximum AAL2 voice band detection playout delay buffer on Cisco 2600 series and Cisco 3660 routers in milliseconds.

                                                                        The time is set in milliseconds. The range is from 40-1700 milliseconds. The default is set to 200 milliseconds.

                                                                         
                                                                        Step 4 Router(config-voice-service-session)# vbd-playout-delay minimum time 

                                                                        Specifies the minimum AAL2 voice band detection playout delay buffer on Cisco 2600 series and Cisco 3660 routers.

                                                                        The time is set in milliseconds. The range is from 4-1700 milliseconds. The default is set to 4 milliseconds.

                                                                         
                                                                        Step 5 Router(config-voice-service-session)# vbd-playout-delay mode {fixed | passthrough} 

                                                                        Configures voice band detection playout delay adaptation mode on a Cisco router.

                                                                        When the vbd-delay-playout mode is set to fixed, jitter buffer is set at a constant delay in milliseconds.

                                                                        When the vbd-delay-playout mode is set to passthrough, jitter buffer is set to DRAIN_FILL for clock compensation. There is no default.

                                                                         
                                                                        Step 6 Router(config-voice-service-session)# vbd-playout-delay nominal time 

                                                                        Specifies the nominal AAL2 voice band detection playout delay buffer on Cisco 2600 series and Cisco 3660 routers.

                                                                        The time is set in milliseconds. The range is from 0-1500 milliseconds. The default is 100 milliseconds.

                                                                         
                                                                        Step 7 Router(config-voice-service-session)# end 

                                                                        Exits voice-service-session configuration mode.

                                                                         

                                                                        Configuring Subcell Multiplexing for AAL2 Voice

                                                                        This section describes the configuration tasks necessary to enable AAL2 common part sublayer (CPS) subcell multiplexing when the Cisco 2600 series router or a Cisco 3660 interoperates with a voice interface service module (VISM) in an MGX switch.

                                                                        To configure the Cisco 2600 series router or the Cisco 3660 to perform subcell multiplexing, complete the following steps beginning in global configuration mode:

                                                                        SUMMARY STEPS

                                                                          1.    Router(config)# voice service voatm

                                                                          2.    Router(config-voice-service)# session protocol aal2

                                                                          3.    Router(config-voice-service-session)# subcell-mux number

                                                                          4.    Router(config-voice-service-session)# end


                                                                        DETAILED STEPS
                                                                           Command or ActionPurpose
                                                                          Step 1 Router(config)# voice service voatm 

                                                                          Enters voice-service configuration mode.

                                                                           
                                                                          Step 2 Router(config-voice-service)# session protocol aal2 

                                                                          Enters voice-service-session configuration mode and specifies AAL2 trunking.

                                                                           
                                                                          Step 3 Router(config-voice-service-session)# subcell-mux number 

                                                                          Enables subcell multiplexing. The number is time in milliseconds.

                                                                          By default, subcell multiplexing is not enabled.

                                                                           
                                                                          Step 4 Router(config-voice-service-session)# end 

                                                                          Exits configuration mode.

                                                                           

                                                                          Verifying the MGCP CAS PBX and AAL2 PVC Configurations

                                                                          Use these commands to verify the configuration settings:

                                                                          SUMMARY STEPS

                                                                            1.    Router# show dial-peer voice sum

                                                                            2.    Router# show run


                                                                          DETAILED STEPS
                                                                             Command or ActionPurpose
                                                                            Step 1 Router# show dial-peer voice sum 

                                                                            Displays the status of the dial peer. The dial peer should be active. If it is not, enter the command:

                                                                            Router(config-dial-peer)# no shut
                                                                             
                                                                            Step 2 Router# show run 

                                                                            Displays the current configuration settings.

                                                                             

                                                                            Configuring End-to-End Clocking

                                                                            The following commands can be used to configure the Cisco 3660 only when there is a TDM switch module on board. For the Cisco 2600 series these commands are automatically allowed.


                                                                            Note


                                                                            When verifying your ATM PVC connectivity, note that you cannot enter the ping command over a voice PVC because the command applies to data only. If you have data and voice PVCs set to the same destination, you can enter the ping command over the data PVC.


                                                                            SUMMARY STEPS

                                                                              1.    Router(config)# network-clock-participate{nm | wic} slot

                                                                              2.    for Cisco 2600 series:

                                                                              3.    Router(config)network-clock-select priority t1 slot/port

                                                                              4.    Router(config)network-clock-select priority t1 slot/port

                                                                              5.    Router(config)voice-card slot


                                                                            DETAILED STEPS
                                                                               Command or ActionPurpose
                                                                              Step 1 Router(config)# network-clock-participate{nm | wic} slot 

                                                                              Enables the Cisco 2600 series router or the Cisco 3660 to receive clock signals from the VWIC by entering the keyword wic and the slot number 0 on the router.

                                                                               
                                                                              Step 2 for Cisco 2600 series:

                                                                              Example:
                                                                              Router(config)#
                                                                               network-clock-participate {nm | wic} slot


                                                                              Example:
                                                                              for Cisco 3660:


                                                                              Example:
                                                                              Router(config)# network-clock-participate {nm} slot
                                                                               

                                                                              Enables the Cisco 2600 series router or the Cisco 3660 to receive clock signals from the network module by entering the keyword nm and the slot number 1 on the router.

                                                                               
                                                                              Step 3 Router(config)network-clock-select priority t1 slot/port 

                                                                              Names a source to provide timing for the network clock and to specify the selection priority for this clock source. The priority selection is 1 or 2 .

                                                                              Use the no form of this command to cancel the selection.

                                                                               
                                                                              Step 4 Router(config)network-clock-select priority t1 slot/port 

                                                                              Assigns priority 1 to ATM interface 0/0 and priority 2 to controller 1/0.

                                                                               
                                                                              Step 5 Router(config)voice-card slot 

                                                                              Enters voice-card configuration mode and set codec complexity. For slot, use a value from 0 to 3 that describes the card location in the module.

                                                                               

                                                                              Configuring a CAC Master for AAL2 Voice

                                                                              This section describes the configuration tasks necessary to configure call admission control (CAC) for AAL2 voice. The commands and procedures in this section are common to the Cisco 2600 series and Cisco 3660.

                                                                              You can configure a Cisco 2600 series router or a Cisco 3660 as either a CAC master or a CAC slave. By default, this is a CAC slave. You typically configure a CAC master at one end of an ATM trunk and a CAC slave at the opposite end. A Cisco 2600 series router or a Cisco 3660 configured as a master always performs CAC during fax/modem upspeed. A Cisco 2600 series router or a Cisco 3660 configured as a slave sends a request for CAC to the CAC master.

                                                                              To configure a Cisco 2600 series router or a Cisco 3660 as a CAC master, complete the following steps beginning in global configuration mode:

                                                                              SUMMARY STEPS

                                                                                1.    Router(config)# voice service voatm

                                                                                2.    Router(config-voice-service)# session protocol aal2

                                                                                3.    Router(config-voice-service-session)# cac master

                                                                                4.    Router(config-voice-service-session)# end


                                                                              DETAILED STEPS
                                                                                 Command or ActionPurpose
                                                                                Step 1 Router(config)# voice service voatm 

                                                                                Enters voice-service configuration mode.

                                                                                 
                                                                                Step 2 Router(config-voice-service)# session protocol aal2 

                                                                                Enters voice-service-session configuration mode and specifies AAL2 trunking.

                                                                                 
                                                                                Step 3 Router(config-voice-service-session)# cac master 

                                                                                Configures this Cisco 2600 series router or a Cisco 3660 as a CAC master.

                                                                                 
                                                                                Step 4 Router(config-voice-service-session)# end 

                                                                                Exits configuration mode.

                                                                                 

                                                                                Configuring a CAC Slave for AAL2 Voice

                                                                                To return a Cisco 2600 series router or a Cisco 3660 to its default operation as a CAC slave, complete the following steps beginning in global configuration mode:

                                                                                SUMMARY STEPS

                                                                                  1.    Router(config)# voice service voatm

                                                                                  2.    Router(config-voice-service)# session protocol aal2

                                                                                  3.    Router(config-voice-service-session)# no cac master

                                                                                  4.    Router(config-voice-service-session)# end


                                                                                DETAILED STEPS
                                                                                   Command or ActionPurpose
                                                                                  Step 1 Router(config)# voice service voatm 

                                                                                  Enters voice-service configuration mode.

                                                                                   
                                                                                  Step 2 Router(config-voice-service)# session protocol aal2 

                                                                                  Enters voice-service-session configuration mode and specifies AAL2 trunking.

                                                                                   
                                                                                  Step 3 Router(config-voice-service-session)# no cac master 

                                                                                  Configures this Cisco 2600 series router or a Cisco 3660 as a CAC slave.

                                                                                   
                                                                                  Step 4 Router(config-voice-service-session)# end 

                                                                                  Exits configuration mode.

                                                                                   

                                                                                  Configuring Backhaul Session Manager

                                                                                  The backhaul session manager operates on the media gateway and enables signaling applications to backhaul signaling information to a remote or local virtual switch controller (VSC), and also provides redundancy and transparent management of transport paths.

                                                                                  To configure the backhaul session manager, log on to the media gateway and complete the following tasks as required for your application:

                                                                                  Creating Session Sets and Groups and Sessions

                                                                                  To create session sets, session groups, and sessions on the Cisco media gateway, complete the following steps starting in global configuration mode:

                                                                                  SUMMARY STEPS

                                                                                    1.    Router(config)# backhaul-session-manager

                                                                                    2.    Router(config-bsm)# set set-name client ft nft

                                                                                    3.    Router(config-bsm)# group group-name set set-name

                                                                                    4.    Router(config-bsm)# session groupgroup-name remote_ip remote_port local_ip local_port priorit y


                                                                                  DETAILED STEPS
                                                                                     Command or ActionPurpose
                                                                                    Step 1 Router(config)# backhaul-session-manager 

                                                                                    Enters backhaul session manager configuration mode.

                                                                                     
                                                                                    Step 2 Router(config-bsm)# set set-name client ft nft 

                                                                                    Creates a session set and specifies its parameters:

                                                                                    • set-name --A word you select to identify the session-set

                                                                                    • client --Required for PRI backhaul; specifies that the session set function as a client

                                                                                    • Fault-tolerance option:
                                                                                      • ft = fault-tolerant
                                                                                      • nft = non-fault-tolerant
                                                                                    Note   

                                                                                    For fault-tolerant operation, you must configure more than one group in this session set. If only one group will be configured in this session-set, you must specify nft.

                                                                                    Note   

                                                                                    If you configure the session set for non-fault-tolerant operation, you should also configure the Cisco VSC3000 for non-fault-tolerant operation. See the Configuring the Cisco VSC3000.

                                                                                     
                                                                                    Step 3 Router(config-bsm)# group group-name set set-name 

                                                                                    Adds a new session group to a specified session set.

                                                                                    • group-name --A word you select to identify the new session group

                                                                                    • set-name --The session-set to which you are adding the new session group

                                                                                    Repeat this step to add additional session groups to a session set.

                                                                                     
                                                                                    Step 4 Router(config-bsm)# session groupgroup-name remote_ip remote_port local_ip local_port priorit y 

                                                                                    Adds a session to a session group and specifies the interfaces and selection priority for the session.

                                                                                    • group-name --The session group to which you are adding this session.

                                                                                    • remote_ip --IP address of the Cisco VSC3000 server at the remote end of this backhaul link.

                                                                                    • remote_port --The UDP port number on the Cisco VSC3000 server at the remote end of this backhaul link; the range is 1024 to 9999. Make sure that this number is not already being used by another service on the Cisco VSC3000, such as MGCP.

                                                                                    • local_ip --The IP address of the media gateway port used for signaling backhaul.

                                                                                    • local_port --The UDP port number of the media gateway port used for signaling backhaul; the range is 1024 to 9999

                                                                                    • priority --The priority within the session group. The range is 0 to 9999; 0 is the highest priority.

                                                                                    Note   

                                                                                    Although the Cisco IOS software allows you to configure multiple sessions with the same priority in a session group, Cisco Systems recommends that the priority of each session be unique within a session group.

                                                                                    Repeat this step to create additional sessions in a session group.

                                                                                     

                                                                                    Changing Default Values of Session-Group Parameters

                                                                                    If you need to change the default values of session-group parameters, complete the following commands as required, in backhaul-session-manager configuration mode:


                                                                                    Caution


                                                                                    Do not change the session-group parameters unless instructed to do so by Cisco technical support. Sessions might fail if the relationships among parameters are not set correctly.


                                                                                    Command

                                                                                    Purpose

                                                                                    Router(config-bsm)# group group-name auto-reset number-of-auto-resets
                                                                                    

                                                                                    Specifies the maximum number of auto resets before the connection is considered failed.

                                                                                    The range is 0 to 255. The default is 5.

                                                                                    Router(config-bsm)# group  group-name  cumulative-ack number-of-segments
                                                                                    

                                                                                    Specifies the maximum number of (RUDP) segments that will be received before sending an acknowledgement.

                                                                                    The range is 0 to 255. The default is 3.

                                                                                    Router(config-bsm)# group  group-name  out-of-sequence number-of-segments
                                                                                    

                                                                                    Specifies the maximum number of out-of-sequence segments that will be received before an acknowledgement is sent.

                                                                                    The range is 0 to 255. The default is 3.

                                                                                    Router(config-bsm)# group  group-name  receive window-size
                                                                                    

                                                                                    Specifies the maximum window size for the receiver.

                                                                                    The range is 1 to 65. The default is 32.

                                                                                    Router(config-bsm)# group  group-name  retrans resend-attempts
                                                                                    

                                                                                    Specifies the maximum number of times reliable user data protocol (RUDP) attempts to resend a segment before declaring the connection broken.

                                                                                    The range is 0 to 255. The default is 2.

                                                                                    Router(config-bsm)# group  group-name  timer cumulative-ack milliseconds
                                                                                    

                                                                                    Specifies the maximum number of milliseconds RUDP delays before sending an acknowledgement for a received segment.

                                                                                    The range is 100 to 65535 . The default is 300.

                                                                                    Router(config-bsm)# group  group-name  timer keepalive milliseconds
                                                                                    

                                                                                    Specifies the number of milliseconds RUDP waits before sending a keepalive segment.

                                                                                    The range is 0 to 65535. The default is 200.

                                                                                    Router(config-bsm)# group  group-name  timer retransmit milliseconds
                                                                                    

                                                                                    Specifies the number of milliseconds RUDP waits to receive an acknowledgement for a segment.

                                                                                    The range is 100 to 65535. The default is 600.

                                                                                    Router(config-bsm)# group  group-name  timer transfer-state milliseconds
                                                                                    
                                                                                    Router(config-bsm)# exit

                                                                                    Specifies the number of milliseconds RUDP waits to receive a selection of a new session from the application during a transfer state.

                                                                                    The range is 0 to 65535. The default is 600.

                                                                                    Configuring ISDN Signaling Backhaul

                                                                                    To configure the ISDN Q.931 signaling backhaul parameters, log on to the media gateway and complete the following steps starting in global configuration mode. Repeat this procedure for each T1 interface on the media gateway that will use backhaul.

                                                                                    SUMMARY STEPS

                                                                                      1.    Router(config)# controller{t1 | e1}controller-number

                                                                                      2.    Router(config-control)# pri-group timeslots 1-24 service mgcp

                                                                                      3.    Router(config-control)# exit

                                                                                      4.    Router(config)# interface serialcontroller-number:23

                                                                                      5.    Router(config-if)# isdn switch-typeswitch-type

                                                                                      6.    Router(config-if)# isdn bind-L3 backhaul set-name

                                                                                      7.    Router(config-if)# exit


                                                                                    DETAILED STEPS
                                                                                       Command or ActionPurpose
                                                                                      Step 1 Router(config)# controller{t1 | e1}controller-number 

                                                                                      Enters controller configuration mode and specifies a controller for the PRI interface. Controller numbers are: 0/0, 0/1, 1/0, 1/1, 2/0, 2/1, 3/0, 3/1, 4/0, 4/1, 5/0, 5/1

                                                                                       
                                                                                      Step 2 Router(config-control)# pri-group timeslots 1-24 service mgcp 

                                                                                      Creates a serial D-channel interface for signaling backhaul and specifies control protocol MGCP for signaling backhaul.

                                                                                      • The controller time slots cannot be shared between backhaul and other Layer 3 protocols.

                                                                                       
                                                                                      Step 3 Router(config-control)# exit 

                                                                                      Exits from controller configuration mode.

                                                                                       
                                                                                      Step 4 Router(config)# interface serialcontroller-number:23 

                                                                                      Enters interface configuration mode for the D-channel signaling backhaul interface. Enter a controller number that matches the controller number specified in Step 1.

                                                                                       
                                                                                      Step 5 Router(config-if)# isdn switch-typeswitch-type 

                                                                                      Configures the D-channel interface to match the ISDN switch type. Examples of ISDN switch types include primary-4ess, primary-5ess, primary-nec5.

                                                                                      • This can be done in either global or interface configuration mode.

                                                                                       
                                                                                      Step 6 Router(config-if)# isdn bind-L3 backhaul set-name 

                                                                                      Configures ISDN to backhaul Q.931 to the Cisco VSC3000.

                                                                                       
                                                                                      Step 7 Router(config-if)# exit 

                                                                                      Exits the interface configuration mode.

                                                                                       

                                                                                      Configuring Fast Ethernet for Signaling Backhaul Compatibility

                                                                                      If your media gateway has 10/100 BASE-T Fast Ethernet capability, configure the Fast Ethernet interface not to use auto negotiation.


                                                                                      Caution


                                                                                      When the Fast Ethernet interface is configured for auto-negotiation, it can take up to 2 seconds for this interface to be enabled when the interface has to initialize. Two examples where the interface initializes are execution of the no shut command and disconnection or reconnection of the Ethernet cable. Auto-negotiation affects the traffic flow on the Ethernet interface and can, therefore, interrupt the traffic flow on existing RUDP connections, causing them to fail. To avoid these problems, the Fast Ethernet interface should not be configured for auto-negotiation. Instead, set the duplex and speed parameters according to the requirements of the network.


                                                                                      To reconfigure the Fast Ethernet interface for specified duplex and speed operation, complete the following steps beginning in global configuration mode:

                                                                                      SUMMARY STEPS

                                                                                        1.    Router(config)# intEthernet-port-number

                                                                                        2.    Router(config-if)# duplex full half

                                                                                        3.    Router(config-if)# speed 10 100}

                                                                                        4.    Router(config-if)# exit


                                                                                      DETAILED STEPS
                                                                                         Command or ActionPurpose
                                                                                        Step 1 Router(config)# intEthernet-port-number 

                                                                                        Enters Ethernet interface configuration mode for the specified Ethernet port.

                                                                                         
                                                                                        Step 2 Router(config-if)# duplex full half 

                                                                                        Configures the Ethernet port for full-duplex or half-duplex operation.

                                                                                         
                                                                                        Step 3 Router(config-if)# speed 10 100}  

                                                                                        Configures the Ethernet port to operate at 10 Mbps or 100 Mbps.

                                                                                         
                                                                                        Step 4 Router(config-if)# exit 

                                                                                        Exits from interface configuration mode.

                                                                                         

                                                                                        Configuring the Cisco VSC3000

                                                                                        The Cisco VSC3000 is the signaling controller software that provides call control and runs on a UNIX server such as a Sun Netra 1800. Man Machine Language (MML) is the user interface into the signaling controller software. You use this interface to configure parameters of your signaling controller software and to display information about the current settings.


                                                                                        Note


                                                                                        If the Cisco VSC3000 is set up for fault-tolerant operation, configure the backhaul session manager also for fault-tolerant operation. For more information, refer to the Cisco MGC Software Release 7 Provisioning Guide .


                                                                                        To configure the Cisco VSC3000 to perform signaling backhaul, log on to the UNIX server and complete the MGCP service provisioning procedure as follows:

                                                                                        SUMMARY STEPS

                                                                                          1.    mml> prov-add:extnode:name= media-gateway-name ,

                                                                                          2.    desc= media-gateway-name

                                                                                          3.    mml> prov-add:ipfaspath:name= ipfaspath-name ,

                                                                                          4.    extnode= media-gateway-name ,

                                                                                          5.    mdo= ISDN-varient ,

                                                                                          6.    custgrpid= customer-group-ID ,

                                                                                          7.    side= equipment-location ,

                                                                                          8.    desc= description

                                                                                          9.    mml> prov-add:iplnk:name= iplink-name ,

                                                                                          10.    if=enif interface-number ,

                                                                                          11.    ipaddr=IP_Addr number ,

                                                                                          12.    port= port-number ,

                                                                                          13.    pri= priority-number ,

                                                                                          14.    peeraddr= IP-address ,

                                                                                          15.    peerport= port-number ,

                                                                                          16.    sigslot= slot-number ,

                                                                                          17.    sigport= port-number ,

                                                                                          18.    svc= ipfaspath-name ,

                                                                                          19.    desc= description

                                                                                          20.    mml>prov-add:mgcppath:name= MGCP-path-name ,

                                                                                          21.    extnode= ipfaspath-name ,

                                                                                          22.    desc= description

                                                                                          23.    mml>prov-add:iplnk:name= clink6 ,

                                                                                          24.    if= enif1 ,

                                                                                          25.    ipaddr=IP_Addr number ,

                                                                                          26.    port=2427,

                                                                                          27.    peeraddr= IP-address ,

                                                                                          28.    peerport=2427,

                                                                                          29.    svc= mgcp-service-name ,

                                                                                          30.    pri=1,

                                                                                          31.    desc= description


                                                                                        DETAILED STEPS
                                                                                           Command or ActionPurpose
                                                                                          Step 1 mml> prov-add:extnode:name= media-gateway-name , 

                                                                                          Assigns a name to the media gateway (the external node) at the far end of a backhaul link.

                                                                                           
                                                                                          Step 2 desc= media-gateway-name
                                                                                           

                                                                                          Provides a description of the media gateway (MG).

                                                                                           
                                                                                          Step 3 mml> prov-add:ipfaspath:name= ipfaspath-name , 

                                                                                          Adds an IP path for D-channel transport (ipfaspath) from the Cisco VSC3000 to a media gateway and assigns it a path name.

                                                                                           
                                                                                          Step 4 extnode= media-gateway-name ,
                                                                                           

                                                                                          Specifies the media gateway (external node) at the opposite end of the IP path; the name must match the media gateway name assigned in Step 1.

                                                                                           
                                                                                          Step 5 mdo= ISDN-varient ,
                                                                                           

                                                                                          Specifies the ISDN variant. Options include:

                                                                                          • ETSI_300_102

                                                                                          • ETSIS_300_102_C1

                                                                                          • ATT_41459

                                                                                          • ATT_41459_C2

                                                                                          • BELL_1268

                                                                                          • ETSI_300_172

                                                                                          • BELL_1268_C3

                                                                                           
                                                                                          Step 6 custgrpid= customer-group-ID ,
                                                                                           

                                                                                          Assigns a customer group ID (the dial plan to use for this connection).

                                                                                           
                                                                                          Step 7 side= equipment-location ,
                                                                                           

                                                                                          Defines the Cisco VSC3000 as network side or user side. The Cisco VSC3000 is normally network side, opposite to the PBX, which is normally the user side. Enter network, or user,.

                                                                                           
                                                                                          Step 8 desc= description
                                                                                           

                                                                                          Describes the function of this IP path (backhaul service to a specified media gateway, for example Backhaul service to 3660-6).

                                                                                           
                                                                                          Step 9 mml> prov-add:iplnk:name= iplink-name , 

                                                                                          Adds an IP link for the PRI D-channel and assigns it a name.

                                                                                           
                                                                                          Step 10 if=enif interface-number ,
                                                                                           

                                                                                          The Ethernet interface name for the Cisco VSC3000 Ethernet card (typically enif1).

                                                                                           
                                                                                          Step 11 ipaddr=IP_Addr number ,
                                                                                           

                                                                                          The IP address of the Cisco VSC3000 Ethernet port as defined in ../etc/XECfgParm.dat (for example, IP_Addr1).

                                                                                           
                                                                                          Step 12 port= port-number ,
                                                                                           

                                                                                          The port number on the Cisco VSC3000.

                                                                                           
                                                                                          Step 13 pri= priority-number ,
                                                                                           

                                                                                          The selection priority of this IP link. (1, 2 and so on; this should match the selection priority specified on the media gateway for this IP link.)

                                                                                           
                                                                                          Step 14 peeraddr= IP-address ,
                                                                                           

                                                                                          The IP address of the media gateway.

                                                                                           
                                                                                          Step 15 peerport= port-number ,
                                                                                           

                                                                                          The port number on the media gateway; does not have to match the Cisco VSC3000 port

                                                                                           
                                                                                          Step 16 sigslot= slot-number ,
                                                                                           

                                                                                          The physical card slot in the media gateway.

                                                                                           
                                                                                          Step 17 sigport= port-number ,
                                                                                           

                                                                                          The PRI port number in the media gateway (= the T1/E1 controller number).

                                                                                           
                                                                                          Step 18 svc= ipfaspath-name ,
                                                                                           

                                                                                          The IP path that this IP link is assigned to, which matches the ipfaspath-name assigned in Step 2.

                                                                                           
                                                                                          Step 19 desc= description
                                                                                           

                                                                                          Optional description of this IP link. For example, IP link-backhaul svc 3660-6could describe an IP link for backhaul service to media gateway 3660-6.

                                                                                           
                                                                                          Step 20 mml>prov-add:mgcppath:name= MGCP-path-name , 

                                                                                          Defines an MGCP control path. For example, mgcp36606 could define an MGCP path to media gateway 3660-6.

                                                                                           
                                                                                          Step 21 extnode= ipfaspath-name ,
                                                                                           

                                                                                          Associates the MGCP control path with an IP path for D-channel transport. The ipfaspath-name must match the ipfaspath-name specified inStep 2.

                                                                                           
                                                                                          Step 22 desc= description
                                                                                           

                                                                                          Optional description of this MGCP control path. For example, MGCP service to 3660-6 could describe the function of this MGCP control path.

                                                                                           
                                                                                          Step 23 mml>prov-add:iplnk:name= clink6 , 

                                                                                          Adds an IP link for the MGCP control path.

                                                                                           
                                                                                          Step 24 if= enif1 ,
                                                                                           

                                                                                          The Ethernet interface name for the Cisco VSC3000 Ethernet card (typically enifl).

                                                                                           
                                                                                          Step 25 ipaddr=IP_Addr number ,
                                                                                           

                                                                                          The IP address of the Cisco VSC3000 Ethernet port as defined in ../etc/XECfgParm.dat (for example, IP_Addr1).

                                                                                           
                                                                                          Step 26 port=2427,
                                                                                           

                                                                                          The port used by the IP link for the MGCP control path on the Cisco VSC3000 (2427 is pre-defined for MGCP use).

                                                                                           
                                                                                          Step 27 peeraddr= IP-address ,
                                                                                           

                                                                                          The IP address of the media gateway connected to this IP link.

                                                                                           
                                                                                          Step 28 peerport=2427,
                                                                                           

                                                                                          The IP port at the media gateway for this IP link (2427 is pre-defined for MGCP use).

                                                                                           
                                                                                          Step 29 svc= mgcp-service-name ,
                                                                                           

                                                                                          A name of the MGCP signaling service supported by this IP link. For example, mgcp36606 could be the name for MGCP signaling service to 3660-6).

                                                                                           
                                                                                          Step 30 pri=1,
                                                                                           

                                                                                          Selection priority for this IP link(1, 2, and so on).

                                                                                           
                                                                                          Step 31 desc= description
                                                                                           

                                                                                          Optional description of the IP link for the MGCP control path. For example, MGCP link to 3660-6 could describe the IP link for the MGCP path to 3660-6.

                                                                                           

                                                                                          Verifying the Configuration

                                                                                          SUMMARY STEPS

                                                                                            1.    Enter the show isdn statuscommand to verify successful ISDN configuration for backhaul. The following output shows that Layers 1, 2, 3 are enabled and active. Layer 3 shows the number of active ISDN calls.

                                                                                            2.    Enter the show backhaul-session-manager set all command to display all session sets. This set contains one group called grp1, and it is configured in fault-tolerant mode.

                                                                                            3.    Enter the show backhaul-session-manager group status all command to display the status of all session-groups.

                                                                                            4.    Enter the show backhaul-session-manager session all command to display all sessions.


                                                                                          DETAILED STEPS
                                                                                            Step 1   Enter the show isdn statuscommand to verify successful ISDN configuration for backhaul. The following output shows that Layers 1, 2, 3 are enabled and active. Layer 3 shows the number of active ISDN calls.

                                                                                            In the example below, notice that the Layer 2 protocol is Q.921, and the Layer 3 protocol is BACKHAUL. This verifies that it is configured to backhaul ISDN. Also, if you are connected to a live line, you should see that Layer 1 status is ACTIVE and that layer 2 state is MULTIPLE_FRAME_ESTABLISHED. This means that the ISDN line is up and active.



                                                                                            Example:
                                                                                            Router# show isdn status
                                                                                            *00:03:34.423 UTC Sat Jan 1 2000
                                                                                            Global ISDN Switchtype = primary-net5
                                                                                            ISDN Serial1:23 interface
                                                                                                    dsl 0, interface ISDN Switchtype = primary-net5
                                                                                                    L2 Protocol = Q.921  L3 Protocol(s) = BACKHAUL
                                                                                                Layer 1 Status:        ACTIVE    Layer 2 Status:
                                                                                                    TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
                                                                                                Layer 3 Status:
                                                                                                    NLCB:callid=0x0, callref=0x0, state=31, ces=0 event=0x0
                                                                                                    NLCB:callid=0x0, callref=0x0, state=0, ces=1 event=0x0
                                                                                                    0 Active Layer 3 Call(s)
                                                                                                Activated dsl 0 CCBs = 0
                                                                                                Number of active calls = 0
                                                                                                Number of available B-channels = 23
                                                                                                Total Allocated ISDN CCBs = 0
                                                                                            Router#
                                                                                            
                                                                                            Step 2   Enter the show backhaul-session-manager set all command to display all session sets. This set contains one group called grp1, and it is configured in fault-tolerant mode.

                                                                                            Example:
                                                                                            Router# show backhaul-session-manager set all
                                                                                            Session-Set
                                                                                               Name   :set1
                                                                                               State  :BSM_SET_OOS
                                                                                            
                                                                                               Mode   :Fault-Tolerant(FT)
                                                                                               Option :Option-Client
                                                                                               Groups :1
                                                                                               statistics
                                                                                                    Successful switchovers:0
                                                                                                    Switchover Failures:0
                                                                                                    Set Down Count 0
                                                                                                    Group:grp1
                                                                                            

                                                                                            Possible states are:

                                                                                            SESS_SET_IDLE--A session set has been created.

                                                                                            SESS_SET_OOS--A session has been added to session group. No ACTIVE notification has been received from the Cisco VSC3000.

                                                                                            SESS_SET_ACTIVE_IS--An ACTIVE notification has been received over one in-service session group. STANDBY notification has not been received on any available session group(s).

                                                                                            SESS_SET_STNDBY_IS--A STANDBY notification is received, but no in-service active session group available.

                                                                                            SESS_SET_FULL_IS--A session group in-service that has ACTIVE notification, and at least one session group in-service has STANDBY notification.

                                                                                            SESS_SET_SWITCH_OVER--An ACTIVE notification is received on session group in-service, that had received STANDBY notification.

                                                                                            Step 3   Enter the show backhaul-session-manager group status all command to display the status of all session-groups.

                                                                                            The status is either Group-OutOfService (no session in the group has been established) or Group-Inservice (at least one session in the group has been established).

                                                                                            The Status (use) is either Group-Standby (the Cisco VSC3000 connected to the other end of this group will go into standby mode), Group-Active (the Cisco VSC3000 connected to the other end of this group will be the active Cisco VSC3000), or Group-None (the Cisco VSC3000 has not declared its intent yet).



                                                                                            Example:
                                                                                            Router# show backhaul-session-manager group status all
                                                                                            Session-Group
                                                                                            Group Name   :grp1
                                                                                               Set Name     :set1
                                                                                               Status       :Group-OutOfService
                                                                                               Status (use) :Group-None
                                                                                            
                                                                                            Step 4   Enter the show backhaul-session-manager session all command to display all sessions.

                                                                                            The State is OPEN (the connection is established), OPEN_WAIT (the connection is awaiting establishment), OPEN_XFER (session failover is in progress for this session, which is a transient state), or CLOSE (this session is down, also a transient state). The session moves to OPEN_WAIT after waiting a fixed amount of time.

                                                                                            The Use-status field indicates whether PRI signaling traffic is being transported over this session. The field will be either OOS (this session is not being used to transport signaling traffic) or IS (this session is being used currently to transport all PRI signaling traffic). The User-status field indicates the connection status.



                                                                                            Example:
                                                                                            Router# show backhaul-session-manager session all
                                                                                            
                                                                                            Session information --
                                                                                            Session-id:35
                                                                                              Group:grp1
                                                                                            Configuration:
                                                                                                 Local:10.1.2.15      , port:8303
                                                                                                Remote:10.5.0.3       , port:8303
                                                                                              Priority:2
                                                                                              RUDP Option:Client, Conn Id:0x2
                                                                                            State:
                                                                                              Status:OPEN_WAIT, Use-status:OOS
                                                                                            Statistics:
                                                                                              # of resets:0
                                                                                              # of auto_resets 0
                                                                                              # of unexpected RUDP transitions (total) 0
                                                                                              # of unexpected RUDP transitions (since last reset) 0
                                                                                              Receive pkts -  Total:0 , Since Last Reset:0
                                                                                              Recieve failures -  Total:0 ,Since Last Reset:0
                                                                                              Transmit pkts - Total:0, Since Last Reset:0 



                                                                                            Example:
                                                                                              Transmit Failures (PDU Only)
                                                                                                     Due to Blocking (Not an Error) - Total:0, Since Last Reset:0
                                                                                                     Due to causes other than Blocking - Total:0, Since Last
                                                                                            Reset:0
                                                                                              Transmit Failures (NON-PDU Only)
                                                                                                     Due to Blocking(Not an Error) - Total:0, Since Last Reset:0
                                                                                                     Due to causes other than Blocking - Total:0, Since Last
                                                                                            Reset:0
                                                                                              RUDP statistics
                                                                                                     Open failures:0
                                                                                                     Not ready failures:0
                                                                                                     Conn Not Open failures:0
                                                                                                     Send window full  failures:0
                                                                                                     Resource unavailble failures:0
                                                                                                     Enqueue failures:0
                                                                                            

                                                                                            Configuring MGCP POTS Dial Peer

                                                                                            To configure MGCP POTS dial peer on the Cisco 2600 series and Cisco 3660, complete the following commands beginning in global configuration mode:

                                                                                            SUMMARY STEPS

                                                                                              1.    Router(config)# dial-peer voice number pots

                                                                                              2.    Router(config-dial-peer)# application MGCPAPP

                                                                                              3.    Router(config-dial-peer)# port slot/port:ds0-group

                                                                                              4.    Router(config-dial-peer)# exit


                                                                                            DETAILED STEPS
                                                                                               Command or ActionPurpose
                                                                                              Step 1 Router(config)# dial-peer voice number pots 

                                                                                              Enters the dial-peer configuration mode for the POTS dial peer.

                                                                                               
                                                                                              Step 2 Router(config-dial-peer)# application MGCPAPP 

                                                                                              Initiates MGCP for the voice ports.

                                                                                               
                                                                                              Step 3 Router(config-dial-peer)# port slot/port:ds0-group


                                                                                              Example:
                                                                                              
                                                                                              
                                                                                               

                                                                                              Associates the dial peer with a specific logical interface.

                                                                                              The value of slot is the router location where the voice port adapter is installed. Valid entries are from 0 to 3.

                                                                                              The value of port indicates the voice interface card location. Valid entries are 0 or 1.

                                                                                              Each defined DS0 group number is represented on a separate voice port. This allows you to define individual DS0s on the digital T1/E1 card.

                                                                                               
                                                                                              Step 4 Router(config-dial-peer)# exit 

                                                                                              Exits dial-peer configuration mode.

                                                                                               

                                                                                              Monitoring and Maintaining

                                                                                              Monitoring MGCP CAS PBX and AAL2 PVC Configurations

                                                                                              Use these commands at any time to monitor the MGCP configuration:

                                                                                              Command

                                                                                              Purpose

                                                                                              Router# show mgcp 
                                                                                              connection
                                                                                               | endpoint
                                                                                               | statistics
                                                                                              

                                                                                              Displays all active MGCP connections on the router.

                                                                                              Router# debug mgcp [all | errors | events | packets | parser]

                                                                                              Turns on debugging for the gateway.

                                                                                              Router# clear mgcp statistics

                                                                                              Resets the MGCP statistical counters.

                                                                                              Monitoring and Maintaining Signaling Backhaul

                                                                                              Use the following commands as required to monitor and maintain the signaling backhaul sessions and the connection to the Cisco VSC3000:

                                                                                              Command

                                                                                              Purpose

                                                                                              Router# clear backhaul-session-manager group

                                                                                              Resets the statistics for all available session groups or a specified session group.

                                                                                              Router# show backhaul-session-manager set

                                                                                              Displays status, statistics, or configuration of all available session sets.

                                                                                              Router# show backhaul-session-manager group

                                                                                              Displays status, statistics, or configuration of all available session groups.

                                                                                              Router# show backhaul-session-manager session

                                                                                              Displays status, statistics, or configuration of all available sessions.

                                                                                              Router# show isdn status

                                                                                              Displays status of ISDN backhaul. If the connection to the Cisco VSC3000 is lost, the router shuts down Layer 2 so that it cannot receive more calls. When the Cisco VSC3000 connection is back up, you may use this to verify that Layer 2 was also brought back up correctly.

                                                                                              Configuration Examples

                                                                                              Cisco 2600 Series

                                                                                              MGCP CAS Voice FAX Call Examples

                                                                                              Originating Gateway Configuration Example
                                                                                              2650-org# show run
                                                                                              Building configuration...
                                                                                              Current configuration:
                                                                                              !
                                                                                              version 12.1
                                                                                              service timestamps debug uptime
                                                                                              service timestamps log uptime
                                                                                              no service password-encryption
                                                                                              !
                                                                                              hostname 2650-org
                                                                                              !
                                                                                              enable password lab
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              memory-size iomem 10
                                                                                              voice-card 1
                                                                                              no ip subnet-zero
                                                                                              no ip domain-lookup
                                                                                              ip dhcp smart-relay
                                                                                              !
                                                                                              mgcp
                                                                                              mgcp call-agent 1.9.64.23 service-type mgcp version 0.1
                                                                                              mgcp modem passthrough voaal2 mode nse
                                                                                              mgcp sdp simple
                                                                                              mgcp default-package dt-package
                                                                                              no mgcp timer receive-rtcp
                                                                                              !
                                                                                              !
                                                                                              controller T1 0/0
                                                                                               mode atm
                                                                                               framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                              !
                                                                                              controller T1 0/1
                                                                                              !
                                                                                              controller T1 1/0
                                                                                               framing esf
                                                                                               linecode b8zs
                                                                                               ds0-group 1 timeslots 1 type e&m-immediate-start
                                                                                               ds0-group 2 timeslots 2 type e&m-immediate-start
                                                                                              !
                                                                                              controller T1 1/1
                                                                                              !
                                                                                              interface Ethernet0/0
                                                                                               ip address 1.9.46.170 255.255.0.0
                                                                                               no cdp enable
                                                                                              !
                                                                                              interface Ethernet0/1
                                                                                               no ip address
                                                                                               shutdown
                                                                                               no cdp enable
                                                                                              !
                                                                                              interface ATM0/0
                                                                                               no ip address
                                                                                               ip mroute-cache
                                                                                               atm idle-cell-format itu
                                                                                               atm uni-version 4.0
                                                                                               atm voice aal2 aggregate-svc bandwidth 1500
                                                                                               atm voice aal2 aggregate-svc traffic-parameters 1500 1500 65000
                                                                                               atm voice aal2 aggregate-svc upspeed-number 100
                                                                                               atm voice aesa 111111111111.01 application aal2xgcp
                                                                                               atm ilmi-keepalive
                                                                                               pvc 0/5 qsaal
                                                                                               !
                                                                                               pvc 0/16 ilmi
                                                                                               !
                                                                                              !
                                                                                              ip default-gateway 1.9.0.1
                                                                                              ip kerberos source-interface any
                                                                                              ip classless
                                                                                              no ip http server
                                                                                              !
                                                                                              no cdp run
                                                                                              !
                                                                                              snmp-server engineID local 000000090200005054747B80
                                                                                              no snmp-server ifindex persist
                                                                                              snmp-server forwarder
                                                                                              snmp-server manager
                                                                                              !
                                                                                              voice-port 1/0:1
                                                                                              !
                                                                                              voice-port 1/0:2
                                                                                              !
                                                                                              dial-peer cor custom
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              dial-peer voice 1 pots
                                                                                               application mgcpapp
                                                                                               port 1/0:1
                                                                                               forward-digits all
                                                                                              !
                                                                                              dial-peer voice 2 pots
                                                                                               application mgcpapp
                                                                                               port 1/0:2
                                                                                               forward-digits all
                                                                                              !
                                                                                              !
                                                                                              line con 0
                                                                                               exec-timeout 0 0
                                                                                               transport input none
                                                                                              line aux 0
                                                                                              line vty 0 4
                                                                                               password lab
                                                                                               login
                                                                                              !
                                                                                              end
                                                                                              2650-org#
                                                                                              
                                                                                              Terminating Gateway Configuration Example
                                                                                              2650-trm# show run
                                                                                              Building configuration...
                                                                                              Current configuration:
                                                                                              !
                                                                                              version 12.1
                                                                                              no service pad
                                                                                              service timestamps debug uptime
                                                                                              service timestamps log uptime
                                                                                              no service password-encryption
                                                                                              !
                                                                                              hostname 2650-trm
                                                                                              !
                                                                                              boot system flash
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              memory-size iomem 20
                                                                                              voice-card 1
                                                                                               ip subnet-zero
                                                                                               no ip domain-lookup
                                                                                               ip host dirt 223.255.254.254
                                                                                               ip dhcp smart-relay
                                                                                               !
                                                                                               mgcp
                                                                                               mgcp call-agent 1.9.64.23 service-type mgcp version 0.1
                                                                                               mgcp modem passthrough voaal2 mode nse
                                                                                               mgcp sdp simple
                                                                                               mgcp default-package dt-package
                                                                                               no mgcp timer receive-rtcp
                                                                                               !
                                                                                               !
                                                                                               controller T1 0/0
                                                                                               mode atm
                                                                                                framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                              !
                                                                                              controller T1 1/0
                                                                                               framing esf
                                                                                               linecode b8zs
                                                                                               ds0-group 1 timeslots 1 type e&m-immediate-start
                                                                                               ds0-group 2 timeslots 2 type e&m-immediate-start
                                                                                               ds0 busyout 24
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              interface FastEthernet0/0
                                                                                               ip address 1.9.46.150 255.255.0.0
                                                                                               duplex auto
                                                                                               speed auto
                                                                                              !
                                                                                              interface FastEthernet0/1
                                                                                               no ip address
                                                                                               shutdown
                                                                                               duplex auto
                                                                                               speed auto
                                                                                              !
                                                                                              interface ATM0/0
                                                                                               no ip address
                                                                                               ip mroute-cache
                                                                                               atm idle-cell-format itu
                                                                                               atm uni-version 4.0
                                                                                               atm voice aal2 aggregate-svc bandwidth 1500
                                                                                               atm voice aal2 aggregate-svc traffic-parameters 1500 1500 65000
                                                                                               atm voice aal2 aggregate-svc upspeed-number 100
                                                                                               atm voice aesa 222222222222.01 application aal2xgcp
                                                                                               atm ilmi-keepalive
                                                                                               pvc 0/5 qsaal
                                                                                               !
                                                                                               pvc 0/16 ilmi
                                                                                               !
                                                                                              !
                                                                                              ip default-gateway 1.9.0.1
                                                                                              ip kerberos source-interface any
                                                                                              ip classless
                                                                                              ip route 0.0.0.0 0.0.0.0 1.9.0.1
                                                                                              no ip http server
                                                                                              !
                                                                                              !
                                                                                              snmp-server engineID local 00000009020000024B1345A0
                                                                                              no snmp-server ifindex persist
                                                                                              snmp-server forwarder
                                                                                              snmp-server manager
                                                                                              !
                                                                                              voice-port 1/0:1
                                                                                              !
                                                                                              voice-port 1/0:2
                                                                                              !
                                                                                              dial-peer cor custom
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              dial-peer voice 1 pots
                                                                                               application mgcpapp
                                                                                               port 1/0:1
                                                                                               forward-digits all
                                                                                              !
                                                                                              dial-peer voice 2 pots
                                                                                               application mgcpapp
                                                                                               port 1/0:2
                                                                                               forward-digits all
                                                                                              !
                                                                                              !
                                                                                              line con 0
                                                                                               exec-timeout 0 0
                                                                                               transport input none
                                                                                              line aux 0
                                                                                              line vty 0 4
                                                                                               login
                                                                                              !
                                                                                              end
                                                                                              2650-trm#
                                                                                              

                                                                                              MGCP PRI Backhaul Configuration Examples

                                                                                              Originating Gateway Configuration Example
                                                                                              2650-org# show run
                                                                                              Building configuration...
                                                                                              Current configuration:
                                                                                              !
                                                                                              version 12.1
                                                                                              service timestamps debug uptime
                                                                                              service timestamps log uptime
                                                                                              no service password-encryption
                                                                                              !
                                                                                              hostname 2650-org
                                                                                              !
                                                                                              enable password lab
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              memory-size iomem 10
                                                                                              voice-card 1
                                                                                               no ip subnet-zero
                                                                                               no ip domain-lookup
                                                                                               ip dhcp smart-relay
                                                                                               !
                                                                                               mgcp
                                                                                               mgcp call-agent 1.9.64.23 service-type mgcp version 0.1
                                                                                               mgcp modem passthrough voaal2 mode nse
                                                                                               mgcp sdp simple
                                                                                               mgcp default-package dt-package
                                                                                               no mgcp timer receive-rtcp
                                                                                               backhaul-session-manager
                                                                                                set vsc2_set client nft
                                                                                                group vsc2_grp set vsc2_set
                                                                                                session group vsc2_grp 1.9.64.23 8004 1.9.46.170 8004 1
                                                                                               isdn switch-type primary-5ess
                                                                                               call rsvp-sync
                                                                                               !
                                                                                               !
                                                                                               !
                                                                                               controller T1 0/0
                                                                                               mode atm
                                                                                               framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                              !
                                                                                              controller T1 0/1
                                                                                              !
                                                                                              controller T1 1/0
                                                                                               framing esf
                                                                                               linecode b8zs
                                                                                               pri-group timeslots 1-24 service mgcp
                                                                                              !
                                                                                              controller T1 1/1
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              interface Ethernet0/0
                                                                                               ip address 1.9.46.170 255.255.0.0
                                                                                               no cdp enable
                                                                                              !
                                                                                              interface Ethernet0/1
                                                                                               no ip address
                                                                                               shutdown
                                                                                               no cdp enable
                                                                                              !
                                                                                              interface ATM0/0
                                                                                               no ip address
                                                                                               ip mroute-cache
                                                                                               atm idle-cell-format itu
                                                                                               atm uni-version 4.0
                                                                                               atm voice aal2 aggregate-svc bandwidth 1500
                                                                                               atm voice aal2 aggregate-svc traffic-parameters 1500 1500 65000
                                                                                               atm voice aal2 aggregate-svc upspeed-number 100
                                                                                               atm voice aesa 111111111111.01 application aal2xgcp
                                                                                               atm ilmi-keepalive
                                                                                               pvc 0/5 qsaal
                                                                                               !
                                                                                               pvc 0/16 ilmi
                                                                                               !
                                                                                              !
                                                                                              interface Serial1/0:23
                                                                                               no ip address
                                                                                               ip mroute-cache
                                                                                               no logging event link-status
                                                                                               isdn switch-type primary-5ess
                                                                                               isdn incoming-voice voice
                                                                                               isdn bind-l3 backhaul vsc2_set
                                                                                               no cdp enable
                                                                                              !
                                                                                              ip default-gateway 1.9.0.1
                                                                                              ip kerberos source-interface any
                                                                                              ip classless
                                                                                              no ip http server
                                                                                              !
                                                                                              no cdp run
                                                                                              !
                                                                                              snmp-server engineID local 000000090200005054747B80
                                                                                              no snmp-server ifindex persist
                                                                                              snmp-server forwarder
                                                                                              snmp-server manager
                                                                                              !
                                                                                              voice-port 1/0:23
                                                                                              !
                                                                                              dial-peer cor custom
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              line con 0
                                                                                               exec-timeout 0 0
                                                                                               transport input none
                                                                                              line aux 0
                                                                                              line vty 0 4
                                                                                               password lab
                                                                                               login
                                                                                              !
                                                                                              no scheduler allocate
                                                                                              end
                                                                                              2650-org# 
                                                                                              Terminating Gateway Configuration Example
                                                                                              2650-trm# show run
                                                                                              Building configuration...
                                                                                              Current configuration:
                                                                                              !
                                                                                              version 12.1
                                                                                              no service pad
                                                                                              service timestamps debug uptime
                                                                                              service timestamps log uptime
                                                                                              no service password-encryption
                                                                                              !
                                                                                              hostname 2650-trm
                                                                                              !
                                                                                              boot system flash
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              memory-size iomem 20
                                                                                              voice-card 1
                                                                                               ip subnet-zero
                                                                                               no ip domain-lookup
                                                                                               ip host dirt 223.255.254.254
                                                                                               ip dhcp smart-relay
                                                                                               !
                                                                                               mgcp
                                                                                               mgcp call-agent 1.9.64.23 service-type mgcp version 0.1
                                                                                               mgcp modem passthrough voaal2 mode nse
                                                                                               mgcp sdp simple
                                                                                               mgcp default-package dt-package
                                                                                               no mgcp timer receive-rtcp
                                                                                               backhaul-session-manager
                                                                                                set vsc1_set client nft
                                                                                                group vsc1_grp set vsc1_set
                                                                                                session group vsc1_grp 1.9.64.23 8000 1.9.46.150 8000 1
                                                                                               isdn switch-type primary-5ess
                                                                                               call rsvp-sync
                                                                                               srcp 5555
                                                                                               !
                                                                                               !
                                                                                               !
                                                                                               !
                                                                                               controller T1 0/0
                                                                                               mode atm
                                                                                               framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                              !
                                                                                              controller T1 1/0
                                                                                               framing esf
                                                                                               linecode b8zs
                                                                                               pri-group timeslots 1-24 service mgcp
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              interface FastEthernet0/0
                                                                                               ip address 1.9.46.150 255.255.0.0
                                                                                               duplex auto
                                                                                               speed auto
                                                                                              !
                                                                                              interface FastEthernet0/1
                                                                                               no ip address
                                                                                               shutdown
                                                                                               duplex auto
                                                                                               speed auto
                                                                                              !
                                                                                              interface ATM0/0
                                                                                               no ip address
                                                                                               ip mroute-cache
                                                                                               atm idle-cell-format itu
                                                                                               atm uni-version 4.0
                                                                                               atm voice aal2 aggregate-svc bandwidth 1500
                                                                                               atm voice aal2 aggregate-svc traffic-parameters 1500 1500 65000
                                                                                               atm voice aal2 aggregate-svc upspeed-number 100
                                                                                               atm voice aesa 222222222222.01 application aal2xgcp
                                                                                               atm ilmi-keepalive
                                                                                               pvc 0/5 qsaal
                                                                                               !
                                                                                               pvc 0/16 ilmi
                                                                                               !
                                                                                              !
                                                                                              interface Serial1/0:23
                                                                                               no ip address
                                                                                               ip mroute-cache
                                                                                               no logging event link-status
                                                                                               isdn switch-type primary-5ess
                                                                                               isdn incoming-voice voice
                                                                                               isdn bind-l3 backhaul vsc1_set
                                                                                               no cdp enable
                                                                                              !
                                                                                              ip default-gateway 1.9.0.1
                                                                                              ip kerberos source-interface any
                                                                                              ip classless
                                                                                              ip route 0.0.0.0 0.0.0.0 1.9.0.1
                                                                                              no ip http server
                                                                                              !
                                                                                              !
                                                                                              snmp-server engineID local 00000009020000024B1345A0
                                                                                              no snmp-server ifindex persist
                                                                                              snmp-server forwarder
                                                                                              snmp-server manager
                                                                                              !
                                                                                              voice-port 1/0:23
                                                                                              !
                                                                                              dial-peer cor custom
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              line con 0
                                                                                               exec-timeout 0 0
                                                                                               transport input none
                                                                                              line aux 0
                                                                                              line vty 0 4
                                                                                               login
                                                                                              !
                                                                                              no scheduler allocate
                                                                                              end
                                                                                              2650-trm# 

                                                                                              Cisco 3660

                                                                                              MGCP CAS Call Examples

                                                                                              Originating Gateway Configuration Example
                                                                                              3660-org# show run
                                                                                              !
                                                                                              controller T1 3/0
                                                                                               framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                               ds0-group 1 timeslots 1 type e&m-immediate-start
                                                                                              !
                                                                                              interface ATM2/0
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/1
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/2
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/3
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/IMA0
                                                                                               mtu 17998
                                                                                               ip address 2.2.2.2 255.255.255.0
                                                                                               pvc 65/100
                                                                                                protocol ip 2.2.2.1 broadcast
                                                                                                encapsulation aal5snap
                                                                                               !
                                                                                               pvc 65/101
                                                                                                vbr-rt 1400 1400 60000
                                                                                                vcci 2
                                                                                                encapsulation aal2
                                                                                               !
                                                                                              !
                                                                                              voice-port 3/0:1
                                                                                              !
                                                                                              !
                                                                                              dial-peer voice 1 pots
                                                                                               application mgcpapp
                                                                                               port 3/0:1
                                                                                              !
                                                                                              !
                                                                                              end
                                                                                              Terminating Gateway Configuration Example
                                                                                              3660-trm# show run
                                                                                              memory-size iomem 30
                                                                                               mgcp
                                                                                               mgcp call-agent 1.9.64.23 service-type mgcp version 0.1
                                                                                               no mgcp timer receive-rtcp
                                                                                               isdn voice-call-failure 0
                                                                                               call rsvp-sync
                                                                                               !
                                                                                               controller T1 1/0
                                                                                               framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                               ds0-group 1 timeslots 1 type e&m-immediate-start
                                                                                              !
                                                                                              interface ATM3/0
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/1
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/2
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/3
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/IMA0
                                                                                               mtu 17998
                                                                                               ip address 2.2.2.1 255.255.255.0
                                                                                               pvc 65/100
                                                                                                protocol ip 2.2.2.2 broadcast
                                                                                                encapsulation aal5snap
                                                                                               !
                                                                                               pvc 65/101
                                                                                                vbr-rt 1400 1400 60000
                                                                                                vcci 2
                                                                                                encapsulation aal2
                                                                                               !
                                                                                              !
                                                                                              voice-port 1/0:1
                                                                                              !
                                                                                              dial-peer voice 1 pots
                                                                                               application mgcpapp
                                                                                               port 1/0:1
                                                                                              !
                                                                                              end
                                                                                              

                                                                                              VoATM with AAL2 Trunking CAS Call Examples

                                                                                              Originating Gateway Configuration Example
                                                                                              3660-org# show run
                                                                                              !
                                                                                              controller T1 3/0
                                                                                               framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                               ds0-group 1 timeslots 1 type e&m-immediate-start
                                                                                               ds0-group 2 timeslots 2 type e&m-immediate-start
                                                                                              !
                                                                                              interface ATM2/0
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/1
                                                                                               ima-group 0
                                                                                               no scrambling-payload
                                                                                              !
                                                                                              interface ATM2/2
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/3
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/IMA0
                                                                                               mtu 17998
                                                                                               ip address 2.2.2.2 255.255.255.0
                                                                                               pvc 65/100
                                                                                                protocol ip 2.2.2.1 broadcast
                                                                                                encapsulation aal5snap
                                                                                               !
                                                                                               pvc 65/101
                                                                                                vbr-rt 1400 1400 60000
                                                                                                vcci 2
                                                                                                encapsulation aal2
                                                                                               !
                                                                                              !
                                                                                              voice-port 3/0:1
                                                                                               connection trunk 7200000
                                                                                              !
                                                                                              voice-port 3/0:2
                                                                                               connection trunk 7200002
                                                                                              !
                                                                                              dial-peer voice 20 pots
                                                                                               destination-pattern 7100000
                                                                                               port 3/0:1
                                                                                              !
                                                                                              dial-peer voice 21 voatm
                                                                                               destination-pattern 7200000
                                                                                               session protocol aal2-trunk
                                                                                               session target ATM2/IMA0 pvc 65/101 101
                                                                                               signal-type trans
                                                                                               codec aal2-profile ITUT 1 g711ulaw
                                                                                               no vad
                                                                                              !
                                                                                              dial-peer voice 22 pots
                                                                                               destination-pattern 7100002
                                                                                               port 3/0:2
                                                                                              !
                                                                                              dial-peer voice 2003 voatm
                                                                                               destination-pattern 7200002
                                                                                               session protocol aal2-trunk
                                                                                               session target ATM2/IMA0 pvc 65/101 102
                                                                                               signal-type trans
                                                                                               codec aal2-profile ITUT 1 g711ulaw
                                                                                               no vad
                                                                                              !
                                                                                              !
                                                                                              end
                                                                                              Terminating Gateway Configuration Example
                                                                                              3660-trm# show run
                                                                                              memory-size iomem 30
                                                                                               !
                                                                                               controller T1 1/0
                                                                                               framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                               ds0-group 1 timeslots 1 type e&m-immediate-start
                                                                                               ds0-group 2 timeslots 2 type e&m-immediate-start
                                                                                              !
                                                                                              interface ATM3/0
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/1
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/2
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/3
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/IMA0
                                                                                               mtu 17998
                                                                                               ip address 2.2.2.1 255.255.255.0
                                                                                               pvc 65/100
                                                                                                protocol ip 2.2.2.2 broadcast
                                                                                                encapsulation aal5snap
                                                                                               !
                                                                                               pvc 65/101
                                                                                                vbr-rt 1400 1400 60000
                                                                                                vcci 2
                                                                                                encapsulation aal2
                                                                                               !
                                                                                              !
                                                                                              voice-port 1/0:1
                                                                                               connection trunk 7200000
                                                                                              !
                                                                                              voice-port 1/0:2
                                                                                               connection trunk 7200002
                                                                                              !
                                                                                              dial-peer voice 20 pots
                                                                                               destination-pattern 7100000
                                                                                               port 1/0:1
                                                                                              !
                                                                                              dial-peer voice 21 voatm
                                                                                               destination-pattern 7200000
                                                                                               session protocol aal2-trunk
                                                                                               session target ATM3/IMA0 pvc 65/101 101
                                                                                               signal-type trans
                                                                                               codec aal2-profile ITUT 1 g711ulaw
                                                                                               no vad
                                                                                              !
                                                                                              dial-peer voice 22 pots
                                                                                               destination-pattern 7100002
                                                                                               port 1/0:2
                                                                                              !
                                                                                              dial-peer voice 2002 voatm
                                                                                               destination-pattern 7200002
                                                                                               session protocol aal2-trunk
                                                                                               session target ATM3/IMA0 pvc 65/101 102
                                                                                               signal-type trans
                                                                                               codec aal2-profile ITUT 1 g711ulaw
                                                                                               no vad
                                                                                              !
                                                                                              end
                                                                                              

                                                                                              VoATM with AAL2 Trunking CCS Call Examples

                                                                                              Originating Gateway Configuration Example
                                                                                              3660-org# show run
                                                                                              !
                                                                                              controller T1 3/0
                                                                                               mode ccs frame-forwarding
                                                                                               framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                               channel-group 23 timeslots 24 speed 64
                                                                                               ds0-group 0 timeslots 1 type ext-sig
                                                                                              !
                                                                                              interface ATM2/1
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/2
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/3
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/4
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/IMA0
                                                                                               mtu 17998
                                                                                               ip address 2.2.2.1 255.255.255.0
                                                                                               no atm ilmi-keepalive
                                                                                               atm voice aal2 aggregate-svc upspeed-number 0
                                                                                               pvc 65/100
                                                                                                protocol ip 2.2.2.2 broadcast
                                                                                                encapsulation aal5snap
                                                                                               !
                                                                                               pvc 65/101
                                                                                                vbr-rt 500 500 500
                                                                                                encapsulation aal2
                                                                                               !
                                                                                               pvc 65/102
                                                                                                vbr-rt 500 500 500
                                                                                                encapsulation aal5mux voice
                                                                                               !
                                                                                              !
                                                                                              interface Serial3/0:23
                                                                                               no ip address
                                                                                               no keepalive
                                                                                               ccs encap atm
                                                                                               ccs connect ATM2/IMA0 pvc 65/102
                                                                                              !
                                                                                              voice-port 3/0:0
                                                                                               connection trunk 2000
                                                                                              !
                                                                                              dial-peer cor custom
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              dial-peer voice 1000 pots
                                                                                               destination-pattern 1000
                                                                                               port 3/0:0
                                                                                              !
                                                                                              dial-peer voice 2000 voatm
                                                                                               destination-pattern 2000
                                                                                               called-number 1000
                                                                                               session protocol aal2-trunk
                                                                                               session target ATM2/IMA0 pvc 65/101 100
                                                                                               signal-type ext-signal
                                                                                               codec aal2-profile ITUT 1 g711ulaw
                                                                                               no vad
                                                                                              !
                                                                                              !
                                                                                              end
                                                                                              Terminating Gateway Configuration Example
                                                                                              3660-trm# show run
                                                                                              !
                                                                                               controller T1 1/0
                                                                                               mode ccs frame-forwarding
                                                                                               framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                               channel-group 23 timeslots 24 speed 64
                                                                                               ds0-group 0 timeslots 1 type ext-sig
                                                                                              !
                                                                                              interface Serial1/0:23
                                                                                               no ip address
                                                                                               no keepalive
                                                                                               ccs encap atm
                                                                                               ccs connect ATM3/IMA0 pvc 65/102
                                                                                              !
                                                                                              interface ATM3/0
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/IMA0
                                                                                               mtu 17998
                                                                                               ip address 2.2.2.2 255.255.255.0
                                                                                               no atm ilmi-keepalive
                                                                                               atm voice aal2 aggregate-svc upspeed-number 0
                                                                                               pvc 65/100
                                                                                                protocol ip 2.2.2.1 broadcast
                                                                                                encapsulation aal5snap
                                                                                               !
                                                                                               pvc 65/101
                                                                                                vbr-rt 500 500 500
                                                                                                encapsulation aal2
                                                                                               !
                                                                                               pvc 65/102
                                                                                                vbr-rt 500 500 500
                                                                                                encapsulation aal5mux voice
                                                                                               !
                                                                                              !
                                                                                              !
                                                                                              voice-port 1/0:0
                                                                                               connection trunk 2000
                                                                                              !
                                                                                              dial-peer voice 1000 pots
                                                                                               destination-pattern 1000
                                                                                               port 1/0:0
                                                                                              !
                                                                                              dial-peer voice 2000 voatm
                                                                                               destination-pattern 2000
                                                                                               called-number 1000
                                                                                               session protocol aal2-trunk
                                                                                               session target ATM3/IMA0 pvc 65/101 100
                                                                                               signal-type ext-signal
                                                                                               codec aal2-profile ITUT 1 g711ulaw
                                                                                               no vad
                                                                                              !
                                                                                              !
                                                                                              end

                                                                                              PRI Q.931 Signaling Backhaul Examples

                                                                                              Originating Gateway Configuration Example
                                                                                              3660-org# show run
                                                                                              memory-size iomem 30
                                                                                               !
                                                                                               mgcp
                                                                                               mgcp call-agent 1.9.64.23 service-type mgcp version 0.1
                                                                                               mgcp modem passthrough voaal2 mode nse
                                                                                               mgcp sdp simple
                                                                                               mgcp default-package dt-package
                                                                                               no mgcp timer receive-rtcp
                                                                                               backhaul-session-manager
                                                                                                 set vsc1_set client nft
                                                                                                 group vsc1_grp set vsc1_set
                                                                                                 session group vsc1_grp 1.9.64.23 8004 1.9.47.55 8004 1
                                                                                               isdn switch-type primary-5ess
                                                                                               isdn voice-call-failure 0
                                                                                               call rsvp-sync
                                                                                               !
                                                                                               voice class codec 1
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              controller T1 1/0
                                                                                               framing esf
                                                                                               linecode b8zs
                                                                                               pri-group timeslots 1-24 service mgcp
                                                                                              !
                                                                                              interface Serial1/0:23
                                                                                               no ip address
                                                                                               ip mroute-cache
                                                                                               no logging event link-status
                                                                                               isdn switch-type primary-5ess
                                                                                               isdn incoming-voice voice
                                                                                               isdn bind-l3 backhaul vsc1_set
                                                                                               no cdp enable
                                                                                              !
                                                                                              interface ATM2/0
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/1
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/2
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/3
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/IMA0
                                                                                               mtu 17998
                                                                                               ip address 2.2.2.2 255.255.255.0
                                                                                               no atm ilmi-keepalive
                                                                                               atm voice aal2 aggregate-svc bandwidth 1536
                                                                                               atm voice aal2 aggregate-svc traffic-parameters 1536 1536 65536
                                                                                               atm voice aal2 aggregate-svc upspeed-number 100
                                                                                               atm voice aesa AAAAAAAAAAAA.01 application aal2xgcp
                                                                                               pvc 0/5 qsaal
                                                                                               !
                                                                                               pvc 0/16 ilmi
                                                                                               !
                                                                                               pvc 65/100
                                                                                                protocol ip 2.2.2.1 broadcast
                                                                                                encapsulation aal5snap
                                                                                               !
                                                                                               pvc 65/101
                                                                                                vbr-rt 1400 1400 60000
                                                                                                vcci 2
                                                                                                encapsulation aal2
                                                                                               !
                                                                                              !
                                                                                              voice-port 1/0:23
                                                                                              !
                                                                                              dial-peer voice 1 pots
                                                                                               application mgcpapp
                                                                                               forward-digits all
                                                                                              !
                                                                                              !
                                                                                              gatekeeper
                                                                                               shutdown
                                                                                              !
                                                                                              !
                                                                                              line con 0
                                                                                               exec-timeout 0 0
                                                                                               privilege level 15
                                                                                               transport input none
                                                                                              line aux 0
                                                                                              line vty 0 4
                                                                                               login
                                                                                              !
                                                                                              scheduler allocate 5000 3000
                                                                                              end
                                                                                              
                                                                                              Terminating Gateway Configuration Example
                                                                                              3660-trm# show run
                                                                                              !
                                                                                               mgcp
                                                                                               mgcp call-agent 1.9.64.23 service-type mgcp version 0.1
                                                                                               mgcp modem passthrough voaal2 mode nse
                                                                                               mgcp sdp simple
                                                                                               mgcp default-package dt-package
                                                                                               no mgcp timer receive-rtcp
                                                                                               backhaul-session-manager
                                                                                                 set vsc1_set client nft
                                                                                                 group vsc1_grp set vsc1_set
                                                                                                 session group vsc1_grp 1.9.64.23 8000 1.9.48.41 8000 1
                                                                                               isdn switch-type primary-5ess
                                                                                               isdn voice-call-failure 0
                                                                                               call rsvp-sync
                                                                                               !
                                                                                               !
                                                                                               !
                                                                                               !
                                                                                               !
                                                                                               !
                                                                                               !
                                                                                               controller T1 1/0
                                                                                               framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                               pri-group timeslots 1-24 service mgcp
                                                                                              !
                                                                                              interface Serial1/0:23
                                                                                               isdn switch-type primary-5ess
                                                                                               isdn incoming-voice voice
                                                                                               isdn bind-l3 backhaul vsc1_set
                                                                                              !
                                                                                              interface ATM3/0
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/1
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/2
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/3
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/IMA0
                                                                                               mtu 17998
                                                                                               ip address 2.2.2.1 255.255.255.0
                                                                                               no atm ilmi-keepalive
                                                                                               atm voice aal2 aggregate-svc bandwidth 1536
                                                                                               atm voice aal2 aggregate-svc traffic-parameters 1536 1536 65536
                                                                                               atm voice aal2 aggregate-svc upspeed-number 100
                                                                                               atm voice aesa 999999999999.01 application aal2xgcp
                                                                                               pvc 0/5 qsaal
                                                                                               !
                                                                                               pvc 0/16 ilmi
                                                                                               !
                                                                                               pvc 65/100
                                                                                                protocol ip 2.2.2.2 broadcast
                                                                                                encapsulation aal5snap
                                                                                               !
                                                                                               pvc 65/101
                                                                                                vbr-rt 1400 1400 60000
                                                                                                vcci 2
                                                                                                encapsulation aal2
                                                                                               !
                                                                                              !
                                                                                              voice-port 1/0:23
                                                                                              !
                                                                                              dial-peer voice 1 pots
                                                                                               application mgcpapp
                                                                                              !
                                                                                              !
                                                                                              end

                                                                                              PRI Q.931 Signaling Backhaul CAS Call Examples

                                                                                              Originating Gateway Configuration Example
                                                                                              3660-org# show run
                                                                                              memory-size iomem 30
                                                                                               !
                                                                                               mgcp
                                                                                               mgcp call-agent 1.9.64.23 service-type mgcp version 0.1
                                                                                               mgcp modem passthrough voaal2 mode nse
                                                                                               no mgcp timer receive-rtcp
                                                                                               call rsvp-sync
                                                                                               !
                                                                                               voice class codec 1
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              !
                                                                                              controller T1 3/0
                                                                                               framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                               ds0-group 1 timeslots 1 type e&m-immediate-start
                                                                                              !
                                                                                              interface ATM2/0
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/1
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/2
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/3
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM2/IMA0
                                                                                               mtu 17998
                                                                                               ip address 2.2.2.2 255.255.255.0
                                                                                               no atm ilmi-keepalive
                                                                                               atm voice aal2 aggregate-svc bandwidth 1536
                                                                                               atm voice aal2 aggregate-svc traffic-parameters 1536 1536 65536
                                                                                               atm voice aal2 aggregate-svc upspeed-number 100
                                                                                               atm voice aesa AAAAAAAAAAAA.01 application aal2xgcp
                                                                                               pvc 0/5 qsaal
                                                                                               !
                                                                                               pvc 0/16 ilmi
                                                                                               !
                                                                                               pvc 65/100
                                                                                                protocol ip 2.2.2.1 broadcast
                                                                                                encapsulation aal5snap
                                                                                               !
                                                                                              !
                                                                                              voice-port 3/0:1
                                                                                              !
                                                                                              dial-peer voice 1 pots
                                                                                               application mgcpapp
                                                                                               port 3/0:1
                                                                                               forward-digits all
                                                                                              !
                                                                                              end
                                                                                              Terminating Gateway Configuration Example
                                                                                              3660-trm# show run
                                                                                              !
                                                                                               mgcp
                                                                                               mgcp call-agent 1.9.64.23 service-type mgcp version 0.1
                                                                                               mgcp modem passthrough voaal2 mode nse
                                                                                               no mgcp timer receive-rtcp
                                                                                               isdn voice-call-failure 0
                                                                                               call rsvp-sync
                                                                                               !
                                                                                               controller T1 1/0
                                                                                               framing esf
                                                                                               clock source internal
                                                                                               linecode b8zs
                                                                                               ds0-group 1 timeslots 1 type e&m-immediate-start
                                                                                              !
                                                                                              interface ATM3/0
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/1
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/2
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/3
                                                                                               ima-group 0
                                                                                              !
                                                                                              interface ATM3/IMA0
                                                                                               mtu 17998
                                                                                               ip address 2.2.2.1 255.255.255.0
                                                                                               no atm ilmi-keepalive
                                                                                               atm voice aal2 aggregate-svc bandwidth 1536
                                                                                               atm voice aal2 aggregate-svc traffic-parameters 1536 1536 65536
                                                                                               atm voice aal2 aggregate-svc upspeed-number 100
                                                                                               atm voice aesa 999999999999.01 application aal2xgcp
                                                                                               pvc 0/5 qsaal
                                                                                               !
                                                                                               pvc 0/16 ilmi
                                                                                               !
                                                                                               pvc 65/100
                                                                                                protocol ip 2.2.2.2 broadcast
                                                                                                encapsulation aal5snap
                                                                                               !
                                                                                              !
                                                                                              voice-port 1/0:1
                                                                                              !
                                                                                              dial-peer voice 1 pots
                                                                                               application mgcpapp
                                                                                               port 1/0:1
                                                                                              !
                                                                                              end

                                                                                              Command Reference

                                                                                              The following commands are introduced or modified in the feature or features documented in this module. For information about these commands, see the Cisco IOS Asynchronous Transfer Mode Command Reference. For information about all Cisco IOS commands, go to the Command Lookup Tool at http:/​/​tools.cisco.com/​Support/​CLILookup or to the Cisco IOS Master Commands List .

                                                                                              • vbd-playout-delay maximum

                                                                                              • vbd-playout-delay minimum

                                                                                              • vbd-playout-delay mode

                                                                                              • vbd-playout-delay nominal

                                                                                              • subcell-mux

                                                                                              Glossary

                                                                                              inform --SNMP trap message that includes a delivery confirmation request.

                                                                                              MIB --Management Information Base. Database of network management information that is used and maintained by a network management protocol such as SNMP. The value of a MIB object can be changed or retrieved using SNMP commands, usually through a network management system (NMS). MIB objects are organized in a tree structure that includes public (standard) and private (proprietary) branches.

                                                                                              NMS --Network Management System. An application or suite of applications designed to monitor networks using SNMP. CiscoView is one example of an NMS.

                                                                                              OAM --Operation, Administration, and Maintenance. ATM Forum specifies OAM cells used to monitor virtual circuits. OAM cells provide a virtual circuit-level loopback in which a router responds to the cells, demonstrating that the circuit is up and the router is operational.

                                                                                              PVC --Permanent Virtual Circuit. Virtual circuit that is permanently established. PVCs save bandwidth associated with circuit establishment and teardown in situations where certain virtual circuits must exist all the time. In ATM terminology, PVC also stands for permanent virtual connection.

                                                                                              SNMP --Simple Network Management Protocol. An application-layer protocol that provides a message format for communication between SNMP managers and agents and is exclusively used in TCP/IP networks. SNMP provides a means to monitor and control network devices and to manage configurations, statistics collection, performance, and security.

                                                                                              trap --A message from an SNMP agent alerting the SNMP manager to a condition on the network.

                                                                                              VCI --Virtual Channel Identifier. 16-bit field in the header of an ATM cell. The VCI, together with the VPI, is used to identify the next destination of a cell as it passes through a series of ATM switches on its way to its destination. ATM switches use the VPI/VCI fields to identify the next network VCL that a cell needs to transit on its way to its final destination.

                                                                                              VCL --Virtual Channel Link. Connection between two ATM devices.

                                                                                              VPI --Virtual Path Identifier. Eight-bit field in the header of an ATM cell. The VPI, together with the VCI, is used to identify the next destination of a cell as it passes through a series of ATM switches on its way to its destination. ATM switches use the VPI/VCI fields to identify the next VCL that a cell needs to transit on its way to its final destination. The function of the VPI is similar to that of the DLCI in Frame Relay.