e.g.
config
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm virtual bar
ltm virtual bar {
destination 172.28.24.10:80
ip-protocol tcp
mask 255.255.255.255
pool foo
profiles {
http { }
tcp { }
}
rules {
qux
}
source 0.0.0.0/0
source-address-translation {
type automap
}
vs-index 9
}
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm pool foo
ltm pool foo {
members {
200.200.200.101:80 {
address 200.200.200.101
}
}
}
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm rule qux
ltm rule qux {
when HTTP_REQUEST {
if { [class match -- [IP::client_addr] eq testip_class] } {
HTTP::header replace "User-Agent" "whatever"
}
}
}
root@(ve11a)(cfg-sync In Sync)(Active)(/Common)(tmos) list ltm data-group internal testip_class
ltm data-group internal testip_class {
records {
192.168.206.0/24 { }
}
type ip
}
trace
[root@ve11a:Active:In Sync] config ssldump -Aed -nni 0.0 port 80
New TCP connection 1: 192.168.206.35(64425) <-> 172.28.24.10(80)
1398869916.2194 (0.0041) C>S
---------------------------------------------------------------
GET / HTTP/1.1
Host: 172.28.24.10
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
---------------------------------------------------------------
New TCP connection 2: 200.200.200.14(64425) <-> 200.200.200.101(80)
1398869916.3089 (0.0869) C>S
---------------------------------------------------------------
GET / HTTP/1.1
Host: 172.28.24.10
User-Agent: whatever
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Connection: keep-alive
---------------------------------------------------------------