Table Of Contents
Prerequisites for the MGCP NAS Package LAPB-TA
Restrictions for the MGCP NAS Package LAPB-TA
Information About the MGCP NAS Package LAPB-TA
Example Topology for MGCP NAS Package LAPB-TA
Benefits of MGCP NAS Package LAPB-TA
How to Configure the MGCP NAS Package LAPB-TA
Configuring Virtual Terminals and Virtual Templates
Configuring the MGCP NAS Package and Guard Timer
Configuring the Virtual Template Interface
Configuring the Dialer Interface to Enable Autodetection
Configuring the Group Asynchronous Interface
Configuring Virtual Terminal Lines
Configuration Examples for the MGCP NAS Package LAPB-TA
Feature Information for MGCP NAS Package LAPB-TA
MGCP NAS Package LAPB-TA
First Published: April 11, 2005Last Updated: February 27, 2006The Media Gateway Control Protocol (MGCP) network access server (NAS) Package Link Access Procedure, Balanced (LAPB)-terminal adapter (TA) feature implements autodetection for the MGCP NAS package, as supported in Cisco IOS Release 12.3(9) under ISDN serial interfaces. This document tells you how to configure autodetection, which allows asynchronous traffic, such as PPP carried over an ISDN line with the LAPB protocol, to be terminated at a Cisco media gateway.
Finding Feature Information in This Module
Your Cisco IOS software release may not support all of the features documented in this module. To reach links to specific feature documentation in this module and to see a list of the releases in which each feature is supported, use the "Feature Information for MGCP NAS Package LAPB-TA" section.
Finding Support Information for Platforms and Cisco IOS Software Images
Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Contents
•
Prerequisites for the MGCP NAS Package LAPB-TA
•
Restrictions for the MGCP NAS Package LAPB-TA
•
Information About the MGCP NAS Package LAPB-TA
•
How to Configure the MGCP NAS Package LAPB-TA
•
Configuration Examples for the MGCP NAS Package LAPB-TA
•
Feature Information for MGCP NAS Package LAPB-TA
Prerequisites for the MGCP NAS Package LAPB-TA
•
You must configure the media gateway for MGCP.
•
You must enable the MGCP NAS package on the media gateway.
•
You must ensure interoperability with a call agent with Signaling System 7 (SS7) trunking support.
•
You must ensure SS7 trunking gateway support.
•
In order to accept synchronous PPP calls while autodetecting LAPB or V.120, you must configure PPP autodetection.
Restrictions for the MGCP NAS Package LAPB-TA
•
As of Cisco IOS Release 12.3(7) YB, LAPB-terminal adapter (TA) does not support the ability to set a maximum frame size per user.
•
Outbound LAPB-TA calls are not supported.
•
Autodetected PPP over LAPB-TA and V.120 connections impose a greater overhead on the router than synchronous PPP. The number of simultaneous sessions can be limited by dedicating a pool of virtual terminals to these protocols and limiting the number of virtual terminals in the pool.
•
Multilink PPP compression is not supported.
•
Autodetection is available only for MGCP NAS calls using the digital bearer type.
•
Use of the same T1 line for Integrated Signaling Link Terminator (ISLT) and the MGCP NAS package is not supported.
Information About the MGCP NAS Package LAPB-TA
To configure the MGCP NAS Package LAPB-TA feature, you must understand the following concepts:
•
Example Topology for MGCP NAS Package LAPB-TA
•
Benefits of MGCP NAS Package LAPB-TA
For more information on the MGCP NAS package, see Configuring NAS Package for MGCP. For more information on autodetection for ISDN serial interfaces, see Configuring Virtual Asynchronous Traffic over ISDN.
Example Topology for MGCP NAS Package LAPB-TA
Before you configure the autodetection feature, consider the example topology shown in Figure 1. The system consists of a call agent with an SS7 interface and an MGCP NAS gateway and terminal adapters using LAPB encapsulation.
The terminal adapter converts the user's asynchronous PPP traffic to synchronous traffic and encapsulates it with LAPB for point-to-point transmission across a single BRI bearer channel. The incoming call is signaled to the MGCP-based PSTN Gateway (PGW) call agent using SS7. PGW uses MGCP NAS conventions to set up a digital data call on the E1/T1 interface. If the interface bearing the call is configured with the MGCP NAS Package LAPB-TA feature, it will detect LAPB, PPP, and V.120 and start the applicable protocol or standard to terminate the connection.
Figure 1 MGCP NAS Package LAPB-TA Example Topology
Note that the Create Connection (CRCX) MGCP message sent by the call agent includes "nas/bt:digital," indicating a digital bearer type, which is required for the MGCP NAS Package LAPB-TA feature.
Benefits of MGCP NAS Package LAPB-TA
The MGCP NAS Package LAPB-TA feature enables interoperation with ISDN terminal adapters that use V.120 rate adaptation or LAPB encapsulation and do not signal call type in the SS7 ISDN User Part (ISUP) Initial Address Message (IAM). An MGCP NAS digital data call on an MGCP NAS Package LAPB-TA enabled interface will automatically change its encapsulation and answer such calls.
How to Configure the MGCP NAS Package LAPB-TA
This section contains the following procedures:
•
Configuring Virtual Terminals and Virtual Templates (required)
•
Configuring the MGCP NAS Package and Guard Timer (required)
•
Configuring the Virtual Template Interface (required)
•
Configuring the Dialer Interface to Enable Autodetection (required)
•
Configuring the Group Asynchronous Interface (required)
•
Configuring Virtual Terminal Lines (required)
Configuring Virtual Terminals and Virtual Templates
Perform this task to configure virtual terminals and virtual templates to support asynchronous protocol features.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
vty-async
4.
vty-async virtual-template number
5.
end
DETAILED STEPS
Configuring the MGCP NAS Package and Guard Timer
Perform this task to configure MGCP on the trunking gateway (NAS) and configure the guard timer. NAS calls are rejected when the guard timer expires.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
controller t1 slot/port
4.
extsig mgcp
5.
guard-timer milliseconds [on-expiry {accept | reject}]
6.
ds0-group ds0-group-number timeslots timeslot-list type none service mgcp
7.
end
DETAILED STEPS
Configuring the Virtual Template Interface
Perform this task to configure a virtual template interface to enable tunneling of PPP.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface virtual-template number
4.
ip unnumbered type number
5.
ppp authentication protocol1 [protocol2...]
6.
end
DETAILED STEPS
Configuring the Dialer Interface to Enable Autodetection
Perform this task to configure the dialer interface to enable autodetection.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface dialer dialer-rotary-group-number
4.
autodetect encapsulation {[lapb-ta] [ppp] [v120]}
5.
ip unnumbered type number
6.
encapsulation ppp
7.
dialer in-band
8.
dialer extsig
9.
dialer-group group-number
10.
ppp authentication protocol1 [protocol2...]
11.
end
DETAILED STEPS
Configuring the Group Asynchronous Interface
Perform this task to configure the group asynchronous interface so modem and V.110 calls can be received. This part of the NAS configuration is not related to autodetection, although if you use autodetection, you will probably want to be able to accept modem or V.110 calls. NAS configuration is a prerequisite for autodetection.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
interface group-async number
4.
encapsulation encapsulation-type
5.
dialer in-band
6.
dialer-group group-number
7.
ppp authentication protocol1 [protocol2...]
8.
group-range low-end-of-interfacerange high-end-of-interfacerange
9.
end
DETAILED STEPS
Configuring Virtual Terminal Lines
Perform this task to enable V.120 and LAPB protocols on virtual terminal lines.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
line vty line-number [ending-line-number]
4.
transport input {v120 | lapb-ta}
5.
end
DETAILED STEPS
Configuration Examples for the MGCP NAS Package LAPB-TA
The following example shows the MGCP NAS Package LAPB-TA feature configured on a Cisco media gateway. Significant lines are in bold.
Router# show running-configBuilding configuration...!version 12.3service timestamps debug datetime msecservice timestamps log datetime msecno service password-encryptionservice internal!hostname host1!boot-start-markerboot system flash:5350no boot startup-testboot-end-marker!logging queue-limit 100logging buffered 10000000 debuggingno logging consoleenable secret 5 secretpassenable password epass!username user1 password 0 password1!!resource-pool disablecalltracker enablecalltracker call-record tersespe default-firmware spe-firmware-1!!no aaa new-modelip subnet-zero!!no ip domain lookupip host fuzzy x.x.x.x!!ip cefvty-async! enables vty lines to accept async protocol featuresvty-async virtual-template 1! applies virtual template 1 to the vty linesisdn switch-type primary-ni!no voice call carrier capacity active!!controller t1 1/0framing sflinecode ami!controller t1 1/1framing sflinecode ami!controller t1 1/2framing sflinecode ami!controller t1 1/3framing sflinecode ami!controller t1 1/4framing sflinecode ami!controller t1 1/5framing sflinecode ami!controller t1 1/6framing sflinecode ami!controller t1 1/7framing esfextsig mgcp! configure MGCP NAS on T1 1/7guard-timer 10 on-expiry reject! reject NAS calls if the guard timer expireslinecode b8zsds0-group 0 timeslots 1-24 type none service mgcp! configure timeslots to use MGCP!!interface loopback 0ip address 10.1.1.19 255.255.255.0!interface loopback 1ip address 10.2.2.19 255.255.255.0!interface loopback 2ip address 10.3.3.19 255.255.255.0!interface fastethernet 0/0ip address x.x.x.x 255.255.255.0duplex halfspeed 10no keepaliveno cdp enable!interface fastethernet 0/1no ip addressshutdownduplex autospeed auto!interface serial 0/0no ip addressshutdownclock rate 2000000!interface serial 1/0no ip addressshutdown!interface serial 0/1no ip addressshutdownclock rate 2000000!interface virtual-template 1ip unnumbered loopback 0ppp authentication chap! use ppp chap for call authentication!interface dialer 1ip unnumbered loopback 1encapsulation pppdialer in-banddialer idle-timeout 240dialer extsig! enable MGCP NAS on dialer interfacedialer-group 1autodetect encapsulation ppp v120 lapb-ta! enable autodetectionppp authentication chap!interface group-async 0ip unnumbered loopback 0encapsulation pppdialer in-banddialer-group 1async mode interactivefair-queueppp authentication chapgroup-range 3/00 3/107!ip classlessno ip http server!!control-plane!!voice-port 1/7:0!mgcpmgcp call-agent x.x.x.x service-type mgcp version 1.0mgcp package-capability nas-package!mgcp profile default!dial-peer cor custom!!line con 0exec-timeout 0 0line aux 0line vty 0 4exec-timeout 0 0privilege level 15no logintransport input telnettransport output telnetline vty 5 10login localtransport input v120 lapb-ta! allow incoming V.120 and LAPB on these linesautoselect during-loginautoselect pppline 3/00 3/107no flush-at-activationmodem inouttransport input allautoselect ppp!!endAdditional References
The following sections provide references related to the MGCP NAS Package LAPB-TA feature.
Related Documents
Related Topic Document TitleCall Tracker
Call Tracker plus ISDN and AAA Enhancements for the Cisco AS5300 and Cisco AS5800
Feature OverviewISDN autodetection
MGCP NAS Package
MGCP VoIP
Virtual terminals
Configuring Protocol Translation and Virtual Asynchronous Devices
Standards
Standards TitleNo new or modified standards are supported by this feature, and support for existing standards has not been modified by this feature.
—
MIBs
MIBs MIBs Link•
CISCO-CALL-TRACKER-MIB
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
RFCs
RFCs TitleNo new or modified RFCs are supported by this feature, and support for existing RFCs has not been modified by this feature.
—
Technical Assistance
Command Reference
This section documents modified commands only.
Modified Commands
•
show call calltracker history
autodetect encapsulation
To enable automatic detection of the encapsulation types operating over a point-to-point link to a specified serial or ISDN interface or dialer interface under Media Gateway Control Protocol (MGCP) network access server (NAS) package, use the autodetect encapsulation command in interface configuration mode. To disable automatic dynamic detection of the encapsulation types on a link, use the no form of this command.
autodetect encapsulation {[lapb-ta] [ppp] [v120]}
no autodetect encapsulation {[lapb-ta] [ppp] [v120]}
Syntax Description
lapb-ta
Link Access Procedure, Balanced (LAPB) for an ISDN terminal adapter.
ppp
PPP encapsulation on the interface.
v120
V.120 encapsulation on B channels.
Defaults
No default behavior or values.
Command Modes
Interface configuration
Command History
Usage Guidelines
At least one encapsulation type is required in the command, but you can specify additional encapsulation types, in any order.
Use this command to enable the specified serial or ISDN interface or dialer interface under MGCP NAS package to accept calls and dynamically change the encapsulation in effect on the interface when the remote device does not signal the call type. For example, if an ISDN call does not identify the call type in the Lower Layer Compatibility fields and is using an encapsulation that is different from the one configured on the interface, the interface can change its encapsulation type dynamically.
This command enables interoperation with ISDN terminal adapters that use V.120 encapsulation but do not signal V.120 in the call setup message. An ISDN interface that by default answers a call as synchronous serial with PPP encapsulation can change its encapsulation and answer such calls.
Autodetection of LAPB traffic on an ISDN terminal adapter is possible through addition of the lapb-ta keyword to the command line. This allows recognition of incoming LAPB-terminal adapter (TA) calls.
Automatic detection is attempted for 10 seconds after the link is established or the first five packets exchanged over the link, whichever is first.
Examples
The following example configures BRI 0 to call and receive calls from two sites, use PPP encapsulation on outgoing calls, and use Challenge Handshake Authentication Protocol (CHAP) authentication on incoming calls. This example also enables BRI 0 to configure itself dynamically to answer calls that use V.120 but that do not signal V.120.
interface bri 0encapsulation pppautodetect encapsulation v120no keepalivedialer map ip 172.17.36.10 name EB1 234dialer map ip 172.17.36.9 name EB2 456dialer-group 1isdn spid1 0146334600isdn spid2 0146334610isdn T200 1000ppp authentication chapThe following example enables the LAPB-TA and V.120 protocols for autodetection on the serial interface after you have configured the virtual terminals to handle asynchronous traffic:
vty-asyncinterface serial0:23autodetect encapsulation lapb-ta v120The following example enables PPP encapsulation and LAPB-TA and V.120 protocols for autodetection on the dialer interface under MGCP NAS package:
interface Dialer1ip unnumbered Loopback1encapsulation pppdialer in-banddialer idle-timeout 240dialer extsigdialer-group 1autodetect encapsulation ppp v120 lapb-tappp authentication chap!Related Commands
show call calltracker active
To display all information stored within the Call Tracker active database for all active calls, use the show call calltracker active command in EXEC mode.
show call calltracker active [category call-type | service session-type] [reverse]
Syntax Description
Command Modes
EXEC
Command History
Usage Guidelines
This command allows you to display call activity for a single supported call category type, if desired, by using the category keyword with one of the optional keywords.
The Call Tracker feature is enabled by entering the calltracker enable command. If there is no call on the specified port, the information of the most recent call is displayed. The show call calltracker active command shows all calls, regardless of type, unless the category keyword and call-type argument are used to specify which types of calls are to be shown.
(For detailed information about the Call Tracker feature, refer to the Cisco IOS Call Tracker feature document.)
Examples
The following example shows all Call Tracker activity in reverse order, from most recent to least recent. The entries are sorted by call handle, from highest to lowest. The example is for an autodetected LAPB call.
Router# show call calltracker active reverse-------------------------- call handle= 16 --------------------------status=Active, service=PPP, origin=Answer, category=lapb,DS0 slot/port/ds1/chan=1/0/0/22, called=5555, calling=(n/a)userid=Snare, ip=1.1.1.50, mask=0.0.0.0setup=11/12/2000 20:30:50, conn=0.02, phys=0.12, service=0.78, authen=0.75init rx/tx b-rate=64000/64000, rx/tx chars=2746/2719resource slot/port=(n/a)/(n/a), mp bundle=0, charged units=0, account id=37idb handle=0x656CA08C, tty handle=0x65AFD05C, tcb handle=0x00000000,signaling=Auto...Table 1 describes the significant fields shown in the display.
Related Commands
show call calltracker history
To display all information stored within the Call Tracker history database table for the most recent historical calls, use the show call calltracker history command in EXEC mode.
show call calltracker history [category call-type | service session-type | subsystem subsystem-type] [reverse]
Syntax Description
Defaults
Specific activity and configuration information is not displayed.
Command Modes
EXEC
Command History
Usage Guidelines
The show call calltracker history command allows you to display the call history for a single supported call category type or service type, if desired, by using the category or service keywords, respectively. Completed calls can be filtered based upon the disconnecting subsystem by using the subsystem keyword. For all tabular forms of the show call calltracker history command, the sorting order may be inverted by using the reverse keyword to give most-recent to least-recent collation.
Examples
The following example shows Call Tracker historical data for an incoming autodetected MGCP NAS V.120 call with a normal disconnect by the MGCP NAS subsystem:
-------------------------- call handle= 1 --------------------------status=History, service=PPP, origin=Answer, category=V120,DS0 slot/port/ds1/chan=1/7/7/23, called=5555, calling=1000userid=Mogadishu, ip=1.1.1.52, mask=0.0.0.0setup=11/18/2004 09:34:04, conn=0.11, phys=0.11, service=0.80, authen=0.76init rx/tx b-rate=56000/56000, rx/tx chars=36646/36533resource slot/port=(n/a)/(n/a), mp bundle=0, charged units=0, accountid=(n/a)duration(sec)=133.70, disc subsys=MGCP, disc code=0x66disc text=User request, sig type=Auto----------------------------------------------------------------------------Table 2 describes the significant fields shown in the display.
Related Commands
show mgcp nas
To display Media Gateway Control Protocol (MGCP) network access server (NAS) information for data ports, use the show mgcp nas command in privileged EXEC mode.
show mgcp nas {dump slot port channel | info}
Syntax Description
Command Modes
Privileged EXEC
Command History
Release Modification12.1(1)T
The show mgcp command was introduced on the Cisco AS5300.
12.1(3)T
The show mgcp command output was updated to display additional gateway and platform information.
12.1(5)XM
The show mgcp command output was updated to display additional gateway and platform information.
12.2(2)T
The show mgcp command was implemented on the Cisco 7200 series and this command was integrated into Cisco IOS Release 12.2(2)T.
12.2(2)XA
The profile keyword was added to the show mgcp command.
12.2(4)T
This command was integrated into Cisco IOS Release 12.2(4)T.
12.2(2)XB
The output for the show mgcp command was enhanced to display the status of MGCP System Resource Check (SRC) Call Admission Control (CAC) and Service Assurance Agent (SA Agent) CAC. (Refer to the Cisco IOS Release 12.2(2) XB online document MGCP VoIP Call Admission Control.)
In addition, the nas dump slot port channel and nas info keywords and arguments were added to the show mgcp command. Because the number of keywords increased, the command-reference page for the show mgcp command was separated into the following command-reference pages:
•
show mgcp
•
show mgcp connection
•
show mgcp endpoint
•
show mgcp nas
•
show mgcp profile
•
show mgcp statistics
12.2(8)T
This command was integrated into Cisco IOS Release 12.2(8)T. Support for the Cisco AS5300, Cisco AS5350, Cisco AS5400, and Cisco AS5850 is not included in this release.
12.2(11)T
This command is supported on the Cisco AS5300, Cisco AS5350, Cisco AS5400, Cisco AS5800, and Cisco AS5850 in this release.
12.3(7)YB
The valid values for the bearer cap field of the show mgcp nas dump command output were changed to include LAPB, V.120, and sync data. The Signaling field was added to the show mgcp nas dump command output. See Table 3.
12.4(6)T
This command was integrated into Cisco IOS Release 12.4(6)T
Examples
The following is sample output from this command for an autodetected V.120 call:
Router# show mgcp nas dump 1 7 24Slot 1 state=UpPort 7 state=UpState In Use PortCb=0x6577949C ss_id=0x0 handle=0x65C88228Bearer Cap=V.120 call_id=1 conn_id=6577B8ECSig Type=AutodetectEvents req- nas/crq- req id=7 :nas/of- req id=7 :Endpt name=S1/DS1-7/24call_id = 1, conn_id=0x6577B8EC cgn=1000 cdn=5555Rx packets=610 Rx bytes=73242 Tx packets 716 Tx bytes 72987Table 3 describes the significant fields shown in the display.
The following sample output from this command shows the state, either Idle or In Use, for each channel:
Router# show mgcp nas infoNumber of ports configured=1Slot 1 configured slot state=Up Port 7 state=Up=====Port 7 Channel States=====0 Idle1 Idle2 Idle3 Idle4 Idle5 Idle6 Idle7 Idle8 Idle9 Idle10 Idle11 Idle12 Idle13 Idle14 Idle15 Idle16 Idle17 Idle18 Idle19 Idle20 Idle21 Idle22 Idle23 In Use=======================================Related Commands
Feature Information for MGCP NAS Package LAPB-TA
Table 4 lists the release history for this feature.
Not all commands may be available in your Cisco IOS software release. For release information about a specific command, see the command reference documentation.
Cisco IOS software images are specific to a Cisco IOS software release, a feature set, and a platform. Use Cisco Feature Navigator to find information about platform support and Cisco IOS software image support. Access Cisco Feature Navigator at http://www.cisco.com/go/fn. You must have an account on Cisco.com. If you do not have an account or have forgotten your username or password, click Cancel at the login dialog box and follow the instructions that appear.
Note
Table 4 lists only the Cisco IOS software release that introduced support for a given feature in a given Cisco IOS software release train. Unless noted otherwise, subsequent releases of that Cisco IOS software release train also support that feature.
Glossary
ISUP—ISDN User Part. SS7 protocol layer that defines the protocol used to prepare, manage, and release trunks that carry voice and data between calling and called parties.
LAPB—Link Access Procedure, Balanced. Data link layer protocol in the X.25 protocol stack. LAPB is a bit-oriented protocol derived from HDLC.
MGCP—Media Gateway Control Protocol. A merging of the IPDC and SGCP protocols.
Note
See Internetworking Terms and Acronyms for terms not included in this glossary.
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2005-2006 Cisco Systems, Inc. All rights reserved.



