Provisioning Guide (Release 4.x)
Chapter 1 - Cisco BTS 10200 Softswitch Provisioning Overview

Table Of Contents

Cisco BTS 10200 Softswitch Provisioning Overview

Provisioning Overview

Secure Shell

Activating SSH Versions 1 and 2

Before You Begin

Provision DB Licenses

Interactive DB Licenses Provisioning

Batch File DB Licenses Provisioning

Operator Interfaces

EMS Provisioning Paths

Command Line Interface

CLI Structure

CLI Command Syntax

Preservation of Provisioning Order

Retrieval of Transaction Information

CLI Reference Guide Conventions

CLI Control Characters

Report Files

Bulk Provisioning

Creating a Script

Executing a Script

Confirming That a Script File Has Been Processed

Copy-N-Paste Provisioning

Extensible Provisioning and Operations Manager

Cisco EPOM Window Example

The Cisco EPOM Database


Cisco BTS 10200 Softswitch Provisioning Overview


Revised: July 28, 2009, OL-4366-13

This chapter provides an overview of the Cisco BTS 10200 Softswitch provisioning process and tools. It includes the following sections:

Provisioning Overview

Operator Interfaces

Command Line Interface

Report Files

Bulk Provisioning

Copy-N-Paste Provisioning

Extensible Provisioning and Operations Manager

Provisioning Overview

The Cisco BTS 10200 Softswitch provides the major functions performed by traditional Class 4 tandem and Class 5 Central Office (CO) switching systems. It provides call-control intelligence for establishing, maintaining, routing, and terminating voice calls, and it also serves as an interface to enhanced service and application platforms. The Cisco BTS 10200 Softswitch empowers service providers and carriers to gracefully transition to packet-based technology by leveraging the power of packet networks while seamlessly operating with legacy circuit-switched infrastructures.

The Cisco BTS 10200 Softswitch incorporates a comprehensive feature set, including support for local and long-distance voice services that previously required implementation of large, complex telephone switches.

Refer to the Cisco BTS 10200 Softswitch System Description for a complete description of the architecture, components, and features associated with the Cisco BTS 10200 Softswitch.

Provisioning tasks are performed in a sequence that can vary depending on your configuration. However, some provisioning tasks must be performed before certain other tasks are performed. The following list identifies a recommended provisioning sequence:

1. Initial Softswitch

2. Subscriber

3. Subscriber features

4. Softswitch routing

Secure Shell

Secure shell (SSH) is the default method of access to the Cisco BTS 10200 Softswitch command-line interface (CLI). SSH provides encrypted communication between a remote machine and the Element Management System (EMS) or Call Agent (CA) for executing CLI commands. The SSH server runs on the EMSs and CAs of the Cisco BTS 10200 Softswitch. To connect, the client and server sides must run the secure shell daemon (SSHD).

The SSH daemon runs as a Solaris daemon process. It is automatically started when the Solaris is brought up, but if it dies, it must be manually restarted. A single unique instance of the SSHD runs on every component of the Cisco BTS 10200 Softswitch.

SSH is an optional login choice. Use the Cisco BTS 10200 Softswitch default application installation option to enable SSH and to disable RSH, REMSH, RLOGIN, Telnet, or REXEC. FTP is not affected. If SSH is not selected, then RSH, REMSH, RLOGIN, Telnet, or REXEC are enabled and FTP is still not affected.

If SSH is enabled, new users are prompted to enter a new password and reenter that password during their first login. From that point, they are prompted once for a password only.

To log in from the client side, enter the following:

ssh -l username IPaddress

On the first SSH login from the client side, expect a message similar to this:

The authenticity of host [hostname] can't be established. 
Key fingerprint is 1024 5f:a0:0b:65:d3:82:df:ab:42:62:6d:98:9c:fe:e9:52. 
Are you sure you want to continue connecting (yes/no)? 

Enter yes and press Enter.

The password prompt appears. From this point on, all communications are encrypted.

