Wiki: iRules API




An iRule event triggered when an HTTP request is made to a virtual server with at least one HTTP class configured, and the request does not match the filters of any HTTP class.


   log local0. "Request didn't match class"
      pool http_pool

Related Information

Available Commands:
  • clone - Causes the system to clone traffic to the specified pool or pool member regardless of monitor status.
  • forward - Sets the connection to forward IP packets.
  • HTTP::class - Returns or sets the HTTP class selected by the HTTP selector.
  • HTTP::redirect - Redirects an HTTP request or response to the specified URL.
  • HTTP::uri - Returns or sets the URI part of the HTTP request.
  • imid - Returns an i-mode identifier string.
  • IP::idle_timeout - Returns or sets the idle timeout value.
  • ip_ttl - Returns the TTL of the latest IP packet received.
  • lasthop - Sets the lasthop of an IP connection.
  • listen - Sets up a related ephemeral listener to allow an incoming related connection to be established.
  • LSN::address - Set or override translation address.
  • LSN::disable - Disable LSN translation.
  • LSN::inbound - Disable inbound connections to translation address/port.
  • LSN::persistence - Set translation selection mode and persistence timeout.
  • LSN::persistence-entry - Create or lookup translation address.
  • LSN::pool - Specify LSN pool for current connection.
  • LSN::port - Set or override translation port.
  • nexthop - Sets the nexthop of an IP connection.
  • node - Sends the packet directly to the identified server node.
  • peer - Causes the specified iRule commands to be evaluated under the peer’s (opposite) context.
  • persist - Causes the system to use the named persistence type to persist the connection.
  • session - Utilizes the persistence table to store arbitrary information based on the same keys as persistence.
  • SSL::cert - Returns X509 SSL certificate data.

Sample Code:

  • Introduced: BIGIP-9.2.4