Configuring Load Sharing Network Address Translation (LSNAT) faildetect (real server)
19-14 LSNAT Configuration
Parameters
Defaults
Ifnotspecified,pingwillbechosenasthefaildetectiontype.UnlesstheUDPoptionisspecified,
appdefaultstoTCP.
Mode
Routercommand,SLBRealServerConfigurationmode:Matrix>Router(configslbreal)#
Usage
The“no”formofthiscommandresetsthefaildetectionconfigurationparameterstodefault
values.
Examples
Thisexampleshowshowtosetthepingintervalto10secondsandtheretrynumberto6forthe
realserveratIP10.1.2.3inthe“httpserverserverfarm:
Matrix>Router(config)#ip slb serverfarm httpserver
Matrix>Router(config-slb-sfarm)#real 10.1.2.3 port 80
Matrix>Router(config-slb-real)#faildetect ping-int 10 ping-retries 6
Matrix>Router(config-slb-real)#inservice
ThisexamplesetstheapptypetoUPDfortherealserveratIP10.1.2.4inthe“SFUDP”server
farm:
Matrix>Router(config)#ip slb serverfarm SF-UPD
Matrix>Router(config-slb-sfarm)#real 10.1.2.4 port 7
typeboth|ping|
app[upd]|acv[udp]
Specifiesthatthefailuredetectionmechanismwillbeping,TCPorUDP
application,ACV,orthatbothapplicationTCPandpingmethodswill
beusedasfollows:
acv‐Setorresetautocommandverificationasthefaildetect
mechanism
app‐Setorresetapplicationportmonitoringasthefaildetect
mechanism
both‐SetorresetpingandapplicationTCPasthefaildetect
mechanisms
ping‐Setorresetpingasthefaildetectmechanism
Thepingtypedetermineswhetherofnotarealserverinaserverfarm
willbepingedforconnectivitybeforebeingselectedasapotential
LSNATserver.ApplicationandACVdefaulttoTCP.Youcanoptionally
specifyUDPforeachtype.
pingintsecondsSpecifiesanICMPpingfailuredetectionintervalinseconds.Valid
valuesare1‐200.Defaultis5seconds.
pingretriesnumberSpecifiesthenumberoftimesanICMPpingfailurewillresultinaretry.
Validvaluesare1‐200.Defaultis4.
appintseconds Specifiesanapplicationfailuredetectionintervalinseconds.Defaultis
15seconds.
appretriesnumber SpecifiesthenumberoftimesaTCPapplicationfailurewillresultina
retrial.Defaultis3.