[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:
- 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
- (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
- (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
- (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
- (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
- (Optional) Configure actual values for other parameters.
- [edit services global service Video-Gold parameter]
- user@host# set substitution [ substitution... ]
- (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
- (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";
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]