[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
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 name {
- 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:
- From configuration mode, enter the FlowSpec action configuration.
For example in this procedure, fsa is the name of the FlowSpec action.
- user@host# edit policies group pcmm list TrafficProfileFlowSpec
rule pr flow-spec fsa
- (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 fsa]
- user@host# set service-type service-type
- (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 fsa]
- user@host# set token-bucket-rate token-bucket-rate
- (Optional TSpec parameter) Configure the maximum burst
size for the service flow.
- [edit policies group pcmm list TrafficProfileFlowSpec rule
pr flow-spec fsa]
- user@host# set token-bucket-size token-bucket-size
- (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 fsa]
- user@host# set peak-data-rate peak-data-rate
- (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 fsa]
- user@host# set minimum-policed-unit minimum-policed-unit
- (Optional TSpec parameter) Configure the maximum packet
size for the FlowSpec.
- [edit policies group pcmm list TrafficProfileFlowSpec rule
pr flow-spec fsa]
- user@host# set maximum-packet-size maximum-packet-size
- (Optional RSpec parameter) Configure the average rate.
- [edit policies group pcmm list TrafficProfileFlowSpec rule
pr flow-spec fsa]
- user@host# set rate rate
- (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 fsa]
- user@host# set slack-term slack-term
- (Optional) Configure a description for the FlowSpec action.
- [edit policies group pcmm list TrafficProfileFlowSpec rule
pr flow-spec fsa]
- user@host# set description description
- (Optional) Verify the FlowSpec action configuration.
[edit policies group pcmm list TrafficProfileFlowSpec rule pr flow-spec fsa]
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";
Related Topics
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]