cisco ultra traffic optimization€¦ · cisco ultra traffic optimization •...

12
Cisco Ultra Traffic Optimization Feature Information, page 1 Overview, page 2 How CUTO Works, page 2 Configuring CUTO, page 5 Monitoring and Troubleshooting, page 10 Feature Information Summary Data New Feature Status 21.2 Introduced-In Release Not Applicable Modified-In Release(s) P-GW Applicable Product(s) ASR 5500 Applicable Platform(s) Disabled Default Setting CSCvc19391 Related CDETS ID(s) Not Applicable Related Changes in This Release P-GW Administration Guide Command Line Interface Reference Guide Related Documentation P-GW Administration Guide, StarOS Release 21.2 1

Upload: others

Post on 12-Oct-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cisco Ultra Traffic Optimization€¦ · Cisco Ultra Traffic Optimization • FeatureInformation,page1 • Overview,page2 • HowCUTOWorks,page2 • ConfiguringCUTO,page5 • MonitoringandTroubleshooting,page10

Cisco Ultra Traffic Optimization

• Feature Information, page 1

• Overview, page 2

• How CUTO Works, page 2

• Configuring CUTO, page 5

• Monitoring and Troubleshooting, page 10

Feature InformationSummary Data

New FeatureStatus

21.2Introduced-In Release

Not ApplicableModified-In Release(s)

P-GWApplicable Product(s)

ASR 5500Applicable Platform(s)

DisabledDefault Setting

CSCvc19391Related CDETS ID(s)

Not ApplicableRelated Changes in This Release

P-GW Administration Guide

Command Line Interface Reference Guide

Related Documentation

P-GW Administration Guide, StarOS Release 21.2 1

Page 2: Cisco Ultra Traffic Optimization€¦ · Cisco Ultra Traffic Optimization • FeatureInformation,page1 • Overview,page2 • HowCUTOWorks,page2 • ConfiguringCUTO,page5 • MonitoringandTroubleshooting,page10

Revision History

Revision history details are not provided for features introduced before release 21.2.Important

Release DateReleaseRevision Details

April 27, 201721.2New in this release.

OverviewIn a high-bandwidth bulk data flow scenario, user experience is impacted due to various wireless networkconditions and policies like shaping, throttling, and other bottlenecks that induce congestion, especially in theRAN. This results in TCP applying its saw-tooth algorithm for congestion control and impacts user experience,and overall system capacity is not fully utilized.

The Cisco Ultra Traffic Optimization (CUTO) solution provides clientless optimization of TCP and HTTPtraffic. The CUTO solution is integrated with Cisco P-GW and has the following benefits:

• Increases the capacity of existing cell sites and therefore, enables more traffic transmission.

• Improves Quality of Experience (QoE) of users by providing more bits per second.

• Provides instantaneous stabilizing andmaximizing per subscriber throughput, particularly during networkcongestion.

How CUTO WorksThe CUTO solution achieves its capabilities by:

• Stabilizing the TCP session at given or optimum target bandwidth.

• Monitoring the TCP session and minimizing bursts.

• Timing adjustment without discarding packets, and with limited buffering.

• Stabilizing and reducing TCP performance jitter.

• Increasing the number of simultaneous sessions served and reducing connection latency.

• Providing adequate logging information for debugging and operability.

ArchitectureStarOS has a highly optimized packet processing framework, the CUTO engine, where the user packets(downlink) are processed in the operating systems user space. The high-speed packet processing, includingthe various functions of the P-GW, is performed in the user space. The CUTO engine is integrated into thepacket processing path of Cisco’s P-GW with a well-defined Application Programming Interface (API) ofStarOS.

P-GW Administration Guide, StarOS Release 21.22

Cisco Ultra Traffic OptimizationOverview

Page 3: Cisco Ultra Traffic Optimization€¦ · Cisco Ultra Traffic Optimization • FeatureInformation,page1 • Overview,page2 • HowCUTOWorks,page2 • ConfiguringCUTO,page5 • MonitoringandTroubleshooting,page10

