Forum Discussion
nitass
Nov 03, 2012Employee
this is just one of examples.
[root@ve10:Active] config b virtual bar list
virtual bar {
snat automap
destination 172.28.19.79:443
ip protocol 6
rules myrule
profiles {
clientssl {
clientside
}
http {}
tcp {}
}
}
[root@ve10:Active] config b pool cmf_ap list
pool cmf_ap {
members {
10.21.1.121:7777 {}
10.21.1.122:7777 {}
}
}
[root@ve10:Active] config b pool cmf_na list
pool cmf_na {
members {
10.21.1.121:7778 {}
10.21.1.122:7778 {}
}
}
[root@ve10:Active] config b pool usat list
pool usat {
members {
10.21.1.121:7777 {}
10.21.1.121:7778 {}
10.21.1.122:7777 {}
10.21.1.122:7778 {}
}
}
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"/cmf_ap*" { pool cmf_ap }
"/cmf_na*" { pool cmf_na }
"/usat*" { pool usat }
default {
do something
}
}
}
}