ltm rule command ROUTE mtu
iRule(1) BIG-IP TMSH Manual iRule(1)
ROUTE::mtu
Returns the cached MTU entry.
SYNOPSIS
ROUTE::mtu DESTINATION_IP_ADDRESS (GATEWAY_IP_ADDRESS)?
DESCRIPTION
Returns the cached MTU entry for the provided destination and/or
gateway.
Unlike other ROUTE::commands, this value is valid across all TMMs.
RETURN VALUE
VALID DURING
EXAMPLES
when CLIENT_ACCEPTED {
set mtu [ROUTE::mtu [IP::remote_addr]]
if { $mtu > 0 && $mtu < 300 } {
#Ignore extremely small cached MTUs
ROUTE::clear [IP::remote_addr]
}
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-12.0.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)