Adding a Normal Service with the SRC CLI
Use the following configuration statements to add normal services to the global service scope:
services global servicename
{descriptiondescription
; type (normal); categorycategory
; urlurl
; policy-grouppolicy-group
; authentication-required; authorization-plug-in [authorization-plug-in...
]; tracking-plug-in [tracking-plug-in...
]; session-timeoutsession-timeout
; idle-timeoutidle-timeout
; accounting-interim-intervalaccounting-interim-interval
; radius-classradius-class
; status (inactive | active); activate-only; permanent; available; secret; shared-service-nameshared-service-name
;}Use the following configuration statements to add normal services to a service scope:
services scopename
servicename
{descriptiondescription
;type (normal | aggregate | script | infrastructure);categorycategory
;urlurl
;policy-grouppolicy-group
;authentication-required;authorization-plug-in [authorization-plug-in...
];tracking-plug-in [tracking-plug-in...
];session-timeoutsession-timeout
;idle-timeoutidle-timeout
;accounting-interim-intervalaccounting-interim-interval
;radius-classradius-class
;status (inactive | active);activate-only;permanent;available;secret;shared-service-nameshared-service-name
;}
- 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
- (Optional) Enter a description for the service.
[edit services global service Video-Gold]user@host#set description
description
- Configure the type of service.
[edit services global service Video-Gold]user@host#set type normal
- (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
- (Optional) Configure the link used in SRC applications, such as portals.
[edit services global service Video-Gold]user@host#set url
url
- (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
- (Optional) Enable authentication required for services activated by portals.
[edit services global service Video-Gold]user@host#set authentication-required
- (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...
];- (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...
]- (Optional) Configure the time after which the service session is deactivated.
[edit services global service Video-Gold]user@host#set session-timeout
session-timeout
- (Optional) Configure the idle time after which the SAE deactivates service.
[edit services global service Video-Gold]user@host#set idle-timeout
idle-timeout
- (Optional) Configure the time between interim accounting messages.
[edit services global service Video-Gold]user@host#set accounting-interim-interval
accounting-interim-interval
- (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
- (Optional) Configure the status of the service.
[edit services global service Video-Gold]user@host#set status
(inactive | active)- (Optional) Configure whether the SAE can deactivate this service
[edit services global service Video-Gold]user@host#set activate-only
- (Optional) Enable automatic activation when the service is subscribed.
[edit services global service Video-Gold]user@host#set permanent
- (Optional) Specify whether a subscriber can activate a service.
[edit services global service Video-Gold]user@host#set available
- (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
- (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;}