Subsequent SSH logins prompt only for a password.

Activating SSH Versions 1 and 2

Release 4.4 has implemented SSH version 2 as the default SSH version. However, systems such as CALEA may use SSH version 1. The following procedure allows you to activate SSH version 1 so that the Cisco BTS 10200 supports both versions 1 and 2.


Step 1 Use a text editor to open /opt/BTSossh/etc/sshd_config and change "Version 2" to "Version 2,1".

Step 2 At the command prompt, enter /etc/init.d/sshd down

Step 3 Enter /etc/init.d/sshd start

Before You Begin

Perform the following tasks before using this guide:

Thoroughly plan your network configuration. A detailed network diagram is helpful when provisioning.

Set up your system hardware and install all required software. For more information, refer to the following documents:

Cisco BTS 10200 Softswitch Cabling Procedures

Cisco BTS 10200 Softswitch Application Installation, Release 4.1

Cisco BTS 10200 Softswitch Release 4.0 Jumpstart Server Set Up and Procedures

Provision DB Licenses


Note If you are using Release 4.5 or later of the Cisco BTS 10200 Softswitch, you do not need to provision the DB licenses. The DB license information will be automatically loaded into the system during installation.


If you are using a version of the Cisco BTS 10200 Softswitch between Release 4.1Q08 and Release 4.5, CLI provisioning is disabled until the DB licenses are applied to the BTS system. The following example illustrates an attempt to provision without DB licenses applied:

add pop id=test1; timezone=cst

Reply : Failure: ORA-20001: No license is installed for POP. You need to provision DB 
licenses. The DB license file "dbsize.cli" provided with the installation can be found in 
"/opt/oracle/admin/upd/config" directory. Additional DB licenses can be purchased from 
Cisco. The provision needs Cisco privilege. Contact Cisco TAC if additional help is 
needed.
ORA-06512: at "OPTICALL.IPC_DBUSAGE", line 35
ORA-06512: at "OPTICALL.DBUSG_TRIGGER_89", line 5
ORA-04088: error during execution of trigger "OPTICALL.DBUSG_TRIGGER_89"

To provision the DB licenses, Cisco Privileged access is required. The CLI "optiuser" is not allowed to provision the DB licenses ; optiuser is used by customers to perform normal provisioning.


Note If you are using Release 4.4 or later of the BTS 10200 Softswitch software, "btsuser" is used to perform normal provisioning.


Customers are not permitted to change the DB licenses without a license agreement with Cisco Systems. There are two ways to provision the DB licenses: interactive CLI provisioning or batch file provisioning.

Interactive DB Licenses Provisioning

Use the following procedure to apply DB licenses through interactive CLI provisioning.


Note The following is only an example. You should provision the DB license for all tables recorded in the db-size file if you choose to provision the DB license interactively.



Step 1 Log in to the Cisco BTS 10200 Softswitch using a command similar to the following:

ssh ciscouser@0
 
ciscouser@0's password:  
Sun Microsystems Inc.  SunOS 5.8 Generic Patch   October 2001 
Sun Microsystems Inc.  SunOS 5.8 Generic Patch   October 2001

Step 2 Provision the maximum record count using a command similar to the following:

add db-size table-name=SUBSCRIBER; max-record-count=10000

Reply : Success: CLI add successful

Step 3 Provision the license record count using a command similar to the following:

add db-license table-name=SUBSCRIBER; licensed-record-count=5000

Reply : Success: CLI add successful

Step 4 Verify that the Subscriber table has max-record-count and licensed-record-count provisioned with numbers using the following command:

show db-usage table-name=SUBSCRIBER

TABLE_NAME=SUBSCRIBER
MAX_RECORD_COUNT=10000
LICENSED_RECORD_COUNT=5000
CURRENT_RECORD_COUNT=0
MINOR_THRESHOLD=80
MAJOR_THRESHOLD=85
CRITICAL_THRESHOLD=90

