Configure 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, include the
destination-portandsource-portstatements at the [edit applications applicationapplication-name] hierarchy level:[edit applications application application-name]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 3.You can specify either a numeric value or one of the text synonyms listed in Table 6:
For more information on matching criteria, see the JUNOS Policy Framework Configuration Guide.