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

# Configuring JSRC Policies (SRC CLI)

Tasks to configure JSRC policies are:

- Configuring JSRC Policy Lists
- Configuring JSRC Policy Rules
- Configuring Dynamic Profile Actions

## Configuring JSRC Policy Lists

To configure policy lists:

1. From configuration mode, create a policy list. For example, to create a policy list called l1 within a policy group called ise:
   `
   user@host# edit policies group ise list l1
   `
2. Specify the type of policy list.
   `
   [edit policies group ise list l1]
   user@host# set role intelligent-service-edge
   `
3. Specify where the policy is applied on the device.
   `
   [edit policies group ise list l1]
   user@host# set applicability both
   `

## Configuring JSRC Policy Rules

To configure policy rules:

1. From configuration mode, create a policy rule inside a policy list that has already been created and configured. For example, to create a policy rule called r1 within policy list l1:
   `
   user@host# edit policies group ise list l1 rule r1
   `
2. Specify the type of policy rule.
   `
   [edit policies group ise list l1 rule r1]
   user@host# set type intelligent-service-edge
   `

## Configuring Dynamic Profile Actions

Use this action to install existing dynamic profiles. You can configure dynamic profile actions for devices such as the MX Series routers.

The profile name must match a dynamic profile configured on the device and the variable name must match a variable configured for the dynamic profile.

Use the following configuration statements to configure a dynamic profile action:

`

policies group name list name rule name dynamic-profile name {
  profile-name profile-name;
  description description;
}

`
`

policies group name list name rule name dynamic-profile name variables name {
  value value;
  type type;
}

`

To configure a dynamic profile action:

1. From configuration mode, enter the dynamic profile action configuration. In this sample procedure, dp is the name of the dynamic profile action.
   `
   user@host# edit policies group ise list l1 rule r1 dynamic-profile dp
   `
2. Enter the profile name to activate.
   `
   [edit policies group ise list l1 rule r1 dynamic-profile dp]
   user@host# set profile-name profile-name
   `
3. (Optional) Enter a description for the dynamic profile action.
   `
   [edit policies group ise list l1 rule r1 dynamic-profile dp]
   user@host# set description description
   `
4. From configuration mode, enter the parameters used by the profile.
   `
   user@host# edit policies group ise list l1 rule r1 dynamic-profile dp variables name
   `

   For example:

   `
   user@host# edit policies group ise list l1 rule r1 dynamic-profile dp variables upstreamBandwidth
   `
5. (Optional) Configure the value for the variable.
   `
   [edit policies group ise list l1 rule r1 dynamic-profile dp variables name]
   user@host# set value value
   `

   For example:

   `
   [edit policies group ise list l1 rule r1 dynamic-profile dp variables upstreamBandwidth]
   user@host# set value rateParameter
   `
6. (Optional) Configure the variable type. Variable types are mapped to parameter types.
   `
   [edit policies group ise list l1 rule r1 dynamic-profile dp variables name]
   user@host# set type type
   `

   For example:

   `
   [edit policies group ise list l1 rule r1 dynamic-profile dp variables upstreamBandwidth]
   user@host# set type rate
   `

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