In this section:
The Path Check Profile specifies the conditions that constitute a connectivity failure, and in the event of such a failure, the conditions that constitute a connectivity recovery. This section describes the CLI syntax, parameter descriptions and command examples.
Refer to Path Check Support for additional feature details.
After updating a Path Check Profile, you must disable and re-enable the profile for the change to take effect.
From 6.2.0 release onward, the SBC determines the SRS reachability only through the SIP ARS status. The pathCheckProfile
must be configured to determine the reachability of the SRS peers and treat failure response such as 501 as OPTIONS failure.
Ribbon recommends to not configure Path Check Profile and SIP ARS Profile on the same peer to avoid unexpected results. As a general rule, the Path Check Profile is configured on the access leg where there is less traffic, and the ARS Profile is configured on the peer leg where there is continuous traffic.
% set profiles services pathCheckProfile <profile name> failureResponseCodes <400-699 | all |all4xx | all5xx | all6xx> protocol <icmp | sipOptions> recoveryCount <1-10> replyTimeoutCount <1-10> sendInterval <1-600> transportPreference <preference1 | preference2 | preference3 | preference4>
The Path Check Profile parameters are defined below:
This example creates a patch check profile named "PCP-1" with the default ping protocol type "sipOptions", a recovery count of "7" and a send interval of "120" seconds. The reply timeout count is left at the default of "6". Next, the PCP is assigned to "defaultSigZone" zone for default address context using IP address "10.20.120.21".
% set profiles services pathCheckProfile PCP-1 protocol sipOptions recoveryCount 7 sendInterval 120 % show profiles services pathCheckProfile PCP-1 protocol sipOptions; sendInterval 120; recoveryCount 7; % set addressContext default zone defaultSigZone ipPeer PEER-1 ipAddress 10.20.120.21 pathCheck profile PCP-1 state enabled % show addressContext default zone defaultSigZone ipPeer PEER-1 ipAddress 10.20.120.21; pathCheck { profile PCP-1; state enabled; }
To configure a single failureResponseCodes
value for a Path Check Profile:
% set profiles services pathCheckProfile PCP_1 failureResponseCodes 404
To set multiple failureResponseCodes
values:
% set profiles services pathCheckProfile PCP_1 failureResponseCodes [ 404 503 all6xx ]
To delete a single failureResponseCodes
value:
% delete profiles services pathCheckProfile PCP_1 failureResponseCodes all6xx
To delete all failureResponseCodes
values:
% delete profiles services pathCheckProfile <pathCheckProfile_name> failureResponseCodes []