DIAMETER::dynamic_route_insertion

Description

This iRules command gets or sets whether dynamic route insertion is enabled. If status is set to “enabled”, a dynamic route will be created for this connection.

This value, once set, remains for the life of the connection. After the connection is closed, this route will be removed once “timeout” seconds have elapsed. The default timeout is set by the configuration option “dynamic-route-timeout”.

The zero-argument form of this command returns whether the setting is enabled on the current connection.

Syntax

DIAMETER::dynamic_route_insertion [enabled]

Examples

when CLIENT_ACCEPTED {
  if { ([IP::address] starts_with "192.168.") } {
     DIAMETER::dynamic_route_insertion disabled
  }
}