Cisco Cisco IOS Software Release 12.2(11)T
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
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
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.
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:
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.
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:
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.
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.
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 mgcp, ncs,
sgcp, and tgcp. The default is mgcp.
service type. Valid values are mgcp, ncs,
sgcp, and tgcp. The default is mgcp.
•
version protocol-version—(Optional) Valid
choices are the following:
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.