[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Using the SAE in a PCMM Environment

The SAE uses the Common Open Policy Service (COPS) protocol as specified in the PacketCable Multimedia Specification PKT-SP-MM-I03-051221 to manage PCMM-compliant CMTS devices in a cable network environment. The SAE connects to the CMTS device by using a COPS over Transmission Control Protocol (TCP) connection. In cable environments, the SAE manages the connection to the CMTS device.

The CMTS device does not provide address requests or notify the SAE of new subscribers, subscriber IP addresses, or any other attributes. IP address detection and all other subscriber attributes are collected outside of the COPS connection to the CMTS device. The SAE uses COPS only to push policies to the CMTS device and to learn about the CMTS status and usage data.

Because the CMTS device does not have the concept of interfaces, the SDX software uses pseudointerfaces to model CMTS subscriber connections similar to subscriber connections for JUNOS routing platforms and JUNOSe routers.

This section describes how the SAE is used in cable networks and how to configure the SAE for this environment. It includes the following sections:

Logging In Subscribers and Creating Sessions

You can use two mechanisms to obtain subscriber address requests and other information and to set up a pseudointerface on the CMTS device. (You must choose one mechanism; you cannot mix them.):

  1. Assigned IP subscriber. The SAE learns about a subscriber through subscriber-initiated activities, such as activating a service through the portal or through the Advanced Services Gateway (ASG).

With this method, you use the assigned IP subscriber login type along with the network interface collector (NIC) to map IP addresses to the SAE.

  1. Event notification from an IP address manager. The SAE learns about subscribers through notifications from an external IP address manager, such as a DHCP server or a RADIUS server.

With this method, you use the event notification application programming interface (API). The API provides an interface to the IP address manager, and lets the IP address manager notify the SAE of events such as IP address assignments.

Assigned IP Subscribers

With the assigned IP subscriber method of logging in subscribers and creating sessions, the SDX software uses IP address pools along with NIC resolvers to provide mapping of IP addresses to SAEs. You configure the static address pools or dynamically discovered address pools in the virtual router configuration for a CMTS device. These pools are published in the NIC. The NIC maps subscriber IP addresses in requests received through the portal or Advanced Services Gateway to the SAE that currently manages that CMTS device.

Login Interactions with Assigned IP Subscribers

This section describes login interactions for assigned IP subscribers. In the example shown in Figure 13, the subscriber activates a service through a portal. You could also have the subscriber activate a service through the Advanced Services Gateway.


Figure 13: Login Interactions with Assigned IP Subscribers

The sequence of events for logging in and creating sessions for assigned IP subscribers is:

  1. The subscriber logs in to the portal.
  2. The portal sends the subscriber's IP address to the NIC.
  3. Based on the IP address, the NIC looks up the subscriber's SAE, CMTS device, and interface name, and returns this information to the portal.
  4. The portal sends a getSubscriber message to the SAE. The message includes the subscriber's IP address, CMTS device, and interface name.
  5. The SAE creates an assigned IP subscriber and performs a subscriber login. Specifically, it:
  1. Runs the interface classification script and creates a pseudointerface for the PCMM device driver.
  1. Runs the subscriber classification script with the IP address of the subscriber. (Use the ASSIGNEDIP login type in subscriber classification scripts.)
  2. Loads the subscriber profile.
  3. Runs the subscriber authorization plug-ins.
  4. Runs the subscriber tracking plug-ins.
  5. Creates a subscriber session and stores the session data in the session store file.
  1. The SAE pushes service policies for the subscriber session to the CMTS device.

Because the SAE is not notified when the subscriber logs out, the assigned IP idle timer begins when no service is active. The SAE removes the interface subscriber session when the timeout period ends.

Event Notification from an IP Address Manager

With the event notification method of logging in subscribers and creating subscriber sessions, the subscriber logs in to the CMTS device and obtains an IP address through an address server, usually a DHCP server. The SAE receives notifications about the subscriber, such as the subscriber's IP address, from an event notification application that is installed on the DHCP server.

To use this method of logging in subscribers, you can use the event notification API to create the application that notifies the SAE when events occur between the DHCP server and the CMTS device. You can also use Monitoring Agent, an application that was created with the event notification API, and that monitors DHCP or RADIUS messages for DHCP or RADIUS servers. See SDX Application Library Guide, Chapter 21, Integrating IP Address Managers with the SAE.

Login with Event Notification

This section describes login interactions using event notifications.


Figure 14: Login Interactions with Event Notification Application

The sequence of events for logging in subscribers and creating sessions is:

  1. The DHCP client in the subscriber's computer sends a DHCP discover request to the DHCP server.
  2. The DHCP server sends a DHCP offer to the subscriber's DHCP client.
  3. The DHCP client sends a DHCP request to the DHCP server.
  4. The DHCP server acknowledges the request by sending a DHCP Ack message to the DHCP client.
  5. The event notification application that is running on the DHCP server intercepts the DHCP Ack message.
  6. The event notification application sends an ipUp message to the SAE that notifies the SAE that an IP address is up.
  7. The SAE performs a subscriber login. Specifically, it:
  1. Runs the interface classification script and creates a pseudointerface for the PCMM device driver.
  1. Runs the subscriber classification script.
  2. Loads the subscriber profile.
  3. Runs the subscriber authorization plug-ins.
  4. Runs the subscriber tracking plug-ins.
  5. Creates a subscriber session and stores the session in the session store file.
  1. The SAE provisions policies for the subscriber session on the CMTS device.

The ipUp event should be sent with a timeout set to the DHCP lease time. The DHCP server sends an ipUp event for each Ack sent to the client. The SAE restarts the timeout each time it receives an ipUp event.

If the client explicitly releases the DHCP address (that is, it sends a DHCP release event), the DHCP server sends an ipDown event. If the client does not renew the address, the lease expires on the DHCP server and the timeout expires on the SAE.

SAE Communities

For SAE redundancy in a cable network, you can have a community of two or more SAEs. SAEs in a community are given the role of either active SAE or passive SAE. The active SAE manages the connection to the CMTS device and keeps session data up to date within the community. Figure 15 shows a typical SAE community.


Figure 15: SAE Community

When an SAE opens a connection to the CMTS device, it negotiates with other SAEs to determine which SAE controls the CMTS device. The SAE community manager and members of the community select the active SAE.

A passive SAE needs to take over as active SAE in any of the following cases:

Configuration Tasks for SAE Communities

You can configure the following for SAE communities:

Storing Session Data

To aid in recovering from an SAE failover, the SAE stores subscriber and service session data. When the SAE manages a CMTS device, session data is stored locally in the SAE host's file system. The SDX component that controls the storage of session data on the SAE is called the session store. The session store queues data and then writes the data to session store files on the SAE host's disk. Once the data is written to disk, it can survive a server reboot.

For more information, see Storing Subscriber and Service Session Data in SDX Network Guide: SAE, Juniper Networks Routers, and NIC, Chapter 2, Configuring the SAE.

PCMM Record-Keeping Server Plug-In

To allow the SAE's embedded policy server to communicate with a record-keeping server (RKS) in a PCMM environment, you need to use the PCMM record-keeping server plug-in. This plug-in is similar to the RADIUS accounting plug-ins, but it works with any RKS that is compliant with the PCMM specification. The RKS plug-in supports additional attributes: Application-Manager-ID, Request-Type, and Update-Reason. The plug-in sends all requests to the RKS as Acct-Status-Type=Interim-Update.

Configuring the SAE for a Cable Network Environment

The tasks to configure the SAE for a cable network environment are:

  1. Configuring a PCMM Device Driver.
  2. Configuring CMTS-Specific RKS Plug-Ins.
  3. Configuring the Session Store Feature. See SDX Network Guide: SAE, Juniper Networks Routers, and NIC, Chapter 2, Configuring the SAE.
  4. Configuring the SAE Community Manager.
  5. Configuring SAE Properties for the Event Notification API (if you are using an external address manager).
  6. Configuring PCMM Record-Keeping Server Plug-Ins (if you are using the SAE's embedded policy server).

In addition to configuring the SAE, you need to:

  1. Configure the CMTS device in the directory (if you are using the SAE's embedded policy server). See Adding Objects for CMTS Devices to the Directory.
  2. Configure the NIC (if you are using assigned IP subscribers). See Using the NIC Resolver.
  3. Enable the COPS interface on the CMTS device. See the documentation for your CMTS device for information about how to do this.

Configuring a PCMM Device Driver

The SAE connects to the PCMM device by using a COPS over TCP connection. The PCMM device driver controls this connection. You create a PCMM device driver for each CMTS device that the SAE manages. You can specify properties for the PCMM device driver in the Router tab of SDX Configuration Editor.

Keepalive Interval [s]

TCP Connection Timeout [s]

Application Manager ID

Message Timeout [ms]

COPS Message Maximum Length [bytes]

COPS Message Read Buffer Size [bytes]

COPS Message Write Buffer Size [bytes]

SAE Community Manager

Element ID

Default RKS Plug-In

Configuring CMTS-Specific RKS Plug-Ins

You can configure an RKS plug-in for specific CMTS devices. When there are events for the CMTS device, the SAE sends the events to the specified plug-in.

To assign a CMTS-specific RKS plug-in:

  1. In the CMTS Specific RKS Plug-ins area of a PCMM device driver configuration, select CMTS Specific RKS Plug-in, and click Create a New Instance of.

The Create New Instance dialog box appears.

  1. Assign the name of the CMTS device as the instance name, and click OK.

The new plug-in instance appears.

  1. Fill in the RKS Plug-in field.

RKS Plug-in

Configuring the SAE Community Manager

You can configure the properties for an SAE community manager in the Ext. Interface tab of SDX Configuration Editor.

Keepalive Interval [s]

Number of Threads

Acquire Timeout

Blackout Time

Configuring SAE Properties for the Event Notification API

You can configure the SAE properties for the event notification API in the Ext. Interface tab of SDX Configuration Editor.

Retry Time

Retry Limit

Number of Threads

Configuring PCMM Record-Keeping Server Plug-Ins

You configure PCMM RKS plug-ins in the Plug-Ins tab of SDX Configuration Editor. To set up PCMM record-keeping server plug-ins:

  1. In the navigation pane, select the SAE object for which you want to configure plug-ins.
  2. Select the Plug-Ins tab.

The Plug-Ins pane appears.

  1. In the Plug-In Pool area of the Plug-Ins pane, select PCMM Record Keeping Server Plugin from the drop-down list, and click Create a New Instance of.

The instance appears in the Plug-In Pool area.

  1. Fill in the plug-in instance fields as described below.
  2. In the Peer Group area, create at least one peer to use as the default peer. See Configuring RKS Peers.
  3. In the PCMM Device Driver configuration, add the RKS plug-in as the default RKS plug-in or as a CMTS-specific plug-in. See Configuring a PCMM Device Driver.

Load Balancing Mode

Failover failback timer

Retry interval [ms]

Max Queue Length

Bind Address

UDP Port

FEID MSO Data

FEID MSO Domain Name

Trusted Element

Default peer

Configuring RKS Peers

An RKS peer is an instance of an RKS. A PCMM environment has a primary RKS and optionally a secondary RKS. The primary RKS is mandatory, and you assign the RKS as primary by configuring it as the default peer in the RKS plug-in. The secondary RKS is optional, and it is an RKS peer that is not configured as the default peer. If you define multiple nondefault peers, one of them is randomly chosen to be the secondary RKS.

RKS peers are configured in the peer group for each PCMM RKS plug-in instance. To create an RKS peer:

  1. In the Peer Group area of a PCMM RKS plug-in instance, select RKS Peer and click Create a New Instance of.

The Create New Instance dialog box appears.

  1. Assign a name to the instance, and click OK.

The new peer appears in the Peer Group area.

  1. Fill in the fields as described below.

RKS Server Address

RKS Server Port

Adding Objects for CMTS Devices to the Directory

To manage CMTS devices, the SAE creates and manages pseudointerfaces that it associates with a virtual router object in the directory. Each CMTS device in the SDX network must appear in the directory as a router object, and it must be associated with a virtual router object called default. The router and virtual router are not actually configured on the CMTS device; the router and virtual router in the directory provide a way for the SAE to manage the CMTS device by using the SAE's embedded policy server.

To add a CMTS device to the directory with SDX Admin:

  1. In the navigation pane, highlight o=Network, and right-click.
  2. Select New > EdgeDevice.

The New EdgeDevice dialog box appears.

  1. In the New EdgeDevice dialog box, enter the name of the CMTS device, and click OK.

The name of the new device appears in the navigation pane, and information about the device appears in the EdgeDevice pane.

  1. Set the parameters in the Main tab of the EdgeDevice pane.
  2. Click Save in the EdgeDevice pane.
  3. Create a virtual router for the CMTS device. See Creating a Virtual Router for the CMTS Device

Description

Management Address

Router Driver Type

If you do not fill in this field, the device driver ignores this router driver.

QoS Profiles

Creating a Virtual Router for the CMTS Device

You need to add a virtual router object called default to the CMTS device. To add a virtual router with SDX Admin:

  1. In the navigation pane, right-click on the CMTS device.
  2. Select New > VirtualRouter.

The New EdgeDevice dialog box appears.

  1. In the New VirtualRouter dialog box, enter the name default, and click OK.

The default virtual router appears in the navigation pane, and information about the virtual router appears in the VirtualRouter pane.

  1. Configure virtual router parameters in the Main Tab. See Configuration Parameters for Virtual Routers.
  2. Select the SAE Connection tab of the VirtualRouter pane, and add SAEs that are connected to the CMTS device. This list becomes the community of SAEs.

To add an SAE:

  1. Type the IP address of the SAE in the field below the Connected SAE box.
  2. Click Add.
  1. Click Save in the VirtualRouter pane.

Configuration Parameters for Virtual Routers

Use the fields in this section to define virtual router objects. If you are using assigned IP subscribers along with the NIC, you need to configure either a local or static address pool so that the NIC can resolve the IP-to-SAE mapping.

SNMP Read Community

SNMP Write Community

Scope

Local Address Pools

The IP pool syntax has the following format:

([<ipAddressStart> <ipAddressEnd>] |
{<ipBaseAddress>/(<mask> | <digitNumber>)(,<ipAddressExclude>)*})

where:

You can use spaces in the syntax only to separate the first and last explicit IP addresses in a range.

Static Address Pools

Managing SAE IOR

Tracking Plug-in

Configuring SAE Communities

You define SAE communities by entering the SAEs in a community in the connected SAE field of the virtual router object.

When you modify a community, wait for passive session stores on the new community members to be updated before you shut down the current active SAE. Otherwise, if you add a new member to a community, and then a failover from the current active SAE to the new member is triggered immediately, the new member's session store may not have received all data from the active SAE's session store.

To define a community, select the SAE Connection tab of the VirtualRouter pane, and add the addresses of SAEs that can manage this CMTS device.

To add an SAE:

  1. Type the IP address of the SAE in the field below the Connected SAE box.
  2. Click Add.

To modify an SAE address:

  1. Double-click the IP address of the SAE in the Connected SAE box.
  2. Modify the IP address in the field below the Connected SAE box.
  3. Click Modify.

To delete an SAE address:

  1. Double-click the IP address of the SAE in the Connected SAE box.
  2. Remove the IP address from the field below the Connected SAE box.
  3. Click Delete.

Connected SAE

Using the NIC Resolver

If you are using the assigned IP subscriber method of logging in subscribers, and you are using the NIC to determine the subscriber's SAE, you need to configure a resolver on the NIC. The OnePopDynamicIp sample configuration data supports this scenario. The OnePopDynamicIp configuration supports one point of presence (POP) and provides no redundancy. The realm for this configuration accommodates the situation in which IP pools are configured locally on each virtual router object.

You can access the OnePopDynamicIp configuration in either SDX Admin or SDX Configuration Editor. Figure 16 shows the sample configuration in SDX Configuration Editor.


Figure 16: OnePopDynamicIP Sample Configuration in SDX Configuration Editor

For more information about the resolution process for OnePopDynamicIp, see SDX Network Guide: SAE, Juniper Networks Routers, and NIC, Chapter 5, Locating Subscriber Information.

Monitoring the SAE in a Cable Environment

You can use SAE Web Admin to monitor the state of PCMM device drivers and pseudointerfaces installed on the SAE, or to monitor session, service, and policy information for PCMM envirnoments just as you would monitor them for routers.

For example, to view information about PCMM device drivers running on the SAE:

  1. In the navigation pane, expand State, and click Routers.

The Routers State page appears.

  1. To view a specific driver, enter part or all of the name of the driver in the VR name contains field, and click Search.

or

To view all drivers, click List All.

  1. Click a driver under Search Results to get more information about the specified driver.

To view information about the pseudointerfaces running on the PCMM device driver:

  1. In the navigation pane, expand State, and click Interfaces.

The Router Interface State page appears.

  1. To view a specific router interface, enter part or all of the name of the following, and then click Search:
  1. Click an interface name to get more information about the specified interface.

See SDX Monitoring and Troubleshooting Guide, Chapter 6, Monitoring and Managing SAE Data for more information.


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]