> Femto Network Gateway Overview
> This chapter contains general overview information about the Femto Network Gateway (FNG), including:

> • | Product Description

> • | Summary of FNG Features and Functions

> • | Product Specifications

> • | Network Deployment(s) and Interfaces

> • | Features and Functionality

> • | How the FNG Works

> • | Supported Standards

> Product Description
> The Cisco® ASR 5000 Chassis provides 3GPP mobile operators with a flexible solution that functions as a Femto Network Gateway (FNG) in CDMA2000 wireless voice and data networks. The FNG consists of new software for the ASR 5000.
> The FNG enables mobile operators to provide 3G network services to subscribers with wireless handsets via Femtocell Access Points (FAPs). The FNG makes it possible for operators to provide secure access to the operator’s 3G network from a non-secure network, extend wireless service coverage indoors, especially where access would otherwise be limited or unavailable, reduce the load on the macro wireless network, and make use of existing backhaul infrastructure to reduce the cost of carrying wireless calls.
> The FNG functions as a security gateway that allows the FAPs in the access network to connect to circuit, packet, and IMS core networks. The FNG implements an IPSec interface to provide a secure, encrypted IPSec tunnel to each FAP in the access network as it connects to the operator’s core network. In addition, the FNG provides a highly scalable femtocell solution by allowing a large number of FAPs to interoperate with legacy core network elements that are typically not designed to interface with such a large number of elements.
> The FNG splits voice and data traffic flows into and out of the core network. It forwards all voice traffic to the operator’s IMS core network and all data traffic to the PDSN/HA toward the packet data network. This network configuration fully isolates the traditional MSC from IP attacks, because all backhauled traffic is secure and offloaded to a convergence server in the IMS core network.
> Summary of FNG Features and Functions
> The FNG features and functions include:

> • | FNG service

> • | IKEv2 and IP Security (IPSec) encryption

> • | A12 aggregation

> • | X.509 certificate-based peer authentication

> • | RADIUS Support

> • | AAA server group selection

> • | FAP ID-based duplicate session detection

> • | Child SA rekey support

> • | Multiple Child SAs

> • | DoS protection cookie challenge

> • | IKEv2 keep-alive messages (dead peer detection)

> • | DSCP marking

> • | Custom DNS handling

> • | Session recovery support

> • | Congestion control

> • | Bulk statistics

> • | Threshold crossing alerts (TCAs)

> Product Specifications
> The following information is located in this section:

> • | Licenses

> • | Hardware Requirements

> • | Operating System Requirements

> Licenses
> The FNG is a licensed product. A session use license key must be acquired and installed to use the FNG service. For information about FNG licenses, contact your sales representative.
> Hardware Requirements
> Information in this section describes the hardware required to enable the FNG service.
> Platforms
> The FNG service operates on the ASR 5000.
> Components
> The following application and line cards are required to support FNG functionality on the ASR 5000:

> • | System Management Cards (SMCs): Provide full system control and management of all cards within the ASR 5000. Up to two SMCs can be installed; one active, one redundant.

> • | Packet Services Cards (PSCs/PSC2s): Provide high-speed, multi-threaded PDP context processing capabilities for 2.5G and 3G services. Up to 14 PSCs/PSC2s can be installed, allowing for multiple active and/or redundant cards.

> • | Switch Processor Input/Outputs (SPIOs): Installed in the upper-rear chassis slots directly behind the SMCs, SPIOs provide connectivity for local and remote management and for central office (CO) alarms. Up to two SPIOs can be installed; one active, one redundant.

> • | Ethernet 10/100 and/or Ethernet 1000 Line Cards: Installed directly behind PSCs/PSC2s, these cards provide the physical interfaces to elements in the operator’s network. Up to 26 line cards can be installed for a fully loaded system with 13 active PSCs/PSC2s, 13 in the upper-rear slots and 13 in the lower-rear slots for redundancy. Redundant PSCs/PSC2s do not require line cards.

> • | Redundancy Crossbar Cards (RCCs): Installed in the lower-rear chassis slots directly behind the SMCs, RCCs utilize 5 Gbps serial links to ensure connectivity between Ethernet 10/100 or Ethernet 1000 line cards and every PSC/PSC2 in the system for redundancy. Two RCCs can be installed to provide redundancy for all line cards and PSCs/PSC2s.

> Important: Additional information pertaining to each of the application and line cards required to support CDMA2000 wireless voice and data services is located in the “Hardware Platform Overview” chapter of the Product Overview Guide.
> Operating System Requirements
> The FNG is available for the ASR 5000 running StarOS Release 10.0 or later.
> Network Deployment(s) and Interfaces
> This section describes the FNG as it functions in a CDMA2000 network.
> The figure below shows how the FNG functions both as a security gateway and a femtocell gateway between the FAPs in the access network and the operator’s IMS core network for voice services and the PDSN/HA and the packet data network for data services.
> FNG Network Architecture
> Network Elements
> This section provides a description of the network elements in an FNG network.
> Femtocell Access Point
> The Femtocell Access Point (FAP) is a SIP-based CDMA2000 wireless access point that provides coverage in a small area, usually a private residence or small office, and connects the subscriber UEs to an operator’s core network via a broadband connection (e.g., DSL or cable). A FAP allows operators to extend wireless service coverage indoors, especially where access would otherwise be limited or unavailable.
> Femtocell Management System
> The Femtocell Management System (FMS) is a network element that resides in the operator’s network and facilitates the provisioning, activation, and operational management of the FAPs in the network based on industry standards such as TR-069. The FMS helps to ensure the scalability of the FAP network to potentially millions of devices.
> Femto Network Gateway
> The Femto Network Gateway (FNG) is a network element that resides in the operator’s network and functions as both a security gateway and a femtocell gateway. The security gateway functions provide secure access for the FAPs to access services within the operator’s core network. The femtocell gateway functions provide aggregation and proxy capabilities for the FAPs. The FNG forwards all voice traffic to the operator’s IMS core network and all data traffic to the PDSN/HA.
> Femtocell AAA Server
> The Femtocell AAA Server provides a FAP authorization function. It sends authorization policy information to the FNG.
> IMS Core Network Elements
> An operator’s IMS core network may include the following elements to enable voice services:

