14-16
Cisco ASA Series Firewall CLI Configuration Guide
Chapter 14 Inspection for Voice and Video Protocols
MGCP Inspection
hostname(config-class)# no inspect mgcp
hostname(config-class)# inspect mgcp mgcp-map
Note
If you are editing the default global policy (or any in-use policy) to use a different MGCP
inspection policy map, you must remove the MGCP inspection with the
no inspect mgcp
command, and then re-add it with the new MGCP inspection policy map name.
Step 5
If you are editing an existing service policy (such as the default global policy called global_policy), you
are done. Otherwise, activate the policy map on one or more interfaces.
service-policy
policymap_name
{
global
|
interface
interface_name
}
Example:
hostname(config)# service-policy global_policy global
The
global
keyword applies the policy map to all interfaces, and
interface
applies the policy to one
interface. Only one global policy is allowed. You can override the global policy on an interface by
applying a service policy to that interface. You can only apply one policy map to each interface.
Configuring MGCP Timeout Values
You can configure several MGCP global timeout values on the
Configuration > Firewall > Advanced
> Global Timeouts
page. You can set the interval for inactivity after which an MGCP media connection
is closed (default is 5 minutes). You can also set the timeout for PAT xlates (30 seconds).
The
timeout mgcp command
lets you set the interval for inactivity
after which an MGCP media
connection is closed. The default is 5 minutes.
The
timeout mgcp-pat
command lets you set the timeout for PAT xlates. Because MGCP does not have
a keepalive mechanism, if you use non-Cisco MGCP gateways (call agents), the PAT xlates are torn
down after the default timeout interval, which is 30 seconds.
Verifying and Monitoring MGCP Inspection
The
show mgcp commands
command lists the number of MGCP commands in the command queue. The
show mgcp sessions
command lists the number of existing MGCP sessions. The
detail
option includes
additional information about each command (or session) in the output. The following is sample output
from the
show mgcp
commands
command:
hostname#
show mgcp commands
1 in use, 1 most used, 200 maximum allowed
CRCX, gateway IP: host-pc-2, transaction ID: 2052, idle: 0:00:07
The following is sample output from the
show mgcp
detail
command.
hostname#
show mgcp commands detail
1 in use, 1 most used, 200 maximum allowed
CRCX, idle: 0:00:10
Gateway IP host-pc-2
Transaction ID 2052
Endpoint name aaln/1
Call ID 9876543210abcdef
Connection ID
Summary of Contents for ASA 5508-X
Page 11: ...P A R T 1 Access Control ...
Page 12: ......
Page 157: ...P A R T 2 Network Address Translation ...
Page 158: ......
Page 233: ...P A R T 3 Service Policies and Application Inspection ...
Page 234: ......
Page 379: ...P A R T 4 Connection Management and Threat Detection ...
Page 380: ......