Expressions for identifying the protocol in an incoming IP packet
| Expression | Description |
|---|---|
| CLIENT.IP.PROTOCOL | Identifies the protocol in IPv4 packets sent by clients. |
| CLIENT.IPV6.PROTOCOL | Identifies the protocol in IPv6 packets sent by clients. |
| SERVER.IP.PROTOCOL | Identifies the protocol in IPv4 packets sent by servers. |
| SERVER.IPV6.PROTOCOL | Identifies the protocol in IPv6 packets sent by servers. |
Arguments to the PROTOCOL function
| Protocol | Enumeration value |
|---|---|
| Transmission Control Protocol (TCP) | TCP |
| User Datagram Protocol (UDP) | UDP |
| Internet Control Message Protocol (ICMP) | ICMP |
| IP Authentication Header (AH), for providing authentication services in IPv4 and IPv6 | AH |
| Encapsulating Security Payload (ESP) protocol | ESP |
| General Routing Encapsulation (GRE) | GRE |
| IP-within-IP Encapsulation Protocol | IPIP |
| Internet Control Message Protocol for IPv6 (ICMPv6) | ICMPv6 |
| Fragment Header for IPv6 | FRAGMENT |
Use case scenarios
-
In Branch Repeater load balancing configurations, you can use the expressions in a listen policy for the wildcard virtual server. For example, you can configure the wildcard virtual server with the listen policy CLIENT.IP.PROTOCOL.EQ(TCP) so that the virtual server processes only TCP traffic and simply bridges all non-TCP traffic. Even though you can use an Access Control List instead of the listen policy, the listen policy provides better control over what traffic is processed.
-
For content switching virtual servers of type ANY, you can configure content switching policies that switch requests on the basis of the protocol in incoming packets. For example, you can configure content switching policies to direct all TCP traffic to one load balancing virtual server and all non-TCP traffic to another load balancing virtual server.
-
You can use the client-based expressions to configure persistence based on the protocol. For example, you can use CLIENT.IP.PROTOCOL to configure persistence on the basis of the protocols in incoming IPv4 packets.