> • | P-CSCF: The P-CSCF (Proxy Call/Session Control Function) is the entry point into the IMS domain and serves as the outbound proxy server for SIP messaging for the subscriber UEs. The UEs attach to the P-CSCF prior to performing IMS registrations and initiating SIP sessions. All SIP signaling traffic to and from the FAPs and the IMS core is handled by the P-CSCF. The P-CSCF provides message manipulation, breakout of emergency call services, QoS (Quality of Service) authorization, and signaling compression. Once the P-CSCF completes all of the functions for which it is responsible, it forwards the call to the I-CSCF.

> • | I-CSCF: The I-CSCF (Interrogating Call/Session Control Function) functions as a location server in the IMS core network. Its major functions are to select the appropriate registrar server for the subscriber UEs by consulting the HSS (Home Subscriber Server) and forwarding the request to the IMS registrar (the S-CSCF). The HSS returns a set of required S-CSCF capabilities for initial registration requests by the UE. Based on these capabilities, the I-CSCF selects the appropriate S-CSCF.

> • | S-CSCF: The S-CSCF (Serving Call/Session Control Function) provides session control and registration services for the subscriber UEs and FAPs in the network. It is responsible for all aspects of session control, handling all subscriber requests, which it relays to the appropriate application server. The S-CSCF routes mobile-terminating traffic to the P-CSCF and routes mobile-originating traffic to the convergence server based on iFC (initial Filter Criteria) downloaded from the HSS.

> • | HSS: The HSS (Home Subscriber Server), is the master user database that supports the IMS network entities that handle calls. It contains subscription-related information (subscriber profiles), performs authentication and authorization of the user, and provides information about the subscriber's location and IP information.

> • | Femtocell Convergence Server: The Femtocell Convergence Server (FCS) is an IMS application server that provides legacy Telephony Application Services (TAS) to 1x femtocell subscribers via SIP, including voice services and voice feature delivery. The femtocell convergence server also manages idle and active mode mobility for 1x subscribers as they move into and out of range of FAP coverage. It functions as an MFIF (MAP-Femtocell Interworking Function) and interfaces with the HLR for 1x subscriber authentication. It appears as an IMS application server to the S-CSCF and as a serving MSC to the HLR.

> • | Media Gateway: The Media Gateway terminates bearer channels from the circuit-switched network and media streams from the packet-switched network. It can support media conversion, bearer control, and payload processing (e.g., using codecs, echo cancellers, and conference bridges).

> PDSN/HA
> The PDSN/HA enables femtocell subscribers to receive packet data services in the mobile operator's core network. In most cases, these services are the same as those available via the mobile operator's macro network.
> Basic Operation
> When a FAP powers up, it uses DNS resolution to resolve its pre-configured FQDN of the FNG and obtain the FNG’s IP address. It then initiates IPSec tunnel establishment over the broadband access network. The IPSec tunnel terminates at the FNG.
> The FAP receives an IPv4 address known as the Tunnel Inner Address (TIA) from the FNG during the first IPSec tunnel establishment. The FNG assigns the TIA from its own IPv4 address pool. Once an IPSec tunnel is established, the FAP uses the TIA in all its SIP messages and to obtain configuration data from its FMS. The FNG is agnostic in regard to the protocol used between the FAP and its FMS, and simply forwards packets between the FAP and the FMS over the secure connection.
> The 1x FAP performs P-CSCF discovery via a DHCP server per RFC 3319, or it may receive the IP address of the P-CSCF from the FMS. Once the FAP gets the P-CSCF address, it initiates SIP registration with the IMS core network. When a UE attaches to the FAP, it performs 1x registration with the IMS core network.
> Network Interfaces
> The following table provides descriptions of the network interfaces supported by the FNG in a CDMA2000 network.
> Network Interfaces in a CDMA2000 Network

> Interface | Description
> FAP Interface | The secure interface to the FAPs in the network is an IPSec tunnel. The FNG uses IKEv2 for establishing the IPSec tunnel. Note that the FNG does not have a direct interface to the UEs in the network. The FNG receives all voice and data traffic from the UEs via secure IPSec tunnels between the FNG and the FAPs and sends the traffic to the operator’s IMS core or PDSN/HA.
> RADIUS Interface | The interface to the RADIUS server is used for FAP device authentication. The FAP can use one of the following authentication methods:
> • | EAP-AKA (Extensible Authentication Protocol - Authentication and Key Agreement) authentication
> • | PSK (Pre-Shared Key) authentication
> • | X.509 certificate-based peer (client) authentication
> Interface with the IMS Core | The FNG sends all SIP signaling and bearer traffic from the FAPs to the IMS core to access voice services.
> Interface with the PDSN/HA | The FNG sends all signaling and bearer traffic from the FAPs to the PDSN/HA to access packet data services.

> ‌
> Features and Functionality
> This section describes the features and functions supported by the FNG.
> The following features are supported and described in this section:

> • | FNG Service

> • | IKEv2 and IP Security (IPSec) Encryption

> • | X.509 Certificate-based Peer Authentication

> • | A12 Aggregation

> • | RADIUS Support

