Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring TCP Conditions (SRC CLI)

 

Use the following configuration statements to add TCP conditions to a classify-traffic condition:

Because the protocol is already set to TCP, do not change the protocol or protocol-operation options.

To add TCP conditions to a classify-traffic condition:

  1. From configuration mode, enter the TCP configuration. For example:

  2. (Optional) Configure the value of the TCP flags field in the IP header.

  3. (Optional) Configure the mask associated with TCP flags.

  4. (Optional) Configure the value of the IP flags field in the IP header.

  5. (Optional) Configure the mask that is associated with the IP flag.

  6. (Optional) Configure the value of the fragment offset field.

  7. (Optional) For Junos OS filter policies, configure the packet length on which to match. The length refers only to the IP packet, including the packet header, and does not include any layer 2 encapsulation overhead.

  8. (Optional) Enter the destination port configuration for the TCP configuration.

  9. (Optional) Configure the policy to match packets with a port that is either equal or not equal to the specified port.

  10. (Optional) Configure the destination port.

  11. (Optional) Enter the source port configuration for the TCP configuration.

  12. (Optional) Configure the policy to match packets with a port that is either equal or not equal to the specified port.

  13. (Optional) Configure the source port.

  14. (Optional) Verify the TCP condition configuration.