ltm rule command DATAGRAM l2
iRule(1) BIG-IP TMSH Manual iRule(1)
DATAGRAM::l2
Returns Layer 2 destination address.
SYNOPSIS
DATAGRAM::l2 dest
DESCRIPTION
This iRules command returns the L2 destination of an ingress frame.
DATAGRAM::l2 dest
RETURN VALUE
Returns the L2 destination of an ingress frame.
VALID DURING
FLOW_INIT
EXAMPLES
when FLOW_INIT {
set l2_dest [ DATAGRAM::l2 dest ]
log local0. "L2 destination MAC $l2_dest"
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-13.0.0 --First introduced the command.
BIG-IP 2017-01-31 iRule(1)