> • | AAA Server Group Selection

> • | FAP ID-based Duplicate Session Detection

> • | Child SA Rekey Support

> • | Multiple Child SAs

> • | DoS Protection Cookie Challenge

> • | IKEv2 Keep-Alive Messages (Dead Peer Detection)

> • | DSCP Marking

> • | Custom DNS Handling

> • | Session Recovery Support

> • | Congestion Control

> • | Bulk Statistics

> • | Threshold Crossing Alerts

> FNG Service
> The FNG service and its associated processes enable the system to function as a femtocell gateway. The FNG service enables the FAPs in the network to connect to the core network elements via a secure IPSec interface. During configuration, you create the FNG service in an FNG context, which is a routing domain on the ASR 5000. FNG context and service configuration includes the following main steps:

> • | Configure the IPv4 address for the service: This is the IP address of the FNG to which the FAPs in the network attempt to connect, sending IKEv2 messages to this IP address to establish IPSec tunnels.

> • | Configure the name of the crypto template for IKEv2/IPSec: A crypto template is used to configure an IKEv2/IPSec policy. It includes most of the IKEv2 and IPSec parameters for keep-alive, lifetime, NAT-T, and cryptographic and authentication algorithms. There must be one crypto template per FNG service.

> • | The name of the EAP profile: This profile defines the EAP authentication method and associated parameters. If the PSK (Pre-Shared Key) authentication method is used, this configuration is not needed.

> • | IKEv2 and IPSec transform sets: Transform sets define the negotiable algorithms for IKE SAs and Child SAs to enable calls to connect to the FNG.

> • | The setup timeout value: This parameter specifies the session setup timeout timer value. The FNG terminates a connection attempt if the FAP does not establish a successful connection within the specified timeout period.

> • | Max-sessions: This parameter sets the maximum number of subscriber sessions allowed by this FNG service.

> • | FNG supports a domain template for storing domain-related configuration: The domain name is taken from the received Network Address Identifier (NAI) and searched in the domain template database.

> • | Duplicate session detection parameters: The FNG supports the FAP ID in the form of an NAI for duplicate session detection. This setting enables duplicate session detection for the FNG service.

> When the FNG service is configured in the system with the IP address, crypto template, and so on, the FNG is ready to accept IKEv2 control packets for establishing IKEv2 sessions.
> IKEv2 and IP Security (IPSec) Encryption
> The FNG supports IKEv2 and IPSec encryption using IPv4 addressing. IKEv2 and IPSec encryption enables network domain security for all IP packet-switched networks in order to provide confidentiality, integrity, authentication, and anti-replay protection.
> At the beginning of IKEv2 session setup, the FNG and the FAP exchange capabilities for authentication. IKEv2 and IPSec transform sets configured in the crypto template define the negotiable algorithms for IKE SA and Child SA setup to connect calls to the FNG by creating a single IPSec tunnel, called the Tunnel Inner Address (TIA), which is intended for user traffic coming from the FAP. There can be multiple UEs connecting to a single FAP at the same time, and the traffic from all of the connected UEs passes through the same IPSec tunnel. The FAP to which a UE is connected can request one of the following authentication methods:

> • | EAP-AKA (Extensible Authentication Protocol - Authentication and Key Agreement) authentication

> • | PSK (Pre-Shared Key) authentication

> • | X.509 certificate-based peer (client) authentication

> The FNG partially supports the EAP MD5 (Extensible Authentication Protocol Message-Digest 5) authentication method.
> X.509 Certificate-based Peer Authentication
> In addition to the EAP-AKA (Extensible Authentication Protocol - Authentication and Key Agreement) and PSK (Pre-Shared Key) peer authentication methods, the FNG supports X.509 certificate-based peer authentication.
> The FNG checks the network policy on whether a FAP is authorized to provide service. If the network policy states that all FAPs that pass device authentication are authorized to provide service, no further authorization check may be required. If the network policy requires that each FAP be individually authorized for service (in the case where the FEID is associated with a valid subscription), the FNG sends a RADIUS Access-Request message to the AAA server. If the AAA server sends a RADIUS Access-Accept message, the FNG proceeds with device authentication. Otherwise, the FNG terminates the IPSec tunnel setup by sending an IKEv2 Notification message indicating authentication failure.
> For a detailed presentation of X.509 certificate-based peer authentication, see the section How the FNG Works later in this chapter.
> A12 Aggregation
> The Access Network AAA (AN-AAA) servers in 1x networks are not designed to handle a large numbers of FAPs attempting A12 authentication to access the network. The A12 aggregation feature reduces the number of source addresses in the A12 Access-Request messages sent to the AN-AAA servers by the FNG, which simplifies the configuration of the AN-AAA server's database.
> A12 authentication is a CHAP-based authentication method used by CDMA2000 AN-AAA servers to provide High Rate Packet Data (HRPD) access authentication between the AN function in the FAPs and the AN-AAA servers in the network.
> When the FNG receives an A12 Access-Request message from a FAP, it validates the source address of the FAP, then substitutes the source address (and, optionally, the NAS IP address/port number) in the Access-Request message with its own source address before sending the message to the AN-AAA server. When the FNG receives the Access-Accept message from the AN-AAA server, the FNG sends it back to the FAP. In this way, the number of AAA sessions required by the AN-AAA server is reduced.
> RADIUS Support
> RADIUS support on the FNG provides a mechanism for performing authentication, authorization, and accounting (AAA) for subscribers. The benefits of using AAA are:

> • | Higher flexibility for subscriber access control

> • | Better accounting, charging, and reporting options

> • | Industry standard RADIUS authentication

