GENERICMESSAGE::route

Description

The GENERICMESSAGE::route commands allows you to add, delete, or lookup message routes.

Syntax

GENERICMESSAGE::route add [src <src_addr>] [dst <dst_addr>] peer <peer> [peer <peer>]*
GENERICMESSAGE::route delete [src <src_addr>] [dst <dst_addr>]
GENERICMESSAGE::route lookup [src <src_addr>] [dst <dst_addr>]

GENERICMESSAGE::route add [src <src_addr>] [dst <dst_addr>] peer <peer> [peer <peer>]*

  • Adds a route to the current instance that the iRule context is running in. (Note both ‘src’ and ‘source’ are acceptable. Likewise ‘dst’, ‘dest’ and ‘destination’ are acceptable).

GENERICMESSAGE::route delete [src <src_addr>] [dst <dst_addr>]

  • Deletes a route from the current instance that the iRule context is running in. (Note both ‘src’ and ‘source’ are acceptable. Likewise ‘dst’, ‘dest’ and ‘destination’ are acceptable).

GENERICMESSAGE::route lookup [src <src_addr>] [dst <dst_addr>]

  • Returns a route matching the specified source address and destination address in the instance that the iRule context is running in. (Note both ‘src’ and ‘source’ are acceptable. Likewise ‘dst’, ‘dest’ and ‘destination’ are acceptable).

Examples