Reply : Success: Request was successful.


Note You can cut and paste the commands from the DB license file, dbsize.cli, to the CLI. The dbsize.cli file is provided with installation and is in the /opt/oracle/admin/upd/config directory.


Batch File DB Licenses Provisioning

Use the following procedure to perform batch file DB license provisioning:


Step 1 Use Secure File Transfer Protocol (SFTP) to copy the DB license file, dbsize.cli, to a staging directory, for example, /opt/oracle/admin/upd/config.

Step 2 Log in as root.

Step 3 Change to the staging directory by using a command similar to the following:

cd /opt/oracle/admin/upd/config

Step 4 Change the ownership of the DB license file to ciscouser by using the following command:

chown ciscouser:staff dbsize.cli

Step 5 Copy the DB license file to the /opt/ems/ftp/deposit directory by using the following command:

cp -p dbsize.cli /opt/ems/ftp/deposit


Note At 20-second intervals, files placed in this directory are executed and then deleted.


Step 6 Log in to the CLI as optiuser or btsuser, if you are using Release 4.4 or later.

Step 7 Use the following command to verify that all tables have max-record-count and licensed-record-count provisioned with numbers.

show db-usage

Operator Interfaces

The Cisco BTS 10200 Softswitch Element Management System (EMS) has seven major operator interfaces, illustrated in Figure 1-1:

Network management system (NMS) receives events and alarms from the EMS and establishes reporting thresholds and traffic monitoring management into the EMS via Simple Network Management Protocol (SNMP).

Remote operator console connects to the EMS via SSH.

Billing mediation devices connect to the Bulk Data Management System (BDMS) through SFTP.

Provisioning server connects through the Common Object Request Broker Architecture (CORBA) interface.

Report files and the Extensible Provisioning and Operations Manager (EPOM) provisioning tool are available via HTTP.

Bulk provisioning connects to the EMS through an SFTP over SSH, and SNMP.

Figure 1-1 Operator Interfaces

The EMS manages these interfaces and forwards the information to the external world over Telnet/SSH, SFTP, and SNMP.

EMS Provisioning Paths

The EMS database interfaces internally with the Call Agent (CA) and Feature Server (FS) using the Java Message Service (JMS) protocol over IP protocol. The Cisco BTS 10200 Softswitch uses Oracle to provide database applications. Oracle is flexible and scalable and has its own keep-alive and heartbeat checks for replication.

The Cisco BTS 10200 Softswitch provides two provisioning paths:

OSS-EMS — This interface is used by external bulk provisioning applications.

EMS-CA/FS—The EMS database holds up to 100 operator logins, and a maximum of 16 user sessions can be active at one time.

Once the provisioned data enters the EMS, the following occurs:

The data is placed in the Oracle database tables, which are replicated to the standby system.

A copy of the data is placed in the queue to be forwarded to the CA/FS.

From the queue, data is sent to the appropriate component, either the CA and/or the FS.

Once the component acknowledges receipt of the data, the EMS deletes the data from the queue. You can audit the database on the CA/FS to ensure that it matches the database on the EMS. A full audit of the database reads every field to ensure that a match exists.

The IDX DB (shared memory) on the CA/FS maintains only real-time data needed for call processing to expedite call processing. Data is replicated to the standby system.

Provisioning and replication paths are fully redundant to eliminate the single point of failure during failover and support:

Database synchronization and redundancy on all OSS-EMS and EMS-CA/FS paths

Provisioning and replication paths for normal conditions and for alternate configuration

Recovery mechanisms in case of abnormal conditions

Command Line Interface

The command-line interface (CLI) is a command language used to communicate with the Cisco BTS 10200 Softswitch. It is used to provision the entire softswitch and to manually add, delete, or modify objects.

CLI Structure

Figure 1-2 illustrates the architecture of the add destination CLI command

Figure 1-2 Architecture of a CLI Command

.

CLI Command Syntax

The following conventions apply to CLI commands:

All commands start with a verb.