The following graphic shows a high-level overview of P-GW packet flow with Traffic Optimization.

Handling of Traffic Optimization Data RecordThe Traffic Optimization Data Record (TODR) is generated only on the expiry of idle-timeout of the CUTOengine. No statistics related to session or flow from P-GW is included in this TODR. The data records are aseparate file for the Traffic Optimization statistics and available to external analytics platform.

List of Attributes and File FormatAll TODR attributes of Traffic Optimization is enabled by a single CLI command. The output is alwayscomma separated, and in a rigid format.

Standard TODR

The following is the format of a Standard TODR:

instance_id,flow_type,srcIP,dstIP,policy_id,dscp,flow_first_pkt_rx_time_ms,flow_last_pkt_rx_time_ms,flow_cumulative_rx_bytes

P-GW Administration Guide, StarOS Release 21.2 3

Cisco Ultra Traffic OptimizationHandling of Traffic Optimization Data Record

Page 4: Cisco Ultra Traffic Optimization€¦ · Cisco Ultra Traffic Optimization • FeatureInformation,page1 • Overview,page2 • HowCUTOWorks,page2 • ConfiguringCUTO,page5 • MonitoringandTroubleshooting,page10

Example:

1,0,173.39.13.38,192.168.3.106,0,0,1489131332693,1489131335924,342292Where:

• instance_id: Instance ID.

• flow_type: Standard flow (0)

• srcIP: Indicates the source IP address.

• dstIP: Indicates the destination IP address.

• policy_id: Indicates the Traffic Optimization policy ID.

• dscp: Indicates the DSCP code for upstream packets.

• flow_first_pkt_rx_time_ms: Indicates the timestamp of when the first packet was detected during theTraffic Optimization.

• flow_last_pkt_rx_time_ms: Indicates the timestamp of when the last packet was detected during theTraffic Optimization.

• flow_cumulative_rx_bytes: Indicates the number of bytes transferred by this flow.

Large TODR

The following is a sample output of a Large TODR.

2,1,2606:ae00:c663:b66f:0000:0058:be03:ae01,0172:0020:0224:0059:2200:0000:0000:0033,0,0,1489572442058,1489572444759,5051223,1489572444755,3900,3900,0,0,0,11,0,0,11,1,1,1489572444755,1950,4,0,0,1,1489572446761,0,2010,0,0,1,1489572448771,0,2007,0,0,1,1489572450778,0,2008,0,0,1,1489572452786,0,2005,0,0,1,1489572454791,0,2003,0,0,1,1489572456794,0,2005,0,0,1,1489572458799,0,2003,0,0,1,1489572460802,0,1848,0,0,0,1489572462650,0,2002,0,0,1,1489572464652,0,107,0,0Where:

• instance_id: Instance ID.

• flow_type: Large flow (1)

• srcIP: Indicates the source IP address.

• dstIP: Indicates the destination IP address.

• policy_id: Indicates the Traffic Optimization policy ID.

• dscp: Indicates the DSCP code for upstream packets.

• flow_first_pkt_rx_time_ms: Indicates the timestamp of when the first packet was detected during theTraffic Optimization.

• flow_last_pkt_rx_time_ms: Indicates the timestamp of when the last packet was detected during theTraffic Optimization.

• flow_cumulative_rx_bytes: Indicates the number of bytes transferred by this flow.

• large_detection_time_ms: Indicates the timestamp of when the flow was detected as Large.

• avg_burst_rate_kbps: Indicates the average rate in Kbps of all the measured bursts.

• avg_eff_rate_kbps: Indicates the average effective rate in Kbps.

• final_link_peak_kbps: Indicates the highest detected link peak over the life of the Large flow.

P-GW Administration Guide, StarOS Release 21.24

Cisco Ultra Traffic OptimizationHandling of Traffic Optimization Data Record

Page 5: Cisco Ultra Traffic Optimization€¦ · Cisco Ultra Traffic Optimization • FeatureInformation,page1 • Overview,page2 • HowCUTOWorks,page2 • ConfiguringCUTO,page5 • MonitoringandTroubleshooting,page10