> The Remote Authentication Dial-In User Service (RADIUS) protocol can be used to provide AAA functionality for subscribers. The AAA functionality on the FNG provides a wide range of configuration options via AAA server groups, which allow a number of RADIUS parameters to be configured in support of the FNG service.
> Currently, two types of authentication load-balancing methods are supported: first-server and round-robin. The first-server method sends requests to the highest priority active server. A request will be sent to a different server only if the highest priority server is not reachable. With the round-robin method, requests are sent to all active servers in a round-robin fashion.
> The FNG can detect the status of the AAA servers. Status checking is enabled by configuration in the AAA Server Group Configuration Mode of the system’s CLI. Once an AAA server is detected to be down, it is kept in the down state up to a configurable duration of time called the dead-time period. After the dead-time period expires, the AAA server is eligible to be retried. If a subsequent request is directed to that server and the server properly responds to the request, the system makes the server active again.
> Important: For more information on RADIUS AAA configuration, refer to the AAA and GTPP Interface Administration and Reference.
> AAA Server Group Selection
> This feature provides a maximum of 64 AAA groups on the ASR 5000. This could be spread across multiple contexts or all groups can be configured within a single context. A maximum of 320 RADIUS servers is allowed on the chassis, unless the aaa-large-configuration command is issued, and this number becomes a maximum of 800 AAA groups and 1600 RADIUS servers allowed to be configured per chassis.
> FAP ID-based Duplicate Session Detection
> When this feature is enabled and a FAP sets up a new session, the FNG automatically checks for any remnants of abandoned calls, and if found, clears them. Clearing the old session and establishing the new session in parallel optimizes FNG processing functions.
> With every new session setup, the FNG verifies whether there are any old sessions that are bound to the Femtocell Access Point Identifiers (FAP IDs). For example, when a FAP reboots, it may initiate a new session with the FNG. After authentication, if the FNG detects an old session with the same FAP ID, the FNG clears the old IPSec tunnel and establishes a new IPSec tunnel with the FAP. This feature is designed with the assumption that not more than one call with duplicate FAP IDs is in the setup stage at any one time.
> You enable FAP ID-based duplicate session detection in the FNG Service Configuration Mode of the system’s CLI. This feature should be enabled in the boot-time configuration before any calls are established.
> Tunnel Cleanup on FAP Reboot
> The FNG supports initial contact handling in IKE_AUTH messages as per RFC 4306 and cleans up the original tunnel if a FAP initiates a new tunnel after a reboot. The CLI command for duplicate session detection is not needed to enable this detection. Initial contact notification asserts that this IKE_SA is the only IKE_SA currently active between the authenticated identities. It may be sent when an IKE_SA is established after a crash, and the recipient may use this information to delete any other IKE_SAs it has for the same authenticated identity without waiting for a timeout.
> Child SA Rekey Support
> Rekeying of an IKEv2 Child Security Association (SA) occurs for an already established Child SA whose lifetime (either time-based or data-based) is about to exceed a maximum limit. The FNG initiates rekeying to replace the existing Child SA. During rekeying, two Child SAs exist momentarily (500ms or less) to ensure that transient packets from the original Child SA are processed by the FNG and not dropped.
> FNG-initiated Child SA rekeying is disabled by default, and rekey requests are ignored. You can enable this feature in the Crypto Configuration Payload Mode of the system’s CLI.
> Multiple Child SAs
> The FNG supports the instantiation, termination, and rekeying of multiple simultaneous Child SAs derived from an IKE SA, as defined in RFC 4306.
> As specified in the IKEv2 policy, which controls the behavior of encrypted tunnels, the first Child SA is instantiated during the IKE_AUTH exchange between the FAP and the FNG, and any additional Child SAs are instantiated during subsequent CREATE_CHILD_SA exchanges that may occur between the FAP and the FNG.
> An IKEv2 policy may be terminated via operator intervention or be terminated when a service is terminated. In these scenarios, all objects derived from the IKEv2 policy, including the IKE SA and all Child SAs, are terminated.
> The FNG maintains two maximum Child SA values per IKEv2 policy. The first is a system-enforced maximum value, which is four Child SAs per IKEv2 policy. The second is a configurable maximum value, which can be a value between one and four, and which is specified via the system’s CLI in the Crypto Template Configuration Mode.
> If the system maximum value or the configured maximum value is reached and the FNG receives a CREATE_CHILD_SA Request for an additional Child SA, the FNG returns a CREATE_CHILD_SA Response that contains a Notify payload of the type NO_ADDITIONAL_SAS. Note that the maximum value does not apply to interim Child SAs that may exist during transitional phases such as during Child SA rekeying. For example, if a maximum of two simultaneous Child SAs are specified, the FNG allows a burst of four during Child SA rekeying.
> DoS Protection Cookie Challenge
> There are several known types of Denial of Service (DoS) attacks associated with IKEv2. Through a configurable option in the Crypto Template Configuration Mode in the system’s CLI, the FNG can implement the IKEv2 cookie challenge payload method per RFC 4306. This method is intended to protect against the FNG creating too many half-opened sessions or other similar mechanisms.
> This feature is disabled by default. When enabled, and when the number of half-opened IPSec sessions exceeds the configured limit of any integer between 0 and 100,000 (or the trigger point with other detection mechanisms), the FNG invokes the cookie challenge payload mechanism to insure that only legitimate subscribers are initiating IKEv2 tunnel requests, as follows:

> 1. | The FAP connects to the FNG and sends an IKE_SA_INIT Request message.

> 2. | The FNG sends a Notify (cookie) payload to the FAP to request retransmission of the IKE_SA_INIT Request message with the received Notify (cookie) payload in the message.

