Configuring Source and Destination Ports
The TCP or UDP source and destination port provide additional specification, in conjunction with the network protocol, for packet matching in an application definition. To configure ports, include the
destination-portandsource-portstatements at the [edit applications applicationapplication-name] hierarchy level:destination-portvalue;source-portvalue;You must define one source or destination port. Normally, you specify this match in conjunction with the
protocolmatch statement to determine which protocol is being used on the port; for constraints, see Table 7.You can specify either a numeric value or one of the text synonyms listed in Table 10.
For more information about matching criteria, see the JUNOS Policy Framework Configuration Guide.