• recovered_capacity_bytes: Indicates the recovered capacity in Kbps for this Large flow.

• recovered_capacity_ms: Indicates the timestamp of recovered capacity for this Large flow.

• phase_count: Indicates the Large flow phase count.

• min_gbr_kbps: Indicates the Minimum Guaranteed Bit Rate (GBR) in Kbps.

• max_gbr_kbps: Indicates the Maximum Guaranteed Bit Rate (MBR) in Kbps.

• phase_count_record: Indicates the number of phases present in this record.

• end_of_phases: 0 (not end of phases) or 1 (end of phases).

• Large flow phase attributes:

◦phase_type: Indicates the type of the phase

◦phase_start_time_ms: Indicates the timestamp for the start time of the phase.

◦burst_bytes: Indicates the burst size in bytes.

◦burst_duration_ms: Indicates the burst duration in milliseconds.

◦link_peak_kbps: Indicates the peak rate for the flow during its life.

◦flow_control_rate_kbps: Indicates the rate at which flow control was attempted (or 0 if non-flowcontrol phase).

LicensingThe CUTO is a licensed Cisco solution. Contact your Cisco account representative for detailed informationon specific licensing requirements. For information on installing and verifying licenses, refer to theManagingLicense Keys section of the Software Management Operations chapter in the System Administration Guide.

Limitations and RestrictionsThe values which the P-GW chooses to send to the CUTO engine are the values associated from the bearerGBR and bearer MBR.

For this release, only downlink GBR and MBR are sent to the engine for Traffic Optimization.

Configuring CUTOThis section provides information on enabling support for the CUTO solution.

Loading Traffic OptimizationUse the following command under the Global Configuration Mode to load Traffic Optimization as a solution:

configurerequire active-charging traffic-optimizationexit

P-GW Administration Guide, StarOS Release 21.2 5

Cisco Ultra Traffic OptimizationLicensing

Page 6: Cisco Ultra Traffic Optimization€¦ · Cisco Ultra Traffic Optimization • FeatureInformation,page1 • Overview,page2 • HowCUTOWorks,page2 • ConfiguringCUTO,page5 • MonitoringandTroubleshooting,page10

Enabling or disabling the Traffic Optimization can be done through the Service-scheme framework.Important

Enabling CUTO Configuration ProfileUse the following command under ACS Configuration Mode to enable the Traffic Optimization profile:

configureactive-charging service service_name

traffic-optimization-profileend

Notes:

• The above CLI command enables config-traffic-optim, a new configuration mode.

Configuring the Operating ModeUse the following command to configure the operating mode under Traffic Optimization Profile Mode forthe CUTO Library:

configureactive-charging service service_name

traffic-optimization-profilemode [ active | passive ]end

Notes:

• mode: Sets the mode of operation for Traffic Optimization.

• active: Active mode where both Traffic Optimization and flow monitoring is done on the packet.

• passive: Passive mode where no flow-control is performed but monitoring is done on the packet.

Configuring Threshold ValueUse the following command to configure the threshold value for the TCP flow to be considered for the CUTO:

configureactive-charging service service_name

traffic-optimization-profileheavy-session detection-threshold bytesend

Notes:

• detection-threshold bytes: Specifies the Detection Threshold (in bytes), beyond which it is consideredas heavy session.

bytes must be an integer from 1 to 4294967295.

For optimum Traffic Optimization benefits, it is recommended to set the threshold above 3 MB.

P-GW Administration Guide, StarOS Release 21.26

Cisco Ultra Traffic OptimizationEnabling CUTO Configuration Profile

Page 7: Cisco Ultra Traffic Optimization€¦ · Cisco Ultra Traffic Optimization • FeatureInformation,page1 • Overview,page2 • HowCUTOWorks,page2 • ConfiguringCUTO,page5 • MonitoringandTroubleshooting,page10

Enabling CUTO Configuration Profile Using Service-scheme FrameworkThe service-scheme framework is used to enable TCP Optimization at APN, Rulebase, QCI and Rule level.There are two main constructs for the service-scheme framework:

• Subscriber-base – This helps in associating subscribers with service-scheme based on the subs-classconfiguration.

◦subs-class – The conditions defined under subs-class enables in classifying the subscribers basedon rule-base, APN, v-APN name. The conditions can also be defined in combination, and both ORas well as AND operators are supported while evaluating them.

• Service-scheme – This helps in associating actions based on trigger conditions which can be triggeredeither at call-setup time, Bearer-creation time, or flow-creation time.

◦trigger-condition – For any trigger, the trigger-action application is based on conditions definedunder the trigger-condition.

◦trigger-actions – Defines the actions to be taken on the classified flow. These actions can beTraffic Optimization, throttle-suppress, and so on.

Session Setup TriggerThe any-match = TRUE, a wildcard configuration, is the only supported condition for this trigger and sothis is applicable to all the flows of the subscriber.

Following is a sample configuration:

configactive-charging service service_name

trigger-action trigger_action_nametraffic-optimizationexit

trigger-condition trigger_condition_name1any-match = TRUEexit

service-scheme service_scheme_nametrigger sess-setup

priority priority_value trigger-condition trigger_condition_name1 trigger-actiontrigger_action_name

exitsubs-class sub_class_name

apn = apn_nameexit

subscriber-base subscriber_base_namepriority priority_value subs-class sub_class_name bind service-scheme service_scheme_name

end

P-GW Administration Guide, StarOS Release 21.2 7

Cisco Ultra Traffic OptimizationEnabling CUTO Configuration Profile Using Service-scheme Framework

Page 8: Cisco Ultra Traffic Optimization€¦ · Cisco Ultra Traffic Optimization • FeatureInformation,page1 • Overview,page2 • HowCUTOWorks,page2 • ConfiguringCUTO,page5 • MonitoringandTroubleshooting,page10

Bearer Creation TriggerThe trigger conditions related to QCI can be used for this trigger, and so this is applicable to all the flows ofspecific bearers.

The following is a sample configuration:

configureactive-charging service service_name

trigger-action trigger_action_nametraffic-optimizationexit

trigger-condition trigger_condition_name1any-match = TRUEexit

trigger-condition trigger_condition_name2qci = qci_valueexit

service-scheme service_scheme_nametrigger bearer-creation

priority priority_value trigger-condition trigger_condition_name2 trigger-actiontrigger_action_name

exitexit

subs-class sub_class_nameapn = apn_nameexit

subscriber-base subscriber_base_namepriority priority_value subs-class sub_class_name bind service-scheme service_scheme_name

end

Flow Creation TriggerThe trigger conditions related to rule-name and QCI can be used here, and so this is related to specific flow.

The following is a sample configuration:

configureactive-charging service service_name

trigger-action trigger_action_nametraffic-optimizationexit

trigger-condition trigger_condition_name1any-match = TRUEexit

trigger-condition trigger_condition_name2qci = qci_valueexit

trigger-condition trigger_condition_name3rule-name = rule_nameexit

service-scheme service_scheme_nametrigger bearer-creation

priority priority_value trigger-condition trigger_condition_name3 trigger-actiontrigger_action_name

P-GW Administration Guide, StarOS Release 21.28

Cisco Ultra Traffic OptimizationEnabling CUTO Configuration Profile Using Service-scheme Framework

Page 9: Cisco Ultra Traffic Optimization€¦ · Cisco Ultra Traffic Optimization • FeatureInformation,page1 • Overview,page2 • HowCUTOWorks,page2 • ConfiguringCUTO,page5 • MonitoringandTroubleshooting,page10

exitexit

subs-class sub_class_nameapn = apn_nameexit

subscriber-base subscriber_base_namepriority priority_value subs-class sub_class_name bind service-scheme service_scheme_name

endNotes:

• trigger_condition_name3 can have only rules, only QCI, both rule and QCI, or either of rule and QCI.

The following table illustrates the different levels of Traffic Optimization and their corresponding SubscriberClass configuration and Triggers.

Subscriber Class configuration and TriggersTraffic Optimization Levels

subs-class sc1any-match = TRUEexit

