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

# Configuring GateSpec Actions (SRC CLI)

You can configure GateSpec actions for PCMM policy rules. See Policy Information Modelfor more information.

The type of action that you can create depends on the type of policy rule. See Policy Information Model.

Use the following configuration statements to configure GateSpec actions:

`

policies group name list name rule name gate-spec name {
  session-class-id-priority session-class-id-priority ;
  session-class-id-preemption session-class-id-preemption ;
  session-class-id-configurable session-class-id-configurable ;
  description description ;
}

`

To configure a GateSpec action:

1. From configuration mode, enter the GateSpec action configuration. For example, in this procedure, gsa is the name of the GateSpec action.
   `
   user@host# edit policies group pcmm list GateSpec rule pr gate-spec gsa
   `
2. (Optional) Configure the priority bits in the session class ID. The priority describes the relative importance of the session as compared with other sessions generated by the same policy decision point.
   `
   [edit policies group pcmm list GateSpec rule pr gate-spec gsa]
   user@host# set session-class-id-priority session-class-id-priority
   `
3. (Optional) Configure the preemption bit in the session class ID. Use the preemption bit to allocate bandwidth to lower-priority sessions.
   `
   [edit policies group pcmm list GateSpec rule pr gate-spec gsa]
   user@host# set session-class-id-preemption session-class-id-preemption
   `
4. (Optional) Configure the configurable bit in the session class ID.
   `
   [edit policies group pcmm list GateSpec rule pr gate-spec gsa]
   user@host# set session-class-id-configurable session-class-id-configurable
   `
5. (Optional) Enter a description for the GateSpec action.
   `
   [edit policies group pcmm list GateSpec rule pr gate-spec gsa]
   user@host# set description description
   `
6. (Optional) Verify the GateSpec action configuration.

       [edit policies group pcmm list GateSpec rule pr gate-spec gsa]
       user@host# show
       session-class-id-priority 5;
       session-class-id-preemption 0;
       session-class-id-configurable 5

#### Related Topics

- Before You Configure SRC Policies
- Parameter Types

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