Guest

Cisco IOS Software Releases 12.4 Special and Early Deployments

Cisco Packet Data Serving Node (PDSN) Release 4.0 for Cisco IOS Release 12.4(15)XR

Table Of Contents

Cisco Packet Data Serving Node (PDSN) Release 4.0 for Cisco IOS Release 12.4(15)XR

Feature Overview

System Overview

How PDSN Works

Cisco PDSN Simple IP

Cisco PDSN Mobile IP

Mobile IP Dynamic Home Address Deletes Older Sessions With Different IMSI

PMTU Discovery by Mobile IP Client

Cisco PDSN Proxy Mobile IP

PDSN on SAMI

Migration Steps

Features

New Features in This Release

Features From Previous Releases

PDSN Performance Metrics

Packet Data Service Access

Simple IP Based Service Access

Simple IP Routed Access

Simple IP VPDN Access

Proxy-Mobile IP Access

Mobile IP Based Service Access

Binding Update Procedures

Simple IPv6 Access

Configuring Simple IPV6

Session Redundancy Infrastructure

New Features

Functional Overview

In Process Sync Events

Handoff

Restrictions

Internals

AAA - Authentication and Authorization

AAA Accounting

AAA Accounting

Configuring PDSN Session Redundancy

Configuring PDSN Session Redundancy Infrastructure

Configuring HSRP

Protocol Layering and RP Connections

Open RP Interface Connections

PPP Connections

Application Flows

PPPoGRE RP Interface

A11 Session Update

SDB Indicator Marking

Signaling of SDB Indication

Identification of Data Packets For SDB Indication

SDB Indicator Marking for PPP Control Packets

Multiple Service Connections

Session Creation—A11 Registration Request

Configuring Multiple Service Connections

Verifying the Configuration

Data Plane

QoS Signaling

Traffic Flow Templates (TFT)

Configuring TFTs

Verifying the Configuration

Subscriber QoS Policy

Configuring the Subscriber QoS Profile

Verifying the Configuration

Other QoS Parameters

Flow Remapping

Per-flow Accounting

Configuring Per-Flow Accounting

Verifying Per-Flow Accounting

Handoff Scenarios

Call Admission Control

Configuring Call Admission Control on the PDSN

Examples

Verifying the Configuration

Resource Management

Resource Revocation for Mobile IP

Packet of Disconnect

Radius Enhancements

Radius Server Load Balancing

Subscriber Authorization Based on Domain

IS-835 Prepaid Support

Prepaid Billing

Volume-based Prepaid Data Service Flow

Duration-based Prepaid Data Service Flow

Volume-based Prepaid Data Service with Tariff Switching

Support for G17 Attribute in Acct-Stop and Interim Records

Home Area, Maximum Authorized Aggregate Bandwidth and Inter-user Priority Attributes Downloaded from AAA

Configuring Subscriber Qos Profile to PCF

Configuring Bandwidth Policing

Configuring VSAs in Subscriber QoS Profiles

Verifying the Configuration

Mobile IP Call Processing Per Second Improvements

Always On Feature

PDSN MIB Enhancements

Cisco Proprietary Prepaid Billing

How Prepaid Works in PDSN

Prepaid Simple IP Call Flow

Prepaid Mobile IP Call Flow

3 DES Encryption

Mobile IP IPSec

Hardware IPSec Acceleration Using IPSec Acceleration Module—Static IPSec

Conditional Debugging Enhancements

Enhancements Prior to Release 3.0

Electronic Serial Number (ESN) in Billing

Support for Mobile Equipment Indentifier (MEID)

1xEV-DO Support

Integrated Foreign Agent (FA)

AAA Support

Packet Transport for VPDN

Proxy Mobile IP

Multiple Mobile IP Flows

Redundancy and Load Balancing

PDSN Cluster Controller / Member Architecture

PDSN Controller-Member Clustering

Redundancy

Load Sharing

PDSN Cluster Member Selection

Load Balancing

Upgrading the Controller PDSN Software from R1.2 to R2.0

Upgrading the Member PDSN Software from R1.2 to R2.0 and Above

Scalability

High Availability

Related Features and Technologies

Related Documents

Supported Platforms

Supported Standards, MIBs, and RFCs

Configuration Tasks

System Requirements

Memory Requirements

Hardware Supported

Software Compatibility

Determining the Software Version

Upgrading to a New Software Release

Configuring the PDSN Image

Enabling PDSN Services

Creating the CDMA Ix Interface

Creating a Loopback Interface

Creating a Virtual Template Interface and Associating It With the PDSN Application

Enabling R-P Interface Signaling

Configuring User Session Parameters

Configuring PDSN Session Redundancy Infrastructure

Configuring AAA in the PDSN Environment

Configuring RADIUS in the PDSN Environment

Configuring Prepaid in the PDSN Environment

Enabling VPDN in a PDSN Environment

Configuring the Mobile IP FA

Configuring Proxy Mobile IP Attributes Locally

Configuring Mobile IP Security Associations

Configuring PDSN Cluster Controller

Configuring PDSN Cluster Member

Enabling Network Management

Configuring Always On Service

Configuring A11 Session Updates

Configuring SDB Indicator Marking

Configuring SDB Indicator Marking for PPP Control Packets

Configuring PoD on the PDSN

Configuring Mobile IP Resource Revocation on the PDSN

Configuring Closed-RP Interfaces

Configuring Short Data Burst Flagging

Configuring PDSN Accounting Events

Configuring CDMA RADIUS Attributes

Monitoring and Maintaining the PDSN

Configuration Examples

Cisco PDSN Configuration for Simple IP

Cisco PDSN Configuration for Simple IP with VPDN

Cisco PDSN Configuration for Mobile IP

Combined Configuration for Cisco PDSN

PDSN Cluster Configuration

Session Redundancy Configuration Examples

Simple IPV6 Configuration Example

PDSN Accounting

Flow Based Accounting

AAA Authentication and Authorization Profile

AAA Profiles for Various Service Types

Attributes

Authentication and Authorization RADIUS Attributes

Accounting Services RADIUS Attributes

Prepaid RADIUS Attributes

Mandatory AVPs in Connection Setup/Release Messages

Q.931 Cause Codes Used in Call Disconnect Notify Message

Glossary


Cisco Packet Data Serving Node (PDSN) Release 4.0 for Cisco IOS Release 12.4(15)XR


Feature History

Release
Modification
 

Release 4.0 of the Cisco PDSN software. The following new features are introduced:

Multiple Service Connections

Data Plane

Subscriber QoS Policy (both downloading per-user profile from AAA and configuring a local profile

QoS Signaling

Traffic Flow Templates (TFT)

New Per-flow Accounting features

Call Admission Control

PDSN MIB Enhancements for PDSN Release 4.0

A Hardware-Software Compatibility Matrix is available on CCO for users with CCO login accounts. This matrix allows users to search for supported hardware components by entering a Cisco platform and IOS Release. The Hardware-Software Compatibility Matrix tool is available at the following URL: http://www.cisco.com/cgi-bin/front.x/Support/HWSWmatrix/hwswmatrix.cgi to include support for SAMI

PDSN on SAMI

Removed Closed-RP support

12.4(15)XN

Release 3.5 of the Cisco PDSN software. The following new features are introduced:

Home Area, Maximum Authorized Aggregate Bandwidth and Inter-user Priority Attributes Downloaded from AAA

Subscriber QoS Policy

Bandwidth Policing

12.3(14)YX8

Updates to the PDSN Command Reference, including the following commands:

cdma pdsn cluster member prohibit administratively

subscriber redundancy rate

Deleted sections on ODAP and PDSN Selection Peer-to-Peer clustering.

12.3(14)YX1

Release 3.0 of the Cisco Packet Data Serving Node (PDSN) software. The following new feature is introduced:

Support for Mobile Equipment Indentifier (MEID)

12.3(14)YX

Release 3.0 of the Cisco Packet Data Serving Node (PDSN) software. The following new features are introduced:

Packet Data Service Access

Simple IPv6 Access

Session Redundancy Infrastructure

Radius Server Load Balancing

PPPoGRE RP Interface (no longer supported in 4.0)

Subscriber Authorization Based on Domain

PDSN MIB Enhancements

Conditional Debugging Enhancements

12.3(11)YF3

Added support for Mobile IP Dynamic Home Address Deletes Older Sessions With Different IMSI.

The following new command was added:

ip mobile cdma imsi dynamic

12.3(11)YF2

Added support for Identification of Data Packets For SDB Indication, SDB Indicator Marking for PPP Control Packets, and Support for G17 Attribute in Acct-Stop and Interim Records.

The following new commands were added or modified:

cdma pdsn a11 dormant sdb-indication match-qos-group

cdma pdsn compliance

cdma pdsn attribute send g17

12.3(11)YF1

A restriction for Registration Revocation was removed.

New commands were added, including:

cdma pdsn compliance

debug cdma pdsn prepaid

debug cdma pdsn radius disconnect nai

show cdma pdsn statistics prepaid

Existing commands were modified, including:

clear cdma pdsn session

clear cdma pdsn statistics adds RADIUS statistics

cdma pdsn mobile-advertisement-burst

ip mobile foreign-service

12.3(11)YF

Release 2.1 of the Cisco Packet Data Serving Node (PDSN) software. Four new features were added, including the Closed-RP Interface.

12.3(8)XW

Release 2.0 of the Cisco Packet Data Serving Node (PDSN) software.

12.3(4)T

This feature was integrated into Cisco IOS Release 12.3(4)T.

12.2(8)ZB8

One new CLI command was added.

12.2(8)ZB7

Six CLI commands were added or modified.

12.2(8)ZB6

Two CLI commands were added or modified.

12.2(8)ZB5

Four new CLI commands were added.

12.2(8)ZB1

This feature was introduced on the Cisco 7600 Internet Router.

12.2(8)ZB

This feature was introduced on the Cisco Catalyst 6500 Switch.

12.2(8)BY

This feature was introduced on the Cisco 7200 Series Router.


This document describes the Cisco Packet Data Serving Node (PDSN) software for use on the Cisco Multi-processor WAN Application Module (MWAM) that resides in the Cisco Catalyst 6500 Switch, and the Cisco 7600 Internet Router. It includes information on the features and functions of the product, supported platforms, related documents, and configuration tasks.

This document includes the following sections:

Feature Overview

Features

Supported Platforms

Supported Standards, MIBs, and RFCs

Configuration Tasks

System Requirements

Monitoring and Maintaining the PDSN

Configuration Examples

PDSN Accounting

AAA Authentication and Authorization Profile

Attributes

Glossary

Feature Overview

A PDSN provides access to the Internet, intranets, and Wireless Application Protocol (WAP) servers for mobile stations using a Code Division Multiple Access 2000 (CDMA2000) Radio Access Network (RAN). The Cisco PDSN is a Cisco IOS software feature that runs on SAMI cards on the Cisco 7600 Internet Router, where it acts as an access gateway for Simple IP and Mobile IP stations. It provides foreign agent (FA) support and packet transport for virtual private networking (VPN). It also acts as an Authentication, Authorization, and Accounting (AAA) client.

The Cisco PDSN supports all relevant 3GPP2 standards, including those that define the overall structure of a CDMA2000 network, and the interfaces between radio components and the PDSN.

System Overview

CDMA is one of the standards for Mobile Station communication. A typical CDMA2000 network includes terminal equipment, mobile termination, base transceiver stations (BTSs), base station controllers (BSCs / PCFs), PDSNs, and other CDMA network and data network entities. The PDSN is the interface between a BSC / PCF and a network router.

Figure 1 illustrates the relationship of the components of a typical CDMA2000 network, including a PDSN. In this illustration, a roaming mobile station user is receiving data services from a visited access provider network, rather than from the mobile station user's subscribed access provider network.

Figure 1 The CDMA Network

As the illustration shows, the mobile station, which must support either Simple IP or Mobile IP, connects to a radio tower and BTS. The BTS connects to a BSC, which contains a component called the Packet Control Function (PCF). The PCF communicates with the Cisco PDSN through an A10/A11 interface. The A10 interface is for user data and the A11 interface is for control messages. This interface is also known as the RAN-to-PDSN (R-P) interface. Figure 2 illustrates the communication between the RAN and the Cisco PDSN.

Figure 2 RAN-to-PDSN Connection: the R-P Interface

The IP networking between the PDSN and external data networks is through the PDSN-to-intranet/Internet (Pi) interface. For the Cisco PDSN Release 2.0 and above, you can use either an FE or GE interface as the Pi interface.

For "back office" connectivity, such as connections to a AAA server, or to a RADIUS server, the interface is media independent. Any of the interfaces supported on the Cisco 7206 can be used to connect to these types of services; however, Cisco recommends that you use either an FE or GE interface.

How PDSN Works

When a mobile station makes a data service call, it establishes a Point-to-Point Protocol (PPP) link with the Cisco PDSN. The Cisco PDSN authenticates the mobile station by communicating with the AAA server. The AAA server verifies that the user is a valid subscriber, determines available services, and tracks usage for billing.

The method used to assign an IP address and the nature of the connection depends on service type and network configuration. Simple IP operation and Mobile IP operation are referred to as service types. The service type available to a user is determined by the mobile station, and by the type of service that the service provider offers. In the context of PDSN, a mobile station is the end user in both Simple IP and Mobile IP operation.

Once the mobile station is authenticated, it requests an IP address. Simple IP stations communicate the request using the Internet Protocol Control Protocol (IPCP). Mobile IP stations communicate the request using Mobile IP registrations.

The following sections describe the IP addressing and communication levels for each respective topic:

Cisco PDSN Simple IP

Cisco PDSN Mobile IP

PMTU Discovery by Mobile IP Client

Cisco PDSN Simple IP

With Simple IP, a service provider's Cisco PDSN assigns a dynamic or static IP address to the mobile station during the PPP link setup. The mobile station retains this IP address as long as it is served by a radio network that has connectivity to the address-assigning PDSN.

Therefore, as long as the mobile station remains within an area of RANs that is served by the same PDSN, the MS can move or roam inside the coverage area and maintain the same PPP links. If the mobile station moves outside the coverage area of the given PDSN, the mobile station is assigned a new IP address, and any application-level connections are terminated.


Note A static IP address can be requested by the mobile station, and will be assigned if the address is within the pool of addresses and is available. Also an IP address can be statically specified in the AAA profile of the user using the "Framed-IP-Address" attribute.


Figure 3 illustrates the placement of the Cisco PDSN in a Simple IP scenario.

Figure 3 CDMA Network - Simple IP Scenario

Cisco PDSN Simple IP with VPDN Scenario

A Virtual Private Data Network (VPDN) allows a private network dial-in service to span to remote access servers called Network Access Servers (NAS). Figure 4 illustrates a VPDN connection in the PDSN environment with Simple IP. In this scenario, the PDSN is acting as the NAS.

Figure 4 CDMA Network —Simple IP with VPDN Scenario

A VPDN connection is established in the following order:

1. A PPP peer (mobile station) connects with the local NAS (the Cisco PDSN).

2. The NAS begins authentication when the client dials in. The NAS determines that the PPP link should be forwarded to a tunnel server for the client. The location of the tunnel server is provided as part of the authentication by the Remote Authentication Dial-in User Service (RADIUS) server.

3. The tunnel server performs its own authentication of the user and starts the PPP negotiation. It performs authentication for both the tunnel setup and the client.

The PPP client is forwarded through a Layer 2 Tunneling Protocol (L2TP) tunnel over User Datagram Protocol (UDP).

4. The PPP setup is completed and all frames exchanged between the client and tunnel server are sent through the NAS. The protocols running within PPP are transparent to the NAS.

Cisco PDSN Mobile IP

With Mobile IP, the mobile station can roam beyond the coverage area of a given PDSN and still maintain the same IP address and application-level connections.

Figure 5 shows the placement of the Cisco PDSN in a Mobile IP scenario.

Figure 5 CDMA Network —Mobile IP Scenario

The communication process occurs in the following order:

1. The mobile station registers with its Home Agent (HA) through an FA; in this case, the Cisco PDSN.

2. The HA accepts the registration, assigns an IP address to the mobile station, and creates a tunnel to the FA. This results in a PPP link between the mobile station and the FA (or PDSN), and an IP-in-IP or Generic Routing Encapsulation (GRE) tunnel between the FA and the HA.

As part of the registration process, the HA creates a binding table entry to associate the mobile station's home address with its Care-of address.


Note While away from home, the mobile station is associated with a care-of address. This address identifies the mobile station's current, topological point of attachment to the Internet, and is used to route packets to the mobile station. In IS-835-B networks, the foreign agent's address is always used as the Care-of address.


3. The HA advertises that the network is reachable to the mobile station, and tunnels datagrams to the mobile station at its current location.

4. The mobile station sends packets with its home address as the source IP address.

5. Packets destined for the mobile station go through the HA; the HA tunnels them through the PDSN to the mobile station using the care-of address.

6. When the PPP link is handed off to a new PDSN, the link is re-negotiated and the Mobile IP registration is renewed.

7. The HA updates its binding table with the new care-of address.


Note For more information about Mobile IP, refer to the Cisco IOS Release 12.2 documentation modules Cisco IOS IP Configuration Guide and Cisco IOS IP Command Reference. RFC2002 describes the specification in detail. TIA/EIA/IS-835-B also defines how Mobile IP is implemented for PDSN.


Mobile IP Dynamic Home Address Deletes Older Sessions With Different IMSI

The PDSN cannot recognize 1xRTT to EVDO as a handoff due to a change of IMSI. The result is that the "cdma-reason-ind" in the account stop message will not reflect the same.

By default, the PDSN keeps the first call session if the Mobile does a static home address. In this release, the PDSN supports deleting the first call session for dynamic home address cases (for example, 1x-RTT to EVDO handoff where the IMSI changes during the handoff).

The old call scenario is established as follows:

1. Mobile Node with IMSI = imsi1, NAI = nai1 establishes session.

2. When PDSN receives an RRQ from the same mobile node with the same NAI but with different IMSI (with IMSI = imsi2, NAI = nai1), currently a new session does not come up on the PDSN, and old session remains.

3. During the mobile handoff between 1XRTT and EVDO call, handoff will not succeed due to the above behavior of PDSN.

A new CLI is introduced in this release that allows you to delete the old session. When you issue the ip mobile cdma imsi dynamic command, the PDSN releases the old session and allows the new session to come up.

PMTU Discovery by Mobile IP Client

FTP upload and ping from the end node may fail when PMTU Discovery (done by setting the DF bit) is done by a MobileIP client (an end node) for packet sizes of about 1480. Due to failure of PMTUD algorithm, the IP sender will never learn the smaller path MTU, but will continue unsuccessfully to retransmit the too-large packet, until the retransmissions time out.

Please refer to http://www.cisco.com/warp/public/105/38.shtml#2000XP for disabling PMTUD for Windows 2000/XP platforms.

Cisco PDSN Proxy Mobile IP

Currently, there is a lack of commercially-available Mobile IP client software. Conversely, PPP, which is widely used to connect to an Internet Service Provider (ISP), is ubiquitous in IP devices. As an alternative to Mobile IP, you can use Cisco's proxy Mobile IP feature. This capability of the Cisco PDSN, which is integrated with PPP, enables a Mobile IP FA to provide mobility to authenticated PPP users.


Note In Proxy Mobile IP, the MS can have only one IP flow per PPP Session.


The communication process occurs in the following order:

1. The Cisco PDSN (acting as an FA) collects and sends mobile station authentication information to the AAA server.

2. If the mobile station is successfully authenticated to use Cisco PDSN Proxy Mobile IP service, the AAA server returns the registration data and an HA address.

3. The FA uses this information, and other data, to generate a Registration Request (RRQ) on behalf of the mobile station, and sends it to the HA.

4. If the registration is successful, the HA sends a registration reply (RRP) that contains an IP address to the FA.

5. The FA assigns the IP address (received in the RRP) to the mobile station, using IPCP.

6. A tunnel is established between the HA and the FA/PDSN. The tunnel carries traffic to and from the mobile station.

PDSN on SAMI

The SAMI blade supports the feature set of PDSN Release 4.0, and a Cisco Catalyst 6500 or Cisco 7600 chassis will support a maximum of 6 application modules. Each application module supports 5 IOS images, each with access to 2 Gigabytes of RAM. Each of these images can function as a PDSN.

Additionally, instances of the cluster controller functionality will be configured as required. One active and one standby controller are required for a cluster of 48 PDSN instances or less. Each PDSN image supports 25,000 user sessions. For every 10 PDSNs configured in the chassis, one active and one standby controller is required. Internal to the chassis, the PDSN images are configured on the same VLAN in order to support the Controller-Member architecture (although the architecture itself does not require this). Load balancing external to the chassis is determined by the physical proximity of the chassis and the network architecture. It is possible that you require both a VLAN approach, and a more traditional routed approach.

Migration Scenarios

The following table lists currently available or planned PDSN Releases and the migration path to the SAMI platform:

Table 1 Migration Path for Cisco PDSN 

 
PDSN R3.0 or older
PDSN R3.5
PDSN R4.0
Platform

7200 NPE400/NPE-G1 and MWAM Platform (5 Processor only)

MWAM (5 Processor only)

Service Application Module for IP - SAMI

Chassis/Power Supply, Fan Trays)

7200VXR

6500/7600 Chassis

7600 Chassis

   

SUP2/SUP720/

SUP720/RSP720/SUP 32

   

SUP32SUP IOS SX based

SUP IOS - SRC based image (for example: c7600s72033-advipservicesk9-mz.122-33.SRC.bin)

   

SUP-redundancy

SUP-redundancy


Based on Table 2, there are many possible migration scenarios. In this section, we focus on those scenarios closest to current customer deployments. The actual migration path has to be determined per-customer end-to-end deployment. Additionally, migration should be engineered, and we recommend that you perform the migration in a maintenance window.

Customers may take this opportunity to redesign their network, for example, redesigning IP addresses scheme and configuring the routing protocols, network connectivity between PDSN and Home Agent, application connectivity between PDSN and AAA servers, routing on the new SAMI PDSN / Home Agent, etc.

Table 2 lists the most common migration scenarios:

Table 2 Migrations Scenarios for PDSN 4.0 

Scenario
Migration From
To
Remarks

1

Non-SR,

Non- Clustering,

1- 7200VXR/NPE-G1 running PDSN

Non-SR,

Non- Clustering,

7600 Chassis,

One SUP720/SAMI (< 6 PPC ) running PDSN

Downtime: Yes

Other Comments: significant network provisioning changes in terms of,

Platform change

Configuration related to Platform (HW)

Configuration related to PDSN (SW) provisioning (Eg, Creation of Sub interfaces, VLAN, PCF secure configs etc).

Configuration migration from 7200 to SAMI Processor

Note The majority of the basic configuration tasks related to the CDMA component remains the same, unless you are planning to introduce additional features that are not enabled prior to migration.

2

Non-SR,

Non- Clustering,

Multiple 7200VXR/NPE-G1 running PDSN

Non-SR,

Non-Clustering ,

7600 Chassis,

One SUP720/SAMI (all 6 PPC ) running PDSN

Downtime: Yes

Other Comments:

Significant network provisioning change in terms of,