Sessetup trigger condition is any-match = TRUE

Applicable to all the calls or flows

subs-class sc1rulebase = prepaidexit

Sessetup trigger condition is any-match = TRUE

Applicable to all calls or flows of arulebase

subs-class sc1apn = cisco.comexit

Sessetup trigger condition is any-match = TRUE

Applicable to all calls or flows of anAPN

trigger-condition TC1qci = 1exit

Bearer creation trigger condition is TC1

Applicable to all flows of a Bearer

trigger-condition TC1qci = 1rule-name = tcpmulti-line-or all-linesexit

Flow creation trigger condition is TC1

Applicable to a particular flow

In case of LTE to eHRPD handover, since QCI is not valid for eHRPD, it is recommended to configurerule-name as the trigger-condition under service-scheme.

Important

P-GW Administration Guide, StarOS Release 21.2 9

Cisco Ultra Traffic OptimizationEnabling CUTO Configuration Profile Using Service-scheme Framework

Page 10: Cisco Ultra Traffic Optimization€¦ · Cisco Ultra Traffic Optimization • FeatureInformation,page1 • Overview,page2 • HowCUTOWorks,page2 • ConfiguringCUTO,page5 • MonitoringandTroubleshooting,page10

Generating TODRUse the following command under ACS Configuration Mode to enable the Traffic Optimization Data Record(TODR) generation:

configureactive-charging service service_name

traffic-optimization-profiledata-recordend

Notes:

• If previously configured, use the no data-record command to disable generating TODR.

Monitoring and TroubleshootingThis section provides information regarding commands available to monitor and troubleshoot the CUTO onthe P-GW.

CUTO Show Commands and/or OutputsThis section provides information regarding show commands and their outputs in support of CUTO solution.

show active-charging traffic-optimization countersThe show active-charging traffic-optimization counters sessmgr { all | instance number } is a newlyintroduced command where:

• counters – Displays aggregate flow counters/statistics from CUTO engine.

This CLI command is license dependent and visible only if the license is loaded.Important

The following is a sample output:

[local]asr5000# show active-charging traffic-optimization counters sessmgr allTraffic Optimization Flows:

Active Normal Flow Count : 0Active Large Flow Count : 0Active Managed Large Flow Count : 0Active Unmanaged Large Flow Count : 0Total Normal Flow Count : 0Total Large Flow Count : 0Total Managed Large Flow Count : 0Total Unmanaged Large Flow Count : 0Total IO Bytes : 0Total Large Flow Bytes : 0Total Recovered Capacity Bytes : 0Total Recovered Capacity ms : 0

P-GW Administration Guide, StarOS Release 21.210

Cisco Ultra Traffic OptimizationGenerating TODR

Page 11: Cisco Ultra Traffic Optimization€¦ · Cisco Ultra Traffic Optimization • FeatureInformation,page1 • Overview,page2 • HowCUTOWorks,page2 • ConfiguringCUTO,page5 • MonitoringandTroubleshooting,page10

show active-charging traffic-optimization infoThis is a newly introduced show command in Exec Mode where:

• traffic-optimization – Displays all Traffic Optimization options.

• info – Displays CUTO engine information.

The output of this CLI command displays the version, mode, and configuration values.

The following is a sample output:

[local]asr5000# show active-charging traffic-optimization infoVersion : 2.0.0Mode : ActiveConfiguration:

Threshold Bytes : 5000000Lower Bandwidth : 0Upper Bandwidth : 0Min Session Time : 0Min Session Size : 0

P-GW Administration Guide, StarOS Release 21.2 11

Cisco Ultra Traffic OptimizationCUTO Show Commands and/or Outputs

Page 12: Cisco Ultra Traffic Optimization€¦ · Cisco Ultra Traffic Optimization • FeatureInformation,page1 • Overview,page2 • HowCUTOWorks,page2 • ConfiguringCUTO,page5 • MonitoringandTroubleshooting,page10

P-GW Administration Guide, StarOS Release 21.212

Cisco Ultra Traffic OptimizationCUTO Show Commands and/or Outputs