A noun immediately follows the verb, if appropriate.

All primary keys must be specified in add, change, or delete commands.

A primary key identifies a record and cannot be changed.

All parameters must be specified in a "token-name=value" pair.

Each value is terminated by a semicolon (;).

A token can contain several values separated by commas (,).

All token names, command verbs, and command nouns are case insensitive.

All values entered after the equal sign (=) in a command are case sensitive.

White space is allowed in a value field if the value type is an ASCII character string.

Any alphanumeric characters and spaces can be used in specified values.

All fields that are alphanumeric characters by nature are stored in string form in the database.

If a token has a default value, it is considered optional when entering a command, and its default value is entered into the system.

Optional fields can become required based on the provisioning of another token. For example, in the Destination table, carrier-id (optional) becomes required if route-type=Carrier.

All fields that represent digit strings are entered and displayed in the proper dial plan format with a dash (-) but only the numeric characters are stored in the database. The international dial-plan digits should not contain dashes.

All dashes (-) in the token fields are converted to underscores (_) when stored in the database.

To remove values from a field, use "null" for the value. For example, add service id=1; fname5=null will remove the previous value of fname5.

Wildcards

          % is the wildcard for show, report, and display commands (provisioning tables).

          * is the wildcard for status and control commands (OAMP tables).

Preservation of Provisioning Order

The Operations, Administration, Maintenance, and Provisioning (OAM&P) element of the Cisco BTS 10200 Softswitch provides an asynchronous provisioning mechanism. A provisioning request initiated by a user on an external interface, such as the command line interface (CLI), is added into the database on the Element Management System (EMS), and a response is sent to the user indicating success or failure. This response indicates that the transaction has been committed to the database on the EMS and has been added to the Transaction Queue table. An indication of success does not guarantee successful execution of the transaction on the Call Agent or Feature Server.

Control and status commands are executed independently of provisioning commands and use different paths to the Call Agent. Beginning with Release 4.5, a provisioning enhancement introduces the ability to queue control commands with provisioning commands and ensure execution of the control command after all provisioning commands issued prior to it are executed. A new flag, wait=Y/N, is added to all control and status commands to indicate whether control/status commands should be queued or not. If the flag is set to Y, control and status commands are queued. The default flag is set to N.

The following command controls the media gateway in service after all provisioning commands preceding this command have executed:

control mgw id=ubr.100; target-state=INS; mode=GRACEFUL; wait=y;

Issue the following command to verify the status of the media gateway:


status mgw id=ubr.100; wait=y;

Retrieval of Transaction Information

Beginning with Release 4.5, the Cisco BTS 10200 Softswitch has the ability to refine the CLI command show transaction-queue to display transactions according to their state. The following command shows all transactions in the transaction queue that have a status of pending:

show transaction-queue status=pending;

See the Cisco BTS 10200 Softswitch Command Line Interface Reference Guide for a complete list of all status parameter values.

In addition, USER_ID and TERMINAL_ID tokens are added to the output of this command.

CLI Reference Guide Conventions

The following conventions are used in this documentation and in commands used to provision and maintain the Cisco BTS 10200:

If only a single option from a list is allowed, the choices are separated with a vertical bar (|).

Primary Key (PK) Token(s)—A mandatory, unique key. A primary key identifies a record and cannot be changed.

Unique Key (UK) Token(s)—Provides a unique index (secondary key).

Foreign Key (FK) Token(s)—References tokens in foreign tables. The table of the foreign key is listed in the Syntax Description section.

Dependencies—In some cases, information must be entered into other tables before information can be entered into a specific table. Tables with these requirements have dependencies. For example, you cannot add a dial plan unless a dial plan ID exists by adding a dial plan profile with the ID.

CLI Control Characters

Use the following control key characters for navigation:

^P— Scrolls backward through commands starting with the most recent. You can also use the up arrow.

^N—Scrolls forward through commands that have been entered. (You must scroll backward through the commands first). You can also use the down arrow.

