Cisco CSS - Deny traffic based on User-Agent header
Within this article we will show you how to deny traffic based on the HTTP User-Agent header.
This is achieved by configuring a header-field-group. Within this group we define a header string rule that matches any header that does not contain a defined string. This group is then associated to a content rule.
header-field ua1 user-agent not-contain "spider"
vip address 22.214.171.124
add service server1
add service server2