Download Print this page

Advertisement

Cisco ASR 5x00 Enhanced Charging Services
Administration Guide
Version 15.0
Last Updated October 31, 2014
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883

Advertisement

   Summary of Contents for Cisco ASR 5000 Series

  • Page 1

    Cisco ASR 5x00 Enhanced Charging Services Administration Guide Version 15.0 Last Updated October 31, 2014 Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 527-0883...

  • Page 2

    ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks.

  • Page 3: Table Of Contents

    Loading and Upgrading Tethering Detection Databases ............... 47 Session Recovery Support ......................47 Time-of-Day Activation/Deactivation of Rules ..................47 How the Time-of-Day Activation/Deactivation of Rules Feature Works ........48 Transactional Rule Matching ......................48 Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 4

    Enhanced Charging Service Configuration ........... 83 Initial Configuration ..........................84 Creating the ECS Administrative User Account ................. 84 Installing the ECS License ......................... 85 Enabling Enhanced Charging Service....................85 Configuring the Enhanced Charging Service ..................86 ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 5

    Configuring Transactional Rule Matching Feature ................115 Configuring Flow Aware Packet Acceleration Feature ..............116 Configuring Retransmissions Under Rulebase or Service Level CLI ..........116 Configuring Websockets ........................116 Configuring URL Filtering Feature ....................117 Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 6

    ▀ Contents Verifying your Configuration ......................118 Configuring URL-based Re-addressing ................... 118 Configuring X-Header Insertion and Encryption Feature ..............118 Configuring X-Header Insertion....................118 Configuring X-Header Encryption ....................120 ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 7: About This Guide

    About this Guide This document pertains to the features and functionality that run on and/or that are related to the Cisco® ASR 5000 and virtualized platforms. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 8: Conventions Used

    Text represented as menu or sub- This typeface represents menus and sub-menus that you access within a software menu names application, for example: Click the File menu, then click New ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide viii...

  • Page 9: Contacting Customer Support

    Use the information in this section to contact customer support. Refer to the support area of http://www.cisco.com for up-to-date product documentation or to submit a service request. A valid username and password are required to access this site. Please contact your Cisco sales or service representative for additional information.

  • Page 10: Additional Information

     Cisco ASR 5x00 Serving Gateway Administration Guide  Cisco ASR 5000 Session Control Manager Administration Guide  Cisco ASR 5000 Packet Data Gateway/Tunnel Termination Gateway Administration Guide  Release notes that accompany updates and upgrades to the StarOS for your service and platform...

  • Page 11: Enhanced Charging Service Overview

    This chapter provides an overview of the Enhanced Charging Service (ECS) in-line service, also known as Active Charging Service (ACS). This chapter covers the following topics:  Introduction  Basic Features and Functionality  ECS Deployment and Architecture  Enhanced Features and Functionality Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 12: Introduction

    System Administration Guide and/or contact your Cisco account representative. License Requirements The ECS in-line service is a licensed Cisco feature. Separate session and feature licenses may be required. Contact your Cisco account representative for detailed information on specific licensing requirements.

  • Page 13: Basic Features And Functionality

    HTTP header). It also performs stateful packet inspection for complex protocols like FTP, RTSP, and SIP that dynamically open ports for the data path and this way, user plane payload is differentiated into “categories”. Traffic Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 14: How Ecs Works

    Content Service Steering Content Service Steering (CSS) enables directing selective subscriber traffic into the ECS subsystem (in-line services internal to the system) based on the content of the data presented by mobile subscribers. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 15

    Protocol Analyzer Software Stack Every packet that enters the ECS subsystem must first go through the Protocol Analyzer software stack, which comprises of individual protocol analyzers for each of the supported protocols. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 16

    HTTP header fields. Rule Definitions Rule definitions (ruledefs) are user-defined expressions based on protocol fields and protocol states, which define what actions to take on packets when specified field values match. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 17

    The following is an example of a ruledef to match packets: http url contains cnn.com –or– http any-match = TRUE In the following example the ruledef named “rule-for-http” routes packets to the HTTP analyzer: route priority 50 ruledef rule-for-http analyzer http Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 18

    [ ... ] exit rulebase standard [ ... ] route priority 1 ruledef port-80 analyzer http action priority 101 ruledef bbc-news charging-action free-site action priority 1000 ruledef catch-all charging-action charge-by- duration ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 19

    Then output from this inspection is passed to the charging engine, where charging ruledefs apply to perform actions on the output. Routing Ruledefs and Packet Inspection The following figure and the steps describe the details of routing ruledef application during packet inspection. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 20

    7 or 7+ analyzer for deep-packet inspection. Step 5 After the packet has been inspected and analyzed by the Protocol Analyzer Stack: Step a The packet resumes normal flow and through the rest of the ECS subsystem. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 21

    In the Classification Engine, the output from the deep-packet inspection is compared to the charging ruledefs. The priority configured in each charging ruledef specifies the order in which the ruledefs are compared against the packet inspection output. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 22

    Match the plus character Match the asterisk character Match the alert (ASCII 7) character Match the backspace (ASCII 8) character Match the form-feed (ASCII 12) character Match the new line (ASCII 10) character ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 23

     The following command specifies a regex rule expression using the regex character \ (escaped backslash character) to match the following value in the HTTP Host request-header field: host*01. http host regex “host\\*01” The first \ is used as an escape sequence for the second \. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 24

    "(http://|http://www).server[0-2][0-9].com/search?form=(pdf|zip)" How it Works This section describes how regex rule matching works. The following steps describe how regex rule matching works: 1. Regex ruledefs/group-of-ruledefs are configured in the CLI. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 25

    CLI command in the ACS Rulebase Configuration action priority <action_priority> Mode. Doing so has no impact on regex building, although it uses additional memory there is no impact on traffic processing. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 26

    A rulebase list enables a list of rulebases to be sent to the OCS over the Gy interface using a buffer. The OCS can then select a specific rulebase from the rulebase list, and apply the ruledefs and billing policies associated with that rulebase to subscribers. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 27

    When a subscriber call is connected, the Session Manager provides the list of rulebase names to the OCS, which chooses the rulebase to be used for the subscriber session from the list. In case the OCS is not reachable, the rulebase configured as the default will be used. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 28: Ecs Deployment And Architecture

    The following figure shows a typical example of ECS deployment in a mobile data environment. Figure 5. Deployment of ECS in a Mobile Data Network The following figure depicts the ECS architecture managed by the Session Controller (SessCtrl) and Session Manager (SessMgr) subsystems. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 29

    Enhanced Charging Service Overview ECS Deployment and Architecture ▀ Figure 6. ECS Architecture Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 30: Enhanced Features And Functionality

    Management Operations chapter in the System Administration Guide. Session Control in ECS In conjunction with the Cisco ASR 5x00 chassis, the ECS provides a high-level network flow and bandwidth control mechanism in conjunction with the Session Control subsystem. ECS Session Control feature uses the interaction between SessMgr subsystem and Static Traffic Policy Infrastructure support of the chassis to provide an effective method to maximize network resource usage and enhancement of overall user experience.

  • Page 31

    PCRF explicitly enables threshold-breach notification trigger in a CCA-U message.  Report volume usage to PCRF in a CCR-U message when the service-group removed is the last using the shared volume-quota. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 32: Configuration Overview

    AVPs.  The following attributes of charging-action can be set and changed by PCRF over Gx.  Flow-Status: Can be set to Forward, Block, or Redirect. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 33: Support For Service-based Qos

    Gx. A single monitoring-key can be specified for multiple ruledefs. This allows sharing of assigned volume quota across all the ruledefs with the same Monitoring-Key ID. To Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 34: Hierarchical Enforcement Of Qos Parameters

    Volume usage is tracked at the charging-action level and at QoS-group-of-ruledefs level. If a received packet causes volume threshold to exceed, then a trigger ECS sends a CCR-U message to PCRF with Service-Group-Event AVP ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 35: Reporting Statistics And Usage To Pcrf

    Function (TPF) to the charging capabilities that categorize the PDP context data volume for specific service data flows. Service data flows are defined by charging rules. The charging rules use protocol characteristics such as:  IP address Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 36: Content Filtering Support

    Impact on xDR File Naming section. Content Filtering Support ECS provides off-line content filtering support and in-line static and dynamic content filtering support to control static and dynamic data flow and content requests. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 37: Content Filtering Server Group Support

    This solution will have the exact IP entries as obtained live from snooping DNS responses. They will be geographically and TTL correct. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 38: License Requirements

    ▀ Enhanced Features and Functionality License Requirements DNS Snooping is a licensed Cisco feature. A separate feature license may be required. Contact your Cisco account representative for detailed information on specific licensing requirements. For information on installing and verifying licenses, refer to the Managing License Keys section of the Software Management Operations chapter in the System Administration Guide.

  • Page 39

    CLI command will be displaying only the patterns for which at least one IPv4/IPv6 address is learnt as all other information is available from the configuration. The following call flow illustration and descriptions explain how the DNS Snooping feature works. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 40

    The AAA server processes the AAA Access Request from the ECS to create the session, and the Policy Manager in AAA server uses subscriber identification parameters including NAI (username@domain), Calling Station ID (IMSI, MSID), and Framed IP Address (HoA) as the basis for subscriber lookup. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 41

    The response is sent to the UE. UE requests for session termination. System sends Accounting-Stop Request to AAA server. AAA server stops accounting for subscriber and sends Accounting-Stop-Response to the system. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 42: Limitations And Dependencies

    For one flow from an MS, if one packet is re-addressed, then all the packets in that flow will be re-addressed to the same server. Features like DPI and rule-matching remain unaffected. Each IP address + port combination will be defined as a ruledef. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 43: Url-based Re-addressing

    Original Server, all subsequent requests will be sent to it until the URL-based re-addressing rule matches. This behavior holds true even for multiple concatenated HTTP requests in one packet. The following call flow explains the URL HTTP Request Re-addressing feature. Figure 8. URL HTTP Request Re-addressing Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 44: Next-hop Address Configuration

    When the packet matches a rule and the appropriate charging action is applied, the next-hop address is picked from the charging action and is copied to the packet before sending the packet to Session Manager. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 45: Post Processing

    The following points should be considered while configuring post-processing rules for next-hop/readdressing.  The rules will be L3/L4 based.  They should be configured in post-processing rules' charging actions. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 46: Tethering Detection

    ICMP, then tethering detection is not possible for the same. License Requirements Tethering Detection is a licensed Cisco feature. A separate feature license may be required. Contact your Cisco account representative for detailed information on specific licensing requirements. For information on installing and verifying licenses, refer to the Managing License Keys section of the Software Management Operations chapter in the System Administration Guide.

  • Page 47: Tethering Detection Databases

    The Time-of-Day Activation/Deactivation of Rules feature uses time definitions (timedefs) to activate/deactivate static ruledefs/groups-of-ruledefs such that they are available for rule matching only when they are active. Important: The time considered for timedef matching is the system’s local time. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 48: How The Time-of-day Activation/deactivation Of Rules Feature Works

    The Fastpath feature can be used to reduce the overall system performance impact as a large amount of data packet is consumed through the ECS data path. The Fastpath feature introduces an alternate ECS data path (Fastpath) with limited ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 49

    DSCP / IP TOS — — ICSR — — Session Recovery — — Content Filtering(CF) Static — — CF Dynamic — — Socket Migration — — Blacklisting — — ICAP — — — — Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 50

    — — L4 checksum — — TCP link monitoring — — Header enrichment — — Wimax Hotlining — — Parsing Error Detection Denial — — IP only Byte Counting/Charging — — ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 51: Bulkstatistics Support

    Packet already queued — Bulkstatistics Support Bulkstatistics reporting for the TRM feature is supported. The following bulkstatistics are available in the ECS schema:  trm-rule-match-bypassed  trm-rule-match-bypass-triggered  fp-eligible-flows  fp-packets  fp-failures Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 52: Limitations And Dependencies

    You need to enable HTTP analysis to detect Websockets, and Websocket connections cannot be detected on ssecure-HTTP connections. URL Filtering The URL Filtering feature simplifies using rule definitions for URL detection. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 53: Implementation Of Aes Encryption

    Blowfish or AES. This is achieved using CLI and there are no changes done to the dynamic fields. The operator can have different encryption for different rules configurable using CLI. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 54: Tcp Proxy

    The packets that are sent out from the ECS are not considered for charging. This approach is similar to the behavior of ECS without proxy. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 55: Flow Admission Control

    For all downlink packets, ingress flow would involve completing the following steps, and then enters the Gi side TCP IP Stack of proxy: 1. IP Analysis (support for IP reassembly) 2. Network Address Translation Processing Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 56

    It will match normal TCP rules.  TCP Checksum Validation: Without TCP Proxy TCP Checksum validation is optional (configurable through "transport-layer-checksum verify-during-packet-inspection tcp" CLI command). With TCP Proxy TCP ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 57

    Using both "tcp state" and "tcp proxy-state" in the same ruledef is allowed. If proxy is enabled, they would map to Gi-side and Gn-side, respectively. If TCP Proxy is not enabled, the "tcp proxy-state" and "tcp proxy-prev- state" rules will not be matched because proxy-state will not be applicable. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 58: Dynamic Disabling Of Tcp Proxy

     There is no data to be delivered by ECS to the peer.  The flow control buffers do no contain any data.  There is no data to be read by ECS. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 59: X-header Insertion And Encryption

    IPSG, and P-GW. License Requirements X-Header Insertion and Encryption are both licensed Cisco features. A separate feature license may be required. Contact your Cisco account representative for detailed information on specific licensing requirements. For information on installing and verifying licenses, refer to the Managing License Keys section of the Software Management Operations chapter in the System Administration Guide.

  • Page 60: X-header Encryption

    OOO request timeout. When a reordering packet is received, the queued packets are forwarded. However, if a reordering packet is not received before the OOO queue timeout, the queued packet will be forwarded without any analysis done to those packets. IP Fragmented Packets ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 61: Limitations To The Header Insertion And Encryption Features

     If a packet is buffered by ICAP, header insertion will not occur for that packet.  Receive window will not be considered during header enrichment. That is, after header enrichment if packet exceeds receive window, ECS will not truncate the packet. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 62: Supported X-headers

    The following 3GPP associated fields are supported:  apn  charging-characteristics  charging-id  imei  imsi  qos  rat-type  s-mcc-mnc  sgsn-address  acr  customer-id  ggsn-address  mdn ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 63: X-header Enrichment Anti Spoofing

     If the HTTP GET or POST header is not completed in three packets, anti spoofing will occur only for the last packet in which the header completes, as buffering supported only up to a maximum of two packets. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 64: Ran Bandwidth Optimization

    QoS updates to the UE and is only controlling TFT related updates. This CLI is supported only for default bearer. For more information on these commands, see the ACS Charging Action Configuration Mode Commands and ACS Rulebase Configuration Mode Commands chapters in the Command Line Interface Reference. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 65: Accounting And Charging Interfaces

    ECS supports different accounting and charging interfaces for prepaid and postpaid charging and record generation. Important: Some feature described in this section are licensed Cisco features. A separate feature license may be required. Contact your Cisco account representative for detailed information on specific licensing requirements. For information on installing and verifying licenses, refer to the Managing License Keys section of the Software Management Operations chapter in the System Administration Guide.

  • Page 66: Diameter Accounting And Credit Control

    Gy session failover from one server to the other. For a more scalable installation, a layer of proxies or other Diameter agents can be introduced to provide features such as multi-path message routing or message and session redirection features. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 67: Event Detail Records (edrs)

    The bytes/packet count will be printed as a part of “sn-volume-amt” attribute in the EDR. Hence, this attribute must be configured in the EDR format. EDR Generation in Flow-end and Transaction Complete Scenarios with sn-volume Fields Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 68

    OK BYE timestamp. The EDR generation logic calculates the call duration based on the INVITE and end timestamps, it also accesses the child RTP/RTCP flows to calculate the combined uplink/downlink bytes/packets counts and sets them in the appropriate fields. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 69: Usage Detail Records (udrs)

    In a postpaid environment, the subscribers pay after use of the service. AAA/RADIUS server is responsible for authorizing network nodes to grant access to the user, and the CDR system generates G-CDRs/eG-CDRs/EDRs/UDRs for billing information on pre-defined intervals of volume or per time. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 70: Prepaid Billing In Ecs

    Prepaid quota in ECS is implemented using RADIUS and DCCA as shown in the following figure. How ECS Prepaid Billing Works The following figure illustrates a typical prepaid billing environment with system running ECS. Figure 9. Prepaid Billing Scenario with ECS ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 71: Credit Control Application (cca) In Ecs

    The following figure and steps describe how CCA works with in a GPRS/UMTS or CDMA-2000 network for prepaid billing. Figure 10. Prepaid Charging in GPRS/UMTS/CDMA-2000 Networks Table 6. Prepaid Charging in GPRS/UMTS/CDMA-2000 Networks Step Description Subscriber session starts. System sends request to CCA for subscriber’s quota. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 72: Postpaid Billing In Ecs

    The ESS/external storage periodically sends records to the billing system or charging reporting and analysis system. Important: For information on ESS contact your Cisco account representative. Postpaid Billing in ECS This section describes the postpaid billing that is used to implement off-line billing processing for a variety of end user services.

  • Page 73: How Ecs Postpaid Billing Works

    ECS Postpaid Billing in GPRS/UMTS Networks The following figure and steps describe how ECS works in a GPRS/UMTS network for postpaid billing. Figure 12. Postpaid Billing with ECS in GPRS/UMTS Network Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 74

    The billing system picks up the xDR files from the ESS/external storage periodically. Postpaid Billing in CDMA-2000 Networks The following figure and steps describe how ECS works within a CDMA-2000 network for postpaid billing. Figure 13. Postpaid Billing with ECS in CDMA-2000 Network ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 75

    The system stores the last of the xDRs to the system memory and final xDRs are SFTPd from system memory to the ESS/external storage, if deployed or to billing system directly. The ESS/external storage finally sends xDRs to the billing system. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 76: External Storage System

    External Storage System Important: For information on availability/support for ESS, contact your Cisco account representative. The External Storage System (ESS) is a high availability, fault tolerant, redundant solution for short-term storage of files containing detail records (UDRs/EDRs/FDRs (xDRs)). To avoid loss of xDRs on the chassis due to overwriting, deletion, or unforeseen events such as power or network failure or unplanned chassis switchover, xDRs are off-loaded to ESS for storage and analysis to avoid loss of charging and network analysis information contained in the xDRs.

  • Page 77: System Resource Allocation

    ECS does not require manual resource allocation. The ECS subsystem automatically allocates the resources when ECS is enabled on the chassis. ECS must be enabled on the chassis before configuring services. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 78: Redundancy Support In Ecs

    Caution: Persistent data flows are NOT recoverable during session recovery. Important: Redundancy is not available in the current version of the Cisco XT2 platform. Intra-chassis Session Recovery Interoperability Intra-chassis session recovery is coupled with SessMgr recovery procedures. Intra-chassis session recovery support is achieved by mirroring the SessMgr and AAAMgr processes. The SessMgrs are paired one-to-one with the AAAMgrs.

  • Page 79: Inter-chassis Session Recovery Architecture

     Failure of an ECS software process on an individual packet processing card  Failure of a system such that a second system takes over according to the Inter-chassis Session Recovery feature  File Sequence Number (FileSeqNumber) rollover from 999999999 to 0 Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 80: Impact On Xdr File Content

    However, this transition impacts the xDRs for those subscribers that are in-progress at the time of the transition. For in progress subscribers, a subset of the xDR fields and their contents are carried over to the ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 81

    “FDR Reason” is marked as a PDSN Handoff and therefore is set to a value of “1” and corresponding actions are taken by the billing system to assure a proper and correct accounting of subscriber activities. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 83: Enhanced Charging Service Configuration

    This chapter describes how to configure the Enhanced Charging Service (ECS) functionality, also known as Active Charging Service (ACS). The following topics are covered in this chapter:  Initial Configuration  Configuring the Enhanced Charging Service  Configuring Enhanced Features Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 84: Initial Configuration

     Note that only Administrator and Config-administrator level users can provision ECS functionality. Refer to the Configuring System Settings chapter of the System Administration and Configuration Guide for additional information on administrative user privileges. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 85: Installing The Ecs License

    Initial Configuration ▀ Installing the ECS License The ECS in-line service is a licensed Cisco product. Separate session and feature licenses may be required. Contact your Cisco account representative for detailed information on licensing requirements. For information on installing and verifying licenses, refer to the Managing License Keys section of the Software Management Operations chapter in the System Administration Guide.

  • Page 86: Configuring The Enhanced Charging Service

    Creating the Enhanced Charging Service To create an Enhanced Charging Service, use the following configuration: configure active-charging service <ecs_service_name> Notes:  In this release, only one ECS service can be created in a system. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 87: Configuring Rule Definitions

    A group-of-ruledefs enables grouping rules into categories, so that charging systems can base the charging policy on the category. To create and configure a group-of-ruledefs, use the following configuration: configure active-charging service <ecs_service_name> group-of-ruledefs <ruledef_group_name> add-ruledef priority <priority> ruledef <ruledef_name> Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 88: Verifying Your Configuration

    Readdressing of packets based on the destination IP address of the packets enables redirecting unknown gateway traffic to known/trusted gateways. This is implemented by configuring the re-address server in the charging action. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 89: Configuring Next Hop Address

    Enhanced Charging Service. A rulebase is basically a subscriber’s profile in a charging service. To create and configure a rulebase, use the following configuration: configure active-charging service <ecs_service_name> rulebase <rulebase_name> Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 90: Verifying Your Configuration

    <rulebase_list_name> <rulebase_name> [ <rulebase_name> + ] exit Configuring a Rulebase List in an APN To configure the rulebase list that was created in the ACS configuration mode in an APN, use the following configuration: ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 91: Verifying Your Configuration

    <protocol> <rule> priority <priority> event-label <event_label> priority <priority> Important: For information on EDR format configuration and rule variables, refer to the EDR Format Configuration Mode Commands chapter of the Command Line Interface Reference. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 92: Verifying Your Configuration

    Enabling Charging Record Retrieval To retrieve charging records you must configure the context that stores the charging records to accept SFTP connections. To enable SFTP, use the following configuration: configure context local ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 93: Optional Configurations

    For information on how to configure rulebases, see the Configuring Rulebases section. To configure a rulebase for a subscriber, use the following configuration: configure context <context_name> subscriber name <subscriber_name> active-charging rulebase <rulebase_name> Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 94: Configuring A Rulebase Within An Apn

    (for example, addition of another CLI command). action  The option causes allocation of a significant amount of memory for the most efficient organization. high ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 95: Configuring Enhanced Features

    This section describes how to configure the Prepaid Credit Control Application for Diameter or RADIUS. Important: To configure and enable Diameter and DCCA functionality with ECS, you must obtain and install the relevant license on the chassis. Contact your Cisco account representative for detailed information on licensing requirements. Important: Before configuring Diameter or RADIUS CCA, you must configure AAA parameters.

  • Page 96: Configuring Prepaid Cca For Diameter Or Radius

    ] [ clear-quota-retry-timer ] [ first-request-only [ post-redirect { allow | discard | terminate } ] ] In 12.1 and earlier releases: flow action redirect-url <redirect_url> [ clear-quota-retry- timer ] ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 97

    <operator> { limit-reached | lower-bandwidth } cca redirect-indicator <operator> <indicator_value> must be the name of the ruledef that you want to use for Prepaid Credit Control Application <ruledef_name> rules. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 98: Configuring Diameter Prepaid Credit Control Application (dcca)

    Important: To configure and enable Diameter and DCCA functionality with ECS, you must obtain and install the relevant license on the chassis. Contact your Cisco account representative for detailed information on licensing requirements. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 99

     Optional: If you want to configure the service for IMS authorization in 3GPP service network, you can configure dynamic rule matching with Gx interface and dynamic rule matching order in rulebase, use the following configuration: configure active-charging service <ecs_service_name> rulebase <rulebase_name> dynamic-rule order { always-first | first-if-tied } Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 100

    Credit Control Configuration Mode for an Enhanced Charging Service. select To configure DCCA peers within an APN, use the following configuration: ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 101: Configuring Radius Prepaid Credit Control Application

    RADIUS parameters are configured: <vpn_context>  Optional: To specify the accounting interval duration for RADIUS prepaid accounting, in the Rulebase Configuration Mode, enter the following command: cca radius accounting interval <interval> Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 102: Configuring Redirection Of Subscriber Traffic To Ecs

    Applying an ACL to an Individual Subscriber IP ACLs are applied to subscribers via attributes in their profile. The subscriber profile could be configured locally on the system or remotely on a RADIUS server. ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 103: Applying An Acl To The Subscriber Named Default

    For information on configuring GTPP accounting, if you are using StarOS 12.3 or an earlier release, refer to the AAA and GTPP Interface Administration and Reference. If you are using StarOS 14.0 or a later release, refer to the AAA Interface Administration and Reference. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 104: Configuring Dns Snooping Feature

    ] | push primary { encrypted-url <encrypted_url> | url <url> } [ [ max-files <max_records> ] [ module-only ] [ secondary { encrypted-secondary-url <encrypted_secondary_url> | secondary-url <secondary_url> } ] [ via local-context ] + ] | use-harddisk } ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 105: Verifying Your Configurations

     Before you can use this command, the CDR transfer mode and file locations must be set to push in the EDR/UDR Module Configuration Mode.  The command is available in the Exec Mode. cdr-push Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 106: Retrieving Edr And Udr Files

    <action_priority> { [ dynamic-only | static-and-dynamic | timedef <timedef_name> ] { group-of-ruledefs <ruledef_group_name> | ruledef <ruledef_name> } charging-action <charging_action_name> [ monitoring-key <monitoring_key> ] [ description <description> ] } post-processing priority <priority> ruledef <ruledef_name> charging-action <charging_action_name> ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 107: Configuring Service Group Qos Feature

    This section describes how to configure the TCP Proxy feature. To enable and configure the TCP Proxy feature in the rulebase, use the following configuration: configure active-charging service <ecs_service_name> rulebase <rulebase_name> Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 108: Configuring Flow Admission Control

    Cisco account representative. To enable and configure the Tethering Detection feature, use the following configuration: configure active-charging service <ecs_service_name> tethering-database [ os-signature <os_signature_db_file_name> | tac <tac_db_file_name> | ua-signature <ua_signature_db_file_name> ] + ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 109: Upgrading Tethering Detection Databases

    Placing this ruledef at the highest priority in the rulebase will ensure all the tethered flows are charged as per the tariff plan for tethered traffic. configure active-charging service ecs_service tethering-database ruledef tethered-traffic tethering-detection flow-tethered tcp any-match = TRUE Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 110

    = 80 rule-application routing exit ruledef ftp-port tcp either-port = 21 rule-application routing exit charging-action premium content-id 1 retransmissions-counted billing-action egcdr exit charging-action standard content-id 2 retransmissions-counted ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 111

    = TRUE exit ruledef ftp-pkts-tethered ftp any-match = TRUE tethering-detection flow-tethered exit ruledef http-pkts http any-match = TRUE Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 112

    = TRUE tethering-detection flow-tethered exit ruledef http-port tcp either-port = 80 rule-application routing exit ruledef ftp-port tcp either-port = 21 rule-application routing exit charging-action premium-http content-id 10 ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 113

    20 ruledef ftp-pkts charging-action standard action priority 30 ruledef http-pkts-tethered charging-action premium-http action priority 40 ruledef http-pkts charging-action standard action priority 50 ruledef tcp-pkts-tethered charging-action premium action priority 60 ruledef tcp-pkts charging-action standard Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 114: Configuring Time-of-day Activation/deactivation Of Rules Feature

    <hh> <mm> <ss> end time <hh> <mm> <ss> exit charging-action <charging_action_name> exit rulebase <rulebase_name> action priority <action_priority> timedef <timedef_name> { group-of-ruledefs <ruledef_group_name> | ruledef <ruledef_name> } charging-action <charging_action_name> [ description <description> ] ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 115: Verifying Your Configuration

    To verify your configuration, in the Exec mode, enter the following command: show active-charging rulebase name <rulebase_name> Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 116: Configuring Flow Aware Packet Acceleration Feature

    This section lists the syntax to enable or disable websocket flow detection feature. To enable websocket flow detection feature, use the following configuration: configure active-charging service <ecs_service_name> rulebase <rulebae name> websocket flow-detection <protocol> ▄ Cisco ASR 5x00 Enhanced Charging Services Administration Guide...

  • Page 117: Configuring Url Filtering Feature

    To enable or disable the group in the rulebase for processing prefixed URLs, use the following configuration: configure active-charging service <ecs_service_name> rulebase <rulebase_name> url-preprocessing bypass group-of-prefixed-urls <prefixed_urls_group_name> url-preprocessing bypass group-of-prefixed-urls <prefixed_urls_group_name> Notes: Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 118

    Enrichment. Configuring X-Header Insertion This section describes how to configure the X-Header Insertion feature. Important: This feature is license dependent. Please contact your Cisco account representative for more information. To configure the X-Header Insertion feature: Step 1 Create/configure a ruledef to identify the HTTP packets in which the x-headers must be inserted. For information on...

  • Page 119

    ] key <key> ] [ first-request-only ] [ -noconfirm ] Notes:  If rc4md5 encryption is configured in the charging action, it will take precedence over RSA certificate based encryption for flows hitting particular charging action. Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

  • Page 120: Configuring X-header Encryption

    ▀ Configuring Enhanced Features Configuring X-Header Encryption This section describes how to configure the X-Header Encryption feature. Important: This feature is license dependent. Please contact your Cisco account representative for more information. To configure the X-Header Encryption feature: Step 1...

  • Page 121

    Enhanced Charging Service Configuration Configuring Enhanced Features ▀ Verifying your Configuration To verify your configuration, in the Exec Mode, enter the following command: show active-charging xheader-format name <xheader_format_name> Cisco ASR 5x00 Enhanced Charging Services Administration Guide ▄...

Comments to this Manuals

Symbols: 0
Latest comments: