Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Configuring FlowSpec Actions (SRC CLI)

    A FlowSpec is made up of two parts, a traffic specification (TSpec) and a service request specification (RSpec). The TSpec describes the traffic requirements for the flow, and the RSpec specifies resource requirements for the desired service. You can configure FlowSpec actions for PCMM policy rules.

    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 FlowSpec actions:

    policies group name list name rule name flow-spec {service-type service-type ; token-bucket-rate token-bucket-rate ; token-bucket-size token-bucket-size ; peak-data-rate peak-data-rate ; minimum-policed-unit minimum-policed-unit ; maximum-packet-size maximum-packet-size ; rate rate ;slack-term slack-term ; description description ; }

    To configure a FlowSpec action:

    1. From configuration mode, enter the FlowSpec action configuration.
      user@host# edit policies group pcmm list TrafficProfileFlowSpec rule pr flow-spec
    2. (Optional) Configure the type of FlowSpec service as either controlled_load_service or guaranteed_service. The FlowSpec options available for configuration change depending on the type of service that you select:
      • Controlled load services can contain only TSpec parameters.
      • Guaranteed services can contain both TSpec and RSpec parameters.
        [edit policies group pcmm list TrafficProfileFlowSpec rule pr flow-spec]user@host# set service-type service-type
    3. (Optional TSpec parameter) Configure the guaranteed minimum rate that is reserved for the service flow.
      [edit policies group pcmm list TrafficProfileFlowSpec rule pr flow-spec]user@host# set token-bucket-rate token-bucket-rate
    4. (Optional TSpec parameter) Configure the maximum burst size for the service flow.
      [edit policies group pcmm list TrafficProfileFlowSpec rule pr flow-spec]user@host# set token-bucket-size token-bucket-size
    5. (Optional TSpec parameter) Configure the amount of bandwidth over the committed rate that is allocated to accommodate excess traffic flow over the committed rate.
      [edit policies group pcmm list TrafficProfileFlowSpec rule pr flow-spec]user@host# set peak-data-rate peak-data-rate
    6. (Optional TSpec parameter) Configure the assumed minimum-reserved-rate packet size. If a packet is smaller than the minimum policed unit, the software treats the packet as if its size is equal to the value specified in this option.
      [edit policies group pcmm list TrafficProfileFlowSpec rule pr flow-spec]user@host# set minimum-policed-unit minimum-policed-unit
    7. (Optional TSpec parameter) Configure the maximum packet size for the FlowSpec.
      [edit policies group pcmm list TrafficProfileFlowSpec rule pr flow-spec]user@host# set maximum-packet-size maximum-packet-size
    8. (Optional RSpec parameter) Configure the average rate.
      [edit policies group pcmm list TrafficProfileFlowSpec rule pr flow-spec]user@host# set rate rate
    9. (Optional RSpec parameter) Configure the amount of slack in the bandwidth reservation that can be used without redefining the reservation.
      [edit policies group pcmm list TrafficProfileFlowSpec rule pr flow-spec]user@host# set slack-term slack-term
    10. (Optional) Configure a description for the FlowSpec action.
      [edit policies group pcmm list TrafficProfileFlowSpec rule pr flow-spec]user@host# set description description
    11. (Optional) Verify the FlowSpec action configuration.
      [edit policies group pcmm list TrafficProfileFlowSpec rule pr flow-spec]
      user@host# show 
      service-number guaranteed_service;
      token-bucket-rate bucketRate;
      token-bucket-size bucketDepth;
      peak-data-rate peakRate;
      minimum-policed-unit minPolicedUnit;
      rate reservedRate;
      slack-term slackTerm;
      description "FlowSpec guaranteed service";

    Modified: 2012-05-02