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

# Setting Parameter Values for Services (SRC CLI)

Using parameters, you can define general settings in one SRC object and provide specific values for that setting in another object. For example, you can define the general settings for a rate limiter in a policy, insert a parameter for a rate in the policy, and provide specific values for the rate in each service that uses this policy. For information about the concept of parameters, see Parameters and Substitutions .

Use the following configuration statements to configure parameters for services in the global service scope:

`

services global service name parameter {
  gateway-ip-address gateway-ip-address ;
  service-ip-address service-ip-address ;
  service-ip-mask service-ip-mask ;
  service-port service-port ;
  substitution [ substitution... ];
  session-volume-quota session-volume-quota ;
}

`

Use the following configuration statements to configure parameters for services in a service scope:

`

services scope name service name parameter {
  gateway-ip-address gateway-ip-address ;
  service-ip-address service-ip-address ;
  service-ip-mask service-ip-mask ;
  service-port service-port ;
  substitution [ substitution... ];
  session-volume-quota session-volume-quota ;
}

`

To configure parameters for services:

1. From configuration mode, enter the service parameter configuration. In this sample procedure, the service called Video-Gold is configured in the global service scope.
   `
   user@host# edit services global service Video-Gold parameter
   `
2. (Optional) Configure the actual IP address of the gateway router. This value is substituted for the policy global parameter called gateway_ipAddress.
   `
   [edit services global service Video-Gold parameter]
   user@host# set gateway-ip-address gateway-ip-address
   `
3. (Optional) Configure the actual IP address of the host(s) that provides the service. This value is substituted for the policy global parameter called service_ipAddress.
   `
   [edit services global service Video-Gold parameter]
   user@host# set service-ip-address service-ip-address
   `
4. (Optional) Configure the actual IP mask for the service. This value is substituted for the policy global parameter called service_ipMask.
   `
   [edit services global service Video-Gold parameter]
   user@host# set service-ip-mask service-ip-mask
   `
5. (Optional) Configure the actual port for the service. This value is substituted for the policy global parameter called service_port.
   `
   [edit services global service Video-Gold parameter]
   user@host# set service-port service-port
   `
6. (Optional) Configure actual values for other parameters.
   `
   [edit services global service Video-Gold parameter]
   user@host# set substitution [ substitution... ]
   `
7. (Optional) Configure the quota for the volume of data for service sessions. The SRC software uses this value as the default for service sessions created for this service.
   `
   [edit services global service Video-Gold parameter]
   user@host# set session-volume-quota session-volume-quota
   `
8. (Optional) Verify your configuration.

       [edit services global service Video-Gold parameter]
       user@host# show
       service-ip-address 10.10.40.16;
       service-ip-mask 255.255.255.240;
       substitution "bw = 5000000";

#### Related Topics

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

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