^B—Moves cursor back one space. You can also use the left arrow.

^F—Moves cursor forward one character. You can also use the right arrow.

^A—Moves cursor to the beginning of the line.

^E—Moves cursor to the end of the line.

^I—Toggles between insert and overwrite (default is overwrite).

^D—Deletes character at the cursor position.

Backspace/Delete—Deletes character to the left of the cursor.

^K—Deletes all characters from the cursor position to the end of the line.

^L—Redisplays the current line.

^T—Transposes the character at the cursor position with the previous character.

^C—Interrupts a command during execution.

Return—Executes a command.

Report Files

Report files are available through XHTML web pages. The URL to get the main menu, as shown in Figure 1-3, is the Primary EMS DNS or IP address with Port 10200, for example, http://priemstrn1:10200 or http//10.89.52.201:10200.

Starting with Release 4.4, it is no longer necessary to specify a port number. For example, specify https://priemstrn1 or https://10.89.52.201.

Figure 1-3 Main Report/Help Menu

From the main window

Click report to display all reports generated.

Click help for help on the Cisco BTS 10200 Softswitch. The help files provide information on commands, tokens, and parameters from the Cisco BTS 10200 Command Line Interface Reference Guide.

The Cisco BTS 10200 Softswitch provides the ability to enable or disable the collection of measurement data and specify the reporting interval on a per report type basis. The factory default setting is to enable the collection of all measurement types and to set the reporting intervals to 15 minutes. Currently, there are 13 types of measurement data generated by the Cisco BTS 10200. See the Cisco BTS 10200 Softswitch Command Line Interface Reference for a complete list of report types..

The following example CLI command line provisions the collection of call processing measurement data:
change measurement-prov type=callp; enable=yes; time-interval=15;

Bulk Provisioning

Batch files, called scripts, can be prepared in advance and forwarded, using SFTP, to the EMS for execution. Bulk provisioning involves the following procedures:

Creating a Script

Executing a Script

Confirming That a Script File Has Been Processed

Make an SFTP connection to the EMS, navigate to the /opt/ems/ftp/deposit directory, and upload a script file. This directory is checked every 20 seconds for script files. Each file is processed line by line as a series of separate commands and deleted when it is finished executing. A report file is created, and you can view it with a web browser by going to the location http://ems<MachineName or IP address>:10200, or, if you are using Release 4.4 or later, to https://ems<MachineName or IP address>.

Creating a Script

When a customer orders a Cisco BTS 10200 Softswitch, a complete script file is created and delivered in both hard and soft copies. You can modify this script and create additional scripts. Scripts should follow the provisioning steps contained in the Cisco BTS 10200 Command Line Interface Reference Guide.

A script can contain a maximum of 10,000 command lines. We recommend that you have two separate scripts, one for provisioning and one for status and control. Otherwise, the Cisco BTS 10200 Softswitch may try to control a trunk group, trunk, or termination in services that has not yet been provisioned in the system.


Note In order to avoid the complications that might result in frequent switchovers, Cisco also recommands that you use many smaller scripts instead of one large script.


Perform the following steps to prepare a script file on your local system:


Step 1 On any computer, prepare and save a script file (a series of CLI commands that you want to enter into the system) in ASCII text format.


Note The files must follow CLI syntax. Blank lines are permitted, and commenting is provided by beginning a comment with the # character. Refer to the Cisco BTS 10200 Command Line Interface Reference Guide for command syntax and parameters.


Step 2 On a UNIX system, open a terminal (shell) window, or on a Windows system, open a command prompt.

Step 3 At the UNIX shell or Windows command prompt, navigate to the directory where you created the script in Step 1, and verify that the script file is present.


Note If a script reaches 3000 errors, it stops processing.


The following is an example of a response received with 3000 errors:

Reply from command at line 2814(2002-09-30 09:27:21):
No Reply received.
Reply from command at line 2814(2002-09-30 09:27:21):
!!!!!!! Maximum(3000) number of errors reached!!!!!!!
Done reading: PRIEMS18_CLI_20_Q02.txt End-time: 2002-09-30 09:27:22
Success:-1398 Failed:3000

Executing a Script

Bulk provisioning can also be used to provision or assist with system recovery. To perform bulk provisioning, use the following steps:


Step 1 Establish a secure Telnet session to the EMS and log in as root.

Step 2 Navigate to the directory containing the bulk provisioning file; for example, filename.txt in the opt/ems/ftp/scripts directory.

Step 3 Copy the file to the deposit directory; for example, cp filename.txt opt/ems/ftp/deposit.

The system executes the script. When the script is complete, a report is created.

Step 4 To view the report, open an Internet browser and go to http://<EMS Name or IP address>:10200, for example, http://10.89.52.201:10200 or, if you are using Release 4.4 or later, https://10.89.52.201.

The following information is captured in the report file:

Owner of the file that was executed.

Start-time and end-time.

Errors during command execution. This will contain the line number, in the original script, of the command that failed, the time that this command failed, and a description of the error.

Summary containing the number of successful lines and the number of commands containing errors.



Note When errors occur, the script will log the errors and continue to run until it reaches 3000 errors.


Confirming That a Script File Has Been Processed

To confirm that a bulk provisioning script has executed, verify that the system has generated an output file by going to http://ems<MachineName or IP address>:10200. If you are using Release 4.4 or later, it is not necessary to specify the port number. Go to https://ems<MachineName or IP address>.

All command information is also stored in the activity log and can be accessed using the show activity-summary CLI command.

Copy-N-Paste Provisioning

Figure 1-4 illustrates copy-n-paste provisioning, executed by copying CLI provisioning commands from a text file directly into the system at the CLI prompt. No report is generated, but all command information is stored in the activity log.

Figure 1-4 Copy-N-Paste

.

Extensible Provisioning and Operations Manager

Cisco Extensible Provisioning and Operations Manager (EPOM) is a web-based application for real-time provisioning of the Cisco BTS 10200 Softswitch that allows authorized users to show, add, modify, delete, and check the status of Cisco BTS 10200 Softswitch components.

Provisioning tasks in Cisco EPOM generally match tasks done using the Cisco BTS 10200 Softswitch CLI but are accomplished through a web-browser interface. Common multistep procedures are simplified by being grouped together into tasks executed with task wizards.

Authorized Cisco EPOM administrators set up and manage the Cisco EPOM server software and perform the following Cisco EPOM user administration and network setup tasks:

Add, modify, and delete users, user groups, and domains.

Assign users to groups.

Assign domain access (either read/write or read only) to groups.

Assign a Cisco BTS login to a Cisco EPOM group. This restricts a Cisco EPOM user's access to that of the assigned Cisco BTS user login.

Set up the network initially.

Show, add, modify, and delete single or multiple Cisco BTS 10200 Softswitch components.

Set up custom navigation trees.

Create custom provisioning flows.

Create custom templates that can be used for the bulk provisioning of components..

View reports and download them to a Cisco BTS EMS server.

Troubleshoot problems.

For details about these tasks, refer to the Cisco EPOM Getting Started Guide. Real-time provisioning of the Cisco BTS 10200 Softswitch using the Cisco EPOM provisioning wizards is described in the Cisco EPOM Provisioning Guide for the Cisco BTS 10200 Softswitch.

Cisco EPOM Window Example

Figure 1-5 displays an example of a typical EPOM window.

Figure 1-5 Example EPOM Window

The Cisco EPOM Database

The Cisco EPOM database maintains Cisco EPOM administrative data (users, groups, and domains) and the inventory of Cisco BTS 10200 Softswitch devices. Device-level information (such as subscribers, subscriber features, and communication with media gateways) is retrieved from the Cisco BTS 10200 Softswitch EMS server devices in real time and is not stored in the Cisco EPOM database.