faildetect acv-command Configuring Load Sharing Network Address Translation (LSNAT)
Enterasys Matrix DFE-Gold Series Configuration Guide 19-15
Matrix>Router(config-slb-real)#faildetect type app udp
Matrix>Router(config-slb-real)#inservice
ThisexamplesetstheACVprotocoltoTCPfortherealserveratIP10.1.2.5inthe“SF‐TCP”server
farm:
Matrix>Router(config)#ip slb serverfarm SF-TCP
Matrix>Router(config-slb-sfarm)#real 10.1.2.5 port 80
Matrix>Router(config-slb-real)#faildetect type acv
Matrix>Router(config-slb-real)#inservice
faildetect acv-command
Usethiscommandtosetthecommandstringtosendtotheserverapplicationport.
Syntax
faildetect acv-command “command-string”
Parameters
Defaults
None.
Mode
Routercommand,SLBRealServerConfigurationmode:Matrix>Router(config‐slb‐real)#
Usage
TheACVcommand‐stringisrequiredwhenthefaildetecttypeisACV.Thisisthecommandthatis
senttotheapplicationportoftheserverandforwhichitʹsreplywillbevalidatedagainsttheACV
reply‐stringspecifiedinthecommand“faildetectacv‐reply”onpage 19‐16.
ACarriageReturn/LineFeedcharacter“\\r\\n”shouldbeincludedinthecommand‐stringifitis
requiredbytheserver.CarriageReturns&LineFeedsarecontrolcharactersandrequireadouble
backslash“\\”tobetreatedascontrolcharacters.i.e.ʹ\\rʹisaCarriageReturnandʹ\\nʹ
isaLine
Feed.
Example
Thisexamplesendsthecommandstring“HEAD /HTTP/1.1\\r\\nHost:
www.enterasys.com\\r\\n\\r\\n”totheserverapplicationport7:
Matrix>Router(config)#ip slb serverfarm SF-UPD
Matrix>Router(config-slb-sfarm)#real 10.1.2.4 port 7
Matrix>Router(config-slb-real)#faildetect type app udp
Matrix>Router(config-slb-real)#faildetect acv-command “HEAD / HTTP/1.1\\r\\nHost:
www.enterasys.com\\r\\n\\r\\n”
Matrix>Router(config-slb-real)#inservice
command‐string Specifiesthecommandstringsenttotheapplicationportoftheserver.