Platform change

New configuration related to Platform (SUP /SAMI ) - (HW)

New configuration related to PDSN (SW) provisioning (Eg, Creation of Sub interfaces, VLAN, PCF secure configs etc).

Configuration migration from 7200 to SAMI Processor

Note The majority of the basic configuration tasks related to the CDMA component remains the same, unless you are planning to introduce additional features that are not enabled prior to migration.

3

Non-SR ,

Non-Clustering

IPsec enabled between 7200 based PDSN and HA

Two-7200VXR/NPE-G1 running PDSN

SR enabled,

Non-Clustering

7600 Chassis,

SUP720 blade with redundancy

IOS based IPsec feature enabling

Two SAMI blades (Single chassis)

Downtime: Yes

Other Comments:

Significant network provisioning change in terms of,

Platform change

New Configuration related to Platform (SUP/SAMI) - (HW)

Crypto configuration to be done at Supervisor instead of PDSN processors. IPSec tunnel to be established between 7600 chassis running PDSN and HA application, instead of terminating the IPsec tunnels in PDSN/HA application itself (like that of 7200 platform).

New configuration related to PDSN (SW) provisioning (for example, creation of sub interfaces, VLAN, PCF secure configurations, etc.).

Configuration migration from 7200 to SAMI processor

Note The majority of the basic configuration tasks related to the CDMA component remains the same, unless you are planning to introduce additional features that are not enabled prior to migration.

4

SR enabled,

Non-Clustering

7600/Redundant SUP2

Redundant MWAM blades (single chassis)

SR enabled,

Non-Clustering

7600/Redundant SUP 720

Redundant SAMI blades (single chassis)

Downtime: Yes

Other Comments:

Minimal changes in terms of HW:

Upgrading platform (SUP 2 to SUP 720) - requires chassis reset.

New configuration related to SAMI Platform (HW) to be enabled in SUP.

Configuration migration from MWAM processor to SAMI processor

Note The majority of the basic configuration tasks related to the CDMA component remains the same, unless you are planning to introduce additional features that are not enabled prior to migration.

5

SR enabled,

Non-Clustering

7600/Redundant SUP 720

Redundant MWAM blades(single chassis)

SUP IOS SXF

SR enabled,

Non-Clustering

7600/Redundant SUP 720

Redundant SAMI blades(single chassis)

SUP IOS SRC

Downtime: Yes

Other Comments:

Minimal Changes in terms of HW:

Upgrading the SUP Image (SXF to SRC) requires chassis reset.

New configuration related to SAMI Platform (HW) to be enabled in SUP.

Configuration migration from MWAM processor to SAMI processor.

Note The majority of the basic configuration tasks related to the CDMA component remains the same, unless you are planning to introduce additional features that are not enabled prior to migration.

6

SR enabled,

Non-Clustering

7600/Redundant SUP 720

Redundant MWAM blades (single chassis)

SUP IOS SXF

SR enabled,

Clustering enabled,

7600/Redundant SUP 720

Redundant SAMI blades (single chassis)

SUP IOS SRC

Downtime: Yes

Other Comments:

Minimal Changes in terms of HW:

Upgrading the SUP Image (SXF to SRC) requires chassis reset.

New configuration related to SAMI Platform (HW) is enabled in SUP.

Configuration migration from MWAM processor to SAMI processor.

Provisioning of clustering setup requires introduction of clustering related configurations in PDSN processor, configuration of Controller, and configuration changes on the PCF side.

Note We recommend that you allow the controller and member operate in different subnets.

Note The majority of the basic configuration tasks related to the CDMA component remains the same, unless you are planning to introduce additional features that are not enabled prior to migration.

7

SR enabled,

Clustering enabled,

7600/Redundant SUP 720

Redundant MWAM blades (single chassis)

SUP IOS SXF

SR enabled,

Clustering enabled,

7600/Redundant SUP 720

Redundant SAMI blades (dual chassis)

SUP IOS SRC

Downtime: Yes

Other Comments:

Significant changes in terms of HW:

Upgrading the SUP image (SXF to SRC) requires chassis reset.

Introduction of redundant chassis.

Provisioning the SUP configuration to operate in Inter- chassis redundancy environment.

New configuration related to SAMI platform (HW) is enabled in SUP.

Configuration migration from MWAM processor to SAMI processor.

Provisioning of clustering setup requires introducing clustering related configurations in the PDSN processor, configuration of controller, and configuration changes on the PCF side.

Note The majority of the basic configuration tasks related to the CDMA component remains the same, unless you are planning to introduce additional features that are not enabled prior to migration.


For all of these migration plans, both hardware and software configurations have significant changes. This requires prudent operation planning and network redesign. The Migration Steps section describes the possible migration steps to minimize both network reconfiguration and service disruption.

Migration Steps

Migration to the Cisco PDSN R4.0 image is more than replacing MWAM modules with SAMI modules. Your migration should be well planned and conducted in a way that has minimal impact on the existing mobile subscriber's service connections.

Here are the migration tasks that are based on the scenarios that were previously established in Table 2.

Table 3 Migration Steps from PDSN 3.x to 4.0

Scenario
Migration Steps

1 , 2

Install and configure PDSN on 7600/SUP720 (SRC based) with the SAMI.

Provision MS and PCFs to use the newly added SAMI-based PDSN (this may be a very large task).

Provision newly added PDSN with that of Home-agent to service Mobile IP calls. Also, modify the security association between PDSN and PCF's, PDSN and HA accordingly.

To minimize provisioning tasks, the SAMI PDSN instances can reuse the 7200 NPE-G1 based PDSN IP addresses and routing schemes (presuming this is done in a maintenance window, and that service will be disrupted).

3

Install and configure the PDSN on 7600/SUP720 (SRC based) with the SAMI, and put them in the same HSRP redundancy group as configured on the Cisco 7200-based PDSN (R3.0 release). At this stage, the Cisco 7200-based PDSN will act as the active PDSN and the SAMI-based PDSN will assume the role of standby.

Ensure in the newly introduced SAMI based PDSN, that R3.5 or R4.0 features are not enabled. Also ensure that the features enabled on the SAMI PDSN are same as that of the features already enabled in 7200-based PDSN. However, the IPsec feature enabled onthe 7200 PDSN must be disabled on a SAMI-based PDSN. Instead, the IPsec configuration will be moved to the 7600 Supervisor configuration, and the IPsec tunnel will be established between the chassis. Once the packet is taken out of the IPsec tunnel in the supervisor, the same is sent to the PDSN instances through the backplane.

Configure higher priority and HSRP preemption (with delay) on the SAMI-based PDSN.

Let the SAMI PDSN takes over the active role.

Bring down the Cisco 7200s and introduce another SAMI card (SAMI card 2) in the same chassis, and configure the redundancy. Let the SAMI card 2, takes over the role of standby PDSN.

Customers usually prefer to reconfigure their network in a maintenance window, so we continue to recommend the same for this configuration change as well. However, the above mentioned step does not need to be performed in a maintenance window.

However, introduction of new features (such as R4.0) should be done during a maintenance window.

4

Install and configure PDSN on 7600/SUP720 (SRC based) with SAMI and put them in the same HSRP redundancy group as configured on MWAM-based PDSN (R3.0 release). At this stage, the MWAM PDSN instances will act as the active PDSN and the SAMI-based PDSN will assume the role of standby.

Note The SAMI card can be configured for 6 instances of PDSN, whereas the MWAM will have only 5 instances. Customers can efficiently provision the network and distribute the load across 6 PDSN instances (instead of 5) during the upgrade process.

Configure SUP720 to support SAMI.

Make sure MWAM configurations are saved on SUP720 bootflash.

Configure the VLAN for SAMI VLAN groups on SUP720 as MWAM.

Build SAMI PPC configuration from MWAM processors configurations according to SAMI configuration file name convention in SUP720 bootflash.

Power down the standby MWAM and pull it out of the chassis.

Insert the SAMI in the same slot and boot it with the proper PDSN R4.0 image.

Verify SAMI PPC gets the proper PDSN configurations.

Ensure, the newly introduced SAMI-based PDSN does not enable any of the R3.5 or R4.0 features. Also ensure that the features enabled on the SAMI PDSN are the same as that of the features already enabled on the MWAM-based PDSN.

Configure higher priority and HSRP preemption (with delay) on SAMI based PDSN.

Let the SAMI PDSN takes over active role.

Bring down the standby MWAM and introduce another SAMI card (SAMI card 2) in the same chassis, and configure the redundancy. Let the SAMI card 2, takes over the role of standby PDSN.

Customers usually prefer to reconfigure their network in a maintenance window, so we continue to recommend the same for this configuration change as well. However, the above mentioned step does not need to be performed in a maintenance window.

However, introducing new features (such as R4.0) should be done during a maintenance window.

5

For a single chassis, changing from SUP720 SXF to SUP720 SRB resets the entire chassis. The whole chassis is reset so all service modules such as MWAM and SAMI will be reset, too. Same is the case for Sup2 to Sup 720 or Sup 32 or RSP 720 migration.

This should be performed in a maintenance window.

User service will be disrupted.

For MWAM to SAMI PDSN migration, follow the steps given in Scenario 4.

6

Since the SAMI blade does not support Inter-PPC communication on a same Vlan , the existing cluster-member architecture model of the PDSN on a single MWAM blade requires few configuration changes during provisioning using the SAMI platform (out of 5 processors in the MWAM, 1 is used as controller and rest of the processors are used as a PDSN member).You need to use the ip-address from different subnet on the controller and member interface, and enable explicit routing through the supervisor in order for them to communicate with each other.

Note This would call for additional configuration (i.e., change in Cluster controller IP address in PCF, routing, etc.) on the PCF side as well.

Additionally, the cluster related configuration has to be newly introduced in PDSN member in order for the member to participate in a cluster environment.

The remaining migration steps are similar to Scenario 4 and 5.

The above migration must be performed in maintenance window.

7

The migration steps are very similar to scenario 5.

Note It is not recommended to have MWAM (R3.0 image) and SAMI PDSN (R4.0 image) members participating in same cluster controller based on R3.0 image, the reason being,

Handling of Rev. A calls: we need to enable the CLI to support multiple flows which cannot be done in R3.0 based controller.

Additionally, having a SAMI and an MWAM PDSN participating in a single controller might end up re-directing / suggesting MWAM R3.0 PDSN IP address for a Rev. A call.


Features

New Features in This Release

This section lists the features of the Cisco 4.0 PDSN Release:

Multiple Service Connections

Data Plane

