Configuring Subscriptions to the DPI Script Service

You configure subscriptions to the DPI script service by adding subscribers. You can set up the subscription to activate immediately on login.

To add access subscribers:

  1. From configuration mode, enter the [edit subscribers retailer] hierarchy. In this sample procedure, the retailer called DPI is configured in the DPI service scope.
    user@host# edit subscribers retailer DPI
  2. Specify the domain name associated with the retailer.
    [edit subscribers retailer DPI]user@host# set domain-name [domain-name...]
  3. (Optional) Assign service scopes for the retailer.
    [edit subscribers retailer DPI]user@host# set scope [scope...]
  4. Add a subscriber folder for the retailer. In this sample procedure, local is the name of the subscriber folder.
    [edit subscribers retailer DPI]user@host# edit subscriber-folder local
  5. Add an enterprise subscriber. In this sample procedure, ENT is the name of the enterprise subscriber.
    [edit subscribers retailer DPI subscriber-folder local]user@host# edit enterprise ENT
  6. (Optional) Configure values for parameters.
    [edit subscribers retailer DPI subscriber-folder local enterprise ENT]user@host# set substitution [substitution...]

    For example, to specify the dpiRules or dpiAdminState parameter:

    user@host# set substitution ’dpiRules=[{app="rtsp", action="accept", fcl="expedited-forwarding"}, {app="bittorrent", action="discard"}]’user@host# set substitution dpiAdminState=\"enabled\"
  7. Configure accesses for the enterprise subscriber.
    [edit subscribers retailer DPI subscriber-folder local enterprise ENT]user@host# edit access name
  8. Specify the interface name associated with the access using the CLI syntax of the device.
    [edit subscribers retailer DPI subscriber-folder local enterprise ENT access name]user@host# set interface-name interface-name
  9. (Optional) Configure actual values for parameters.
    [edit subscribers retailer DPI subscriber-folder local enterprise ENT access name]user@host# set substitution [substitution...]

    For example, to specify the interface class:

    user@host# set substitution ’dpiInterfaceClasses=["MXEnterprise"]’
  10. From configuration mode, enter the subscription configuration. In this sample procedure, the service called DPI is configured for the enterprise.
    user@host# edit subscribers retailer DPI subscriber-folder local enterprise ENT subscription DPI
  11. Specify that the service is activated on login.
    [edit subscribers retailer DPI subscriber-folder local enterprise ENT subscription DPI]user@host# set activation automatically-on-login

Related Documentation