Specifying Port Access for Traffic Classification (SRC CLI)

In the SRC software, the way that you specify a range of port numbers greater than or less than a specific value in a traffic classifier is different from the way you define a range in the configuration on routers running JunosE Software.

In the SRC CLI, you specify ranges by setting values in the port-operation options in command statements.

To specify a range of port numbers greater or less than a specified value, you can:

To configure port numbers greater than a defined value by specifying which values are allowed:

  1. For the port-operation option, enter eq.
  2. For the from-port option, enter the range of ports allowed.

    For example, to specify access to all port numbers greater than 10, specify 11..65535.

To configure port numbers greater than a defined value by specifying which values are not allowed:

  1. For the port-operation option, enter neq.
  2. For the from-port option, enter the range of ports not allowed.

    For example, to specify access to all port numbers greater than 10, specify 1..9.

To configure port numbers less than a defined value by specifying which values are allowed:

  1. For the port-operation option, enter eq.
  2. For the from-port option, enter the range of ports.

    For example, to specify access to all port numbers less than 10, specify 1..9.

To configure port numbers less than a defined value by specifying which values are not allowed:

  1. For the port-operation option, enter neq.
  2. For the from-port option, enter the range of ports.

    For example, to specify access to all port numbers less than 10, specify 11..65535.

Related Documentation