Subscriber QoS Policy (both downloading per-user profile from AAA and configuring a local profile

QoS Signaling

Traffic Flow Templates (TFT)

New Per-flow Accounting features

Call Admission Control

PDSN MIB Enhancements for PDSN Release 4.0

A Hardware-Software Compatibility Matrix is available on CCO for users with CCO login accounts. This matrix allows users to search for supported hardware components by entering a Cisco platform and IOS Release. The Hardware-Software Compatibility Matrix tool is available at the following URL: http://www.cisco.com/cgi-bin/front.x/Support/HWSWmatrix/hwswmatrix.cgi to include support for SAMI

Removed Closed-RP support

Features From Previous Releases

This section lists features that were introduced prior to Cisco PDSN Release 4.0:

Inter-User Priority

Inter-user priority attribute is used by the PCF to schedule packets to the mobile node. This attribute is received by the PDSN from AAA in a RADIUS access-accept message.

Roamer Identification

This Home Area attribute is defined by Lucent, and is received by the PDSN from AAA in a RADIUS access-accept message.

Bandwidth Policing

The PDSN polices downstream traffic towards the mobile node based on the "maximum authorized aggregate bandwidth" 3GPP2 attribute, downloaded from AAA.

Packet Data Service Access, page 14

Simple IPv6 Access

Session Redundancy Infrastructure, page 21

Radius Server Load Balancing, page 62

Subscriber Authorization Based on Domain, page 63

PDSN MIB Enhancement, page 81

PPP Counters in Release 3.0

RP Counters in Release 3.0

Conditional Debugging Enhancements, page 101

Trace Functionality in Release 3.0

Mobile IP Dynamic Home Address Deletes Older Sessions With Different IMSI, page 9

Protocol Layering and RP Connections, page 45

PPPoGRE RP Interface, page 56

A11 Session Update, page 57

SDB Indicator Marking, page 57

Resource Revocation for Mobile IP, page 59

Packet of Disconnect, page 60

IS-835 Prepaid Support, page 63

Prepaid Billing, page 64

Mobile IP Call Processing Per Second Improvements, page 79

Always On Feature, page 80

PDSN MIB Enhancement, page 81

Conditional Debugging Enhancements, page 101

Cisco Proprietary Prepaid Billing, page 95

3 DES Encryption, page 99

Mobile IP IPSec, page 99

Hardware IPSec Acceleration Using IPSec Acceleration Module—Static IPSec, page 100

1xEV-DO Support, page 103

Integrated Foreign Agent (FA), page 104

AAA Support, page 104

Packet Transport for VPDN, page 105

Proxy Mobile IP, page 105

Multiple Mobile IP Flows, page 105

PDSN Cluster Controller / Member Architecture, page 105


Note The Cisco PDSN software offers several feature options which are available on different images. Some features are image-specific, and are not available on all images. The PDSN Feature Matrix in Table 4 lists the available images for the PDSN, and identifies the features available on each image.



Note The Cisco PDSN 3.5 Release is only supported on the Cisco MWAM card on the Cisco 7600 or Cisco 6500 Series router platform. The features listed in the PDSN Feature Matrix reflect features that are still supported from previous releases.



Note Closed-RP clustering is not supported on PDSN Release 4.0.


Table 4 PDSN Feature Matrix 

Feature Name
c7svcsami-c6ik9s-mz

Session Redundancy

X

Simple IPv6

X(P)

Resource Revocation Per User

X

Trace Functionality

X

Radius server load balancing

X

Selection of RADIUS Server Based On Realm

X

PPPoGRE RP Interface

X(P)

A11 Session Update

X

SDB Indicator Marking

X

Packet of Disconnect

X

Resource Revocation

X

Always On Feature

X

NPE-G1 Platform Support

 

PDSN MIB Enhancements

X

Conditional Debugging

X

10000 Sessions

 

25000 Sessions

X

RevA Support

X

Prepaid Billing (IS-835-C)

X(P)

PDSN Controller / Member Clustering

X

1xEV-DO Support

X

ESN in Billing

X

3DES Encryption

X*

PPP Optimization

X


P indicates that this feature is only available with a Premium license.

* Requires appropriate hardware support.


Note If you require higher performance values for PDSN selection, use the c6is-mz images; these images contain the PDSN controller-member cluster feature for PDSN selection.


PDSN Performance Metrics

Cisco PDSN Release 4.0 delivers the following performance improvements compared to Release 3.0 and R3.5 :

Significant improvment in 1XRTT Call setup rates

Performance Metrics on the Cisco 7600 series platform are as follows. The quoted figures are per image, and each SAMI can support 6 PDSN images.

25000 users sessions

Maximum call setup rate for Simple IP and Mobile IP sessions for a standalone PDSN

Throughput on the R-P interface for non-fragmented packets of size 64, 350,512 and 1472 bytes

Throughput on the R-P interface for fragmented packets of size 64,350,512 and 1472 bytes with fragmentation of 25 bytes

Call set up rate for a stand-alone PDSN for Simple IP and Mobile IP Sessions

Packet Data Service Access

The PDSN supports two types of service accesses. The type of service access for a mobile session is determined by the capabilities of the mobile station:

Simple IP based service access

Mobile IP based service access

Simple IP Based Service Access

The PDSN facilitates a mobile user to access the internet and corporate intranet by using Simple IP based service access. Simple IP mode of access, however, limits user mobility to the coverage area of the serving PDSN. Inter-PDSN handoff causes re-negotiation of PPP between the mobile station and the new PDSN. The old IP address assigned at the previous PDSN can usually not be assigned to the mobile user from the new PDSN, and results in reset and restart of user applications.

Some of the salient features for Simple IP based service access include:

Support for static IP Addresses

Public IP addresses

Private IP addresses, e.g. for VPDN service

Support for dynamic IP Addresses

Public IP addresses

Private IP addresses, e.g for VPDN service

Support for PPP PAP/CHAP authentication

Support for MSID based service access

Support for packet data accounting per TIA/EIA/IS-835-B

Support for packet filtering

Ingress address filtering

Input access lists

Output access lists

User NAI is available during the PPP CHAP/PAP authenticating phase. Domain name information in the NAI determines the domain responsible for user authentication. Based on the type of packet routing model, Simple IP based service access can be categorized as follows.

Simple IP Routed Access

Simple IP VPDN Access

Proxy-Mobile IP services

Simple IP Routed Access

After receiving username and password during PPP LCP negotiations, the PDSN forwards authentication information to the local AAA server via an access request message. This, in turn, may be proxied to the AAA server in the user's home domain, via broker AAA servers, if necessary. On successful authentication, the user is authorized services based on its service profile. User Class/CDMA_IPTECH information, along with other authorization parameters are returned to the PDSN using an access accept message from the home AAA. On successful negotiation of an IP address, Simple IP based services are made available to the mobile user.

Simple IP routed access method is applicable for users that are not configured for VPDN or proxy-Mobile IP services. With PPP terminated at the PDSN, uplink user traffic is routed towards the IP network from the PDSN. The address assigned to the mobile user would be from within the PDSN routable domain. Private addresses may also be used if a NAT is configured. User mobility is limited to the PDSN coverage area. Inter-PCF handoffs do not disrupt service. Inter-PDSN handoffs, however, result in PPP renegotiation at the new PDSN, another IP address being assigned at the new PDSN, and reset and restart of user applications.

Simple IP VPDN Access

After receiving username and password during PPP LCP negotiations, the PDSN forwards authentication information to the local AAA server via an access request message. This, in turn, may be proxied to the AAA server in the user's home domain, via broker AAA servers, if necessary. On successful authentication, the user is authorized services based on user's service profile. If the user is configured for VPDN based access services, User Class information, along with other authorization parameters including tunneling options and tunneling parameters, are returned to the PDSN via an access accept message from the home AAA. The following types of VPDN services are supported at the PDSN:

L2TP - Layer 2 Tunneling Protocol

For L2TP type layer2 tunneling, the PDSN establishes an L2TP tunnel with the tunneling endpoints specified by the tunneling parameters. The L2TP tunnel would be established between the LAC at the PDSN and LNS at the NAS in user's home domain. The PPP connection would be between the mobile station and the LNS in the home network. Despite the PPP connection termination at the LNS, the PDSN monitors the PPP session for inactivity. Status of the PPP connection is also linked with the state of the underlying A10 connection. PPP connection is deleted when the underlying A10 connection is deleted. IPSec encryption methods can also be enabled over the L2TP tunnels for enhanced security.

On successful negotiation of an IP address between the mobile and the LNS, IP-based services are made available to the mobile.

The LNS may be configured to authenticate the mobile user based on the challenge and challenge response information from the PDSN. Additionally, the LNS may also be configured to challenge the user again after the layer2 tunnel has been established. The following authentication options are supported for L2TP:

L2TP With Proxy-Authentication

The LAC (PDSN) challenges the mobile user and forwards authentication relabted information to the LNS as part of tunnel setup parameters. The LNS may be configured to authenticate the user either locally or via the home AAA, based on the authentication related information from the LAC (PDSN). On successful authentication, the mobile and the LNS proceed with the IPCP phase and negotiate an IP address for the user session. Call establishment procedures for this scenario are illustrated in Figure 16.

L2TP With Dual Authentication

The LAC (PDSN) challenges the mobile and forwards authentication related information to the LNS as part of tunnel setup parameters. The LNS may be configured to authenticate the user either locally or via the home AAA, based on the authentication related information from the LAC (PDSN). On successful authentication, the LNS challenges the mobile again. After successful authentication, the LNS and the mobile proceed with IPCP phase and negotiate the IP address for the user session.

Proxy-Mobile IP Access

After receiving username and password during PPP LCP negotiations, the PDSN forwards authentication information to the local AAA server via an access request message. This, in turn, may be proxied to the AAA server in the user's home domain, using broker AAA servers, if necessary. On successful authentication, the user is authorized services based on its service profile. User Class information, along with other authorization parameters are returned to the PDSN via an access reply from the home AAA.

If the user is configured for proxy-Mobile IP based access, authorization parameters from the home AAA include the Home Agent (HA) address, and the security parameter (SPI) to be used for computing the MN-HA Authentication extension for the mobile station. The Home Agent is allocated from the list of Home Agents configured at the home AAA server. Round robin or hashing algorithms based on user NAI can be used for allocating a Home Agent at the AAA. Other authorization attributes returned from the AAA include MN-AAA authenticating extension as defined in RFC 3012. Based on this information, the PDSN performs proxy-Mobile IP procedures on behalf of the mobile user by sending a Mobile IP Registration Request message to the allocated HA. On successful authentication of the mobile with the AAA, and registration at the Home Agent, the Home Agent assigns a home address for this mobile user This address is returned to the mobile during IPCP IP address negotiation phase.

On successful negotiation of an IP address, proxy-Mobile IP based services are made available to the mobile user. To the mobile, these services are no different from Simple IP services with tunneling being done via the Home Agent. This feature, however, extends the coverage area of the call beyond coverage area of the serving PDSN. If, as a result of a handoff event, another PDSN is allocated to the call, the target PDSN performs Mobile IP registration with the Home Agent thereby ensuring that the same home address is allocated to the mobile.

Mobile IP Based Service Access

The PDSN allows a mobile station with Mobile IP client function, to access the internet and corporate intranet using Mobile IP based service access. With this mode of service access, user mobility is extended beyond the coverage area of currently serving PDSN. Resulting from a handoff, if another PDSN is allocated to the call, the target PDSN performs Mobile IP registration with the Home Agent thereby ensuring that the same home address is allocated to the mobile.

Some of the salient features for Mobile IP services access include:

Support for static IP Addresses

Public IP addresses

Private IP addresses

Support for dynamic IP Addresses

Public IP addresses

Private IP addresses

Multiple Mobile IP user flows over a single PPP connection

Multiple flows for different NAIs using static or dynamic addresses

Multiple flows for the same NAI using different static addresses

Foreign Agent Challenge procedures in RFC 3012

Mobile IP Agent Advertisement Challenge Extension

MN-FA Challenge Extension

MN-AAA Authentication Extension

Mobile IP Extensions specified in RFC 2002

MN-HA Authentication Extension

MN-FA Authentication Extension

FA-HA Authentication Extension

Mobile IP Extensions specified in RFC 3220

Authentication requiring the use of SPI.

Mobile NAI Extension, RFC 2794

Reverse Tunneling, RFC 2344

Multiple tunneling Modes between FA and HA

IP-in-IP Encapsulation, RFC 2003

Generic Route Encapsulation, RFC 2784

Support for PPP PAP/CHAP authentication

Support for MSID based service access

Binding Update message for managing zombie PPP connections

Flow based packet data accounting per TIA/EIA/IS-835-B

Support for Packet Filtering

Ingress address filtering

Input access lists

Output access lists

A Mobile IP capable mobile client may be configured to skip PAP/CHAP based authentication during the PPP LCP phase. Once the PPP is established, the PDSN sends a burst of Mobile IP Agent Advertisement messages that include the Mobile IP Agent Advertisement Challenge extension specified in RFC 3012. The number and timing of the burst is configurable. The mobile user responds with a Mobile IP Registration Request message that includes the mobile user's NAI and MN-FA Challenge extension in response to the challenge in the Agent Advertisement message. If the mobile user does not respond to the initial burst, advertisements can be solicited.

The Foreign Agent function at the PDSN can be configured to authenticate the mobile user by forwarding an access request message to the local AAA server. The local AAA server would proxy the message to the home AAA server, via broker AAA server(s), if necessary. On successful authentication, the home AAA may assign a Home Agent to the call and return its address in the access reply message. Other authorization parameters in the access-reply message include the SPI and IPSec shared key to be used between the FA and the HA. The PDSN/FA and Home Agent establish a secure IPSec tunnel, if required, and the PDSN/FA forwards the Registration Request message to the Home Agent. The Registration Request message includes the NAI and MN-FA-Challenge Extension also. It may also include MN-AAA Authentication extension.

The Home Agent can be configured to authenticate the mobile again with the home AAA. On successful authentication and registration, the Home Agent responds with a Registration Reply message to the PDSN/FA, which is forwarded to the mobile station. The Registration Reply message contains the home address also (static or dynamically assigned) for the user session.

Potential home addresses are available to the PDSN from the following:

Mobile IP Registration Request received from the Mobile Node

FA-CHAP response received from the HAAA

Mobile IP Registration Reply received from the Home Agent

The mobile may be configured to perform PPP PAP/CHAP authentication in addition to performing Foreign Agent Challenge based authentication specified in RFC 3012. In this case the PDSN would support one Simple IP flow, in addition to one or more Mobile IP flows.

For Mobile IP services, the Home Agent would typically be located within an ISP network or within a corporate domain. However, many of the ISPs and/or corporate entities may not be ready to provision Home Agents by the time service providers begin rollout of third-generation packet data services. Access service providers could mitigate this situation by provisioning Home Agents within their own domain, and then forward packets to ISPs or corporate domains via VPDN services.

Binding Update Procedures

When a mobile first registers for packet data services, a PPP session and associated Mobile IP flow(s) are established at the PDSN. In the event of an inter-PDSN handoff, another PPP session is established at the target PDSN, and the mobile registers with the Home Agent via the new PDSN/FA. The Visitor list binding and the PPP session at the previous PDSN are, however, not released until the PPP inactivity timer expires.

Idle/unused PPP sessions at a PDSN consume valuable resources. The Cisco PDSN and Home Agent support Mobile IP Resource Revocation as defined in IS83C and Cisco Proprietary Binding Update and Binding Acknowledge messages for releasing such idle PPP sessions as soon as possible. Mobile IP Resource Revocation is described in Section 16 in greater detail

If Cisco Proprietary binding update feature is used, in the event of an inter-PDSN handoff and Mobile IP registration, the Home Agent updates mobility binding information for the mobile with the Care-of-Address (COA) of the new PDSN/FA. If simultaneous bindings are not enabled, the Home Agent sends a notification in the form of a Binding Update message to the previous PDSN/FA. The previous PDSN/FA acknowledges with Binding Acknowledge, if required, and deletes visitor list entry for the Mobile IP session. The previous PDSN/FA initiates the release of the PPP session when there are no active flows for that mobile station.

The sending of the binding update message is configurable at the Home Agent.


Note When multiple flows are established for the same NAI, a different IP address is assigned to each flow. This means that simultaneous binding is not required as this is used for maintaining more than one flow to the same IP address.


Simple IPv6 Access

The PDSN simple IP service has been enhanced to allow both simple IPv4 and simple IPv6 access. These protocols can be used one at a time, or at the same time. The ipcp and the ipv6cp are equivalent for each protocol.

An IPv6 access uses the same PPP LCP authentication and authorization procedures, as well as the AAA access. When an RP connection is established, the MS sends a PPP Link Control Protocol (LCP) Configuration-Request for a new PPP session to the PDSN. The PPP authentication (CHAP/PAP/none) is one of the parameters negotiated during the LCP phase. After the LCP parameters are negotiated between the MS and the PDSN, an LCP Configure-Acknowledge message is exchanged. Once LCP is up, the PPP authentication is started.

The authentication phase uses CHAP, PAP, or none, depending on the configuration and LCP negotiation. After authentication, the NCPs, ipcp and/or ipv6cp, can be started. A simultaneous IPv4 and IPv6 access from an MS shares the common LCP authentication and authorization as well as the AAA correlation-id parameter.

The ipv6cp protocol negotiates a valid non-zero 64-bit IPv6 interface indentifier for the MS and the PDSN. The PDSN has only one interface-identifier associated with the PPP connection, so it will be unique. Once ipv6cp has been successfully negotiated, the PDSN and MS both generate unique link-local addresses for the IPv6 interface. The link-local addresses are generated by pre-pending the link-local prefix, FE80:/64, to the 64-bit interface-identifier negotiated during the ipv6cp phase (for example, FE80::205:9AFF:FEFA:D806). This gives a 128-bit link-local address.

The PDSN immediately sends an initial unsolicited Router Advertisement (RA) message on the PPP link to the MS. The link-local address of the PDSN is used as the source address and the destination address will be FF02::1, the "all nodes on the local link" IPv6 address. The PDSN includes a globally unique /64 prefix in the RA message sent to the MS. The prefix may be obtained from a local prefix pool or from AAA. The MS will construct a global IPv6 unicast address by prepending the prefix received in the RA to the lower 64-bit interface identifier. You should carefully configure the PDSNs so that the /64 prefix is globally unique for each MS.

After a successful ipv6cp negotiation phase and configuration of the link-local address, the MS transmits a Router Solicitation (RS) message if an RA message has not been received from the PDSN within some specified period of time. The RA is necessary for the MS to construct its 128-bit global unicast address.

In contrast to IPv4, an IPv6 MS will have multiple IPv6 addresses, including:

Link-local address

Global unicast address

Various multicast addresses used for IPv6 Neighbor Discovery and IPv6 ICMP messages

An IPv6 address is 128-bits for both source and destination addresses. The /64 designation means that 64-bits are used for the prefix (upper 64-bits). This is similar to an IPv4 netmask. A /128 address would mean that the entire address is used. Refer to RFC-3513 for additional IPv6 addressing details and information.

Configuring Simple IPV6

The following commands are used to configure simple IPV6 on the Cisco PDSN, and are listed in the Command Reference:

The cdma pdsn ipv6 command enables the PDSN IPv6 functionality.

The cdma pdsn ipv6 ra-count number command configures the number of IPv6 Route Advertisements (RA).

The cdma pdsn ipv6 ra-count number ra-interval number command controls the number and interval of RAs sent to the MN when an IPv6CP session comes up:

The cdma pdsn accounting send ipv6-flows command control the number of flows and UDR records used for simultaneous IPv4, IPv6 sessions.

The show cdma pdsn flow mn-ipv6-address command shows CDMA PDSN user information by MN IPv6 address.

The show cdma pdsn flow service simple-ipv6 command displays flow-based information for simple IPV6 sessions.

The debug cdma pdsn ipv6 command displays IPV6 error or event messages.

The following configuration commands are required for IPv6:

Global Configuration Commands

ipv6 unicast-routing - IPv6 is off by default

ipv6 cef - enables cef switching

ipv6 local pool PDSN-Ipv6-Pool 2001:420:10::/48 64 - enables a pool of IPv6 prefix addresses that can be sent to the MS as a Routing Advertisement (RA)

Virtual-template Interface Commands:

ipv6 enable - enables IPv6 on this interface

no ipv6 nd suppress-ra - do not suppress the Neighbor Discovery Routing Advertisement messages (suppressed on non-ethernet interfaces)

ipv6 nd ra-interval 1000 - send a ND Routing Advertisement every 1000 seconds

ipv6 nd ra-lifetime 5000 - lifetime for the ND Routing Advertisement is 5000 seconds

peer default ipv6 pool PDSN-Ipv6-Pool - use this pool for RA prefixes

Other commands

show ipv6

Please refer to the Cisco IOS IPV6 Command Reference at the following URL for more detailed information regarding these configuration commands:

http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_command_reference_book09186a00801d661a.html

Session Redundancy Infrastructure

New Features

In PDSN Release 4.0, a redundant PDSN is updated with the session details at the following two different times:

Bulk sync when Standby PDSN comes up

When both Active and Standby PDSN are up and

Session comes up or goes down

Session is refreshed (includes details about updated auxiliary connections, IP flows and their mapping) upon receiving a re-registration

Flow comes up or goes down (includes SIP/MIP/PMIP)

Session goes from Active to dormant and vice versa

PPP renegotiation happens

TFT is received or updated

The new parameters introduced in this feature are synced to standby for both scenarios.

Functional Overview

PDSN session redundancy is focused on preserving user flows on fail-over. Support for the continuity of billing records, internal counters, and MIB variables is secondary. The following conditions need to exist for fail-over to be successful on the PDSN:

Users perceive no service interruption.

Users do not experience excessive or incorrect billing.

Users are able to re-initiate data service after fail-over.

The PDSN Session Redundancy feature provides user session failover capability to minimize the impact of a PDSN failure on the mobile user experience. The PDSN uses a 1:1 redundancy model, with a standby present for every active PDSN. The active PDSN sends state information to the standby PDSN for synchronization on an as-needed basis. When a PDSN failure occurs, the standby PDSN has the necessary state information to provide service to all existing sessions. It then takes over as the active PDSN and services user sessions, thus providing session redundancy. When the previously active PDSN comes back online, it assumes the role of standby for the now active PDSN, and receives state information for all existing sessions from the newly active PDSN.

Under normal operating conditions, the active and standby PDSN pairs are two separate PDSN images that have identical configurations. They share one or more HSRP interfaces, which are used by all external entities to communicate with them. The active PDSN synchronizes session data to the standby PDSN based on events described below.

Session Events

When a new user session needs to be established, the PCF first sets up an A10 connection to the active PDSN using the HSRP address known to the PCF. The MN then sets up a PPP connection with the active PDSN using the A10 tunnel. Once the call is in a stable state (the PPP session is successful), the active PDSN then syncs relevant state information to the standby PDSN. The standby then duplicates the actions of the active PDSN with regards to the A10 connection and the PPP session, and awaits further updates from the active. When any of the other events as listed below occurs, the active PDSN sends state information to the standby.

In order to minimize the loss of accounting data in the event of a failover, a periodic accounting update, with configurable frequency shall run on the active PDSN. Every periodic update for a session shall trigger a sync sent to the standby PDSN, which shall update its accounting data. Only counters and attributes that undergo a change on the active PDSN are synced to the standby periodically. Information since the last accounting synchronization point will be lost. Also, in order to ensure that the latest information is correctly conveyed to the billing system, the standby unit will never send out any accounting records to the AAA server. The records are always sent from the Active Unit.

Session events that lead to a sync are:

Call Setup

Call teardown

Flow setup

Flow teardown

Dormant-Active transition

Handoff

A11 Re-registrations

Periodic accounting sync

PPP renegotiation

Active PDSN Failure

In the event that the standby PDSN detects that the active PDSN has failed (using HSRP), it then takes over as the active PDSN. Since all external entities, including PCFs, AAA servers, and Home Agents are configured to communicate with the PDSN pair only using the HSRP addresses, once the standby PDSN takes over those addresses, they are unable to detect a failure. All stable calls also have their state synced to the standby; therefore the standby is able to start forwarding user traffic once it takes over as active. On the standby all timers (such as A11 lifetime, PPP timers, and Mobile IP lifetime) are started at the time it takes over as active. Accounting data is also synchronized to the extent that the periodic accounting sync timer has been configured on the PDSNs.

Standby PDSN Start-up

When a PDSN comes up when there is an existing active, it takes over the standby role. When the active PDSN learns that a standby PDSN is available, it goes through a process of transferring state data for all existing user sessions to the standby, called a Bulk Sync. Once this process is complete, the standby PDSN is then ready to take over as active in the event of a failure.

Handling Active-Active Scenario

If there is a link failure or a failure in an intermediate node, HSRP packets sent will not reach the peer and the standby node would assume that the active has reloaded and transitioned to active state. This leads to a situation of Active-Active PDSN nodes. The requirement is that, in case one of the PDSNs continues to receive traffic while the other is isolated from the network, it is ensured that the node which received traffic should remain active once the link is restored.

To achieve this, an application tracking object is introduced and HSRP priority is altered based on whether PDSN is processing traffic after the HSRP peer is lost. The PDSN will lower its HSPR priority once it detects that the peer PDSN is lost. Afterward, when the PDSN processes traffic (either control or data packets), it raises its priority back to the configured value. This helps to choose the active node after the link is restored between the PDSNs. So the node which received traffic in Active-Active situation remains to be Active after link restoration.

Other Considerations

A Redundancy Framework (RF) MIB is available in order to monitor the active and standby status of the two PDSNs. Other MIB variables and internal counters are not synchronized between the Active and Standby. They start from the values following IOS-Load or Reload on the backup image. The backup image is treated as a new box.

The PDSN redundant pair is treated as a single member by the cluster controller, and is transparent to the PDSN clustering mechanism. The cluster controller is oblivious to a failover from an active PDSN to its redundant standby.

Similarly, a PDSN redundant pair appears as a single PDSN to all external entities, such as the PCF, the HA, and the AAA server.

IPSec security associations for FA-HA connectivity are maintained across fail-over.


Note Currently, VPDN, Closed RP, IPv6, and Prepaid services are not supported by the Session Redundancy implementation.



Note Configuration synchronization between the active and standby units is not supported for R3.0. The operator needs to enter configuration commands on both the Active and Standby units.


In Process Sync Events

The following subsections explain the expected behavior of the PDSN under session redundancy for various sync events in process.

Call Setup

The state of "sessions-in-progress" is not preserved during fail-over. Mechanisms such as R-P connection retry from the PCF will ensure that sessions will be established as required.

It is possible that a fail-over can occur when the PCF has established an R-P session for a user flow, but user flow establishment is not completed. In this case, fail-over will result in the R-P session not being present on the standby. The PCF will timeout the R-P session on the next R-P session lifetime refresh. If the user attempts to establish a new session during this time, a new session will be created.

Call Teardown

There are four scenarios for session termination. These include the following:

Mobile Terminal initiates session teardown

PPP Idle Timeout expires on PDSN

PDSN initiates a Registration Update

PCF initiates a Registration request with lifetime 0

For each of these cases, session teardown is a multi-step process. For example, a fail-over can occur when a Registration Update message has been sent from the PDSN and the acknowledgement has not been received. In this case, the standby PDSN will already have been told to delete the session. The active PDSN will not wait for an update acknowledgement from the PCF.

If a fail-over occurs after sending the Registration Update to the PCF but before the standby has been told to delete the session, or the request to delete the session is lost, the session will remain established on the standby.

Another case is that the PPP context has been deleted as a result of mobile-initiated termination, and then fail-over occurs prior to the R-P session being terminated.

Similarly, expiry of the PPP Idle timer on the PDSN could also result in deletion of PPP context followed by fail-over prior to R-P session termination.

In these cases, either the Mobile IP Registration Lifetime or the PPP Idle Timeout will expire, and the session is terminated.

Flow Setup

Flows that are in the process of being established are not preserved. You will see this as failure to establish the flow, and you will have to re-establish the flow.

Flow Teardown

This section applies when a session has two or more flows. Currently only a MoIP call supports this case. For an SIP call, only one flow is allowed.

Although a MoIP flow is preserved after switchover, it is possible that registration lifetime expiration will lead to deletion of the flow. If the same user registers again before the lifetime expires, it will be considered as a re-registration since this is an existing visitor. However, the re-registration may or may not succeed, depending on the following conditions:

1. If the user got a Registration Reply (RRP) for its previous de-registration from the active node before the switchover and if the Foreign Agent Challenge (FAC) included in that RRP is not synced to the now active node (very likely, otherwise, the flow would have been deleted from this node), this re-registration will be rejected with an invalid challenge error. The user has to initiate a solicitation to the new active node, receive a new challenge and then resend a Registration Request (RRQ). This time, the RRQ is treated as a valid re-registration and the lifetime is refreshed. It also gets the same IP address as the previous one even though the user considers this as a new registration (it is a re-registration from the FA's and HA's view).

2. If the user did not get a RRP for its previous de-registration from the active node before the switchover, de-registration is resent to the now-active node. This de-registration is likely to be rejected due to invalid FAC, which depends on whether the latest FAC is synced to the standby before the switchover. Then the user can either send a solicitation to get a new FAC and then sends de-registration again or simply give up. In the latter case, 1 above applies.

Dormant-Active Transition

The transition is synchronized between active and standby, and would fall into following scenarios:

1. If the PCF receives a RRP in response to the RRQ, and if the transition state is synced to the standby before the switchover, the now-active node will have the right session state and the transition is successful.

2. If the PCF receives a RRP in response to the RRQ but the transition state is not synced to the standby before the switchover, the now-active node will have the wrong session state (e.g. session is marked as dormant while it should be active).

However, packets will be switched and counted. The PDSN-related show commands may not show all the right information about the session. The subsequent transition from active to dormant will not cause difficulties as the session remains dormant on the PDSN.

3. If the PCF did not receive an RRP in response to the RRQ before the switchover and if it tries again with the now-active node, this is handled as today.

4. If the PCF did not receive a RRP in response to the RRQ before the switchover, and if it exceeds the maximum number of retries with the now-active node, this is handled as 2 above.

Handoff

Inter-PCF Handoff (Dormant or Active) - Same PDSN

The most significant problem with hand-off is to re-establish the data path between the target PCF and the now-active PDSN for the preserved session, irrespective of whether this is an active or dormant handoff. Again, there is a window between handoff actually being completed and the state being synchronized within which a fail-over can occur.

These are the following scenarios:

1. If the target PCF received an RRP from the active PDSN, and the handoff state is synchronized to the standby before switchover, the data path between the target PCF and the now-active PDSN is established for the handed-off session and the user would not perceive any service disruption. The old PCF may or may not receive the Registration Update from the previously active node, depending on the exact point of switchover. If it receives the Registration Update and sends out a RRQ (lifetime=0), the call should be treated correctly at the old PCF. In case that the old PCF does not receive the Registration Update, and that the session is handled back to it again, it's not clear how PCF will handle this case (this is similar to that the PCF has an existing call for a user and then receives a new call request from the same user). If the PCF ignores the new request, the correct data path is not present and therefore a user is not able to transfer traffic.

2. If the target PCF received the RRP from the active PDSN, but the handoff state is NOT synchronized to the standby before switchover, the data path between the target PCF and the now-active PDSN will not be established (the session still points to the old PCF). As a result, the end user will notice service disruption. The user cannot gracefully de-register as PPP packets for call termination (TERMREQ) cannot reach the now-active PDSN, and the RRQ (lifetime=0) from the target PCF arrives on the now-active PDSN but the session does not recognize this as a valid remote tunnel endpoint. As a result, de-registration is ignored. The session will eventually be deleted on expiry of the PPP idle timer or registration lifetime. If the user re-registers again, this will be treated as hand-off since the session's current remote tunnel endpoint (the old PCF) is different from the target PCF. This time, the data path is established and the user will receive service.

3. If the target PCF did not receive an RRP from the active PDSN before switchover, and if the PCF tries again with the now-active PDSN, the hand-off is processed the same as of today.

Inter-PCF Handoff (Dormant or Active) - Different PDSN

This kind of handoff is indicated to the PDSN by receipt of an A11 Registration Request containing the PANID and CANID. It also includes the Mobility Event Indicator and Accounting Data (R-P Session Setup Air-link Record). From the perspective of High Availability, this looks like a new session establishment on the newly active PDSN and a 'regular' session termination on the old PDSN.

A11 Re-registrations

A11 Re-registration RRQ is received by the active unit. The registration life timer does not start on the standby, but it keeps track of the life timer value so that it can restart the life timer once it becomes active. If the lifetime in the re-registration RRQ is different from the previous RRQ, the new lifetime is synced to the standby. For example, if a previous RRQ carries a lifetime of 300 seconds and now a new RRQ has the value changed to 500 seconds, the new value is synced to the standby. Other significant parameters included in the re-registration RRQ are also synced to the standby.

Now, in the above example, if the failover occurs before syncing the new lifetime to the standby, the standby will start the lifetime for 300 seconds.

PPP Re-negotiation

Upon PPP renegotiation, the PDSN deletes all the flows on the RP session and sends accounting STOP for each flow. Once PPP is up again, the PDSN creates new flow(s) for the session. Therefore, when PPP renegotiation happens on the active, the active unit will send a PPP renegotiation notification to the standby which will then delete all the flows from the RP session on the standby. Once PPP is up again and a new flow is created on the active, the active unit sends each flow's data to the standby. If the failover occurs during PPP re-negotiation, the re-negotiation will fail, and the session may be torn down on the newly active unit.

Other Considerations

Timers

The following timers are normally running when a session is established

R-P Session Lifetime

PPP Idle Timeout

Mobile IP Registration Lifetime

PPP Absolute Session Timeout

The following timers may be running, depending on configuration

Periodic accounting (not to be confused with the sync timer mentioned above).

These timers are restarted on the standby when fail-over occurs, and the elapsed time is not synchronized to the standby. The effect will be to extend the timers beyond their original values by a time equal to the time that has already expired. This ensures that the user will not perceive a session failure on fail-over.

Restrictions

The following restrictions exist for the PDSN Session Redundancy Feature:

Limitation for Resource Revocation with SR Setup.

Setting the revocation timestamp to "msec" (ip mobile foreign-service revocation timeout 5 retransmit 4 timestamp msec) for PMIP flows with Session Redundancy is not permitted.

The "msec" option puts the uptime in the timestamp field, and the uptime of the standby router is expected to be lower after switchover when the standby PDSN takes over as active (and when the PMIP flow was closed). Therefore, revocation on HA will be ignored because the identifier value in the revocation message is less than what is expected by HA.

The ip radius source interface command does not support virtual address (HSRP), and hence the IP address configured under Loopback interface to be used as source interface (NAS IP address) for reaching AAA in SR setup

Internals

The following sections identify information that is synced to the standby unit:

AHDLC

The control character mapping per used AHDLC channel is preserved. As the default is normally used, only those that are different are synchronized. The AHDLC channel number is not synchronized; an available channel will be selected independently on the standby.

GRE - RP Interface

The GRE Key is synchronized. The flags are synchronized as the sequence flag can be set on a per user basis.

RP Signaling

The contents of the A11 messaging will be treated as described below.

Flags - Fixed - No synchronization required.

Lifetime - Synchronized.

Home Address - No synchronization required.

Home Agent - No synchronization - This is the HSRP address of the R-P interface. This is used for proposing a PDSN IP address when clustering is configured. This will be the HSRP address of the proposed PDSN. It is only used prior to session establishment.

Care-of-Address - Synchronized - This is the PCF IP address for the R-P Session.

A10 Source IP Address - Synchronized - This is the PCF's A10 IP Address.

Identification - Not synchronized - contains timestamp to protect against replay attacks.

Mobile-Home Authentication Extension - Not synchronized, calculated per message.

Registration Update Authentication Extension - Not synchronized, calculated per message.

Session-Specific Extension - Synchronized - covers Key, MN_ID and SR-ID.

C-VOSE - This contains multiple application types, Accounting, MEI and DAI. The accounting information will be synchronized. Details are in the accounting section.

N-VOSE contents - ANID will be synchronized, both as part of the session establishment and when it changes as a result of handoff. Fast handoff is not supported, so PDSN Identifier and Identifiers are not relevant to the session redundancy discussion.

RNPDIT - Synchronized - Radio Network Packet Data Inactivity Timer.

The source UDP port for the A11 traffic will be synchronized.

PPP

All LCP options are synchronized. For IPCP, only the IP address and IPHC parameters are synchronized. DNS server IP address negotiated during IPCP negotiation is not synchronized to the standby unit. All per user attributes downloaded from AAA during authentication/authorization are synchronized to the standby unit.

Compression - Header and Payload

There is no synchronization of compression context for either header or payload compression. Fail-over to a standby PDSN results in the compression context being re-established.

Header compression - First packet for a session after switchover is dropped, and peer retries the packet after acknowledge timeout.

Payload compression - There is no compression history present after switchover on the standby. A CCP reset is automatically generated when decode fails. No special treatment is needed.

IP Address Assignment

When an IP address is dynamically assigned from a pool configured on the PDSN, it is necessary that the standby associates the same address with the session. The IP address will be synchronized as part of PPP state. If the IP address is received from AAA or a static IP address is used that does not come from a local pool, this address will also be associated with the session on the standby. Similarly, the address pool will be synced.

AAA - Authentication and Authorization

Table 2 lists the relevant Authentication and Authorization parameters. This is required on the standby to allow accurate recreation of AAA state.

Table 5 Standard AVPs Supported for Authentication and Authorization 

Authentication and Authorization AVPs Supported By Cisco IOS Name
Synchronized
Description
Allowed In
     
Access Request
Access Accept

User-Name

Yes

User name for authentication and authorization.

Yes

No

User-Password

No

Password for authentication.

Yes

No

CHAP-Password

No

CHAP password.

Yes

No

NAS-IP-Address

No

IP address of the PDSN interface used for communicating with RADIUS server. A loopback address could be use for this purpose.

Yes

No

Service-Type

No

Type of service the user is getting. Supported values include:

"Outbound" for MSID based user access

"Framed" for other type of user access

Yes

Yes

Framed-Protocol

No

Framing protocol user is using. Supported values include:

PPP

Yes

Yes

Framed-IP-Address

Yes

IP address assigned to the user.

Yes

Yes

Session-Time-Out

Yes

Maximum number of seconds of service is to be provided to the user before session terminates.

This attribute value becomes the per-user "absolute time-out."

No

Yes

Idle-Time-out

Yes

Maximum number of consecutive seconds of idle connection allowed to the user before the session terminates.

This attribute value becomes the per-user "idle-time-out".

No

Yes

Calling-Station-ID

Yes

MSID identifier of the mobile user.

Yes

No

CHAP-Challenge (optional)

No

CHAP Challenge.

Yes

No

Tunnel-Type

No

VPN tunneling protocol(s) used. Supported values include:

1 for PPTP (not supported)

3 for L2TP

No

Yes

Tunnel-Medium-Type

No. Not supported

Transport medium type to use for the tunnel.

No

Yes

Tunnel-Client- Endpoint

No. Not supported

Address of the client end of the tunnel. When you specify Tunnel-Client-Endpoint, Tunnel-Server is not supported. Use L2TP

No

Yes

Tunnel-Server- Endpoint

No. Not supported

Address of the server end of the tunnel.

No

Yes

Tunnel-Password

No. Not supported

Password to be used for authenticating remote server.

No

Yes

Tunnel-Assignment-ID

No. Not supported

Indicates to the initiator of the tunnel, identifier of the tunnel to which the session is assigned.

No

Yes

addr-pool

No. Not supported

Name of a local pool from which to obtain address. Used with service=ppp and protocol=ip.

"addr-pool" works in conjunction with local pooling. It specifies the name of a local pool (which must have been pre-configured locally).

Use the ip-local pool command for configuring local pools. For example:

ip address-pool local

ip local pool boo 10.0.0.1 10.0.0.10

ip local pool moo 10.0.0.1 10.0.0.20

No

Yes

Inacl#<n>

Yes

ASCII access list identifier for an input access list to be installed and applied to an interface for the duration of the current connection.

Used with service=ppp and protocol=ip, and service service=ppp and protocol =ipx.

Note Per-user access lists do not currently work with ISDN interfaces.

No

Yes

Inacl

Yes

ASCII identifier for an interface input access list.

Used with service=ppp and protocol=ip.

Contains an IP output access list for SLIP or PPP/IP (for example, intacl=4).

The access list itself must be pre-configured on the router.

No

Yes

outacl#<n>

Yes

ASCII access list identifier for an interface output access list to be installed and applied to an interface for the duration of the current connection.

Used with service=ppp and protocol=ip, and service service=ppp and protocol=ipx.

No

Yes

Outacl

Yes

ASCII identifier for an interface output access list.

Used with service=ppp and protocol=ip, and service service=ppp and protocol=ipx.

Contains an IP output access list for SLIP or PPP/IP (for example, outacl=4).

The access list itself must be pre-configured on the router.

No

Yes

interface-config

Yes

User-specific AAA interface configuration information with Virtual Profiles.

The information that follows the equal sign (=) can be any Cisco IOS interface configuration command.

No

Yes

SPI

Yes

Carries authentication information needed by the home agent for authenticating a mobile user during MIP registration.

Provides the Security Parameter Index (SPI), key, authentication algorithm, authentication mode, and replay protection timestamp range.

The information is in the same syntax as the ip mobile secure host address configuration command. Essentially, it contains the rest of the configuration command that follows that string, verbatim.

No

Yes

IP-Pool-Definition

Yes

Defines a pool of addresses using the format: X a.b.c Z; where X is the pool index number, a.b.c is the pool's starting IP address, and Z is the number of IP addresses in the pool.

For example, 3 10.0.0.1 5 allocates 10.0.0.1 through 10.0.0.5 for dynamic assignment.

No

Yes

Assign-IP-Pool

Yes

Assign an IP address from the identified IP pool.

No

Yes

Framed-Compression

Yes

Indicates a compression protocol used for the link. Supported values include:

0: None

1: VJ-TCP/IP header compression

No

Yes

Link-Compression

Yes

Link compression protocol to be used.

Supported values include:

0: None

1: Stac

2: Stac-LZS

3: MS-Stac

No

Yes


GPP2 Packet Data Service Attributes

Table 3 lists the 3GPP2 Packet Data Service Attributes.

Table 6 3GPP2 Packet Data Service Attributes 

Name
Synchronized
Description
                             Allowed In
     

Access Request

Access Accept

mobileip-mn- lifetime

Yes

Defines lifetime used in Proxy MIP RRQ.

No

Yes

mobileip-mn- ipaddr

Yes

MN IP address for static address assignment. If this attribute is present, this address is used in Proxy MIP RRQ.

No

Yes

mobileip-mn- flags

Yes

Defines Flags used in Proxy MIP RRQ.

No

Yes

CDMA-Realm

Yes

For MSID based access, "realm" information for construction of user name in the form MSID@realm. User names constructed this way are used for accounting purposes only.

The format of realm information is:

ASCII string specifying realm of user's registered domain.

No

Yes

CDMA-User- Class

Yes

Type of service user is subscribed to.

Supported values are:

1 for Simple IP

2 for Mobile IP

No

Yes

3GPP2-Reverse- Tunnel- Spec

Yes

Indicates whether reverse tunneling is required or not.

Su.pported values are:

0 for reverse tunneling not required.

1 for reverse tunneling required.

No

Yes

3GPP2-Home- Agent- Attribute

Yes

Address of the Home Agent

Yes

Yes

3GPP2-IP- Technology

Yes

Indicates type of service user is subscribed to.

Supported values are:

1 for Simple IP

2 for Mobile IP

No

Yes

3GPP2- Correlation-Id

Yes

Identifies all accounting records generated for a particular user flow.

Yes

Yes

3GPP2-Always-On

Yes

Indicates Always On Service.

Supported values are:

0 for non always on users

1for always on users

No

Yes

3GPP2-Security Level

Yes

Indicates the type of security that the home network mandates on the visited network.

No

Yes

3GPP2- IKE Pre-shared Secret Request

No

Indicates that the PDSN needs a pre-shared secret for Phase 1 IKE negotiation with the HA.

Yes

No

3GPP2-Pre-shared secret

No

A pre-shared secret for IKE.

No

Yes

3GPP2-KeyID

No

Contains the KeyID parameter used during IKE exchange between the PDSN and the HA.

No

Yes

3GPP2-Allowed DiffServ marking

No

Specifies if the user is able to mark packets with AF (A), EF (E). The Max Class (i.e., Max Selector Class), specifies that the user may mark packets with a Class Selector Code Point that is less than or equal to Max Class.

No

Yes

3GPP2-MN-AAA Removal Indication

Yes

When received in a RADIUS Access-Accept message, the PDSN shall not include the MN-AAA.

No

Yes

3GPP2-Foreign- Agent Address

No

The IPv4 address of the PDSN CoA contained in RRQ.

Yes

No

Service Option

Yes

Indicates the type of service being used.

Yes

No

DNS Update Required

No. Not supported

Indicates whether DNS update is required.

No

Yes

RN PDIT

Yes

Radio Network Packet Data Inactivity Timer.

No

Yes

Session Termination Capability

Yes

Indicates the nature of resource revocation supported.

Yes

Yes


AAA Accounting

GPP2 Accounting Records Fields

Table 7 GPP2 Accounting Records Fields 

Item
Parameter
Description
Synchronized

A. Mobile Identifiers

A1

MSID

MS ID (e.g., IMSI, MIN, IRM)

Yes

A2

ESN

Electronic Serial Number

Yes

A3

MEID

Mobile Equipment Identifier

Yes

B. User Identifiers

B1

Source IP Address

IPv4 address of the MS.

Yes

B2

Network Access Identifier (NAI)

user@domain construct which identifies the user and home network of the MS.

Yes

B3

Framed-IPv6- Prefix

MS IPv6 prefix.

Not supported.

B4

IPv6 Interface ID

MS IPv6 interface identifier.

Not supported.

C. Session Identifiers

C1

Account Session ID

The Account Session ID is a unique accounting ID created by the Serving PDSN that allows start and stop RADIUS records from a single R-P connection or P-P connection to be matched.

Yes

C2

Correlation ID

The Correlation ID is a unique accounting ID created by the Serving PDSN for each packet data session that allows multiple accounting events for each associated R-P connection or P-P connection to be correlated.

Yes

C3

Session Continue

This attribute when set to "true" means it is not the end of a Session and an Accounting Stop is immediately followed by an Account Start Record. "False" means end of a session.

Yes

C4

Beginning Session

The attribute when set to "true" means new packet data session is established; "false" means continuation of previous packet data session. This attribute is contained in a RADIUS Accounting-Request (Start) record.

No

C5

Service Reference ID

This is the service instance reference ID received from the RN in an A11 Registration-Request message.

Yes

D. Infrastructure Identifiers

D1

Home Agent

The IPv4 address of the HA.

Yes

D2

PDSN

The IPv4 address of the PDSN.

No. Should be configured to be the same on the active and standby.

D3

Address Serving PCF

The IP address of the serving PCF (the PCF in the serving RN).

Yes

D4

BSID

SID + NID + Cell Identifier type 2.

Yes

D5

IPv6 PDSN Address

The IPv6 address of the PDSN.

Not supported

D6

Foreign Agent Address

The IPv4 address of the FA-CoA.

Not supported

E. Zone Identifiers

E1

User zone

Tiered Services user zone.

Yes

F. Session Status

F1

Forward FCH Mux Option

Forward Fundamental Channel multiplex option.

Yes

F2

Reverse FCH Mux Option

Reverse Fundamental Channel multiplex option.

Yes

F5

Service Option

CDMA service option as received from the RN.

Yes

F6

Forward Traffic Type

Forward direction traffic type - either Primary or Secondary.

Yes

F7

Reverse Traffic Type

Reverse direction traffic type - either Primary or Secondary.

Yes

F8

FCH Frame Size

Specifies the FCH frame size.

Yes

F9

Forward FCH RC

The format and structure of the radio channel in the forward Fundamental Channel. A set of forward transmission formats that are characterized by data rates, modulation characterized, and spreading rates.

Yes

F10

Reverse FCH RC

The format and structure of the radio channel in the reverse Fundamental Channel. A set of reverse transmission formats that are characterized by data rates, modulation characterized, and spreading rates.

Yes

F11

IP Technology

Identifies the IP technology to use for this call: Simple IP or Mobile IP.

Yes

F12

Compulsory Tunnel Indicator

Indicator of invocation of compulsory tunnel established on behalf of MS for providing private network and/or ISP access during a single packet data connection.

Yes

F13

Release Indicator

Specifies reason for sending a stop record.

Yes

F14

DCCH Frame Size

Specifies Dedicated Control Channel (DCCH) frame size.

Yes

F15

Always On

Specifies the status of Always On service.

Yes

F16

Forward PDCH RC

The Radio Configuration of the Forward Packet Data Channel. (This parameter can be used as an indication that the MS is 1xEV DV capable.)

Yes

F17

Forward DCCH Mux Option

Forward Dedicated Control Channel multiplex option.

Yes

F18

Reverse DCCH Mux Option

Reverse Dedicated Control Channel multiplex option

Yes

F19

Forward DCCH RC

The format and structure of the radio channel in the forward Dedicated Control Channel. A set of forward transmission formats that are characterized by data rates, modulation characterized, and spreading rates.

Yes

F20

Reverse DCCH RC

The format and structure of the radio channel in the reverse Dedicated Control Channel. A set of reverse transmission formats that are characterized by data rates, modulation characterized, and spreading rates.

Yes

F22

Reverse PDCH RC

The Radio Configuration of the Reverse Packet Data Channel.

Yes

G. Session Activity

G1

Data Octet Count (Terminating)

The total number of octets in IP packets sent to the user, as received at the PDSN from the IP network (i.e. prior to any compression and/or fragmentation).

Yes

G2

Data Octet Count (Originating)

The total number of octets in IP packets sent by the user.

Yes

G3

Bad PPP frame count

The total number of PPP frames from the MS dropped by the PDSN due to incorrect able errors.

Yes

G4

Event Time

This is an event timestamp which indicates one of the following:

The start of an accounting session if it is part of a RADIUS start message.

The end of an accounting session if it is part of a RADIUS stop message.

An Interim-Update accounting event if it is part of a RADIUS Interim-Update message.

Yes

G5

Remote IPv4 Address Octet Count

Contains the octet count associated with one or more remote IPv4 address; used for source/destination accounting.

Not supported

G6

Remote IPv6 Address Octet Count

Contains the octet count associated with one or more remote IPv6 address; used for source/destination accounting.

Not supported

G8

Active Time

The total active connection time on traffic channel in seconds.

Yes

G9

Number of Active Transitions

The total number of non-active to Active transitions by the user.

Not supported

G10

SDB Octet Count (Terminating)

The total number of octets sent to the MS using Short Data Bursts.

Yes

G11

SDB Octet Count (Originating)

The total number of octets sent by the MS using Short Data Bursts.

Yes

G12

Number of SDBs (Terminating)

The total number of Short Data Burst transactions with the MS.

Yes

G13

Number of SDBs (Originating)

The total number of Short Data Burst transactions with the MS.

Yes

G14

Number of HDLC layer octets received

The count of all octets received in the reverse direction by the HDLC layer in the PDSN.

Yes

G15

Inbound Mobile IP Signaling Octet Count

This is the total number of octets in registration requests and solicitations sent by the MS.

Yes

G16

Outbound Mobile IP Signaling Octet Count

This is the total number of octets in registration replies and agent advertisements sent to the MS prior to any compression and/or fragmentation.

Yes

G17

Last User Activity Time

This is a Timestamp (in number of seconds from Jan 1 1970 UTC) of the last known activity of the user.

Yes

I. Quality of Service

I1

IP Quality of Service (QoS)

This attribute is deprecated.

Not supported

I2

Airlink Priority

Identifies Airlink Priority associated with the user. This is the user's priority associated with the packet data service.

Not supported

Y. Airlink Record Specific Parameters

Y1

Airlink Record Type

3GPP2 Airlink Record Type.

No

Y2

R-P Connection ID

Identifier for the R-P Connection. This is the GRE key that uniquely identifies an R-P connection (an A10 connection) between the PCF and the PDSN.

Yes

Y3

Airlink Sequence Number

Sequence number for Airlink records. Indicates the sequence of airlink records for an R-P connection.

Yes

Y4

Mobile Originated / Mobile Terminated Indicator

Used only in SDB airlink records. Indicates whether the SDB is Mobile Originated or Mobile Terminated. (0=Mobile Originated and 1=Mobile Terminated).

Yes

Z. Container

Z1

Container

3GPP2 Accounting Container attribute. This attribute is used to embed 3GPP2 AVPs.

Not supported


Table 4 identifies the GPP2 accounting records fields.

Radius Server Group Support

The IP address of the AAA server chosen will not be synchronized.

Mobile IP Signaling

For Mobile IP service, the parameters to be synchronized, per MIP flow, include the following:

Mobile IP Registration Lifetime

Mobile IP Flags indicated in the Registration Request

MN-AAA Removal Indication received from AAA

Home Agent IP address

Mobile's IP Address

Reverse Tunneling indication

Care of Address from Mobile IP Registration Request

FA-Challenge (used during Mobile Node reregistration)

Mobile IP Tunneled Traffic

This traffic is carried in either GRE tunnels or IP-in-IP tunnels. The only information that needs to be synchronized is the tunnel endpoint of the peer.

Locally Configured IPSec

For the PDSN on the Cat76xx, IPSec tunnels are terminated on the VPN Acceleration Module. The role of the PDSN is to retrieve parameters from AAA and, based on these, 'trigger' IPSec tunnel establishment. Synchronization of these parameters is sufficient to preserve IPSec tunnels in the event of PDSN fail-over for intra-chassis configurations. PDSN failover is not coupled with VPN Acceleration Module/SUP failover. Inter chassis configurations and intra-chassis SUP failover does not currently support stateful IPSec.

FA-HA IPSec

FA-HA IPSec tunnels will be preserved when PDSN on 7600 fail-over occurs for intra-chassis configurations. They will not be preserved for inter chassis configurations.

AAA Accounting

Periodic Accounting Sync

Accounting information is optionally synchronized between the active and standby images. This synchronization occurs at the configured periodic accounting interval. The counters that are synchronized are g1 and g2, along with the packet counts. Sending an Interim Accounting record will trigger synchronization of the byte and packet counts. Setting the operator-defined periodic accounting interval determines the accuracy of the user-billing record as impacted by PDSN fail-over. It is possible that undercharging could occur; however, overcharging is not possible.

Accounting with VSA Approach

After a switchover takes place, the first interim or stop accounting record (as appropriate) includes a VSA (cdma-rfswact) indicating that a switchover has occurred. The inclusion of this VSA is controllable by issuing the cdma pdsn redundancy accounting send vsa swact command.


Note Please note that the G1 and G2 counters will not sync.


Here is a sample accounting debug with vsa:

Sep 13 18:23:10.179: RADIUS:   Cisco AVpair       [34]  16  
Sep 13 18:23:10.179: RADIUS:   63 64 6D 61 2D 72 66 73 77 61 63 74 3D 31        
[cdma-rfswact=1]

System Accounting

In a session redundancy setup, an accounting ON will be sent by the active unit only when the whole setup is brought up (accounting ON will not be sent by the newly active unit after a failover). The standby unit does not send any system accounting events under any scenarios. The events, however, are sent in a standalone mode.

A sys-off is sent if reload is issued on the active unit.

Configuring PDSN Session Redundancy

The following new commands have been introduced for PDSN Session Redundancy:

Enabling PDSN Session Redundancy

The active PDSN shall be able to synchronize the session and flow related data to its standby peer provided the redundancy capability has been enabled. By default this capability is disabled.

The commands syntax is as follows:

[no] cdma pdsn redundancy

When the above CLI is configured, session redundancy is enabled provided the underlying redundancy infrastructure has been configured. The redundancy functionality for PDSN is disabled when the above command with no is executed.

Periodic Accounting Counters Synchronization

The active PDSN by default will not try synchronizing accounting counters periodically. To enable periodic accounting counters synchronization, configure the following command:

[no] cdma pdsn redundancy accounting update-periodic

The no form of the command is used to go to the default behavior. When configured, the byte and packet counts for each flow are synced from the active to the standby unit (only if they undergo a change) at the configured periodic accounting interval (using aaa accounting update periodic xxx). If periodic accounting is not configured, the byte and packet counts will not be synced.

Debug Commands for PDSN-Session Redundancy

In order to facilitate the identification of problem areas of PDSN high availability, the following debug commands are introduced for debugging. All of these debug can be turned off using either undebug all or no debug all, if desired.

[no] debug cdma attribute

[no] debug cdma pdsn redundancy packets

To debug and collect any data pertaining to PDSN-SR, the above command is executed and the details pertaining to redundancy data is sent to the console.

[no] debug cdma pdsn redundancy errors

To debug the PDSN-SR redundancy errors the above command is executed and the details pertaining to A11 data is sent to the console.

[no] debug cdma pdsn redundancy events

To debug events for PDSN session redundancy events, above command is executed and the details pertaining to PDSN (e.g. RP) data is sent to the console.

Display of Redundancy Statistics

When a pair of PDSNs is operating in an active and a standby mode, it is desirable to show or display a variety of information about the sessions and its associated flows that have been synchronized to the standby. The following command shall allow the operator to view the session redundancy data for PDSN.

show cdma pdsn redundancy statistics

On execution the above command displays a number of data items; some of the examples are as follows:

Number of sessions synchronized

Number of SIP flows

Number of MoIP flows

Number of synchronized sessions up after a switch-over.

Number of sessions failed to synchronize.


Note show cdma pdsn redundancy statistics will be hidden until service internal is configured.


show cdma pdsn redundancy

On execution of this command, in addition to existing data being displayed, it will also output "pdsn redundancy is enabled," or "redundancy is not enabled," depending on whether the redundancy feature for PDSN has been turned on, or not.

Clearing of PDSN Session Redundancy Statistics

clear cdma pdsn redundancy statistics

On execution of this command, all the data counters associated with the PDSN session redundancy will be actualized to initial value.

Other Debug Commands

In addition to the PDSN-SR debugging commands described above, the following commands associated with high availability are also useful debugging aid:

debug redundancy inter-device

debug ccm

Other Show Commands

In addition to the PDSN-SR show commands described above, the following commands associated with high availability are also useful:

show redundancy inter-device

Configuring PDSN Session Redundancy Infrastructure

The PDSN-SR feature uses the Cisco IOS Check-point Facility (CF) to send stateful data over Stream Control Transmission Protocol (SCTP) to a redundant PDSN. Additionally, in conjunction with Cisco IOS HSRP, the PDSN uses the Cisco IOS Redundancy Facility (RF) to monitor and report transitions on Active and Standby PDSNs.

Before you configure PDSN-SR, you need to configure the inter-device redundancy infrastructure.

Configuring HSRP

The Hot Standby Router Protocol (HSRP) provides high network availability because it routes IP traffic from hosts on networks without relying on the availability of any single router. HSRP is used in a group of routers for selecting an Active router and a Standby router. HSRP monitors both the inside and outside interfaces so that if any interface goes down, the whole device is deemed to be down and the Standby device becomes active and takes over the responsibilities of an Active device.

When configuring HSRP, note that the following recommendation and restrictions apply:

At minimum, HSRP must be enabled and an HSRP a "master" group defined on one interface per PDSN instance. A "follow" group can be configured on all other PDSN interfaces using the standby interface configuration command with the follow keyword option specified. The advantages of using follow groups are:

The follow group feature enables all interfaces on which it is configured to share the HSRP parameters of the master group.

Interfaces that share the same group will follow the state of master interface and will use same priority as master interface. This will ensure that all interfaces are in the same HSRP state. Otherwise there is a possibility of one or more interfaces to assume another role than the master HSRP interface.

This optimizes HSRP group number and hence minimizes the configuration and maintenance overhead when having large configurations.

It eliminates unnecessary network traffic over all interfaces by eliminating HSRP Hello messages from follow groups, if configured.

Do not configure a preemption delay on the Standby PDSN using the standby preempt interface configuration command.

When the standby use-bia command is not used to allow bridge and gateways to learn the virtual MAC address, for optimization purposes, configure the standby mac-refresh command to a value greater than the default (hello messages are sent every 10 seconds) under the main interface (gig0/0). This value is used as the hello message interval.


Note If standby use-bia is configured, no hello messages are sent out of the follow group interfaces. We recommended that you use the default virtual MAC address with HSRP unless explicitly required not to.


An ARP multicast packet is sent out when there is a HSRP state change to Active. ARP requests for follow group virtual IP address are responded if HSRP state is Active. Also an ARP multicast is sent on the follow group VLAN when a slave virtual IP address is configured and if the master group is Active.

Use the same group number for each PDSN follow group as is defined for the primary group. Using the same group number for the primary and follow groups facilitates HRSP group setup and maintenance in an environment that contains a large number of PDSN interfaces and HRSP groups.

More information on HSRP configuration and HSRP groups can be found here:

http://www.cisco.com/en/US/partner/tech/tk648/tk362/tk321/tsd_technology_support_sub-protocol_home.html

and

http://www.cisco.com/en/US/partner/tech/tk648/tk362/technologies_configuration_example09186a0080094e90.shtml

Enabling HSRP and Configuring an HSRP Master Group

To enable HSRP on an interface and configure the primary group, use the following commands in interface configuration mode:


Step 1 Router(config-if)# standby [group-number] ip [ip-address [secondary]]

Enables the HSRP on the interface.

Step 2 Router(config-if)# standby [group-number] priority priority

Set the Hot Standby priority used in choosing the active router. The priority value range is from 1 to 255, where 1 denotes the lowest priority and 255 denotes the highest priority. Specify that, if the local router has priority over the current active router, the local router should attempt to take its place as the active router.

Step 3 Router(config-if)# standby [group-number] name name

Specifies the name of the standby group.

Step 4 Router(config-if)# standby use-bia [scope interface]

(Optional) Configures HSRP to use the burned-in address of an interface as its virtual MAC address instead of the preassigned MAC address.


Configuring Follow Groups

HSRP follow groups are configured to share the HSRP parameters of the primary group by defining a follow group on the interface using the standby interface configuration command with the follow keyword option specified. Interfaces that share a group track states together and have the same priority.

To configure an interface to follow a primary group, use the following command in interface configuration mode:


Step 1 Router(config-if)# standby group-number follow group-name

Specifies the number of the follow group and the name of the primary group to follow and share status.


Note It is recommended that the group number specified is the same as the primary group number.


Step 2 Router(config-if)# standby group-number ip virtual-ip-address

Specifies the group number and virtual IP address of the follow group.


Note The group number specified above should be same as the master group number.



Enabling Inter-Device Redundancy

To enable inter-device redundancy, use the following commands beginning in global configuration mode.


Step 1 Router(config)# redundancy inter-device

Configures redundancy and enters inter-device configuration mode.

To remove all inter-device configuration, use the no form of the command.

Step 2 Router(config-red-interdevice)# scheme standby standby-group-name

Defines the redundancy scheme that is to be used. Currently, "standby" is the only supported scheme.

standby-group-name-Must match the standby name specified in the standby name interface configuration command (see the "Configuring HSRP" section). Also, the standby name should be the same on both PDSNs.

Step 3 Router(config-red-interdevice)# exit

Returns to global configuration mode.


Configuring the Inter-Device Communication Transport

Inter-device redundancy requires a transport for communication between the redundant PDSNs. This transport is configured using Interprocess Communication (IPC) commands.

To configure the inter-device communication transport between the two PDSNs, use the following commands beginning in global configuration mode:


Step 1 Router(config)# ipc zone default

Configures the Inter-device Communication Protocol (IPC) and enters IPC zone configuration mode.

Use this command to initiate the communication link between the Active device and the Standby device.

Step 2 Router(config-ipczone)# association 1

Configures an association between two devices and enters IPC association configuration mode.

In IPC association configuration mode, you configure the details of the association, such as the transport protocol, local port and local IP addresses, and the remote port and remote IP addresses.

Valid association IDs range from 1 to 255. There is no default value.

Step 3 Router(config-ipczone)# no shutdown

Restarts a disabled association and its associated transport protocol. Note Shutdown of the association is required for any changes to the transport protocol parameters.

Step 4 Router(config-ipczone-assoc)# protocol sctp

Configures Stream Control Transmission Protocol (SCTP) as the transport protocol for this association and enables SCTP protocol configuration mode.

Step 5 Router(config-ipc-protocol-sctp)# local-port local_port_num

Defines the local SCTP port number to use to communicate with the redundant peer and enables IPC Transport-SCTP local configuration mode.

Valid port numbers range from 1 to 65535. There is no default value.


Note The local port number should be the same as the remote port number on the peer router.


Step 6 Router(config-ipc-local-sctp)# local ip ip_addr

Defines the local IP address that is used to communicate with the redundant peer. The local IP address must match the remote IP address on the peer router.

Step 7 Router(config-ipc-local-sctp)# keepalive [period [retries]]

Enables keepalive packets and specifies the number of times that the Cisco IOS software tries to send keepalive packets with a response before bringing down the interface or tunnel protocol for a specific interface.

Valid value for period is an integer value in seconds great than 0. The default is 10. Valid value for retries is an integer value greater than one and less than 355. The default is the previously used value or 5 if there was no value previously specified.

Step 8 Router(config-ipc-local-sctp)# retransmit-timeout interval

Configures the message retransmission time. Valid range is 300 to 60000 milliseconds. The minimum default is 1000. The maximum default is 60000.

Step 9 Router(config-ipc-local-sctp)# path-retransmit number

Configures the maximum number of keep-alive retries before the corresponding destination address is marked inactive. Valid range is 2 to 10. The default is 5.

Step 10 Router(config-ipc-local-sctp)# assoc-retransmit number

Defines the maximum number of retransmissions over all destination addresses before an association is declared failed. Valid range is 2 to 20. The default is 10.

Step 11 Router(config-ipc-local-sctp)# exit

Exits IPC transport - SCTP local configuration mode.

Step 12 Router(config-ipc-protocol-sctp)# remote-port port_num

Defines the remote SCTP port that is used to communicate with the redundant peer and enables IPC Transport-SCTP remote configuration mode. Valid port numbers range from 1 to 65535. There is no default.


Note The remote port number should be the same as the local port number on the peer device.


Step 13 Router(config-ipc-remote-sctp)# remote-ip ip_addr

Defines the remote IP address of the redundant peer that is used to communicate with the local device. All remote IP addresses must refer to the same device. To remove an association configuration, use the no form of the command.


Using the Loopback Interface For the PDSN-AAA Server Interface

To ensure that the AAA server views the active and standby units as a single NAS, the same NAS IP address should be used by both the units. Now, the NAS IP Address can be configured for the PDSN using the ip radius source-interface command. When configured, the IP address of that interface is used as the NAS IP Address.

However, the command does not support virtual IP addresses (HSRP). As a result, the only way to ensure that both the units appear as a single NAS is to configure a loopback interface, and use that interface as the source-interface. In short, the CLI would look something like:

ip radius source-interface Loopback1

Configuring Application Tracking to Handle Active-Active Situation


Step 1 Router(config) # track object-id application pdsn

Defines a tracking object for PDSN application.

Step 2 Router(config-if) # standby track object-id [decrement priority]

Associates the tracking object defined for PDSN with the HSRP config. HSRP would start tracking the state of this object. The configured decrement priority is used to change the HSRP priority based on the state of the tracking object. If the tracking object is "UP", HSRP will have the configured priority. If the tracking object is "DOWN", HSRP decrements its priority by the decrement priority specified in the standby track command.


Note If preemption is configured, the priority value should be greater than the difference in priorities of the active and standby PDSNs



Protocol Layering and RP Connections

Each mobile station has a single PPP connection with the PDSN, and for each PPP connection there is a corresponding R-P connection between the PDSN and the Base Station/ PCF. R-P connection-related information is maintained for the duration of the PPP connection.

Additionally, the PPP connection and the associated HDLC, LCP, CCP and IPCP state information is also maintained for the duration of the packet data session. One Simple IP flow and several Mobile IP flows can be supported over a single PPP connection.


Note Closed RP is not supported in the Cisco PDSN Release 4.0.


Open RP Interface Connections

An R-P connection represents the logical tunnel between the PDSN and the Base Station/PCF. It enables bearer data for a PPP connection to be transported between the PDSN and the Base Station/PCF. R-P connection state information is maintained at the PDSN for the duration of the PPP connection. During handoff, the mobile station may connect the PDSN through another Base Station/PCF entity resulting in establishment of another R-P connection between the PDSN and the new Base Station/PCF. This results in the release of the R-P connection between the PDSN and the old Base Station/PCF.

R-P connection state information is maintained at the PDSN even during the dormant phase of the session. When a mobile station transitions to active state, this information allows the PDSN to associate the mobile station with an already available PPP connection. Loss of R-P state information results in the release of the PPP connection by the PDSN. As a result, a mobile station accessing packet data services following the loss of an R-P connection results in the establishment of a new PPP connection, and the reset and restart of user applications. Therefore, the PDSN retains the R-P connection state information to ensure minimal disruption of user applications during transitions between active and dormant session phases.

PPP Connections

A PPP connection represents the link layer connectivity between the mobile station and the PDSN. It includes the HDLC state, negotiated LCP parameters, negotiated IP address and CCP compression state tables, etc. Peer PPP entities may re-negotiate LCP and CCP parameters during an active session without compromising continuity of user sessions; however, user identity, authentication-related information and negotiated IP addresses are retained, thus ensuring that applications established over the SimpleIP flow are unaware that renegotiation has occurred. PPP connection state information is retained at the PDSN during dormant phase of the session to ensure minimal disruption of user applications during transitions between active and dormant session phases.

Application Flows

One Simple IP and several Mobile IP flow instances can be supported over a single PPP connection. For each Simple IP flow, the state information includes the associated IP address, NAI and billing related user data records (UDRs), and other related information. For each Mobile IP flow, the state information includes the Mobile IP visitor list information, NAI and UDRs, and other related information.

PPPoGRE RP Interface

The PDSN interfaces with the Radio Network/Base Station to provide a transmission path for the user data stream between the packet network and the radio access network. The PDSN interfaces to the Radio Network through the Packet Control Function (PCF) using the PPPoGRE RP interface.

The following list describes the transmission path between the Radio Network and the PDSN:

The PDSN provides a media-independent physical link that supports IP packet transport capabilities.

The PPPoGRE RP Interface supports both the signaling channel and the bearer data transport capabilities.

The PPPoGRE RP interface is based on 3GPP2 TIA/EIA/IS-835 standard for the control and bearer data transport capabilities. The following list describes the differences between the 3GPP2 standard and PPPoGRE RP Interface from the PDSN perspective:

The PCF connecting the PDSN that supports PPPoGRE functionality sends the A11 Registration request with the GRE Protocol Type field set to 0x880B.

Neither the PDSN, nor the mobile node requires AHDLC framing or de-framing for the PPPoGRE sessions.

A10 bearer data packets are sent and received in the GRE Protocol field set to 0x880B (PPPoGRE).

A11 Session Update

This feature is based on Interoperability Specification (IOS) for cdma2000 Access Network Interfaces (Part 7 (A10 and A11 Interfaces) (3G-IOSv4.3) Version 2.0.1 Date: July 2003) and Interoperability Specification (IOS) for cdma2000 Access Network Interfaces (Part 3 Features (3G-IOSv4.3) Version 2.0.1 Date: July 2003 standard). An A11 Session Update message is sent from the PDSN to the PCF to add, change, or update session parameters for an A10 connection. The following parameters are sent from the PDSN to PCF in an A11 Session Update message in a session parameters NVSE extension with Application Type 08H (Session Parameter). These session parameters NVSE extension will also be sent by the PDSN in the A11 Registration Reply messages.

Radio Network Packet Data Inactivity Timer [01H]

Application Sub- Type 01H, the Application Data field contains the Radio Network Packet Data Inactivity Timer (RN-PDIT) value in seconds. This field is one octet in length and has range 01H-FFH, corresponding to timer values 1-255 seconds.

Supported for Service types Simple IP, Mobile IP, Proxy Mobile IP, MSID, and VPDN.

Always On Indicator [02H]

For Application Sub Type 02H ((Always-on indicator), the Application Data is zero bytes in length.

Supported for Service types Simple IP and MSID.

As per the standard cdma2000® Wireless IP Network Standard TIA-835-C, AUGUST 2003, the PDSN will download the Always On Indicator VSA and RN-PDIT VSA from the Radius server (Visited/Home RADIUS) during the authentication phase. If a user initiates multiple packet data sessions, the PDSN may receive more than one RN PDIT VSA from different home domains. In this case, the largest RN PDIT value received from different home domains is sent from the PDSN to the RN. This update may happen during an ongoing packet data session when the PDSN receives a new RN PDIT value that is greater than the one previously sent to the RN. For Handoff scenario the RN-PDIT and Always-On indicator are sent the PCF in the A11 Registration Reply if the Airlink is not dormant.

SDB Indicator Marking

This feature supports short data burst (SDB) applications, such as SIP signaling for PTT applications, and proposes the interaction with the PDSN. SIP is used by PTT applications to signal a PTT call. The message is short and needs to be delivered to the end-user. The Short Data Burst support on the RAN can be used to send these to the end-user, especially when the messages are to be terminated to the mobile. This is especially important when the mobile user is actually dormant.

The proposal consists of two parts:

Signalling of SDB indication, or other indications, on the GRE link between PDSN and PC.

Identification of data packet suitable for payloads.


Note SDB Marking is only supported for service type Simple IP.


Signaling of SDB Indication

The SDB indication is based on the 3GPP2 Proposal Contribution (Ericsson/SKT) A30-20030818-006, where one of the reserved bits in the GRE header is used to indicate the SDB packets from the PDSN for dormant sessions. The PDSN definition of dormancy is Airlink Stop record A11 Registration request is received from the PCF and A11 Registration success reply is sent by the PDSN.

The PDSN may set the B bit to "1" if the GRE frame contains an IP packet suitable for transmission over the air interface in a Data Burst Message. In the PCF-to-PDSN direction, and on the A8 interface, the B bit is set to "0".

Identification of Data Packets For SDB Indication

SDB indication is required for certain types of data only. Packets destined towards the mobiles that match the policy criteria will be chosen for SDB indication provided the mobile is in dormant mode

The local policy can be considered for an initial phase, if the selection of servers or signaling protocols is limited. For example, if there is only a single SIP server sending out SIP signaling message, a combination of port and source IP address may be used. In addition to this, the PDSN can also be configured with the min and max IP length.

On a Cisco PDSN, IOS MQC can be used to apply classification rules for matching packets that require SDB classification. For example, simple classification criteria can include port number, and source IP address range of the server. A more complex classification criterion can include a custom protocol inspection.

If packets pass the classification criteria and the user is dormant, the PDSN will signal SDB indication to the PCF.

To enable this feature, use the following command:

cdma pdsn compliance ios4.1 sdb

This command enables the PDSN to process an SDB record sent from PCF according to IOS4.1 Standard.

If deep classification is required for certain types of payloads such as RTP, or a custom application, IOS NBAR can be used for inspecting these packets. For a detailed description of how to configure IOS NBAR please refer to the documentation on NBAR.

A sample configuration for the classification function is shown here:

class-map match-all sdb-packets
     match packet length min 100 max 300
     match protocol <protocol>
     match access-group <access-group-number>
ip access-list <access-group-number> permit ip 192.0.2.0 0.0.0.255 any   

(This example of access-list allows matching of a certain protocol from servers whose address range is 192.0.2.0/24)

The protocol and the access-group can be set to match the desired packet stream. The match criteria can also include a custom protocol inspection such as

ip nbar custom media_new 8 hex 0x60 dest udp 3001

The above statement classifies all packets with a UDP destination of port 3001, and contains the value 0x60 at offset 8. The protocol media_new can now be used in the match protocol protocol statement.

policy-map sdb-policy
     class sdb-packets
     set qos-group group-number

The policy map is then applied to the input interface. The group-number represents the classified match criteria. All packets that are set with the specific group-number will be flagged for SDB usage between the PCF and the PDSN. This is done with the following command:

cdma pdsn a11 dormant sdb-indication gre-flags group-number

The B bit (SDB indication) would be set for packets matching the sdb-indication group-number.

SDB Indicator Marking for PPP Control Packets

While data packets can be sent towards the mobile using SDBs as shown above, SDBs can also be used for delivering PPP control packets. This can be particularly helpful for Always-On sessions, where the session is dormant. Basically, with Always On configured, the PDSN sends out LCP echo requests (and waits for LCP echo replies) to keep the session alive. Hence, when such a session goes dormant, a data channel needs to be setup to deliver these LCP echo requests to the MN. The other option is to use SDBs to deliver the LCP echo requests without setting up a data channel.

Configure the following CLI along with the above CLIs to enable this feature:

cdma pdsn a11 dormant sdb-indication match-qos-group group-number ppp-ctrl-pkts

Multiple Service Connections

The PDSN currently maintains one A10 connection and an associated session, and supports multiple flows (one simple IP and multiple Mobile IP flows). In this new implementation, the term "Service connection" indicates an A10 connection as defined in IS-835-D. All A10 service connections for a given MS are associated with a single A10 session. The series of packets that share a specific instance of IETF protocol layers are called "IP flows". Multiple IP flows may use a single service connection. Currently, there is one main service instance only, and all simple IP and mobile IP flows use that single service instance. IP Flows on different flows (SIP/MIP) can be spread across different A10s.

Each A10 connection can support multiple IP flows, as indicated by the RAN in A11 messaging. The TFTs signaled by the MS indicate which applications are mapped to which IP flow.

The mapping of an IP flow to the A10 session is sent by the PCF. Each IP flow is identified using a Flow ID.

PDSN Release 4.0 will support maximum of 25000 sessions with 2 auxiliary A10s and 2 IP flows per direction per auxiliary A10s.

Session Creation—A11 Registration Request

Connection Establishment Call Flow

The PCF sends the initial A11 Registration Request with Service Option 59 for the main service connection. This SR ID is always the main service instance in the A11 Registration Request. This service flow is the default A10 connection, and is used by the Application Flows with ID FFH for both forward and reverse directions. When a MN needs multiple flows, the PCF sends out an A11 Registration Request with non-zero lifetime including Additional Session Information NVSE (which contains details of additional A10 connections to be created). The current implementation supports only SO 64, and not SO 67. Auxiliary connection SO 64 requires PPPoAHDLC.

The RRQ contains the R_QOS_SUBBLOB along with the Additional Session Info (GRE Key info), which provides the mapping of A10 to Flow IDs.

All PPP negotiations happen over the main service connection.

A11 Registration Reply

PDSN sends out a Registration Reply based on the Request received with non-zero lifetime from PCF. On receiving a valid A11 registration request, the PDSN creates the requested A10 connections and acknowledges them to the PCF. If any auxiliary connection is new in the A11 request, then a new A10 connection is created. If the information of any auxiliary connection present on the PDSN is missing in the A11 registration request, then that A10 connection is deleted from the PDSN. If any of the auxiliary connections failed to be created on the PDSN, the PDSN responds with Insufficient Resources.

Each A10 connection is created based on the GRE key in the Additional Session Information NVSE (Application Type 0CH). The application flows defined in the QoS NVSE (Application Type 0DH) (Forward and Reverse) are linked to the corresponding A10 connection based (GRE info NVSE) on SR ID. This Registration Reply also includes the Subscriber QoS policy during authentication (when attributes are downloaded from AAA during authentication), and dormant handoff.

Whenever additional session info contains SO other than 64, it is rejected with 8BH (Registration Denied - service option not supported).

Whenever mapping of Flow to A10 is received but SRID does not exist, it is rejected with 8EH (Registration Denied - nonexistent A10 or IP flow).

Session Refresh

All A11 Re-registrations (A11 Registration request with non-zero lifetime) contain all the A10 connections in the Additional Session NVSE that exist after this re-registration. If there are additional A10 connections in the Additional Session NVSE, they are created. A10 connections that already existed but are absent in the request are released.

During re-registration, it is possible for the mapping of flow IDs to A10 to change. A MN and a PCF might renegotiate the mapping and forward the same to the PDSN. The PDSN accordingly remaps the flow ID to the newly mapped A10.

Session Deletion

In order to release all the connections from the PCF, an A11 Registration Request is sent by the PCF with a lifetime value of zero. Releasing the main service connection releases all of its auxiliary connections as well.

When the PDSN wants to terminate the session, an A11 Registration Update is sent. This occurs when all of the connections need to be brought down. The PDSN cannot initiate a release of a particular connection. There is no change in the packet format of this message. The SRID is always filled with one for HRPD sessions.

A11 Session Update

An A11 Session Update is used to pass on the newly downloaded or updated subscriber QoS Profile to the PCF. The PDSN does not include the QoS Update information as the PDSN does not update the QoS information.

When configured, an A11 Session Update is sent when at least one of the subscriber QoS attributes is downloaded during authentication. During handoff the attributes are sent in a RRP except when the session is dormant. When the session is dormant, a Session-update is sent when the session becomes active.

Configuring Multiple Service Connections

To configure the Multiple Service Connections feature on the PDSN, perform the following tasks:

 
Command
Purpose

Step 1 

router# cdma pdsn multiple service-flows [maximum number]

This new CLI enables the Multiple flow support feature. The maximum number defines the maximum number of auxiliary A10s that can be created between PDSN and PCF. The default number of auxiliary A10s allowed is 7.

Example

Here is a sample configuration:

router#cdma pdsn multiple service-flows ?
        maximum  Maximum limit
        qos      Configure qos parameters
        <cr>

router# cdma pdsn multiple service-flows
router# cdma pdsn multiple service-flows maximum 8

Verifying the Configuration

To verify that the Multiple Service Connections feature is enabled on the PDSN, perform the following tasks:

 
Command
Purpose

Step 1 

router# Show cdma pdsn

In PDSN release 4.0, the show output is enhanced to display the following information:

The Multiple service flow feature is enabled, or not.

Maximum Number of auxiliary A10s allowed.

Number of sessions active with service flows.

Total number of service flows currently active in the system.

Step 2 

router# show cdma pdsn session [{service-flows | detail}]

In PDSN release 4.0, the output is enhanced to display the following information:

New service flow details.

New IP flow details for both forward and reverse directions.

Step 3 

router# Show cdma pdsn statistics

In PDSN release 4.0, new counters are introduced to display the following information:

The number of requests (both new requests and re-registration requests) that contained Additional Session Information NVSE and QoS Information NVSE

New reject reasons for requests containing auxiliary connection details like Unsupported Service Option, Non-existing A10.

The number of missing connections and the number of remapping flows.

Step 4 

router# show cdma pdsn session brief

In PDSN release 4.0, a new column is introduced to display the number of service flows for the session.

Step 5 

router# Show cdma pdsn pcf

In PDSN release 4.0, new counters are introduced to display the number of auxiliary A10s that exist.

Step 6 

router# Show cdma pdsn pcf brief

In PDSN release 4.0, a new column is introduced to display the number of auxiliary A10s currently existing on the PCF.

Examples

Here is an example for Cisco PDSN Release 4.0:

router# show cdma pdsn
PDSN software version 4.0, service is enabled

  A11 registration-update timeout 1 sec, retransmissions 5
  A11 session-update timeout 3 sec, retransmissions 3
  Mobile IP registration timeout 300 sec
  A10 maximum lifetime allowed 65535 sec
  GRE sequencing is on
  Maximum PCFs limit not set
  Maximum sessions limit set to 10 (default 9950 maximum)
  SNMP failure history table size 100
  MSID Authentication is disabled
  Ingress address filtering is disabled
  Sending Agent Adv in case of IPCP Address Negotiation  is enabled
  Allow CI_ADD option during IPCP Phase  is disabled
  Aging of idle users disabled
  Radius Disconnect Capability disabled
  Multiple Service flows enabled
  Maximum number of service-flows per MN allowed is 8
  Call Admission Control enabled
  Police Downstream enabled

  Number of pcfs connected 1,
  Number of pcfs 3GPP2-RP 1,
  Number of sessions connected 1,
  Number of sessions 3GPP2-RP 1,
  Number of sessions Active 1, Dormant 0, 
  Number of sessions using HDLCoGRE 1, using PPPoGRE 0
  Number of sessions using Auxconnections 1, using Policing 1, using DSCP 1
  Number of service flows 1
    Simple IP flows 1, Mobile IP flows 0,

Proxy Mobile IP flows 0, VPDN flows 0

Here is another example with information about service flows and session details:

router#show cdm pds session service-flows

Mobile Station ID IMSI 09884708942
PCF IP Address 2.2.2.4, PCF Session ID 1

  GRE protocol type is 0x8881
  GRE sequence number transmit 17, receive 0
  Using interface Virtual-Access2.1
  Using AHDLC engine on slot 0, channel ID 1
  Service Option EV-DO Flow Discrimination 0 DSCP Included 0
  Flow Count forward 0 reverse 0
  This session has 1 flow
  This session has 1 service flow

  Service Flow PCF IP Address 2.2.2.4 SR ID 0x2 
    Service Option 0x40 Flow Discrimination 0 DSCP Included 0
    Flow Count forward 2 reverse 2
    GRE protocol type is 0x8881, key 2
    GRE sequence number transmit 0, receive 0
    Using AHDLC engine on slot 0, channel ID 0

Here is an example output for the show cdma pdsn statistics command for PDSN Release 4.0:

router# show cdma pdsn statistics
Last clearing of "show cdma pdsn statistics" counters never
RP Interface:
  Reg Request rcvd 1524, accepted 1405, denied 2, discarded 117
  Initial Reg Request rcvd 18, accepted 17, denied 1, discarded 0, AuxRequest 1
  Re-registration requests rcvd 1380, accepted 1374, denied 0, discarded 6
Re-registration requests containing Active-Start 15, Active-Stop 16, updated QoS Blob 5
Re-registration requests containing new connections 10, missing connections 12, remapping 
flows 1 

 Handoff requests rcvd 2, accepted 2, denied 0, discarded 0, AuxRequest 1 
  De-registration rcvd 13, accepted 12, denied 1, discarded 0
  De-registration Reg Request with Active-Stop 9
  Registration Request Errors:
    Unspecified 0, Administratively prohibited 0
    Resource unavailable 0, Authentication failed 0
    Identification mismatch 1, Poorly formed requests 1
    Unknown PDSN 0, Reverse tunnel mandatory 0
    Reverse tunnel unavailable 0, Bad CVSE 0
    Max Service Flows 0, Unsupported SO 0, Non-existent A10 0,
    Bandwidth unavailable 0

  Update sent 52, accepted 9, denied 8, not acked 35
  Initial Update sent 14, retransmissions 38
  Acknowledge received 17, discarded 0
  Update reason lifetime expiry 0, PPP termination 11, other 3
  Registration Update Errors:
    Unspecified 0, Identification mismatch 8
    Authentication failed 0, Administratively prohibited 0
    Poorly formed request 0

  Handoff statistics:
    Inter PCF handoff active 2, dormant 0
    Update sent 5, accepted 2, denied 2, not acked 1
    Initial Update sent 2, retransmissions 3
    Acknowledge received 4, discarded 0
    De-registration accepted 2, denied 0
  Handoff Update Errors:
    Unspecified 0, Identification mismatch 2
    Authentication failed 0, Administratively prohibited 0
    Poorly formed request 0

  RP Session Update statistics:
  Update sent 0, accepted 0, denied 0, not acked 0
  Initial Update sent 0, retransmissions 0
  Acknowledge received 0, discarded 0
  Sent reasons Always On 0, RN-PDIT 0, Subscriber QoS 0
  RP Session Update Errors:
    Unspecified 0, Identification mismatch 0
    Authentication failed 0, Session parameters not updated 0
    Poorly formed request 0

  Service Option:
    Unknown (0) success 1405, failure 2

PPP:
  Current Connections 0
  Connection requests 17, success 17, failure 0, aborted 0
  Connection enters stage LCP 17, Auth 6, IPCP 13
  Connection success LCP 17, AUTH 6, IPCP 13
  Failure reason LCP 0, authentication 0, IPCP 0, other 0
  Failure reason lower layer disconnect 0

  A10 release before LCP nego by PDSN 0, by PCF 0

  LCP Stage
    Failure Reasons Options 0, MaxRetry 0, Unknown 0
    LCP Term Req during LCP nego sent 0, rcvd 0
    A10 release during LCP nego by PDSN 0, by PCF 0

  Auth Stage
    CHAP attempt 2, success 2, failure 0, timeout 0
    PAP attempt 4, success 4, failure 0, timeout 0
    MSCHAP attempt 0, success 0, failure 0, timeout 0
    EAP attempt 0, success 0, failure 0
    MSID attempt 0, success 0, failure 0
    AAA timeouts 0, Auth timeouts 0, Auth skipped 11
    LCP Term Req during Auth nego sent 0, rcvd 0
    A10 release during Auth nego by PDSN 0, by PCF 0

  IPCP Stage
    Failure Reasons Options 0, MaxRetry 0, Unknown 0
    Options failure reason MN Rejected IP Address 0
    LCP Term Req during IPCP nego sent 0, rcvd 0
    A10 release during IPCP nego by PDSN 0, by PCF 0

  CCP Stage
    Connection negotiated compression 0
    Compression type Microsoft 0, Stac 0, other 0
    Connections negotiated MRRU 0, IPX 0, IP 13
    Connections negotiated VJ-Compression 0, BAP 0
    PPP bundles 0
    Connections failed to negotiate compression 0

  Renegotiation total 0, by PDSN 0, by Mobile Node 0
  Renegotiation success 0, failure 0, aborted 0
  Renegotiation reason: address mismatch 0, lower layer handoff 0
    GRE key change 0, other 0

  Release total 16, by PDSN 14, by Mobile Node 2
  Release by ingress address filtering 0
  Release reason: administrative 4, LCP termination 2
    Idle timeout 3, echo missed 0
    L2TP tunnel 0, insufficient resources 0
    Session timeout 0, service unavailable 0
    De-Reg from PCF 0, lifetime expiry 0, other 7

  Echo stats
    Request sent 0, resent 0, max retransmit timeout 0
    Response rcvd 0


  Discarded Packets
    Unknown Protocol Errors 424, Bad Packet Length 0

RSVP 
IEs Parsed 0
  TFTs Created Success 0, Failure 0
  TFTs Updated Success 0, Failure 0
TFTs Deleted Sucesss 0, Failure 0

Other Failure 0
    Unknown 0, Unsupported Ie types 0
  Tft Ipv4 Failure Stats
    Tft Unauthorized 0, Unsuccessful Processing 0
    Tft Treatment Unsupported 0, Persistency reached 0
    Packet Filter Add 0, Replace 0
    Packet Filter Precedence Contention 0, Unavailable 0
    Packet Filter Maximum Limit 0, Non-Existent Tft add 0

QoS:
   Total Profile Download Success 10, Failure 10,
   Local Profile selected 4
   	Failure Reason DSCP 1, Flow Profile ID 1, 
   Service Option Profile 1, Others 1
   Total Consolidated Profile 4, DSCP Remarked 0 
   Total Policing installed 4, failure 5, removed 4

slot 0:
  AHDLC Engine Type: CDMA HDLC SW ENGINE
     Engine is ENABLED
    total channels: 20000, available channels: 20000


  Framing input 5306 bytes, 169 paks
  Framing output 7008 bytes, 169 paks
  Framing errors 0, insufficient memory 0, queue overflow 0
        Invalid size 0


  Deframing input 1371683974 bytes, 4005798483 paks
  Defaming output 4948 bytes, 142 paks
  Deframing errors 0, insufficient memory 0, queue overflow 0
        Invalid size 64, CRC errors 117817589


RADIUS DISCONNECT:
  Disconnect Request rcvd 0, accepted 0
  Disconnect Request Errors:
    Unsupported Attribute 0, Missing Attribute 0
    Invalid Request 0, NAS Id Mismatch 0
    Session Cxt Not Found 0, Administratively Prohibited 0

Data Plane

Downstream or Forward Packet Processing

When a packet is received in the forward direction at the PDSN, flow accounting occurs. At this point, the PDSN first identifies the TFT that can be applied based on the destination IP Address. The packet is then run through the packet filters to identify the application flow. The A11 RRQ contains the mapping of the application flows to the service flow. With that mapping, the service flow is identified and the packet is marked with the A10 connection information. If the packet is a PPP control packets, the packet is marked with main A10 connection. When the packet later completes AHDLC encapsulation after PPP encapsulation, the corresponding A10 connection is selected and forwarded to the tunnel.

In the A11 RRQ, more specifically in the QoS Update, the PCF may specify to use flow discrimination. This means that all bearer packets will contain the flow ID that is encoded in the 3GPP2 header extension for GRE.

Upstream or Reverse Packet Processing

When a packet is received in the reverse direction, after the PPP encapsulation is removed, the packet is picked up by the PDSN for flow accounting. The packet is first evaluated for the DSCP and actions are taken accordingly. If the packet can then be forwarded, the packet is passed through the TFT (which has the packet filters to identify the flow ID). If packet has the "IP flow" details in the GRE header, the packet is directly accounted for that flow ID, and not passed through TFT. Once the flow is identified, accounting is performed and then forwarded. If there is no packet filter to identify a flow, the default flow ID FF is assumed.

QoS Signaling

This section discusses Quality of Service Signaling (QoS), and involves the following concepts:

Handling of Traffic Flow Templates

Handling of RSVP messages that carry the TFT message.

Handling of TFT—parsing and installation of packet filters.

Handling of Subscriber QoS Profile

Downloading the subscriber QoS profile, or using the locally configured subscriber QoS profile.

Applying the subscriber QoS profile to the session or flow.

Handling of data traffic

Using the TFT, the IP Flow is identified and accounted.

Policing the data traffic, if requested, based on Maximum Aggregate Bandwidth.

Applying DSCP marking on the packets in both directions based on the profile applied.

Traffic Flow Templates (TFT)

Traffic Flow Templates define the IP Flows. The TFT contains a set of packet filters that define each IP flows. An IP flow can carry multiple application flows. Each application flow is identified using packet filters.

The MN determines the flows and sends the packet filters in a TFT as a RSVP message. The RSVP message contains a 3GPP2 object that defines the TFT. There could be only one 3GPP2 object with multiple TFTs sent in one RSVP Message. In HRPD there is only one persistent TFT per MS IP Address. The TFT describes the flow, the packet filters, and the packet treatments. The MN sends 1 TFT per IP address per flow direction. These packet filters are associated with a precedence level. The packet filters are sorted and associated with the session. The flow IDs (which are the IP flow IDs) in these packet filters are matched with the IP flow IDs mentioned in the A11 RRQ to determine the corresponding A10 connection to use. If there is no mapping, the PDSN forwards the packet through the main service instance (which is the default A10 and has a flow ID FF).

In this case, RSVP messages are accounted as data traffic on the session.

Other Considerations

An HRPD MS only uses Non-Specific TFTs in both the forward and reverse directions.

Each TFT IE contains one or more packet filters that are matched against forward or reverse directions. The PDSN supports 255 packet filters per direction per TFT.

During PPP renegotiation, all of the connection details (like TFTs) are released and reestablished when a fresh request comes for the same.

Packet Filters

Packet filters describe an IP flow for a particular direction. Packet filters contain sub-type PF0 and PF1. PF0 implies the filter is applied on the Outer IP Header and PF1 implies the filter is applied on the extended headers or transport headers. The initial support on PDSN is only for IPv4 addresses/Port/ToS/Protocol. The only protocol supported in the initial phase is IP and GRE. Each packet filter is associated with a precedence level. When a packet (during data traffic) is given to this TFT to identify the ip flow, the packet is passed through these filters in their order of precedence.

TFT Installation

When a fresh TFT needs to be installed, the MS sends a TFT with "Create new TFT" attached. The following TFTs are marked with appropriate actions like "Add packet filter to existing TFT", "Delete existing TFT", "Replace packet filters in existing TFT", or "Delete packet filters from existing TFT".

The PDSN replies affirmatively if the TFT is parsed properly and installed successfully.

The PDSN reports one of the following errors depending on the scenario it encountered:

Table 8 TFT Error Messages 

Packet filter add failure

PDSN could not add the requested packet filter due to any reason.

Packet filter unavailable

MS attempted to replace or delete packet filter(s) that is/are not installed in the PDSN.

Unsuccessful TFT processing

PDSN could not parse the TFT for any reason, e.g., poorly formatted TFT.

Channel not available

MS attempted to installed a non-persistent TFT (P=0) when the corresponding A10 is not established.

Evaluation precedence contention

Contention in the evaluation precedence value detected.

Treatment not Supported

The MS included a flow or channel treatment value that is not supported by the PDSN.

Packet filter replace failure

The packet filter replace request has some unknown error.

Unauthorized TFT

The MS attempted to install TFTs with a non-authorized IP address in the MSIP address field.

Max number of Packet Filters for the TFT has been reached

The MS attempted to install more than 255 packet filters for the TFT in any direction.

Attempted to add Packet Filters to non

The MS attempted to add packet filters to a TFT before creating the TFT.


The PDSN processes the request in order of the IEs that are present in the 3GPP2 OBJECT. If processing of all the IEs is successful, the PDSN returns a ResvConf message containing the MS IP address. If processing of an IE fails, the PDSN stops further processing of the Resv message. The PDSN returns a ResvErr message to the MS including the error code and the index of the IE that failed processing. The TFT IE index starts from 1. If processing of an IE fails, the PDSN stops further processing of the Resv message but retains the result of any actions already performed on earlier IEs in the message.

TFT Update

The MS can update the TFT at any point of time. It might do so when there is any change in the packet filter content, or change of MS IP Address.

Since a TFT is associated with a MS based on its IP Address, when there is a change of MS IP Address, the MS sends RSVP messages to delete the old and create a new TFT for the new IP address.

TFTs for a session will be deleted only when either the MS sends a delete TFT message, the session goes down, or during PPP renegotiation.

Configuring TFTs

To configure the PDSN to include the Traffic Flow Template error extensions, perform the following tasks:

 
Command
Purpose

Step 1 

router# cdma pdsn tft reject include error extension

Configure this CLI to include the error extension in the reject message whenever a TFT is rejected.

Example

Here is an example of the cdma pdsn tft reject include error extension command:

cdma pdsn tft ?
  reject     Configure CDMA PDSN TFT reject
cdma pdsn tft reject ?
  include    Configure CDMA PDSN TFT reject include
cdma pdsn tft reject include ?
  error      Configure CDMA PDSN TFT reject include error
cdma pdsn tft reject include error ?
  extension  Configure CDMA PDSN TFT reject include error extension

cdma pdsn tft reject include error extension ?

Verifying the Configuration

To verify that the TFT feature is enabled, and to gather information about those TFTs, perform the following tasks:

 
Command
Purpose

Step 1 

router# show cdma pdsn session {qos|tft|detail}

In PDSN Release 4.0, the show cdma pdsn session command adds extensions that display the following information:

the Subscriber QoS profile

TFTs installed for the session in addition to the existing details

Step 2 

router# show cdma pdsn statistics



router# show cdma pdsn statistics tft

In PDSN Release 4.0, new counters are introduced to display the following information:

Number of TFTs parsed successfully or failed.

New counters to identify the TFT parsing failure reasons.

Number of Subscriber QoS Profile downloaded from AAA or locally installed.

Consolidation of subscriber QoS profile.

Policing installed or uninstalled.

Packets for which the DSCP was remarked based on policy installed.

Step 3 

router#show cdma pdsn redundancy

In PDSN Release 4.0, this command output is enhanced to show the details of the number of TFTs synced to standby.

Example

Here are some configuration examples:

router#show cdma pdsn session tft
Mobile Station ID IMSI 123456789011122
  PCF IP Address 10.1.1.1, PCF Session ID 1
  This session has 1 flow
  This session has 1 Tft
  TFT IP Address 3.1.1.1
  Number of Packet Filters Forward 2, Reverse 1
  Forward Packet Filters
    Packet Filter 1
    Flow Id 10, Precedence 255, PF Type 0
    Source Port 125

    Packet Filter 2
    Flow Id 10, Precedence 255, PF Type 0
    Source Port 125
  Reverse Packet Filters
    Packet Filter 1
    Flow Id 10, Precedence 10, PF Type 0
    Source Port 125

Mobile Station ID IMSI 123456789011123
  PCF IP Address 10.1.1.1, PCF Session ID 2
  This session has 1 flow
  This session has 1 Tft

  TFT 
  IP Address 3.1.1.2
  Number of Packet Filters Forward 2, Reverse 3
  Forward Packet Filters
    Packet Filter 1
    Flow Id 2, Precedence 2, PF Type 0
    Source Ip 5.5.5.5 Mask 255.255.255.0

    Packet Filter 2
    Flow Id 5, Precedence 5, PF Type 0
    Source Ip 1.1.1.1 Mask 255.255.255.0

  Reverse Packet Filters
    Packet Filter 1
    Flow Id 10, Precedence 255, PF Type 0
    Source Port 125

    Packet Filter 2
    Flow Id 10, Precedence 255, PF Type 0
    Source Port 125

    Packet Filter 3
    Flow Id 10, Precedence 255, PF Type 0
    Source Port 125

router#show cdma pdsn statistics
Last clearing of "show cdma pdsn statistics" counters never
RP Interface:
  Reg Request rcvd 1524, accepted 1405, denied 2, discarded 117
  Initial Reg Request rcvd 18, accepted 17, denied 1, discarded 0, AuxRequest 1
  Re-registration requests rcvd 1380, accepted 1374, denied 0, discarded 6
Re-registration requests containing Active-Start 15, Active-Stop 16, updated QoS Blob 5
Re-registration requests containing new connections 10, missing connections 12
  Handoff requests rcvd 2, accepted 2, denied 0, discarded 0, remapping flows 1
  De-registration rcvd 13, accepted 12, denied 1, discarded 0
  De-registration Reg Request with Active-Stop 9
  Registration Request Errors:
    Unspecified 0, Administratively prohibited 0
    Resource unavailable 0, Authentication failed 0
    Identification mismatch 1, Poorly formed requests 1
    Unknown PDSN 0, Reverse tunnel mandatory 0
    Reverse tunnel unavailable 0, Bad CVSE 0
    Max Service Flows 0, Unsupported SO 0, Non-existent A10 0,
    Bandwidth unavailable 0
  Update sent 52, accepted 9, denied 8, not acked 35
  Initial Update sent 14, retransmissions 38
  Acknowledge received 17, discarded 0
  Update reason lifetime expiry 0, PPP termination 11, other 3
  Registration Update Errors:
    Unspecified 0, Identification mismatch 8
    Authentication failed 0, Administratively prohibited 0
    Poorly formed request 0
  Handoff statistics:
    Inter PCF handoff active 2, dormant 0
    Update sent 5, accepted 2, denied 2, not acked 1
    Initial Update sent 2, retransmissions 3
    Acknowledge received 4, discarded 0
    De-registration accepted 2, denied 0
  Handoff Update Errors:
    Unspecified 0, Identification mismatch 2
    Authentication failed 0, Administratively prohibited 0
    Poorly formed request 0
  RP Session Update statistics:
  Update sent 0, accepted 0, denied 0, not acked 0
  Initial Update sent 0, retransmissions 0
  Acknowledge received 0, discarded 0
  Sent reasons Always On 0, RN-PDIT 0, Subscriber QoS 0
  RP Session Update Errors:
    Unspecified 0, Identification mismatch 0
    Authentication failed 0, Session parameters not updated 0
    Poorly formed request 0
  Service Option:
    Unknown (0) success 1405, failure 2
PPP:
  Current Connections 0
  Connection requests 17, success 17, failure 0, aborted 0
  Connection enters stage LCP 17, Auth 6, IPCP 13
  Connection success LCP 17, AUTH 6, IPCP 13
  Failure reason LCP 0, authentication 0, IPCP 0, other 0
  Failure reason lower layer disconnect 0
  A10 release before LCP nego by PDSN 0, by PCF 0
  LCP Stage
    Failure Reasons Options 0, MaxRetry 0, Unknown 0
    LCP Term Req during LCP nego sent 0, rcvd 0
    A10 release during LCP nego by PDSN 0, by PCF 0
  Auth Stage
    CHAP attempt 2, success 2, failure 0, timeout 0
    PAP attempt 4, success 4, failure 0, timeout 0
    MSCHAP attempt 0, success 0, failure 0, timeout 0
    EAP attempt 0, success 0, failure 0
    MSID attempt 0, success 0, failure 0
    AAA timeouts 0, Auth timeouts 0, Auth skipped 11
    LCP Term Req during Auth nego sent 0, rcvd 0
    A10 release during Auth nego by PDSN 0, by PCF 0
  IPCP Stage
    Failure Reasons Options 0, MaxRetry 0, Unknown 0
    Options failure reason MN Rejected IP Address 0
    LCP Term Req during IPCP nego sent 0, rcvd 0
    A10 release during IPCP nego by PDSN 0, by PCF 0
  CCP Stage
    Connection negotiated compression 0
    Compression type Microsoft 0, Stac 0, other 0
    Connections negotiated MRRU 0, IPX 0, IP 13
    Connections negotiated VJ-Compression 0, BAP 0
    PPP bundles 0
    Connections failed to negotiate compression 0
  Renegotiation total 0, by PDSN 0, by Mobile Node 0
  Renegotiation success 0, failure 0, aborted 0
  Renegotiation reason: address mismatch 0, lower layer handoff 0
    GRE key change 0, other 0
  Release total 16, by PDSN 14, by Mobile Node 2
  Release by ingress address filtering 0
  Release reason: administrative 4, LCP termination 2
    Idle timeout 3, echo missed 0
    L2TP tunnel 0, insufficient resources 0
    Session timeout 0, service unavailable 0
    De-Reg from PCF 0, lifetime expiry 0, other 7
  Echo stats
    Request sent 0, resent 0, max retransmit timeout 0
    Response rcvd 0
  Discarded Packets
    Unknown Protocol Errors 424, Bad Packet Length 0
RSVP                                           
  TFTs Parsed 0
  TFTs Created Success 0, Failure 0
  TFTs Updated Success 0, Failure 0
  TFTs Deleted Sucesss 0, Failure 0
  TFT Failure Stats
    Tft Unauthorized 0, Unsuccessful Parsing 0
    Tft Treatment Unsupported 0, Persistency reached 0
    Packet Filter Add 0, Replace 0
    Packet Filter Precedence Contention 0, Unavailable 0
    Packet Filter Maximum Limit 0, Non-Existent Tft add 0


router#show cdma pdsn redundancy
CDMA PDSN Redundancy is enabled

CDMA PDSN Session Redundancy system status
  PDSN state = ACTIVE
  PDSN-peer state = STANDBY HOT

CDMA PDSN Session Redundancy Statistics
  Last clearing of cumulative counters never
                Synced to standby        Current
                  since peer up         Connected
  Sessions                0                   0
  SIP Flows               0                   0
  MIP Flows               0                   0
  PMIP Flows              0                   0
  TFT                     0                   0

Subscriber QoS Policy

While establishing a session with PDSN, during authentication Subscriber QoS attributes are downloaded from AAA. The following are the attributes downloaded from AAA as part of Subscriber QoS Profile:

The Allowed Differentiated Services Markings.

The Allowed Number of Persistent TFTs.

The Maximum Authorized Aggregate Bandwidth for Best-Effort Traffic.

The Authorized Flow Profile IDs for each direction.

The Maximum per Flow Priority.

The Service Option Profile.

The Inter-User Priority for best effort traffic.

The Maximum Authorized Aggregate Bandwidth is used for policing and bandwidth allocation on the PDSN.

The first two items in the above list are used by the PDSN for authorizing and applying on the bearer traffic. The remaining five attributes are stored and forwarded to the PCF as part of A11 Registration Reply and A11 Session-Update.

If different profiles are downloaded for a MN with single NAI, the profile in the PDSN is updated.

If there are multiple NAIs per MN, multiple versions of the above attributes will be received. The PDSN consolidates the attributes and forwards them to the PCF. This consolidation process provides the following details:

The total set of all allowed service options

The maximum of the maximum number of service instances

The total set of all allowed Authorized Flow Profile IDs.

The maximum of the Maximum Authorized Aggregate Bandwidth for Best-Effort Traffic.

The maximum of the maximum per Flow priority.

The maximum of the Inter-User priority for best effort traffic.

When the Subscriber QoS Profile is not downloaded from AAA, the locally configured QoS Profile is applied.

Allowed Differentiated Services Marking

The Allowed Differentiated Services Marking attribute consists of three subtypes

A,E,O Bit flags

Max-class

RT Marking

The MS may mark the packet and send the traffic. The PDSN monitors it and checks if the marked value is within the allowed marking. If packets contain DSCP greater than the allowed value, the PDSN may remark those packets if a remark DSCP is configured. If this remark DSCP is not configured, the packet is forwarded using best-effort DSCP.

The PDSN validates the DSCP in the following ways:

If max-class is configured, considering all the defined classes are in the ascending order (AF list, EF and Selector Class, in that order), the PDSN checks if the DSCP in the packet is within the range of Max-class.

If max-class is not present and the A, E, and O bit flags are present, the PDSN checks the DSCP according to the bits set.

If both max-class and bit flags are not present, the PDSN remarks it with default class.

If RT marking is set in the attribute, the packets that are reverse tunneled are also marked with the locally configured value.

Allowed Number of Persistent TFTs

In HRPD, there can be only one persistent TFT per MS IP Address. This attribute is not forwarded to the PCF.

If the number of persistent TFT attributes is not downloaded or configured locally, the TFT is rejected with "Unsuccessful TFT Processing" error.

Maximum Authorized Aggregate Bandwidth

Maximum Authorized Aggregate Bandwidth is used for downstream policing. This value is considered as the guaranteed bandwidth for the mobile for the session. It is forwarded to PCF.

Configuring the Subscriber QoS Profile

To configure the Subscriber QoS Profile feature on the PDSN, perform the following tasks:

 
Command
Purpose

Step 1 

router# cdma pdsn multiple service-flows qos subscriber profile

This CLI enables you to configure the local subscriber qos profile. This profile will be used for a MN when Subscriber QoS profile is not downloaded from AAA

Step 2 

router# cdma pdsn multiple service-flows qos remark-dscp value

This CLI enables you to configure the DSCP remark value used for marking when the data packets from the mobile towards the internet are determined to have a DSCP not within the allowed dscp value for that mobile.

Configuring the cdma pdsn multiple service flows qos subscriber profile takes you to a submode. The following commands are available to configure various parameters in local subscriber qos profile:

 
Command
Purpose

Step 1 

router# cdma pdsn multiple service-flows qos subscriber profile


Bandwidth <number>


inter-user-priority <value>


tft-allowed <value>




link-flow <value>






service-option <value>



flow-priority <value>



flow-profile direction {forward| reverse| bi-direction} flow-id flow-id



dscp {allowed-class {AF|EF|O} | max-class value| reverse-marking value}

Configures the Maximum Aggregate Bandwidth value. Valid Range: 8000-2000000000.

Configures the Inter-user priority parameter. Valid Range: 1-4294967295.

Configures the allowed number of Persistent TFTs parameter. Valid range: 1-255.

Configures the maximum service connection parameter in Service Option profile. Valid range:1-4294967295.

Configures Service option allowed to establish over HRPD. Valid range:1-255. For HRPD, SDB records are not supported

Configures the maximum per Flow Priority parameter. Valid range: 1-65535.

Configures the Authorized Flow Profile IDs for each direction.

Configures the Allowed Differentiated Services Markings parameter. Valid range: 1-63.

Examples

Here are some example configurations:

router(config)#cdma pdsn multiple service-flows qos subscriber profile 
        router(config-qos-profile)#
        Eg:
        cdma pdsn multiple service-flows qos subscriber profile

router# cdma pdsn multiple service-flows qos remark-dscp AF11

router#(config-qos-profile)#bandwidth ?
  <8000-2000000000>  Value
router#(config-qos-profile)#bandwidth 9000 ?
  <cr>

Here is an example of the dscp command:

router#(config-qos-profile)#dscp ?
  allowed-class    allowed dscp's classes with which user can mark
packets
  max-class        User may mark packets with a class selector code
point
  reverse-marking  marking level pdsn apply to reverse tunneled packets
router#(config-qos-profile)#dscp allowed-class ?
  AF  User can send packets with AF dscp (A bit)
  EF  User can send packets with EF dscp (E bit)
  O  User can mark packets for experiment or local use (O bit)
router#(config-qos-profile)#dscp allowed-class AF ?
  <cr>
AF11     AF11
  AF12     AF12
  AF13     AF13
  AF21     AF21
  AF22     AF22
  AF23     AF23
  AF31     AF31
  AF32     AF32
  AF33     AF33
  AF41     AF41
  AF42     AF42
  AF43     AF43
  Default  Selector Class 0
  EF       EF
  class1   Selector Class 1
  class2   Selector Class 2
  class3   Selector Class 3
  class4   Selector Class 4
  class5   Selector Class 5
  class6   Selector Class 6
  class7   Selector Class 7

router(config-qos-profile)#

router(config-qos-profile)#dscp reverse-marking ?
  AF11     AF11
  AF12     AF12
  AF13     AF13
  AF21     AF21
  AF22     AF22
  AF23     AF23
  AF31     AF31
  AF32     AF32
  AF33     AF33
  AF41     AF41
  AF42     AF42
  AF43     AF43
  Default  Selector Class 0
  EF       EF
  class1   Selector Class 1
  class2   Selector Class 2
  class3   Selector Class 3
  class4   Selector Class 4
  class5   Selector Class 5
  class6   Selector Class 6
  class7   Selector Class 7

router(config-qos-profile)#

Here is an example or the flow-priority command:

router(config-qos-profile)#flow-priority ?
  <1-4294967295>  Value

router(config-qos-profile)#flow-priority 100 ?
  <cr>

Here is an example or the flow-profile direction command:

router#(config-qos-profile)#flow-profile ?
  direction  Configure direction for flow of packet

router#(config-qos-profile)#flow-profile direction ?
  <1-3>  1-Reverse  2-Forward  3-Bi-direction
router#(config-qos-profile)#flow-profile direction 1 ?
  flow-id  defines qos treatment to apply to a packet flow
router(config-qos-profile)#flow-profile direction 1 flow-id ?
  <1-65535>  Value
router#(config-qos-profile)#flow-profile direction 1 flow-id 100 ?

Here is an example of the inter-user-priority command:

router#(config-qos-profile)#inter-user-priority ?
  <1-4294967295>  Value
router#(config-qos-profile)#inter-user-priority 200 ?
  <cr>

Here is an example of the link-flow command:

router(config-qos-profile)#link-flow ?
  <1-4294967295>  Value

router(config-qos-profile)#link-flow 40 ?
  <cr>

router(config-qos-profile)#

Here is an example of the TFT command:

router(config-qos-profile)#tft-allowed ?
  <1-4294967295>  Value

router(config-qos-profile)#tft-allowed 1 ?
  <cr>

router(config-qos-profile)#tft-allowed 1

Here is an example of the subscriber redundancy rate command:

router(config)# subscriber redundancy rate 500 1

Verifying the Configuration

To verify the Subscriber QoS Profile feature on the PDSN, perform the following tasks:

 
Command
Purpose

Step 1 

router# show cdma pdsn session {qos|tft|detail}

In PDSN Release 4.0, the show cdma pdsn session command adds extensions that display the following information:

the Subscriber QoS profile

TFTs installed for the session in addition to the existing details

Step 2 

router# Show cdma pdsn qos local profile

This command displays the locally configured subscriber qos profile.

Step 3 

router# show cdma pdsn

In PDSN Release 4.0, new counters are introduced to display the number of sessions that have QoS enabled, and policing installed and enabled.

Step 4 

router# show cdma pdsn statistics

In PDSN Release 4.0, new counters are introduced to display the following information:

Number of TFTs parsed successfully or failed.

New counters to identify the TFT parsing failure reasons.

Number of Subscriber QoS Profile downloaded from AAA or locally installed.

Consolidation of subscriber QoS profile.

Policing installed or uninstalled.

Packets for which the DSCP was remarked based on policy installed.

Examples

Here is and example of the show cdma pdsn session tft command:

router# show cdma pdsn session tft
Mobile Station ID IMSI 123456789011122
  PCF IP Address 10.1.1.1, PCF Session ID 1
  This session has 1 flow
  This session has 1 Tft
  TFT IP Address 3.1.1.1
  Number of Packet Filters Forward 2, Reverse 1
  Forward Packet Filters
    Packet Filter 1
    Flow Id 10, Precedence 255, PF Type 0
    Source Port 125

    Packet Filter 2
    Flow Id 10, Precedence 255, PF Type 0
    Source Port 125
  Reverse Packet Filters
    Packet Filter 1
    Flow Id 10, Precedence 10, PF Type 0
    Source Port 125

Mobile Station ID IMSI 123456789011123
  PCF IP Address 10.1.1.1, PCF Session ID 2
  This session has 1 flow
  This session has 1 Tft

  TFT IP Address 3.1.1.2
  Number of Packet Filters Forward 2, Reverse 3
  Forward Packet Filters
    Packet Filter 1
    Flow Id 2, Precedence 2, PF Type 0
    Source Ip 5.5.5.5 Mask 255.255.255.0

    Packet Filter 2
    Flow Id 5, Precedence 5, PF Type 0
    Source Ip 1.1.1.1 Mask 255.255.255.0

  Reverse Packet Filters
    Packet Filter 1
    Flow Id 10, Precedence 255, PF Type 0
    Source Port 125

    Packet Filter 2
    Flow Id 10, Precedence 255, PF Type 0
    Source Port 125

    Packet Filter 3
    Flow Id 10, Precedence 255, PF Type 0
    Source Port 125

Here is an example of the show cdma pdsn qos local profile command:

router#show cdma pdsn qos ?
  local       CDMA PDSN local qos information
router#show cdma pdsn qos local ?
  profile  CDMA PDSN local qos profile information 

router#show cdma pdsn qos local profile ?
  |  Output modifiers
  <cr>
router#show cdma pdsn qos local profile
CDMA PDSN LOCAL QOS PROFILE
  QoS subscriber profile
    Max Aggregate Bandwidth : 8000
    Inter User Priority : 4321
    Maximum Flow Priority : 4
    Number of persistent TFT : 10
    Total link flow : 2
      Service Option : 59
      Service Option : 61
    Flow-profile
      Forward flow-id : 1
      Reverse flow-id : 2
      Bi-direction flow-id : 3
    DSCP
      Allowed-class AF
      Max-selector class 4

Here is a partial example of the show cdma pdsn statistics command that identifies QoS statistics:

router #show cdma pdsn statistics

QoS:
   Total Profile Download Success 10, Failure 10, Local Profile selected 4
   Failure Reason DSCP 1, Bandwidth 1, TFT 1, Flow Profile ID 1, 
   Max per flow 1, IUP 1, Others 4 
   Total Consolidated Profile 4, DSCP Remarked 0 
   Total Policing installed 4, failure 5, removed 4

Other QoS Parameters

The MS sends the QoS parameters for the IP flows in R_QOS_SUB_BLOB to PCF. The PCF, after it grants the QoS, forwards the details to the PDSN in an A11 RRQ. This is just stored and forwarded during Accounting, and contains the mapping the definitions of IP Flows (FlowID) which are used for A10 Connection mapping. This blob also contains an indicator of whether the flow id needs to be included in the bearer packets. If it is set, the PDSN adds a new GRE header, including the flow ID, in all the bearer packets for that flow.

Flow Remapping

Many times, even while the session and connections are up, the MS might decide to remap. It may do so when a new application is started. In such cases, QoS is again renegotiated, and the details are forwarded to the PDSN. The PDSN creates or deletes the A10, and also remaps the flows to the corresponding A10 connections.

Per-flow Accounting

Connection Setup

In HRPD systems, if a single A11-Registration Request message is used to establish multiple A10 connections, an A10 Connection Setup Airlink record is included for each of the A10 connections to be established. No field in the QoS blob is used or processed in the PDSN other than forwarding the same to AAA for accounting.

Airlink Start

An accounting start is generated under the following conditions:

For IP flows with ID FFH, when the main A10 connection is associated with the traffic channel or when new parameters are set.

For all other IP flows, when both of the following become true for that IP flow:

the IP flow is in the active state, and its associated link flow is associated with the traffic channel.

When new parameters are set.


Note For IP flows with ID FFH in HRPD systems, accounting is bidirectional. It applies to both forward and reverse IP flows.


This record does not include Granted QoS Parameters.

Airlink Stop

An accounting stop will be generated under the following conditions:

The main A10 connection is disassociated from the traffic channel, or parameter settings are no longer valid.

For all other IP flows, when the IP flow is in the active state and its associated link flow is associated with the traffic channel, and then one or more of the following occurs:

the traffic channel is released,

the IP flow is deactivated or removed,

its link flow is disassociated with the traffic channel; or

When parameter settings are no longer valid.

For inter-PCF handoff, the source PCF sends an Active-Stop Airlink record for each activated IP flow to the PDSN, and the target PCF send Active-Start Airlink records for each activated IP flow per direction to the PDSN.

During A11 re-registration, if some connections are missing and the flows are deleted, an accounting stop is sent for those connections and flows. Similarly an accounting start is sent for all those newly added flow-ids.

IP flows with received accounting records are identified by the granted QoS that carries the respective IP flow ID and direction. When remapping of IP flows occurs, the flows get mapped from one A10 to another A10. The PDSN sends an accounting stop for the old A10, and an accounting start for the new A10 for that particular IP flow. In this scenario, an accounting Start and Stop is triggered upon receiving an active start and active stop respectively. When an active start and stop are not received and session is torn down, still the pair of accounting stops for the old A10 and the start for new a10 are sent for the IP flow.

When an IP flow receives an active stop with flow status as inactive, it is moved to inactive state. The IP flow becomes active once an active start is received for the same. The PDSN generates a stop accounting stop record when the IP Flow moves from active to inactive state.The IP flow is moved back to active after it receives an active start, and when it changes from inactive to active an accounting start is sent.

Configuring Per-Flow Accounting

To configure the Per-flow Accounting feature on the PDSN, perform the following task:

 
Command
Purpose

Step 1 

router# cdma pdsn attribute send {f16|f17|f18|f19|f20|f22

In PDSN Release 4.0, new options are introduced in the existing CLI. These new attributes are sent in accounting messages.

(F16) Forward PDCH RC
(F17) Forward DCCH Mux Option
(F18) Reverse DCCH Mux Option
(F19) Forward DCCH RC
(F20) Reverse DCCH RC
(F22) Reverse PDCH RC

Example

Here is sample output for PDSN Release 4.0:

cdma pdsn attribute send ?
  a1             Attribute Calling Station ID
  a2             Attribute ESN, Electronic Serial Number
  a3             Attribute MEID, Mobile Equipment Identifier
  c5             Service Reference ID
  esn-optional   Send ESN in Access Req/accounting records only when received
                 from PCF

  f11            IP Technology
  f15            Attribute f15, always-on
  f16            Forward PDCH RC	 ------------------------|
  f17            Forward DCCH MUX	------------------------|
  f18            Reverse DCCH MUX	------------------------|-----> NEW
  f19            Forward DCCH RC		------------------------ |
  f20            Reverse DCCH RC 	------------------------|
  f22            Reverse PDCH RC		------------------------ |
  f5             Attribute Service Option
  g1             Attribute Input Octets
  g17            Last known user activity
  g2             Attribute Output Octets
  is835a         is835a specified attributes (g3 and g8 to g16)

meid-optional Send MEID in Access req/accounting records only when received from PCF

Verifying Per-Flow Accounting

To verify that the Per-flow Accounting feature is configured on the PDSN, perform the following tasks:

 
Command
Purpose

Step 1 

router# Show cdma pdsn accounting [detail]

In PDSN Release 4.0, the output has been enhanced to display the HRPD and IP flow details.

Example

Here is example output:

router#show cdma pdsn accounting detail 
 UDR for session 
 session ID: 1
 Mobile Station ID IMSI 123456789123457

   Mobile Station ID (A1) IMSI 123456789123457
   ESN (A2) 000100020003005
   MEID (A3) 
   Session Continue (C3) ' ' 0
   Serving PCF (D3) 2.2.1.1 Base Station ID (D4) 000000000000
   User Zone (E1) 0000
   Forward Mux Option (F1) 1    Reverse Mux Option (F2) 2    
   Service Option (F5) 59   Forward Traffic Type (F6) 6    
   Reverse Traffix type (F7) 7    Fundamental Frame size (F8) 8    
   Forward Fundamental RC (F9) 9    Reverse Fundamntal RC (F10) 10   
   DCCH Frame Format (F14) 14   Always On (F15) 0 
   Forward PDCH RC (F16) 16   Forward DCCH Mux (F17) 17       <--- new 
   Reverse DCCH Mux (F18) 18   Forward DCCH RC (F19) 19   
   Reverse DCCH RC (F20) 20   Reverse PDCH RC (F22) 22   

   Bad PPP Frame Count (G3) 0 Active Time (G8) 0 
   Number of Active Transitions (G9) 1 
   SDB Octet Count Terminating (G10) 0 
   SDB Octet Count Originating (G11) 0 
   Number of SDBs Terminating (G12) 0 
   Number of SDBs Originating G13 0 
   Number of HDLC Layer Bytes Received (G14) 225 
   In-Bound Mobile IP Signalling Octet Count (G15) 0 
   Out-bound Mobile IP Signalling Octet Count (G16) 0 
   Last User Activity Time (G17) 0 
   IP Quality of Service (I1) 0 
   Airlink Quality of Service (I4) 0
   R-P Session ID (Y2) 1

 UDR for flow 
    Mobile Node IP address 20.2.0.0 
    IP Address (B1) 20.2.0.0,  Network Access Identifier (B2) mwtcp-sip-basic-user1
    Account Session ID (C1) 4248
    Correlation ID (C2) ' ' 240
    Beginning Session (C4) ' ' 0
    MIP Home Agent  (D1) 0.0.0.0
    IP Technology (F11) 01 Compulsory Tunnel indicator (F12) 00 
    Release Indicator (F13) 00
    Data Octet Count Terminating (G1) 0 
    Data Octet Count Originating (G2) 0  Event Time G4:1219295403 
    Rsvp Signaling Inbound  Count (G22) 0 Outbound Count (G23) 0   <-- new
    Rsvp Signaling Packets In (G24) 0 Packets Out (G25) 0
    Packets- in:0 out:0

The following are new:


UDR for IPFlow (new: Yes)
   Session ID : 2 Flow ID : 0x01 Direction : Forward
     Account Session ID (C1) 1095 Correlation (C2) 0 
     Service Reference ID (C5) 2 Flow ID (C6) 1
     Serving PCF (D3) 2.2.1.1 
     Forward Mux Option (F1) 1    Reverse Mux Option (F2) 2    
     Service Option (F5) 59   Forward Traffic Type (F6) 6    
     Reverse Traffix type (F7) 7    Fundamental Frame size (F8) 8    
     Forward Fundamental RC (F9) 9    Reverse Fundamntal RC (F10) 10   
     DCCH Frame Format (F14) 14   Forward PDCH RC (F16) 16   
     Forward DCCH Mux (F17) 17   Reverse DCCH Mux (F18) 18   
     Forward DCCH RC (F19) 19   Reverse DCCH RC (F20) 20   
     Reverse PDCH RC (F22) 22   Flow Status (F24) Active 

     Data Octet Count Terminating (G1) 0 
     Data Octet Count Originating (G2) 0  Event Time G4:0 
     Active Time (G8) 0 
     Number of Active Transitions (G9) 1 
     SDB Octet Count Terminating (G10) 0 
     SDB Octet Count Originating (G11) 0 
     Number of SDBs Terminating (G12) 0 
     Number of SDBs Originating G13 0 
     Granted Qos (I5): 
       Flow direction :0 Flow ID :1 
       Flow Profile ID :0 
       Qos Attribute Set ID :1 Traffic Class :0 
       Peak Rate :1 Bucket Size :100 
       Token Rate :100 Maximum Latency :100 
       Max IP Packet Loss Rate :10 
       Packet Size :10 Delay Variance Sensitive :100 
   IP Quality of Service (I1) 0 
   Airlink Quality of Service (I4) 0
   R-P Session ID (Y2) 2

Handoff Scenarios

This section lists various handoff scenarios.

Inter-PCF handoff - Same PDSN (RevA to RevA)

The PDSN, irrespective of PPP Renegotiation or not, will release all of its existing A10 connections with the old PCF and establish the auxiliary connections freshly for the new PCF.

In this case, the TFTs are not cleared. The flow-ids are retained and remapped to the new PCF's A10 connections.

Handoff from 1x to RevA

When a mobile node hands off from a 1x network to a Rev A PCF, the existing flow is considered the main service connection. The auxiliary service flows and the application flows are then freshly created. When a handoff from 1xRTT to EV-DO occurs, the PDSN sends an accounting start upon receiving active start per flow per direction. In this case, there should be a connection setup received for the associated a10 of that IP flow.

Handoff from Rev A to 1x

When a mobile node hands off from a Rev A PCF to a 1x PCF, all the service flows and application flows are deleted except the TFTs. The subscriber QoS profile is retained with the session. The policing and DSCP validations continue if already in place. When there is a handoff from EV-DO to 1xRTT, will be sending one accounting stop per IP flow per direction is sent for those IP flows that are active. A pair of Start-Stops are sent for those IP flows that are inactive, since this is the final stop through which to detach from AAA context.

Call Admission Control

As part of the subscriber QoS profile, bandwidth is downloaded from AAA. The PDSN needs to make that bandwidth available for the mobile station. This helps in case the mobile uses any video services.

There is no specific interface on the PDSN that is considered as egress that defines the maximum available bandwidth. So there is no direct allocation, and the PDSN cannot use generic IOS QoS implementation on allocation failure.

As a solution, a new CLI is introduced which defines the total bandwidth on the box. This bandwidth could be the Gigabit interface on the SAMI card, or the egress interface on the line card. The maximum available bandwidth could be the minimum of the two.

Whenever a session registers with the PDSN, and the PDSN downloads the bandwidth to allocate, it checks the available bandwidth. If the requested bandwidth is available for use, the session is created successfully and the allotted amount is deducted from the available bandwidth. If it runs out of bandwidth, the call is rejected.

Whenever the session is deleted, the bandwidth is returned to the original pool.

Whenever a different bandwidth is downloaded during re-registration, the old one is returned and then the new one is deducted.

BandwidthFactor = (ConsumedBandwidth / Total Bandwidth) * 100

The other factors that can be included are memory, CPU, and the session load.

Session Load:

Currently the load that is calculated and forwarded to the Cluster Controller is the ratio of number of sessions active to the total session capacity of the box.

SessionFactor = (Number of Sessions active / Total session capacity) * 100

Memory:

Memory factor consists of 2 parts—Processor Memory and IO Memory. The RRQ should be accepted only if 10% of memory is available (both processor and IO Memory).

ProcMemoryFactor = (MemoryConsumed/TotalMemory) * 100

IOMemoryFactor = (MemoryConsumed/TotalMemory) * 100

CPU Factor:

The processor could be loaded due to heavy traffic (high packets/sec), or because of high number of requests or heavy data traffic. To consider this parameter, take the current CPU percentage for computation as well.

CPUFactor = (CPU Percentage)

Taking all the four parameters, the new load factor will be the maximum of the four.

If the maximum is memory or CPU, new registration requests are rejected till the value drops below the configured threshold.

If the maximum is because of BandwidthFactor, and if the new request is 1x (not downloading bandwidth), it is allowed. If it is RevA or 1x (downloading bandwidth), the registration proceeds until the bandwidth is downloaded. Then, based on bandwidth availability, the request is either processed or rejected.

If the highest is session count, it proceeds till the maximum is reached.

Controller - Member Calculation

The member now sends the newly calculated load to the controller as the exact load of the system. The controller performs load-balancing with the load value sent by the member. The controller reject calls once any of the load parameters for all the associated members reach the threshold of 100%. CAC is enabled on the member when the BW and CPU thresholds are configured. Multiple flows are enabled in the controller to support PDSN R4.0. The default memory threshold is 90%.

Configuring Call Admission Control on the PDSN

To configure the Call Admission Control feature on the PDSN, perform the following tasks:

 
Command
Purpose

Step 1 

router# cdma pdsn cac maximum [bandwidth number]

cdma pdsn cac maximum [cpu number]


Enables the Call Admission Control feature. Use the bandwidth keyword to control the maximum CAC bandwidth parameters, and the cpu keyword to control the maximum CPU threshold.

Step 2 

router# cdma pdsn cluster controller member reva-support

When the members are PDSN R4.0 based, CAC is done based on many parameters. Use this command to make the Cluster Controller utilize all of the newly introduced parameters to distribute the load.

Examples

Here is an example of the configuration commands:

router# cdma pdsn cac ?
  maximum          Configure Maximum values for CAC Parameters
cdma pdsn cac maximum ?
  bandwidth        Configure Maximum Bandwidth
  cpu              Configure CPU Threshold parameters
cdma pdsn cac maximum bandwidth ?

<8000-2000000000> Value

cdma pdsn cac maximum cpu ?
<30-90> Value 

Verifying the Configuration

To verify that the CAC feature is enabled, and to gather information regarding the CAC feature, perform the following task:

 
Command
Purpose

Step 1 

router# show cdma pdsn cac

Display the various call admission control parameters and their status.

Examples

Here is an example of the show cdma pdsn cac command:

router# show cdma pdsn cac

Router#sh cdma pdsn cac

Output in Values Output in percentage

Total configured bandwidth 200000000 b 100%

Allocated bandwidth                                 0 b 0%

Available bandwidth                            200000000 b 100%

CPU Threshold                                                                  90%

CPU Current                                                                   0%

Processor Memory Threshold     813609471 90%

Processor Memory Current    73398292 8%

IO Memory Threshold 60397977 90%

IO Memory Current                                 45603376 67%

Sessions allocated                                       0 0%

Max sessions allowed                                  25000 100%

Router#

Resource Management

Resource management defines the mechanism to release packet data session related resources at the network elements like the PDSN and the HA. Resources may be released due to the session handoff or for administrative purposes.

IS-835-C defines two mechanisms for resource management:

Packet of Disconnect (POD)

Mobile IP Resource Revocation

While resource management based on Packet of Disconnect is applicable to Simple IP, Mobile IP and Proxy Mobile IP flows, resource management based on Mobile IP Resource revocation is applicable only to Mobile IP flows.

The Cisco PDSN supports resource management based on both Packet of Disconnect and Mobile IP resource revocation.

Resource Revocation for Mobile IP

Basic Mobile IP resource revocation is an IS-835-C initiative that defines the methods by which a mobility agent (one that provides Mobile IP services to a mobile node) can notify the other mobility agent of the termination of a registration due to administrative reasons or MIP handoff.

When configured on the PDSN/FA, the Mobility Agent Advertisement extension in the Agent advertisement will have the X bit set, thus advertising support for resource revocation on that link. A PDSN configured to support resource revocation in Mobile IPv4 will include a revocation support extension in all MIP RRQ including re-registrations. If the associated MIP RRP from the HA also includes a valid revocation support extension, then the PDSN will assume the associated registration as revocable.

For a registration that is revocable, if the PDSN/FA needs to terminate the session administratively, the PDSN/FA sends a resource revocation message to the HA and releases the resources held for that registration.

If the resource revocation ACK from the HA is not received within a configurable amount of time, the resource revocation message will be retransmitted.

On receipt of a resource revocation message from Home Agent, and a registration (identified by the home address, care-of address, and Home Agent address) is located, the resources held by that registration are freed, and a resource revocation ACK message is sent back to the Home Agent. If no other Mobile IP registrations are active on the PPP session associated with the revoked binding, then the PDSN will release the associated PPP and R-P sessions for the revoked registration.

Restrictions for Registration Revocation

The following restrictions for Registration Revocation on the PDSN apply:

The STC VSA returned from AAA in access-accept message during FA-CHAP and HA-CHAP will be ignored, and local configuration on the PDSN and HA will take precedence.

Revocation extension and messages, even if not protected by FHAE or IPSec, will be accepted and processed by both PDSN and HA. It is recommended that the user takes care of providing the security of the messages by either configuring FA-HA security association or by provisioning IPSec tunnel between the two agents.

MobileIP MIB is not updated with the Registration revocation information.

On the PDSN, all the ip mobile foreign-service commands need to be configured at the global level and not at the interface level.

On the PDSN, for the I-bit support the local policy is to always negotiate I-bit and to always set it to 1 in the Revocation messages. Also the provision to set B-bit to 1 in the agent advertisement message while informing MN of the revoked data flow is not provided.

Resource Revocation and Bind Update cannot be enabled simultaneously. Both are mutually exclusive of each other.

Packet of Disconnect

Radius Disconnect, or Packet of Disconnect (PoD) is a mechanism that allows the RADIUS server to send a Radius Disconnect Message to the PDSN to release Session related resources. Resources may be released due to the session handoff, or for administrative purposes. Some of the resources identified include PPP, RP sessions and Mobile IP bindings. Support for Radius Disconnect on the Cisco PDSN and Home Agent is TIA835C compliant.

The PDSN communicates its Resource management capabilities to the Home AAA in the Access Request message (sent for authentication/authorization procedure) by including a 3GPP2 Vendor Specific Session Termination Capability (STC) VSA. The value communicated in the STC VSA is obtained in the configuration. The PDSN also includes an NAS-Identifier attribute containing its Fully Qualified Domain Name (FQDN) in the Access Request.

The Home AAA server establishes a relationship between the user and the NAS Identifier/ NAS-IP address to detect a inter-PDSN handoff. If the NAS-Identifier/ NAS IP address received in the Access Request is different from the previously stored value (non-zero), an inter-PDSN handoff is detected.

The Disconnect Request contains the NAS-ID and the Username (NAI) attributes. It can optionally contain 3GPP2 Correlation ID Calling station ID (IMSI) and the Framed IP address—some session identification attributes. A Disconnect Reason VSA is included if a inter-PDSN handoff is detected. The session identification attributes supported by the PDSN are 3GPP2 Correlation ID and Calling station ID (IMSI).

If the 3GPP2 Correlation ID and Calling station ID (IMSI) attributes are received in the Disconnect Request, and the PDSN is able to find the session/flow corresponding to them, the PDSN will terminate the associated flow and send a Disconnect ACK message to RADIUS server. If session is not found for the received attributes, the PDSN will reply back with a Disconnect NACK message with error code "session context not found". If the Disconnect request has invalid attributes (for example, an 8 digit IMSI), the PDSN will reply with a Disconnect NACK with error code "Invalid Request".

The PDSN also supports processing Disconnect Requests that only contain the NAI attribute (if configured). In compliance with the standards, the PDSN terminates all sessions corresponding to the Username received.

The Ballot version mentions that a Disconnect Request can be received at the Home Agent (HA,) but details on the action to be taken in such an event is not detailed. Hence the approach followed is to terminate a specific binding if Framed-IP-Address attribute is received along with NAI, or terminate all bindings for the NAI, if only NAI attribute is received in the Disconnect Request.

The following restriction is present for this feature:

All Dormant NVSE are not supported.

The command line interface for this feature will be standard AAA interfaces. The preferred method to configure POD in Release 2.0 and above is to use the aaa server radius dynamic-author command, which leads to a sub-configuration mode that has options to configure clients, security keys, and other variables.

The following NAS global AAA command is used to enable listening for POD packets:

aaa pod server key word, where word is the shared key.

The full syntax for this command is:

aaa pod server [clients ipaddr1 [ipaddr2] [ipaddr3] [ipaddr4]] [port port-number] [auth-type {any | all | session-key}] server-key [encryption-type] string

The following debug command is also available:

debug aaa pod

Restrictions for RADIUS Disconnect

All Dormant NVSE is not supported.

MIB support is not currently planned.

Processing of a RADIUS Disconnect message with only NAI present must be configured for compliance to IS 835-C.

Radius Enhancements

PDSN R3.0 includes the following RADIUS enhancements:

Radius Server Load Balancing

Selection of Radius Server based on realm.

Radius Server Load Balancing

The RADIUS Load-Balancing (RLB) feature shares the load of RADIUS Authentication and Accounting transactions across a set of RADIUS servers. Without RLB, all transactions are sent to the first server considered to be alive in a server group. When this server stops responding and is marked dead, the PDSN fails over to the next one in the group. Using only one server, despite the presence of other usable servers in the group, limits the overall throughput for call setup/teardown.

Radius Server Load Balancing allows the PDSN to distribute the transaction load across multiple servers in a server group. It tracks the slower servers and reduces the transaction load on those servers, and it adapts when a server is marked dead and when it comes back up again.

The transactions are grouped into batches (the size of which is configurable), and each server is assigned a batch to process. The feature then load-balances transactions based on these batches, one batch at a time. When the first transaction is received, the algorithm determines the server with the least outstanding transactions, and this server is assigned the next batch of transactions. Once a batch of transactions has been assigned, the algorithm determines the server with the least outstanding transactions, and this server is assigned the next batch of transactions. Thus, the server with the least outstanding transactions always gets assigned the next batch. This load-balancing scheme can be applied based on a server group. Thus, each server group defined on the IOS platform can have its own load-balancing scheme.

You should exercise care while configuring the batch size. The trade-off in large versus a small batch size is that of throughput versus CPU load. A large batch size results in a lesser amount of computations, and a lower CPU load; however, it may cause a particular server within the server-group to be assigned transactions even though others in the group are idle. For very small batch sizes, the CPU load increases, as it computes outstanding load across servers more often. Lab simulations indicate that a batch size of 25 gives a decent throughput while not adversely affecting the CPU load.

High Latency RADIUS Servers

The algorithm adapts well to servers of varying response times. Servers that are quick have a lower number of transactions outstanding, and are assigned larger number of the incoming transactions. Slower servers get proportionately lower numbers of transactions.

Server Failovers

When a transaction fails over to the next server in the group after a failover, its outstanding count is increased. Thus, failed-over transactions are also load-balanced. When the next batch of transactions is assigned, this server's outstanding count will reflect it's load accurately—both new and failover transactions will be accounted for in the outstanding transaction count.

Dealing with Server Groups

Consider the following two server-groups:

Server-group SG1 with servers S1, S2, S3.

Server-group SG2 with servers S3, S4, S5.

Consider that SG1 is configured to be load-balanced, while SG2 is not. When requests are sent to SG2 these requests are assigned to S3, as it is the first server in the group and its outstanding transaction count will increase. When requests are sent to SG1, these requests are load-balanced across these servers. When sending transactions to S3, the outstanding transaction count for the server will be high because SG2 transactions are assigned directly to it. Thus, it will receive a low proportion of transactions in SG1. This is the preferred behavior, since the goal is to send transactions to servers that are quicker and able to handle more load, where the load is the total transactions a server is handling, not just those of the current server-group.

Preferred Servers

In certain cases, it is desirable to use the same server for all requests for a given session. With RADIUS server load balancing there is no guaranty that this will occur. To avoid such situations a preferred-server indication is introduced in Release 3.0.


Note This indication is a preference or recommendation only.


The preferred server behavior, which is enabled by default, tries to ensure that all the accounting records (Start, Stop, and Interim) for a session are sent to the same RADIUS server. However, authentication and accounting records for the same session may still be sent to different RADIUS servers as determined by the load balancing algorithm.

The following events may cause accounting records for the same session to be sent to different RADIUS servers:

PPP re-negotiation

Handoff

The PDSN will try to use the server if possible, but if not, it will fall back to other servers in the group based on the load-balancing mechanism.

When this indicator is used, costs are not considered in deciding which server to use. However, it might not be possible to always use the preferred server. The server may have been marked dead. Or the server may not be usable since it is not part of the server-group that was used for a previous transaction during the session (for example, the Accounting server-group may be different from the authentication server-group). In this case, the algorithm is free to select an alternate server, based on the load-balancing scheme.

Incoming RADIUS Requests

The RADIUS server load balancing feature is not applicable to incoming RADIUS requests (for example, Packet of Disconnect). POD responses require that the server requesting service be the one that is responded to, thus you should not load-balance these requests across servers.

Subscriber Authorization Based on Domain

Cisco IOS provides a "Subscriber Authorization" mechanism to authorize subscribers based on their realm. You can find details of this feature at the following URL:

http://www.cisco.com/en/US/partner/products/ps6350/products_configuration_guide_chapter09186a0080455cf0.html#wp1056463

IS-835 Prepaid Support

The Cisco PDSN 2.0 software release provides real-time monitoring and rating of data calls for prepaid users. The prepaid billing solution for the PDSN is based on the RADIUS (AAA) server, and takes advantage of the existing flow-based accounting functionality. The prepaid billing feature requires the RADIUS server to interface with a Prepaid Billing Server (PBS) to relay real-time billing information between the PDSN and the PBS. A third-party Prepaid Billing Server controls the real-time rating of data calls and maintains balances in users' accounts. Cisco does not supply the PBS.

The following three types of Prepaid service are available in PDSN Release 2.1:

Volume-based Prepaid data service

Volume-based Prepaid data service with tariff switching

Duration-based Prepaid data service

Prepaid functionality is supported on PDSN for the following type of data sessions:

Simple IP sessions with authentication and authorization performed at AAA.

VPDN sessions with authentication and authorization for the user performed at AAA.

Mobile IP sessions with FA-CHAP performed for the session/NAI at AAA.

Proxy mobile IP sessions with authentication and authorization for the user performed at AAA.

Prepaid service is also available for sessions opened with MSID-based authentication access.


Note Either Volume-based or Duration-based, but not both options in one prepaid flow, are supported on the PDSN. Multiple flows, each supporting either Volume or Duration based prepaid service, are allowed on the PDSN. The PDSN can be configured to support only Volume-based, or only Duration-based, or either type of Prepaid service per flow at any point in time.


Volume-based accounting for prepaid flows other than VPDN will count the bytes present in the PPP payload. For VPDN flows, it will count the bytes present in the PPP packet including the PPP packet header. A session that has multiple flows can have some of the flows with prepaid data service enabled, each either Volume-based or Duration-based, while other flows may not be prepaid enabled.

Tariff-based prepaid service is also supported for volume-based prepaid data service on the PDSN. To support tariff-based prepaid service, the Prepaid Billing Server should have the following capabilities:

Charged by volume—different tariff for different time of day.

The Billing server allocates a different quota (volume-based) for a user that is determined by a tariff for a different time-of-day (this ensures the two charging rates do not overlap).

Restrictions for Prepaid Support in Cisco PDSN Release 2.1

Prepaid for remote address based accounting is not supported.

Online Access Request messages are sent with Service-Type as "outbound" (instead of "Authorize Only"), and user password is included in the message.

There is no Prepaid MIB support in the present release.

Prepaid for the HA is not supported.

Prepaid Billing

When a user performs Simple IP access with AAA authentication, or Mobile IP access with FA-CHAP, the Prepaid capable PDSN sends a RADIUS Access-Request message for Authentication and Authorization. The Prepaid capable PDSN informs the Billing Server of its own Prepaid capabilities by including a PPAC VSA in the RADIUS Access-Request message.

The Home RADIUS performs Authentication and Authorization procedures as usual. If the HAAA identifies that a user is a prepaid user from its user profile, the HAAA interfaces with the Billing Server to retrieve prepaid related information for the user, and passes on the prepaid related information in the Access Request message. The Billing Server performs prepaid authorization for the user. The prepaid authorization procedure at HAAA and Billing Server consists of the following steps:

Checking the PPAC VSA.

Checking the home network policy.

Checking the user's account balance and state.

When the Billing Server successfully authorizes the user as a valid prepaid user, it notifies the HAAA that it supports prepaid service based on volume, or duration, or both, depending on the configuration at the Billing Server and capabilities as indicated by the PDSN. The HAAA encodes the information in a PPAC VSA to the PDSN, and indicates that volume-based or duration-based prepaid (or both) service is supported by the Billing Server.

HAAA sends the authorization response to the Prepaid capable PDSN using RADIUS Access-Accept/Reject messages. The authorization response includes a PPAQ VSA in the same RADIUS Access-Accept message stating an initial quota, quota-id and a threshold value of the quota for the prepaid flow corresponding to the user.

When the PDSN sends on-line Access Request messages to HAAA for prepaid related functionality, it does not set the User-Password (= 2) field in the message, and normal RADIUS message authentication is set and performed with Message Authenticator. Currently, the User-Password is set in online Access Requests to the default value of "cisco".

If the PDSN does not receive the PPAC VSA from the HAAA in the initial RADIUS Access-Accept message, or the message is included but indicates that "Prepaid Accounting not used", the PDSN will release the user's prepaid flow if the RADIUS Access-Accept message includes a PPAQ VSA. The PDSN will send an Access Request to HAAA to return the quota allocated with Update-Reason VSA that indicates Client Service termination.

If the PDSN is capable of supporting prepaid service based on either volume or duration, then the PDSN will enable prepaid service for the flow based on the Billing server-indicated service that applies to the session in PPAC. If the Billing server also indicates that the PDSN can allocate either volume or duration, then the PDSN will enable prepaid service based on the type of quota (volume or duration) present in PPAQ from HAAA. If both types of quota are present in PPAQ, then prepaid flow is not opened on the PDSN.

If the PDSN is capable of supporting prepaid service based on volume, and Billing Server indicates that it will support prepaid service based on duration, then the PDSN will close the prepaid flow. The PDSN will send an Access Request message with Update-Reason VSA indicating "Client Service termination". The same logic applies to the PDSN if it supports prepaid based on duration, and Billing Server returns prepaid service based on volume.

If the PDSN receives an Access-Accept message containing the PPAC VSA indicating prepaid service supported, but the initial quota is not included in the message, the PDSN will close the flow. Since no quota was received in the Access Accept, the PDSN will not send further RADIUS Access Request message to HAAA.

To ignore Billing Server interaction of HAAA for Access Requests sent by the PDSN during mobile IP re-registration for FA-CHAP, the PDSN will include the Session-Continue VSA set to "TRUE" in the on-line Access Request messages.

If multiple flows are present for the session that hosted the Prepaid flow, and a prepaid flow was stopped, and if it was the last flow for the session, then the session will be deleted by the PDSN. If one of mobile IP flo