Cisco Cisco IOS Software Release 12.2(2)XA

Pagina di 96
MGCP 1.0 Including NCS 1.0 and TGCP 1.0 Profiles
max2 retries
43
Cisco IOS Release 12.2(2)XA
max2 retries
To set the MGCP disconnect threshold value, use the max2 retries MGCP profile command. To disable 
lookup or return the number of retries to the default, use the no form of the command.
max2 retries number
no max2 retries
Syntax Description
Defaults
7
Command Modes
MGCP profile
Command History
Usage Guidelines
Call-agent redundancy can be provided when call agents are identified by DNS name rather than IP 
address in the call-agent command, because each DNS name can have more than one IP address 
associated with it.
When the active call agent does not respond to a message from the media gateway, the gateway becomes 
suspicious that the call agent is out of service. The gateway retransmits the message to the call agent 
for the number of times specified in the max1 retries command; this is known as the suspicion 
threshold
. If there is no response and the max1 lookup command is enabled, the gateway examines the 
DNS lookup table to find the IP address of another call agent. If a second call agent is listed, the gateway 
retries the message to the second call agent until a response is received or the number of retries specified 
in the max1 retries command is reached. This process is repeated for each IP address in the DNS table 
until the final address is reached. For the final address, the number of retries is specified by the max2 
retries 
command; this is known as the disconnect threshold. If the number of retries specified in the 
max2 retries command is reached and there is still no response and the max2 lookup command is 
enabled, the gateway performs one final DNS lookup. If any new IP addresses have been added, the 
gateway starts the retransmission process again. Otherwise, the gateway places the endpoint in a 
disconnected state.
retries
Sets the disconnect threshold value (the number of attempts to retransmit 
messages to a call agent address before performing a new lookup for further 
retransmission).
number
The number of times to attempt to resend messages; ranges from 3 to 10.
Release
Modification
12.2(2)XA
This command was introduced. With the max1 retries command, it replaces 
the mgcp request retries command, which is no longer supported.