> 3. | Upon receipt of the retransmitted message, the FNG verifies the cookie payload and ensures that it is the same cookie payload as the one it had sent.

> 4. | If the cookie challenge is met, setup continues as normal with the FNG sending an IKE_SA_INIT Response message.

> IKEv2 Keep-Alive Messages (Dead Peer Detection)
> The FNG supports IKEv2 keep-alive messages, also known as Dead Peer Detection (DPD), originating from both the FAPs and the FNG. You configure DPD per FNG service. You can also disable DPD, and the FNG will not initiate DPD exchanges with the FAPs. However, the FNG always responds to DPD availability checks initiated by a FAP regardless of the FNG configuration.
> DSCP Marking
> If different classes of traffic are sent on the same SA and if the FAPs in the network and the FNG are employing the optional anti-replay feature in the Encapsulating Security Payload (ESP), this could result in inappropriate discarding of lower priority packets due to the windowing mechanism used by this feature. Therefore, it is recommended that multiple Child SAs are used to provide the appropriate QoS services. This handling can be applied to different types of traffic (voice and data) coming from the same UE behind a FAP, or from multiple UEs belonging to the same QoS class. The FNG will determine the traffic type and provide a QoS treatment based on configured rules.
> Custom DNS Handling
> The custom DNS feature provides a mechanism whereby the FNG sends the DNS address specified in the FNG configuration file to the FAP only if the FAP requests it. The FNG considers an address of 0.0.0.0 invalid and does not include it.
> Session Recovery Support
> The session recovery feature is a licensed feature on the FNG. It provides seamless failover and nearly instantaneous reconstruction of subscriber session information in the event of a hardware or software fault within the same chassis, preventing a fully-connected user session from being dropped. For information about the required software license for this feature, contact your sales representative.
> Session recovery is performed by mirroring key software processes (the IPSec manager, session manager, and AAA manager, for example) on the FNG. These mirrored processes remain in an idle state (in standby mode), where they perform no processing until they may be needed in the case of a software failure (a session manager task aborts, for example). The system spawns new instances of standby mode sessions and AAA managers for each active control processor being used.
> Additionally, other key system-level software tasks such as VPN manager are performed on a physically separate PSC/PSC2 to ensure that a double software fault (the session manager and the VPN manager fail at same time on same card, for example) cannot occur. The PSC/PSC2 used to host the VPN manager process is in active mode and is reserved by the operating system for this sole use when session recovery is enabled.
> Important: For more information about session recovery support, refer to the System Administration Guide.
> Congestion Control
> The congestion control feature allows you to set policies and thresholds and specify how the system reacts when faced with a heavy load condition.
> The congestion control feature monitors the system for conditions that could potentially degrade performance when the system is under heavy load. Typically, these conditions are temporary (for example, high CPU or memory utilization) and are resolved quickly. However, continuous or large numbers of these conditions within a specific time interval may have an impact on the system’s ability to service subscriber sessions. Congestion control helps identify such conditions and invokes policies for addressing the situation.
> Congestion control operation is based on configuring the following:

> • | Congestion Condition Thresholds: Thresholds dictate the conditions for which congestion control is enabled and establishes limits for defining the state of the system (congested or clear). These thresholds function in a way similar to operation thresholds that are configured for the system as described in the Thresholding Configuration Guide. The primary difference is that when congestion thresholds are reached, a service congestion policy and an SNMP trap, starCongestion, are generated. A threshold tolerance dictates the percentage under the configured threshold that must be reached in order for the condition to be cleared. An SNMP trap, starCongestionClear, is then triggered.

> • | Port Utilization Thresholds: If you set a port utilization threshold, when the average utilization of all ports in the system reaches the specified threshold, congestion control is enabled.

> • | Port-specific Thresholds: If you set port-specific thresholds, when any individual port-specific threshold is reached, congestion control is enabled system-wide.

> • | Service Congestion Policies: Congestion policies are configurable for each service. These policies dictate how services respond when the system detects that a congestion condition threshold has been crossed.

> Important: For more information on congestion control, refer to the System Administration Guide.
> Bulk Statistics
> Bulk statistics allow operators to choose to view not only statistics that are of importance to them, but to also configure the format in which they are presented. This simplifies the post-processing of statistical data since it can be formatted to be parsed by external, back-end processors.
> When used in conjunction with the Web Element Manager, the data can be parsed, archived, and graphed.
> The system can be configured to collect bulk statistics and send them to a collection server called a receiver. Bulk statistics are statistics that are collected in a group. The individual statistics are grouped by schema. The following is a partial list of supported schemas:

> • | System: Provides system-level statistics.

> • | Card: Provides card-level statistics.

> • | Port: Provides port-level statistics.

> • | FNG: Provides FNG service statistics.

