Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

How to Configure Services Interfaces for Next Gen Services

To configure services interfaces:

  1. Configure the services interface name.

    Where the interface-name one of the following:

    • vms-slot-number/pic-number/port-number for an MX-SPC3 services card

    • si-slot-number/pic-number/0 for a line card PFE (inline services interface)

  2. Configure the unit and family for the interface.
    1. If you are using the services interface in an interface service set:
    2. If you are using the services interface in a next-hop service set, configure inside and outside interface units:

      For example:

  3. When neither NAT nor the max-sessions-per-subscriber statement at the [edit service-set service-set-name service-set-options] hierarchy level are configured, enable the creation of subscribers if you want to track subscribers.
  4. Configure CPU resource restrictions for the services interface.

    When the CPU usage exceeds the value (percentage of the total available CPU resources), the system reduces the rate of new sessions so that the existing sessions are not affected by low CPU availability. The CPU utilization is constantly monitored, and if the CPU usage remains above the configured cpu-load-threshold value for a continuous period of 5 seconds, Junos OS reduces the session rate value configured at edit interfaces interface-name services-options session-limit rate by 10%. This is repeated until the CPU utilization comes down to the configured limit.

  5. Configure the maximum number of sessions allowed simultaneously on a services card.

    If you specify the maximum number of sessions to be zero, it indicates that the configuration is not effective. You must specify a value higher than zero for the maximum number of sessions.

  6. Configure the maximum number of new sessions allowed per second on a services card.