[Contents] [Prev] [Next] [Index] [Report an Error]

# Adding a Normal Service (SRC CLI)

Use the following configuration statements to add normal services to the global service scope:

`

services global service name {
  description description ;
  type (normal);
  category category ;
  url url ;
  policy-group policy-group ;
  authentication-required;
  authorization-plug-in [ authorization-plug-in... ];
  tracking-plug-in [ tracking-plug-in... ];
  session-timeout session-timeout ;
  idle-timeout idle-timeout ;
  accounting-interim-interval accounting-interim-interval ;
  radius-class radius-class ;
  status (inactive | active);
  activate-only;
  permanent;
  available;
  secret;
  shared-service-name shared-service-name ;
}

`

Use the following configuration statements to add normal services to a service scope:

`

services scope name service name {
  description description ;
  type (normal | aggregate | script | infrastructure);
  category category ;
  url url ;
  policy-group policy-group ;
  authentication-required;
  authorization-plug-in [ authorization-plug-in... ];
  tracking-plug-in [ tracking-plug-in... ];
  session-timeout session-timeout ;
  idle-timeout idle-timeout ;
  accounting-interim-interval accounting-interim-interval ;
  radius-class radius-class ;
  status (inactive | active);
  activate-only;
  permanent;
  available;
  secret;
  shared-service-name shared-service-name ;
}

`

To add a normal service:

1. From configuration mode, enter the service configuration. In this sample procedure, the service is configured in the global service scope, and Video-Gold is the name of the service.
   `
   user@host# edit services global service Video-Gold
   `
2. (Optional) Enter a description for the service.
   `
   [edit services global service Video-Gold]
   user@host# set description description
   `
3. Configure the type of service.
   `
   [edit services global service Video-Gold]
   user@host# set type normal
   `
4. (Optional) Configure the category of the service for other SRC applications, such as portals.
   `
   [edit services global service Video-Gold]
   user@host# set category category
   `
5. (Optional) Configure the link used in SRC applications, such as portals.
   `
   [edit services global service Video-Gold]
   user@host# set url url
   `
6. (Optional) Configure the policy group that is applied when the service is activated.
   `
   [edit services global service Video-Gold]
   user@host# set policy-group policy-group
   `
7. (Optional) Enable authentication required for services activated by portals.
   `
   [edit services global service Video-Gold]
   user@host# set authentication-required
   `
8. (Optional) Configure the plug-in(s) used to authorize the service.
   `
   [edit services global service Video-Gold]
   user@host# set authorization-plug-in [ authorization-plug-in... ];
   `
9. (Optional) Configure the plug-in(s) used to collect accounting data for the service.
   `
   [edit services global service Video-Gold]
   user@host# set tracking-plug-in [ tracking-plug-in... ]
   `
10. (Optional) Configure the time after which the service session is deactivated.
    `
    [edit services global service Video-Gold]
    user@host# set session-timeout session-timeout
    `
11. (Optional) Configure the idle time after which the SAE deactivates service.
    `
    [edit services global service Video-Gold]
    user@host# set idle-timeout idle-timeout
    `
12. (Optional) Configure the time between interim accounting messages.
    `
    [edit services global service Video-Gold]
    user@host# set accounting-interim-interval accounting-interim-interval
    `
13. (Optional) Configure the value of the RADIUS class attribute in accounting messages.
    `
    [edit services global service Video-Gold]
    user@host# set radius-class radius-class
    `
14. (Optional) Configure the status of the service.
    `
    [edit services global service Video-Gold]
    user@host# set status (inactive | active)
    `
15. (Optional) Configure whether the SAE can deactivate this service
    `
    [edit services global service Video-Gold]
    user@host# set activate-only
    `
16. (Optional) Enable automatic activation when the service is subscribed.
    `
    [edit services global service Video-Gold]
    user@host# set permanent
    `
17. (Optional) Specify whether a subscriber can activate a service.
    `
    [edit services global service Video-Gold]
    user@host# set available
    `
18. (Optional) Specify whether the service is visible only to administrators who have permission to see secret information.
    `
    [edit services global service Video-Gold]
    user@host# set secret
    `
19. (Optional) Verify your configuration.

        [edit services global service Video-Gold]
        user@host# show
        description "Example for content provider allowing high speed access";
        type normal;
        category Video;
        url http://video.server.com;
        policy-group /sample/common/content-provider-tiered;
        radius-class Video-Gold;
        status active;
        }

#### Related Topics

- Overview of Services for the SRC Software
- Adding a Normal Service (C-Web Interface)
- Adding an Infrastructure Service (SRC CLI)
- Setting Parameter Values for Services (SRC CLI)

[Contents] [Prev] [Next] [Index] [Report an Error]