Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Configuring Protocol Conditions with Parameters for PTSP Classify-Traffic Conditions (SRC CLI)

 

Use the following configuration statements to configure classify-traffic conditions that contain a parameter value for the protocol:

To configure a protocol condition that contains a parameter value for the protocol:

  1. From configuration mode, enter the parameter protocol condition configuration. For example:

  2. Assign a parameter as the protocol matched by this classify-traffic condition.

    Before you assign a parameter, you must create a parameter of type protocol and commit the parameter configuration.

  3. (Optional) Enter the protocol attribute configuration.

  4. (Optional) Enter the destination port configuration.

  5. (Optional) Configure the TCP or UDP destination port.

    Where from-port is one of the following values:

    • service_port—A predefined global parameter that is the port of the service as specified by the service object.

    • Integer in the range 0–65535.

    • Expression—A range of port numbers; for example, 10..20.

    • Parameter of type port.

    Use a range of ports to specify port numbers that are greater than or less than a specified port number. For example:

    • To set a range of ports that is greater than 10, use 11..65535.

    • To set a range of ports that is less than 200, use 0..199.

  6. (Optional) Enter the source port configuration.

  7. (Optional) Configure the TCP or UDP source port.

    Where from-port is one of the following values:

    • service_port—A predefined global parameter that is the port of the service as specified by the service object.

    • Integer in the range 0–65535.

    • Expression—A range of port numbers; for example, 10..20.

    • Parameter of type port.

    Use a range of ports to specify port numbers that are greater than or less than a specified port number. For example:

    • To set a range of ports that is greater than 10, use 11..65535.

    • To set a range of ports that is less than 200, use 0..199.

  8. (Optional) Verify the parameter protocol configuration.