Cisco Cisco IOS Software Release 12.2(11)T

Page de 66
      Network Access Server Package for Media Gateway Control Protocol
Configuration Tasks
7
Cisco IOS Release 12.2(2)XB and Release 12.2(11)T
Configuring the NAS for MGCP
In this task, MGCP is configured on the trunking gateway (NAS), and the NAS package is set as the 
default package. The steps that are listed are the minimum needed to configure MGCP on the NAS. For 
more commands and optional settings for MGCP, see the documents listed in the 
To configure the Network Access Server Package for Media Gateway Control Protocol feature, use the 
following commands in global configuration mode.
Command
Purpose
Step 1
Router(config)# mgcp [gw-port]
Allocates resources for MGCP and starts the 
MGCP daemon. The argument is as follows:
gw-port—(Optional) Specifies a User 
Datagram Protocol (UDP) port for the MGCP 
gateway. Valid values are from 1025 to 65535. 
If no port is specified, the command defaults 
to port 2427.
Step 2
Router(config)# mgcp call-agent {dns-name | 
ip-address} [ca-port] [service-type type] [version 
protocol-version]
Configures the gateway with the address and 
protocol of the call agent (media gateway 
controller). Make sure to specify a call agent that 
supports the NAS package. The keywords and 
arguments are as follows:
dns-name or ip-address—Fully qualified 
domain name (including the host portion) or 
IP address of the call agent.
ca-port—(Optional) UDP port number over 
which the gateway sends messages to the call 
agent. The range is from 1025 to 65535. The 
default for MGCP 1.0, NCS 1.0, and TGCP 
1.0 is 2727. The default for MGCP 0.1 and 
Simple Gateway Control Protocol (SGCP) is 
2427.
service-type type—(Optional) Protocol 
service type. Valid values are mgcpncs
sgcp, and tgcp. The default is mgcp.
version protocol-version—(Optional) Valid 
choices are the following:
For service-type mgcp: 0.1, 1.0 
For service-type ncs: 1.0 
For service-type sgcp: 1.1, 1.5 
For service-type tgcp: 1.0
The default is mgcp 0.1.