> The system supports the configuration of up to four sets (primary/secondary) of receivers. Each set can be configured to collect specific sets of statistics from the various schemas. Statistics can be pulled manually from the system or sent at configured intervals. The bulk statistics are stored on the receiver(s) in files.
> The format of the bulk statistic data files can be configured by the user. Users can specify the format of the file name, file headers, and/or footers to include information such as the date, system host name, system uptime, the IP address of the system generating the statistics (available for headers and footers only), and/or the time that the file was generated.
> When the Web Element Manager is used as the receiver, it is capable of further processing the statistics data through XML parsing, archiving, and graphing.
> The Bulk Statistics Server component of the Web Element Manager parses collected statistics and stores the information in the PostgreSQL database. If XML file generation and transfer is required, this element generates the XML output and can send it to a northbound NMS or an alternate bulk statistics server for further processing.
> Additionally, if archiving of the collected statistics is desired, the Bulk Statistics Server writes the files to an alternative directory on the server. A specific directory can be configured by the administrative user or the default directory can be used. Regardless, the directory can be on a local file system or on an NFS-mounted file system on the Web Element Manager server.
> Important: For more information on bulk statistic configuration, refer to the “Configuring and Maintaining Bulk Statistics” chapter of the System Administration Guide.
> Threshold Crossing Alerts
> Thresholding on the system is used to monitor the system for conditions that could potentially cause errors or outages. Typically, these conditions are temporary (i.e., high CPU utilization or packet collisions on a network) and are quickly resolved. However, continuous or large numbers of these error conditions within a specific time interval may be indicative of larger, more severe issues. The purpose of thresholding is to help identify potentially severe conditions so that immediate action can be taken to avoid and/or minimize system downtime.
> The system supports threshold crossing alerts for certain key resources such as CPU, memory, IP pool addresses, and so on. With this capability, the operator can configure a threshold on these resources whereby, should the resource depletion cross the configured threshold, an SNMP trap would be sent.
> The following thresholding models are supported by the system:

> • | Alert: A value is monitored and an alert condition occurs when the value reaches or exceeds the configured high threshold within the specified polling interval. The alert is generated, then generated and/or sent again at the end of the polling interval.

> • | Alarm: Both high and low thresholds are defined for a value. An alarm condition occurs when the value reaches or exceeds the configured high threshold within the specified polling interval. The alert is generated, then generated and/or sent again at the end of the polling interval.

> Thresholding reports conditions using one of the following mechanisms:

> • | SNMP Traps: SNMP traps have been created that indicate the condition (high threshold crossing and/or clear) of each of the monitored values. Generation of specific traps can be enabled or disabled on the chassis, ensuring that only important faults get displayed. SNMP traps are supported in both Alert and Alarm modes.

> • | Logs: The system provides a thresholding facility for which active and event logs can be generated. As with other system facilities, logs are generated messages pertaining to the condition of a monitored value are generated with a severity level of WARNING. Logs are supported in both Alert and Alarm modes.

> • | Alarm System: High threshold alarms generated within the specified polling interval are considered outstanding until a condition no longer exists or a condition clear alarm is generated. Outstanding alarms are reported to the system’s alarm subsystem and are viewable through the Alarm Management menu in the Web Element Manager.

> Important: For more information on threshold crossing alert configuration, refer to the Thresholding Configuration Guide.
> How the FNG Works
> This section describes the FNG functioning as a security gateway during IPSec tunnel establishment.
> IPSec Tunnel Establishment
> The figure below shows the message flow during IPSec tunnel establishment. The table that follows the figure describes each step in the message flow.
> IPSec Tunnel Establishment
> IPSec Tunnel Establishment

> Step | Description
> 1. | The FAP is assigned a device certificate during it’s manufacturing. The private key for the certificate is stored securely at the FAP. Similarly, the FNG is assigned a server certificate. The FNG is also configured with a list of root CA certificates corresponding to the trusted device CA certificates.
> 2. | The FAP initiates an IKEv2 exchange with the FNG, known as the IKE_SA_INIT exchange, by issuing an IKE_SA_INIT Request to negotiate cryptographic algorithms, exchange nonces, and perform a Diffie-Hellman exchange with the FNG.
> 3. | The FNG responds with an IKE_SA_INIT Response by choosing a cryptographic suite from the initiator’s offered choices, completing the Diffie-Hellman and nonce exchanges with the FAP. In addition, the FNG includes the list of FAP CA certificates that it will accept in its CERTREQ payload. For successful FAP authentication, the CERTREQ payload has to contain at least one CA certificate that is in the trust chain of the FAP device certificate. At this point in the negotiation, the IKE_SA_INIT exchange is complete and all but the headers of all the messages that follow are encrypted and integrity-protected.
> 4. | The FAP initiates an IKE_AUTH exchange with the FNG by setting the IDi payload to the FEID, the CERT payload set to the FAP device certificate corresponding to the FEID, and the AUTH payload containing the signature of the previous IKE_SA_INIT Request message (in step 2) generated using the private key of the FAP device certificate. The authentication algorithm used to generate the AUTH payload is also included in the AUTH payload.
> 5. | Using the CA certificate corresponding to the FAP device certificate, the FNG first verifies that the FAP device certificate in the CERT payload has not been modified and the identity included in the IDi corresponds to the identity in the FAP device certificate. If the verification is successful, using the public key of the FAP device certificate, the FNG generates the expected AUTH payload and compares it with the received AUTH payload. If they match, the authentication of the FAP is successful. Otherwise, the FNG sends an IKEv2 Notification message indicating authentication failure.
> 6. | If the network policy requires femtocell subscription authorization, the FNG contacts the AAA server to verify that the FAP identified by the FEID is authorized to provide service.
> 7. | The AAA server responds with the authorization result. If the authorization is not successful, the FNG sends an IKEv2 Notification message indicating authorization failure. Otherwise, the FNG proceeds with server authentication.
> 8. | The FNG responds with the IKE_AUTH Response by setting the IDr payload to the FQDN of the FNG, setting the CERT payload to the FNG server certificate corresponding to the FQDN, and including the AUTH payload containing the signature of the IKE_SA_INIT Response message (in step 3) generated using the private key of the FNG server certificate. The authentication algorithm used to generate the AUTH payload is also included in the AUTH payload.
> 9. | Using the CA certificate corresponding to the FNG server certificate, the FAP first verifies that the FNG server certificate in the CERT payload has not been modified and the identity included in the IDi corresponds to the identity in the server certificate and contains the expected FNG value as discovered during the FNG discovery procedures. If the verification is successful, using the public key of the FNG server certificate, the FAP generates the expected AUTH payload and compares it with the received AUTH payload. If they match, the FNG server authentication is successful. This completes the IKE_AUTH exchange. An IPSec SA with the first CHILD_SA pair is established between the FAP and the FNG.

