ltm rule command UDP server port
iRule(1) BIG-IP TMSH Manual iRule(1)
UDP::server_port
Returns the UDP port/service number of a server system.
SYNOPSIS
UDP::server_port
DESCRIPTION
Returns the UDP port/service number of the server. This command is equivalent to the command serverside {
UDP::remote_port }.
Syntax
UDP::server_port
* Returns the UDP port/service number of the server.
RETURN VALUE
VALID DURING
CLIENT_ACCEPTED, CLIENT_CLOSED, CLIENT_DATA, SERVER_CLOSED, SERVER_CONNECTED, SERVER_DATA, SIP_REQUEST,
SIP_REQUEST_SEND, SIP_RESPONSE, STREAM_MATCHED, UDP_GTM
EXAMPLES
when SERVER_CONNECTED {
set client [IP::client_addr]:[UDP::client_port]
set node [IP::server_addr]:[UDP::server_port]
log local0. "client: $client, server: $server"
}
HINTS
SEE ALSO
CHANGE LOG
@BIGIP-9.0.0 --First introduced the command.
BIG-IP 2020-06-23 iRule(1)