Configuring Load Sharing Network Address Translation (LSNAT) sticky
19-10 LSNAT Configuration
Example
ThisexampleshowshowtospecifyLeastConnectionsastheserverselectionalgorithmforthe
“httpserver”serverfarm:
Matrix>Router(config)#ip slb serverfarm httpserver
Matrix>Router(config-slb-sfarm)#predictor leastconns
sticky
Usethiscommandtoconfigurestickysessionpersistenceforthisserverfarm.
Syntax
sticky
no sticky
Parameters
None.
Defaults
None.
Mode
Routercommand,SLBServerFarmConfigurat ionmode:Matrix>Router(config‐slb‐sfarm)#
Usage
See“StickyPersistenceConfigurationConsiderations”onpage 19‐2formoreinformation.
Thiscommandisusedinconjunctionwiththepersistencelevelstickycommanddescribedin
“persistencelevel”onpage 19‐25.
The“no”formofthiscommandremovesthisserverfarmusingpersistencesticky.
Example
Thisexampleshowshowtosetstickypersistenceforthe“lsnat”serverfarm:
Matrix>Router(config)#ip slb serverfarm lsnat
Matrix>Router(config-slb-sfarm)#sticky
show ip slb reals
Usethiscommandtodisplayinformationabouttherealservers.
Syntax
show ip slb reals [detail | serverfarm serverfarmname [detail]]