> ‌
> IPSec Tunnel Establishment with EAP-AKA Authentication
> The figure below shows the message flow during IPSec tunnel establishment with EAP-AKA authentication. The table that follows the figure describes each step in the message flow.
> IPSec Tunnel Establishment with EAP-AKA Authentication
> IPSec Tunnel Establishment with EAP-AKA Authentication

> Step | Description
> 1. | The FAP initiates an IKEv2 exchange with the FNG, known as the IKE_SA_INIT exchange, by issuing an IKE_SA_INIT Request to negotiate cryptographic algorithms, exchange nonces, establish NAT traversal, and perform a Diffie-Hellman exchange with the FNG.
> 2. | The FNG responds with an IKE_SA_INIT Response by choosing a cryptographic suite from the initiator’s offered choices, completing the Diffie-Hellman and nonce exchanges with the FAP.
> 3. | The FAP initiates an IKE_AUTH exchange with the FNG. The FAP omits the AUTH payload, indicating that it wants to use an EAP exchange over IKEv2. The FAP includes its identity in the IDi payload of the IKE_AUTH Request. The IDi is set to the FAP ID. The FAP ID is a string in the format id@domain. The FAP also includes the IKEv2 CFG_REQUEST payload in the IKE_AUTH Request. The INTERNAL_IP4_ADDRESS attribute is included in the CFG_REQUEST payload with the length set to 0.
> 4. | The FNG receives the IKE_AUTH Request and sends the FAPID as the EAP Response identity to the AAA server using a RADIUS Access-Request message with an EAP-Message attribute.
> 5. | The AAA server verifies the FAP’s identity and generates a random value RAND and AUTN based on the shared CHAP-key and a sequence number. The AAA server sends the EAP-Request/AKA-Challenge to the FNG via a RADIUS Access-Challenge message. The EAP-Request/AKA-Challenge contains the RAND and AUTN to protect the integrity of the EAP message.
> 6. | The FNG sends an IKE_AUTH Response to the FAP that contains the EAP-Request/AKA-Challenge message received from the AAA server.
> 7. | The FAP verifies the authentication parameters in the EAP-Request/AKA-Challenge message and if the verification is successful, it responds to the challenge with an IKE_AUTH Request message to the FNG.
> 8. | The FNG forwards the EAP-Response/AKA-Challenge message to the AAA server via a RADIUS Access-Request message.
> 9. | If the authentication is successful, the AAA server sends a RADIUS Access-Accept message with an EAP-Message attribute containing EAP Success. The AAA server sends the EAP Success and the MSK generated during the EAP-AKA authentication process to the FNG. In addition, the AAA server also sends other attributes that it normally sends to the PDSN for a simple IP session. These attributes include at a minimum the Framed-Pool (if required), so that the FNG can assign a TIA from the correct IP address pool, the Session-Timeout, and the Idle-Timeout.
> 10. | The FNG forwards the EAP Success message to the FAP in an IKE_AUTH Response message.
> 11. | The FAP calculates the MSK according to RFC 4187 and uses it as an input to generate the AUTH payload to authenticate the first IKE_SA_INIT message. The FAP sends the AUTH payload to the FNG in an IKE_AUTH Request message.
> 12. | The FNG uses the MSK to check the validity of the AUTH payload received from the FAP and calculates its own AUTH payload for the FAP to verify per RFC 4306. The FNG sends the AUTH payload to the FAP together with the configuration payload containing SAs and the rest of the IKEv2 parameters in an IKE_AUTH Response message. This completes the IKEv2 negotiation. The configuration payload contains the TIA. It is up to the FAP implementation to establish separate Child SAs for configuration management and VoIP traffic, or to use the same Child SA for all traffic types. The FNG supports both options. Once the IPSec tunnel is established, the FAP uses the TIA assigned by the FNG for each 1x UE (in the SIP headers or as the RTP IP address).

> ‌
> X.509 Certificate-based Peer Authentication
> The figure below shows the message flow during X.509 certificate-based peer authentication. The table that follows the figure describes each step in the message flow.
> X.509 Certificate-based Peer Authentication
> X.509 Certificate-based Peer Authentication

