Manual Chapter :
Setting Timers with Service Policies
Applies To:
Show Versions
BIG-IP AFM
- 12.0.0
Setting Timers with Service Policies
Creating and Applying Service Policies
Introduction to service policies
A service policy collects flow timer and flow timeout features in a policy that can be applied to different contexts.
Service policies serve two purposes:
- To apply a custom FIN timeout that differs from the system FIN timeout to flows on a specific context and in a specific policy.
- To apply a custom idle timeout that differs from the system timeout on a specific context and in a specific policy.
A service policy can be applied on a route domain, self IP, or in a firewall rule.
Creating a timer policy
Create a timer policy to set custom timeouts for self IPs, route domains,
firewall rules, or firewall rule lists.
The timer policy is now configured to apply to traffic with this protocol type.
Select the timer policy in a service policy, and apply the service policy to a self IP, route domain, firewall rule, or firewall rule list.
Creating a service policy
Create a service policy to apply custom timer policies to self IPs, route domains,
firewall rules, or firewall rule lists.
The selected self IP now enforces or stages rules according to your selections.
Applying a service policy to a firewall rule
Apply a service policy to a firewall rule to apply custom timers to traffic matched by the firewall
rule.
- Click .
-
Select the service policy.
Option Description With the Inline Rules Editor If you are using the inline rules editor, click in a rule to edit it, and select a service policy in the Action column. With the standard rules editor If you are using the standard rule editor, click a rule name and select a service policy from the Service Policy list. - Update the rule, or commit your changes.
- Compile and deploy the changes, if you compile and deploy manually.
When the rule is compiled and deployed, the timeouts defined in the service policy are applied to the rule.
Applying a service policy to a virtual server
Apply a service policy to a virtual server to use a timer policy.
The service policy is now associated with the virtual server, and the timer policy is applied to sessions on the virtual server.
Applying a service policy to a route domain
Apply a service policy to a route domain to apply custom timers to traffic that
uses the route domain.
Traffic on the route domainthat matches the rules defined in the service policy now
uses the timeouts defined in the timer policy.
Applying a service policy to a self IP
Apply a service policy to a self IP to apply custom timers to traffic that uses the
self IP address.
Traffic on the self IP that matches the rules defined in the service policy now uses
the timeouts defined in the timer policy.