On the SmartTrace help screen, Foreign Ports applies to both TCP and UDP, and not only to UDP, as follows:
Foreign Ports is the port name or number used by the remote endpoint in a TCP/UDP connection. The
following formats are supported:
- The explicit specification of a well-known port
name that is designated by the Internet Assigned
Numbers Authority (For example, Port 21 is FTP )
- A range of port number (0-65535)
- A comma-delimited list of either or both
There are 2 exceptions where Foreign Ports for TCP is recognized:
Foreign Ports for TCP is recognized if the "Create Multiple TCP Connection Trace?" is set to YES.
"PT" traces initiated via the connection list panels (/CONN*) uses the Foreign Ports because connection lists are based on whatever values are found on the connection list entry.