> Step | Description
> 1. | The FAP is assigned a device certificate during it’s manufacturing. The FAP device certificate is signed by a Certificate Authority (device certificate CA) trusted by the operator. The private key for the certificate is stored securely at the FAP. Similarly, the FNG is assigned a server certificate. The private key of the FNG is stored securely at the FNG. In addition, the FNG is configured with a list of root CA certificates corresponding to the trusted device certificate CAs. The FAP is also configured with a list of root CA certificates corresponding to the server certificates that the FAP will accept from the FNG.
> 2. | Upon FAP power-up, using the FNG discovery procedures such as DNS discovery, the FAP determines the FQDN/IP address of the appropriate FNG.
> 3. | The FAP initiates an IKEv2 exchange with the FNG, known as the IKE_SA_INIT exchange, by issuing an IKE_SA_INIT Request to negotiate cryptographic algorithms, exchange nonces, and perform a Diffie-Hellman exchange with the FNG. In addition, using the NAT Traversal procedures, the FAP includes NAT_DETECTION_SOURCE_IP and NAT_DETECTION_DESTINATION_IP payloads to negotiate support for UDP encapsulation.
> 4. | The FNG responds with an IKE_SA_INIT Response by choosing a cryptographic suite from the initiator’s offered choices, completing the Diffie-Hellman and nonce exchanges with the FAP. In addition, the FNG includes the list of FAP CA certificates that it will accept in its CERTREQ payload. For successful FAP authentication, the CERTREQ payload must contain at least one CA certificate that is in the trust chain of the FAP device certificate. At this point in the negotiation, the IKE_SA_INIT exchange is complete and all but the headers of all the messages that follow are encrypted and integrity-protected.
> 5. | The FAP initiates an IKE_AUTH exchange with the FNG by setting the IDi payload to the FEID in FQDN format (from the subjectAltName extension of the FAP certificate), setting the CERT payload to the FAP device certificate corresponding to the FEID, and including the AUTH payload containing the signature of the previous IKE_SA_INIT Request message (in step 3) generated using the private key of the FAP device certificate. The authentication algorithm used to generate the AUTH payload is also included in the AUTH payload. The FAP also includes the CERTREQ payload containing the list of SHA-1 hash algorithms for server authentication. For successful server authentication, the CERTREQ payload must contain at least one CA certificate that is in the trust chain of the FNG server certificate.
> 6. | Using the CA certificate corresponding to the FAP device certificate, the FNG first verifies that the FAP device certificate in the CERT payload has not been modified and the identity included in the IDi corresponds to the identity in the FAP device certificate. If the verification is successful, using the public key of the FAP device certificate, the FNG generates the expected AUTH payload and compares it with the received AUTH payload. If they match, the authentication of the FAP is successful. Otherwise, the FNG sends an IKEv2 Notification message indicating authentication failure.
> 7. | If the network policy requires femtocell subscription authorization, the FNG contacts the AAA server to verify that the FAP identified by the FEID is authorized to provide service.
> 8. | The AAA server responds with the authorization result. If the authorization is not successful, the FNG sends an IKEv2 Notification message indicating authorization failure. Otherwise, the FNG proceeds with server authentication.
> 9. | The FNG responds with the IKE_AUTH Response by setting the IDr payload to the FQDN (or IP address) of the FNG, setting the CERT payload to the FNG server certificate corresponding to the FQDN (or IP address), and including the AUTH payload containing the signature of the IKE_SA_INIT Response message (in step 4) generated using the private key of the FNG server certificate. The authentication algorithm used to generate the AUTH payload is also included in the AUTH payload.
> 10. | Using the CA certificate corresponding to the FNG server certificate, the FAP first verifies that the FNG server certificate in the CERT payload has not been modified and the identity included in the IDi corresponds to the identity in the server certificate and contains the expected FNG value as discovered during the FNG discovery procedures. If the verification is successful, using the public key of the FNG server certificate, the FAP generates the expected AUTH payload and compares it with the received AUTH payload. If they match, FNG server authentication is successful. This completes the IKE_AUTH exchange.
> 11. | An IPSec SA is established between the FAP and the FNG. If more IPSec SAs are needed, either the FAP or the FNG can initiate the creation of additional Child SAs using a CREATE_CHILD_SA exchange.

> ‌
> Supported Standards
> The FNG service complies with the following standards:

> • | 3GPP2 References

> • | IETF References

> 3GPP2 References

> • | 3GPP2 X.S0059-000-0 (V1.0): “cdma2000 Femtocell Network: Overview”.

> • | 3GPP2 X.S0059-100-0 (V1.0): “cdma2000 Femtocell Network: Packet Data Network Aspects”.

> • | 3GPP2 X.P0059-200-0_v0.C_1x_Femto_R&F.pdf

> IETF References

> • | RFC 2401 (November 1998): “Security Architecture for the Internet Protocol”.

> • | RFC 2402 (November 1998): “IP Authentication Header”.

> • | RFC 2403 (November 1998): “The Use of HMAC-MD5-96 within ESP and AH”.

> • | RFC 2404 (November 1998): “The Use of HMAC-SHA1-96 within ESP and AH”.

> • | RFC 2405 (November 1998): “The ESP DES-CBC Cipher Algorithm With Explicit IV”.

> • | RFC 2406 (November 1998): “IP Encapsulating Security Payload (ESP)”.

> • | RFC 2410 (November 1998): “The NULL Encryption Algorithm and Its Use With IPsec”.

> • | RFC 3168 (September 2001): “The Addition of Explicit Congestion Notification (ECN) to IP”.

> • | RFC 3526 (May 2003): “More Modular Exponential (MODP) Diffie-Hellman groups for Internet Key Exchange (IKE)”.

> • | RFC 3602 (May 2003): “The AES-CBC Cipher Algorithm and Its Use with IPsec”.

> • | RFC 3706 (February 2004): “A Traffic-Based Method of Detecting Dead Internet Key Exchange (IKE) Peers”.

> • | RFC 3715 (March 2004): “IPsec-Network Address Translation (NAT) Compatibility Requirements”.

> • | RFC 3748 (June 2004): “Extensible Authentication Protocol (EAP)”.

> • | RFC 3947 (January 2005): “Negotiation of NAT-Traversal in the IKE”.

> • | RFC 3948 (January 2005): “UDP Encapsulation of IPsec ESP Packets”.

> • | RFC 4187 (January 2006): “Extensible Authentication Protocol Method for 3rd Generation Authentication and Key Agreement (EAP-AKA)”.

> • | RFC 4306 (December 2005): “Internet Key Exchange (IKEv2) protocol”.

> • | RFC 4308 (December 2005): “Cryptographic Suites for IPsec”.

> • | RFC 4764 (January 2007): “The EAP-PSK Protocol: A Pre-Shared Key Extensible Authentication Protocol (EAP) Method”.

> • | RFC 4894 (May 2007): “Use of Hash Algorithms in Internet Key Exchange (IKE)”.

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883