Chapter 3: Operating Procedures

Table Of Contents

Cisco MGC Node Operations

Daily Tasks

Starting an MML Session

Verifying the Platform State of the Cisco MGC Hosts

Verifying That Processes Are Running

Understanding Processes

Monitoring the Alarms Status

Understanding Alarms

Verifying the Status of all Destinations

Understanding the Destination State Information

Verifying State of all SS7 Routes

Understanding the SS7 Route State Information

Verifying CIC States

Understanding CIC States

Verifying Available Disk Space

Verifying Available Virtual Memory

Verifying Available RAM

Verifying CPU Utilization Level

Verifying the Number of Active Processes

Verifying the Number of Users

Verifying Available Memory on the Cisco SLTs

Periodic Maintenance Procedures

Automatic Disk Space Monitoring

Configuring Disk Monitor

Automatic System Log Rotation

Rotating System Logs Manually

Creating a Disaster Recovery Plan

Backing Up System Software

Backup Procedures for Cisco MGC Software up to Release 7.4(10)

Backup Procedures for Cisco MGC Software from Release 7.4(11) and up

Regular Operations

Managing MML Sessions

Displaying Previously Entered MML Commands

Displaying Information About MML Commands

Reentering Previously Entered MML Commands

Retrieving Active MML Sessions

Ending an MML Session

Managing Signaling Channels

Retrieving Signaling Channel Attributes

Retrieving Signaling Destination Service States

Retrieving the Service State of a Linkset

Retrieving the State of Point Codes

Retrieving the State of SS7 Routes

Retrieving the State of All Local Subsystem Numbers

Retrieving the State of All Remote Subsystem Numbers

Retrieving TCAP Transactions

Clearing TCAP Transactions

Enabling Blocking/Unblocking Messages

Enabling Group Service Reset Messages

Managing Bearer Channels

Verifying Proper Replication of Calls

Retrieving the States of Bearers Held By a Media Gateway

Blocking CICs

Retrieving the Administrative State

Provisioning your Cisco MGC

Starting a Provisioning Session

Saving and Activating your Provisioning Changes

Ending a Provisioning Session Without Activating your Changes

Invoking Dynamic Reconfiguration

Retrieving Provisioning Data

Provisioning a Dial Plan

Importing Provisioning Data

Exporting Provisioning Data

Managing Automatic Congestion Control

Managing your Cisco MGC Platform

Performing a Manual Switchover

Verifying Successful Completion of a Switchover

Verifying the Patch Level of the Cisco MGC

Retrieving Configuration Table Data

Retrieving the Logging Level of Software Processes

Managing System Measurements

Retrieving Measurements

Clearing Measurements

Retrieving Link or Linkset Measurements

Retrieving SS7 Signaling Point Measurements

Using the Cisco MGC Viewer Toolkit

Launching the Cisco MGC Toolbar

Using the Alarm and Measurement Viewer

Using the Call Detail Record Viewer

Using the Config-Lib Viewer

Using the Log Viewer

Using the Trace Viewer

Using the Translation Verification Viewer

Using the File Options Viewer

Using the MGC Backup Viewer

Using the MGC Restore Viewer


Cisco MGC Node Operations


This chapter contains recommended operating procedures for the Cisco Media Gateway Controller (MGC) node. In these procedures, the assumption is that all components have been correctly installed, configured, and provisioned in accordance with the instructions provided in the relevant documentation. All components are assumed to have been successfully started, as described in "Cisco MGC Node Component Startup and Shutdown Procedures."


Note Operation of the Cisco MGC node should be performed by someone who has been trained in the complexities of the system, who has some experience administering the system, and who understands UNIX at the system administrator level.


This chapter contains the following sections:

Daily Tasks

Periodic Maintenance Procedures

Regular Operations

Daily Tasks

The following section detail the procedures you should perform on a daily basis on the Cisco MGC. These procedures use Man-Machine Language (MML) and UNIX commands. These procedures can also be performed using the optional Cisco MGC Node Manager (CMNM) application. For more information on using the CMNM to operate the Cisco MGC, refer to the Cisco MGC Node Manager User's Guide.

The tasks you should perform on a daily basis are found in the following sections:

Starting an MML Session

Verifying the Platform State of the Cisco MGC Hosts

Verifying That Processes Are Running

Monitoring the Alarms Status

Verifying the Status of all Destinations

Verifying State of all SS7 Routes

Verifying CIC States

Verifying Available Disk Space

Verifying Available Virtual Memory

Verifying Available RAM

Verifying CPU Utilization Level

Verifying the Number of Active Processes

Verifying the Number of Users

Verifying Available Memory on the Cisco SLTs

Starting an MML Session

When a procedure requires that you start an MML session, you must perform the following steps:


Note We recommend that you run your MML sessions from the active Cisco MGC, unless the procedure indicates otherwise.



Step 1 Log in to the active Cisco MGC.

Step 2 Enter the following command at the UNIX prompt:

mml

If you receive an error message indicating that sessions are already in use, enter the following command:

mml -s session number

Use any session number from 2 through 12 and repeat until you find a vacant session. Once you have successfully started an MML session, the prompt changes to:

machine_name mml>


Verifying the Platform State of the Cisco MGC Hosts

You can determine which of your Cisco MGC hosts is the active Cisco MGC and which is the standby Cisco MGC. If your system uses a Cisco MGC in a simplex configuration, the single Cisco MGC host is always active. To do this, complete the following steps:


Step 1 Log into one of the Cisco MGCs, start an MML session, and enter the following command to determine its platform state:

rtrv-ne

The system should return a message, similar to the following, if it is currently the active Cisco MGC:

   Media Gateway Controller 2000-03-29 14:15:22
M  RTRV
   "Type:MGC"
   "Hardware platform:sun4u sparc SUNW,Ultra-5_10"
   "Vendor:"Cisco Systems, Inc.""
   "Location:Media Gateway Controller"
   "Version:"7.4(12)""
   "Platform State:ACTIVE"

The valid values for the Platform State field are ACTIVE, STANDBY, or OOS.

Step 2 Log into the other Cisco MGC, start an MML session, and enter the following command to determine its platform state:

rtrv-ne

The system should return a message that indicates that it is in either the active or standby platform state.

If the Cisco MGC hosts have changed their platform state, determine why the switchover occurred by searching the contents of the active system log file, as described in the "Viewing System Logs" section.

If the platform state of either Cisco MGC host is OOS, check the alarms as described in the "Monitoring the Alarms Status" section, and take the actions necessary to correct the condition that caused the associated alarm(s). The alarms that require you to take corrective action and their associated actions can be found in the "Alarm Troubleshooting Procedures" section. A complete listing of alarms can be found in the Cisco Media Gateway Controller Software Release 7 Messages Reference Guide.

If the platform state of both Cisco MGC hosts is active, proceed to Step 4.

Step 3 Verify that the active configuration has not changed by entering the following UNIX commands:

cd /opt/CiscoMGC/etc
ls -l

The system returns a response similar to the following:

total 35350
-rw-r--r--   1 mgcusr mgcgrp     38240 May  8 10:46 02.trigger
-rw-rw-r--   1 mgcusr   mgcgrp     20488 Oct 10  2000 64eisup.bat
lrwxrwxrwx   1 mgcusr   mgcgrp        43 Aug  1 18:55 active_link -> 
/opt/CiscoMGC/etc/CONFIG_LIB/CFG_pol-addipl
-rw-rw-rw-   1 mgcusr   mgcgrp     30907 Jul 24 15:29 alarmCats.dat
-rw-rw-rw-   1 mgcusr   mgcgrp      2064 Jun  4 10:57 alarmTable.dat
-rw-rw-rw-   1 mgcusr   mgcgrp         0 Jun  4 10:57 auxSigPath.dat

Identify the active_link file. The listing indicates which configuration is currently active. The active configuration in the example is CFG_pol-addipl.

If the configuration has changed, you may want to compare the active configuration to the previous configuration.

Step 4 Contact the Cisco Technical Assistance Center (TAC) for assistance. Refer to the "Obtaining Technical Assistance" section for more information on contacting the Cisco TAC.


Verifying That Processes Are Running

To verify that the processes on your Cisco MGC are running, perform the following steps:


Step 1 Log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-softw:all

The system returns a response similar to the following:

Media Gateway Controller - MGC-04 2000-04-05 08:06:03
M  RTRV
   "CFM-01:RUNNING ACTIVE"
   "ALM-01:RUNNING ACTIVE"
   "MM-01:RUNNING ACTIVE"
   "AMDMPR-01:RUNNING ACTIVE"
   "CDRDMPR-01:RUNNING ACTIVE"
   "DSKM-01:RUNNING IN N/A STATE"
   "MMDB-01:RUNNING IN N/A STATE"
   "POM-01:RUNNING ACTIVE"
   "MEASAGT:RUNNING ACTIVE"
   "OPERSAGT:RUNNING ACTIVE"
   "PROVSAGT:RUNNING ACTIVE"
   "MGCP-1:RUNNING IN N/A STATE"
   "Replic-01:RUNNING ACTIVE"
   "ENG-01:RUNNING ACTIVE"
   "IOCM-01:RUNNING ACTIVE"
   "TCAP-01:RUNNING IN N/A STATE"
   "FOD-01:RUNNING IN N/A STATE"
   "EISUP-1:RUNNING IN N/A STATE"
   "SS7-A-1:RUNNING IN N/A STATE"


Note If this MML command is entered on the standby Cisco MGC, the state of the processes is either RUNNING STANDBY or RUNNING IN N/A STATE.


Step 2 If any of the processes are initializing, wait a few moments and repeat Step 1. If that process is still initializing, contact the Cisco TAC for assistance. Refer to the "Obtaining Technical Assistance" section for more information on contacting the Cisco TAC.

If any of the processes are stopped, contact the Cisco TAC for assistance. Refer to the "Obtaining Technical Assistance" section for more information on contacting the Cisco TAC.


Understanding Processes

The Cisco MGC software contains processes and process groups that perform various functions. These functions include managing the I/O channels; generating alarms, call detail records (CDRs), and logs; and performing signal conversion. All these processes are managed by the process manager process of the Cisco MGC software.

Three different monitoring levels are offered:

Active process—Controlled and monitored directly by the process manager.

Passive process—Does not communicate with the process manager.

Monitoring process—Periodically runs an executable or script and sets or clears an alarm based on the return code. This type of process can monitor other processes or tasks that can be checked programmatically. Some examples are the amount of available disk space, system daemon existence, and established process dependency.

Table 3-1 shows the system processes and process groups controlled by the process manager.

Table 3-1 Processes Controlled by the Process Manager 

Group
Process
Description
ENGG-01
Engine Group
 

Replic-01

Replicator controller. It is an active process. If it should go down, it causes a critical out-of-service alarm.

 

ENG-01

Call engine. It is an active process. If it should go down, the system cannot process calls. Its failure causes a critical out-of-service alarm.

IOSG-01
I/O Subsystem Group
 

IOCC-01

I/O channel controller. It is a passive process. If it should go down, it causes a critical out-of-service alarm.

 

IOCC-02

I/O channel controller. It is a passive process. If it should go down, it causes a critical out-of-service alarm.

 

IOCM-01

I/O channel manager. It is a passive process. If it should go down, it causes a major out-of-service alarm.

 

TCAP-01

TCAP and SCCP protocol handler. It is a passive process. If it should go down, it causes a major out-of-service alarm.

XEG-01
Execution Environment Group
 

CFM-01

Configuration manager. It is an active process. If it should go down, it causes a major out-of-service alarm.

 

ALM-01

Alarm manager. It is an active process. If it should go down, it causes a major out-of-service alarm.

 

AMDMPR-01

Alarm and measurement dumper. It is an active process. If it should go down, it causes a major out-of-service alarm.

 

MM-01

Measurement manager. It is an active process. If it should go down, it causes a major out-of-service alarm.

 

CDRDMPR-01

CDR dumper. It is an active process. If it should go down, it causes a major out-of-service alarm.

 

MMDB-01

TimesTen database. It is a passive process. If it should go down, it causes a minor out-of-service alarm.

 

POM-01

Provisioning object manager. It is an active process. If it should go down, it causes a major out-of-service alarm.

FTG-01
Failover Group
 

FOD-01

Failover controller. It is a monitoring process. If it should go down, it causes a minor out-of-service alarm.

PFMG-01
Platform Monitoring Group
 

DSKM-01

Disk space monitor. This shell script monitors disk space and trims back older files in case the current amount of free space is below a specified threshold. This is a monitoring process. If it should go down, it causes a minor out-of-service alarm.

SNMPG-01
SNMP Group
 

MEASAGT

Measurements SNMP agent. This is an active process. If it should go down, this is a major out-of-service alarm.

 

PROVSAGT

Provisioning SNMP Agent. This is an active process. If it should go down, this is a major out-of-service alarm.

 

OPERSAGT

Operational SNMP Agent. This is an active process. If it should go down, this is a major out-of-service alarm.


Monitoring the Alarms Status

If you monitor the alarm status of the Cisco MGC continuously, you can determine how often a particular alarm occurs in a specific period of time. To monitor the alarm status of the Cisco MGC on a continuous basis, perform the following steps:


Step 1 Log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-alms::cont

The system returns a response that shows all active alarms:

Media Gateway Controller 2000-02-26 11:41:01
M  RTRV
   "LPC-01: 2000-02-26 09:16:07.806,"
   "LPC-01:ALM=\"SCMGC MTP3 COMM FAIL\",SEV=MJ"
   "IOCM-01: 2000-02-26 09:17:00.690,"
   "IOCM-01:ALM=\"Config Fail\",SEV=MN"
   "MGC1alink2: 2000-02-26 09:17:47.224,ALM=\"SC FAIL\",SEV=MJ"
   "MGC1alink3: 2000-02-26 09:17:47.225,ALM=\"SC FAIL\",SEV=MJ"
   "MGC1alink4: 2000-02-26 09:17:47.226,ALM=\"SC FAIL\",SEV=MJ"
   "MGC2alink1: 2000-02-26 09:17:47.227,ALM=\"SC FAIL\",SEV=MJ"
   "MGC2alink2: 2000-02-26 09:17:47.227,ALM=\"SC FAIL\",SEV=MJ"
   "MGC2alink4: 2000-02-26 09:17:47.229,ALM=\"SC FAIL\",SEV=MJ"
   "dpc5: 2000-02-26 09:17:47.271,ALM=\"PC UNAVAIL\",SEV=MJ"
   "ls3link1: 2000-02-26 09:16:28.174,"
   "ls3link1:ALM=\"Config Fail\",SEV=MN"
   "ls3link1: 2000-02-26 09:18:59.844,ALM=\"SC FAIL\",SEV=MJ"

Step 2 If an alarm appears, you can determine the appropriate course of action by referring to the listing for that alarm in the Cisco Media Gateway Controller Software Release 7 Messages Reference Guide. Detailed descriptions of the actions required to resolve the problems associated with the alarm are found in "Troubleshooting the Cisco MGC Node."

You can also find additional information on the conditions that caused the alarms by viewing the system logs. The logs can be viewed using the log viewer, part of the Cisco MGC viewer toolkit. For information on using the log viewer, see the "Using the Log Viewer" section.


Note Once you have begun monitoring alarms continuously, you will need to open another MML session to perform any additional tasks. Refer to the "Starting an MML Session" section for more information on starting additional MML sessions.



Understanding Alarms

The following subsections describe each of the message components for the typical alarm response shown below:

"LPC-01: 2000-02-26 09:16:07.806,"
"LPC-01:ALM=\"SCMGC MTP3 COMM FAIL\",SEV=MJ"
"IOCM-01: 2000-02-26 09:17:00.690,"
"IOCM-01:ALM=\"Config Fail\",SEV=MN"
"MGC1alink2: 2000-02-26 09:17:47.224,ALM=\"SC FAIL\",SEV=MJ"
"MGC1alink3: 2000-02-26 09:17:47.225,ALM=\"SC FAIL\",SEV=MJ"

Component ID

The first element of the alarm message identifies the system component that generated the alarm, using the customer-defined description of the component given during system configuration. In our example, these are LPC-01, IOCM-01, MGC1alink2, and MGC1alink3.

All system components are described in the Cisco Media Gateway Controller Software Release 7 Provisioning Guide.

Time Stamp

The second element of the alarm message identifies the time of the alarm by year, month, day, hour, minute, hundredths, and thousandths of a second (milliseconds). The time displayed is the system time. In the example, these would be 2000-02-26 09:16:07.806, 2000-02-26 09:17:00.690, 2000-02-26 09:17:47.224, and 2000-02-26 09:17:47.225.

Alarm Category

The third element of the alarm message identifies the alarm category. It indicates the MML description of the alarm/event. In our example:

ALM=\"SCMGC MTP3 COMM FAIL\" indicates an SCMGC-MTP3 communications failure.

ALM=\"Config Fail\" indicates a configuration failure.

ALM=\"SC FAIL\" indicates a signal channel failure.

Severity Level

The last element of the alarm message identifies the severity level of the alarm. The four levels are

Critical (CR)—A serious problem exists in the network. Critical alarms cause a switchover, where the active Cisco MGC switches processing to the standby Cisco MGC. Because critical alarms affect service, they should be cleared immediately.


Caution Critical alarms cause the system to automatically switchover. While a switchover is in progress, new calls are dropped and in-progress calls are sustained.

Major (MJ)—A problem exists that disrupts service. Major alarms should be cleared immediately. These alarms differ from critical alarms in that they do not cause a switchover from the active
Cisco MGC to the standby Cisco MGC.

Minor (MN)—Minor alarms should be noted and cleared as soon as possible. You might also want to research how often this alarm is appearing, because it may be an indicator of a bigger problem.

Informational (IN)—This severity level applies to messages that provide information about typical events and conditions. Informational messages do not require corrective action. Examples are timer expirations, values that have exceeded preset thresholds, and unexpected responses from endpoints to signaling messages sent by the Cisco MGC. Events with a severity level of informational are retrieved only by the SNMP Manager.

Verifying the Status of all Destinations

To verify the status of all of the destination point codes (DPCs) provisioned on your Cisco MGC, perform the following steps:


Step 1 Log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-dest:all

The system returns a response similar to the following:

   Media Gateway Controller - MGC-04 2000-04-05 08:05:36
M  RTRV
   "dpc1:PKG=SS7-ANSI,ASSOC=SWITCHED,PST=IS,SST=UND"
   "dpc2:PKG=SS7-ANSI,ASSOC=SWITCHED,PST=IS,SST=UND"
   "dpc3:PKG=SS7-ANSI,ASSOC=SWITCHED,PST=IS,SST=UND"
   "dpc4:PKG=SS7-ANSI,ASSOC=SWITCHED,PST=IS,SST=UND"
   "dpc5:PKG=SS7-ANSI,ASSOC=SWITCHED,PST=IS,SST=UND"
   "dpc6:PKG=SS7-ANSI,ASSOC=SWITCHED,PST=IS,SST=UND"
   "eisupftsvc:PKG=EISUP,ASSOC=SWITCHED,PST=IS,SST=UND"
   "eisupsvc1:PKG=EISUP,ASSOC=SWITCHED,PST=IS,SST=UND"


Note If the rtrv-dest:all MML command is entered after a switchover has occurred, the state of some of the destinations might be listed as undefined (UND). UND is the default state for a destination when the system starts. In this instance, UND states indicate that the Cisco MGC has not received a service state message from the associated destination since the switchover occurred. No user action is required.


Step 2 If the primary service state is not IS for any of the destinations, check your alarms retrieval MML session for signaling-related alarms. The method for setting up an alarms retrieval MML session is described in the "Monitoring the Alarms Status" section.

If a signaling-related alarm appears, you can determine the appropriate course of action by searching for the corrective actions for that alarm in the "Alarm Troubleshooting Procedures" section. If the alarm is not in that section, corrective action is not required. More information on the alarm can be found in the Cisco Media Gateway Controller Software Release 7 Messages Reference Guide.

You can also find additional information on the conditions that caused the alarms by viewing the system logs. The logs can be viewed using the log viewer, part of the Cisco MGC viewer toolkit. For information on using the log viewer, see the "Using the Log Viewer" section.



Note You can use the also use the rtrv-dest MML command to retrieve information on individual destinations. For more information, refer to the Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide.


Understanding the Destination State Information

The following sections describe the information returned by the system when you enter the rtrv-dest command, as in the example below:

"dpc1:PKG=SS7-ANSI,ASSOC=SWITCHED,PST=IS,SST=UND"
"dpc2:PKG=SS7-ANSI,ASSOC=SWITCHED,PST=IS,SST=UND"
"dpc3:PKG=SS7-ANSI,ASSOC=SWITCHED,PST=IS,SST=UND"

Destination

The first field lists the MML name of the DPC. In the above example, this is dpc1, dpc2, and dpc3

Package

The PKG field lists the protocol package associated with the destination. In the example, the protocol is SS7-ANSI.

Association

The ASSOC field shows the type of association, either unknown, switched, or a specific channel for the destination. In the example, the association type is SWITCHED.

Primary Service State

The PST field shows the current primary service state of the destination. In the example, all of the destinations have a primary service state of IS. Table 3-2 lists the valid primary service state values:

Table 3-2 DPC Primary Service States 

Link State ID
Link State
Description

AOOS

Automatically out-of-service

The system has taken the DPC out-of-service (OOS).

INB

Install busy

When a system is first configured, all signaling links default to this state and must be manually set in-service (IS) through the use of the set-sc-state MML command.

IS

In-service

The link to the DPC is IS and fully operational. This is its normal operating state.

MOOS

Manually out-of-service

The link to the DPC has been manually taken OOS.

OOS

Out-of-service

The link to the DPC is OOS from the remote end. The system is actively trying to restore the link.

TRNS

Transient

The state of the link to the DPC is currently being changed.

UNK

Unknown

The state of the link to the DPC is not known.


Secondary Service State

The SST field shows the current secondary service state of the specified destination. In the example, all of the DPCs have a secondary service state of UND. The valid states are listed below:

CEA—Commanded into emergency alignment.

CIS—Commanded in service.

CONG—Congestion.

COOS—Commanded out of service.

CINH—Commanded to the inhibited state.

CRTE—Created.

CUINH—Commanded to the uninhibited state.

DLT—Deleted.

EIS—Engine in service.

EOOS—Engine out of service.

FLD—Failed.

FOOS—Forced out of service.

RST—Reset.

RSTO—Restored.

UND—Undefined.


Note If the rtrv-dest:all MML command is entered after a switchover has occurred, the state of some of the destinations might be listed as undefined (UND). UND is the default state for a destination when the system starts. In this instance, UND states indicate that the Cisco MGC has not received a service state message from the associated destination since the switchover occurred. No user action is required.


Verifying State of all SS7 Routes

To verify the status of all of the SS7 routes provisioned on your Cisco MGC, perform the following steps:


Step 1 Log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-rte:all

The system returns a message similar to the following:

MGC-01 - Media Gateway Controller 2001-05-22 11:35:46
M  RTRV
   "dpc1:linkset1,APC=244.001.040,PRIO=1,PST=IS,SST=NA"
   "dpc1:linkset2,APC=244.002.040,PRIO=1,PST=IS,SST=NA"
   "dpc2:linkset1,APC=244.001.041,PRIO=1,PST=IS,SST=NA"
   "dpc2:linkset2,APC=244.002.041,PRIO=1,PST=IS,SST=NA"
   "dpc4:linkset1,APC=244.001.044,PRIO=1,PST=IS,SST=NA"
   "dpc4:linkset2,APC=244.002.044,PRIO=1,PST=IS,SST=NA"

Step 2 If the primary service state is not IS for any of the routes, check your alarms retrieval MML session for signaling-related alarms. The method for setting up an alarms retrieval MML session is described in the "Monitoring the Alarms Status" section.

If a signaling-related alarm appears, you can determine the appropriate course of action by searching for the corrective actions for that alarm in the "Alarm Troubleshooting Procedures" section. If the alarm is not in that section, corrective action is not required. More information on the alarm can be found in the Cisco Media Gateway Controller Software Release 7 Messages Reference Guide.

You can also find additional information on the conditions that caused the alarms by viewing the system logs. The logs can be viewed using the log viewer, part of the Cisco MGC viewer toolkit. For information on using the log viewer, see the "Using the Log Viewer" section.


Understanding the SS7 Route State Information

The following sections describe the information returned by the system when you enter the rtrv-rte command, as shown in the example below:

"dpc1:linkset1,APC=244.001.040,PRIO=1,PST=IS,SST=NA"
"dpc1:linkset2,APC=244.002.040,PRIO=1,PST=IS,SST=NA"
"dpc2:linkset1,APC=244.001.041,PRIO=1,PST=IS,SST=NA"
"dpc2:linkset2,APC=244.002.041,PRIO=1,PST=IS,SST=NA"

Point Code

The first field lists the MML name for the target point code associated with the SS7 route. In the example, the point codes are dpc1 and dpc2.

Linkset

The second field lists the MML name for the linkset associated with the SS7 route. In the example, the linksets are linkset1 and linkset 2.

Adjacent Point Code

The APC field lists the point code for the adjacent point code (APC) associated with the SS7 route. In the example there are four point codes:

244.001.040

244.002.040

244.001.041

244.002.041

Priority

The PRIO field lists the priority provisioned for this SS7 route. In the example, all of the SS7 routes have a priority of 1.

Primary Service State

The PST field shows the current primary service state of the destination. In the example, all of the SS7 routes have a primary service state of IS. Table 3-2 lists the valid primary service state values:

Table 3-3 SS7 Route Primary Service States 

Link State ID
Link State
Description

AOOS

Automatically out-of-service

The system has taken the SS7 route out-of-service (OOS).

INB

Install busy

When a system is first configured, all signaling links default to this state and must be manually set in-service (IS) through the use of the set-sc-state MML command.

IS

In-service

The SS7 route is IS and fully operational. This is its normal operating state.

MOOS

Manually out-of-service

The SS7 route has been manually taken OOS.

OOS

Out-of-service

The SS7 route is OOS from the remote end. The system is actively trying to restore the link.

TRNS

Transient

The state of the link to the DPC is currently being changed.

UNK

Unknown

The state of the link to the DPC is not known.


Secondary Service State

The SST field shows the current secondary service state of the specified destination. In the example, all of the SS7 routes have a primary service state of NA. The valid states are listed below:

ACKD—SS7 Acknowledgement delay

BSNR—SS7 backward sequence number received (BSNR)

CIS—Commanded in service

CONF—Configuration failure

COOS—Commanded out of service

ENGR—Call engine reset

ISPEND—In service, pending

LCNG—Congestion, local

LINE—Line failure

LINH—SS7 local inhibit

LINK—Link failure

LINS—Linkset failure

NA—Cause not available

OOSPEND—Out of service, pending

PRHB—SS7 prohibited

RBLK—SS7 remote blocked

RCNG—Congestion, remote

RINH—SS7 remote inhibit

RSTR—SS7 restricted

SERR—SS7 signal error

STBY—Cause standby

SUPPENT—Supporting entity

TPATH—Traffic path

UNK—Cause unknown

Verifying CIC States

We recommend verifying the status of your circuit identification codes (CICs) in groups, to ensure that you have current state information. Retrieving the status of all of your CICs at once can take a while to obtain, and then a long time to page through.

To verify the status of CICs provisioned on your Cisco MGC in groups, perform the following steps:


Step 1 Log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-cic:dest_pc:cic=number[,rng=range]

Where:

dest_pc—MML name of the DPC associated with the CICs to be displayed.

number—A valid CIC number.

range—Specifies a range of CICs to be retrieved. The status of all CICs between number and number+range are displayed.

For example, the MML command listed below retrieves bearer channel information for CICs 1-20 on destination point code dpc1:

rtrv-cic:dpc1:cic=1,rng=20

When the Cisco MGC software is used on a nailed network, the system returns a response similar to the following:

   Media Gateway Controller - MGC-04 2000-04-05 08:05:54
M  RTRV
	"dpc1:CIC=1,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=2,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=3,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=4,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=5,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=6,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=7,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=8,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=9,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=10,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=11,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=12,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=13,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=14,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=15,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=16,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=17,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=18,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=19,PST=IS,CALL=IDLE,BLK=NONE"
	"dpc1:CIC=20,PST=IS,CALL=IDLE,BLK=NONE"

When the Cisco MGC software is used on a switched network, the system returns a response similar to the following:

   Media Gateway Controller - MGC-04 2000-04-05 08:05:54
M  RTRV
   "dpc1:CIC=10,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=11,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=12,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=13,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=14,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=15,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"

Step 2 If the primary service state is not IS for any of the CICs, or a CIC is blocked, check your alarms retrieval MML session for bearer-related alarms. The method for setting up an alarms retrieval MML session is described in the "Monitoring the Alarms Status" section.

If a bearer channel-related alarm appears, you can determine the appropriate course of action by searching for the corrective actions for that alarm in the "Alarm Troubleshooting Procedures" section. If the alarm is not in that section, corrective action is not required. More information on the alarm can be found in the Cisco Media Gateway Controller Software Release 7 Messages Reference Guide.


Understanding CIC States

The elements of the output from the rtrv-cic MML command is described in the paragraphs that follow.

Circuit Identification

The output of this command identifies the MML name of the associated signaling channel and the number for each CIC.

Primary Service State

The PST field shows the current primary service state of the CIC. Table 3-4 lists the valid primary service state values:

Table 3-4 CIC Primary Service States 

Link State ID
Link State
Description

IS

In-service

The traffic channel or CIC is IS and fully operational. This is its normal operating state.

OOS

Out-of-service

The traffic channel or CIC is OOS from the remote end. The system is actively trying to restore the link. Individual CICs can be OOS even if the destination is IS, due to signaling events such as Q.931 service messages.


Call State

The CALL field identifies the current call state of each CIC. After a call is initiated, a circuit does not return to the Idle (available) state until all related release signaling is satisfactorily completed (the correct release sequence). In and Out call states indicate that the CIC is not available for new calls. Table 3-5 describes the various call states.

Table 3-5 CIC Call States

State
Description

In

Incoming call is in progress. Bearer channel is not available for new call.

Out

Outgoing call is in progress. Bearer channel is not available for new call.

Idle

Circuit is available for use.


Media Gateway State

The GW_STAT field identifies the current state of the media gateway associated with each CIC. Table 3-6 describes the various media gateway states.

Table 3-6 Media Gateway States 

State
Description

CARRIER_FAILURE

A carrier has failed. This is no longer a valid state as of Release 7.4(12).

INTERFACE_FAILURE

This state is valid in Release 7.4(12) and up. An individual CIC has failed. If this state is seen for all CICs associated with a T1 or E1, this indicates that the associated T1 or E1 has failed.

GW_HELD

The call has been held at the media gateway

CXN_IS

The connection is in service

CXN_OOS_ACTIVE

The connection is out of service on the active system

CXN_OOS_STANDBY

The connection is out of service on the standby system


Circuit Block Type

The BLK field identifies the type of circuit block that has been placed on the CIC. Blocked circuits are not available for calls. Table 3-7 describes the valid circuit block types.

Table 3-7 Circuit Block Types

Type
Description

GATEWAY

Locally blocked due to a media gateway event (for example, a media gateway interface fails causing an RSIP message to be sent, but the associated CICs remain in-service or when an RSIP message is not acted upon due to a mismatch between the MGCP host name in the RSIP string and the host name provisioned in the media gateway). If the associated switch is not responding to group unblock messages, the CICs stay in the GATEWAY circuit block state. Your CICs will be in this state when you bring up the Cisco MGC or media gateway. Once the associated switch acknowledges the unblock message, the CICs are taken out of this state. If the CICs stay in the GATEWAY circuit block state, troubleshoot the problem with the media gateway. As of Release 7.4(12), this value is used only for switched systems.

MATE_UNAVAIL

This state is valid in Release 7.4(12) and up, used only in nailed-up systems. Locally blocked due to a media gateway event (for example, a group service message received from the media gateway or the media gateway is out of service). If the associated switch is not responding to group unblock messages, the CICs stay in the MATE_UNAVAIL circuit block state. Your CICs will be in this state when you bring up the Cisco MGC or media gateway. Once the associated switch acknowledges the unblock message, the CICs are taken out of this state. If the CICs stay in the MATE_UNAVAIL circuit block state, troubleshoot the problem with the media gateway.

LOCAUTO

Hardware blocking type—the CIC is blocked by an external message generated by a network element outside the media gateway.

REMAUTO

Remotely automatically blocked.

LOCMAN

Blocked manually using an MML command, such as blk-cic. This is removable using the unblk-cic or reset-cic MML commands.

REMMAN

Remotely blocked manually.

LOCUNK

Locally blocked for unknown reasons. This indicates a potential software problem whereby a CIC has become blocked but the software did not track the cause of the blocking.

COT_FAIL

This state is valid in Release 7.4(12) and up. Blocked because a continuity test failed on the CIC.

INTERFACE_DISABLED

The interface is disabled because the system received a CGB message or a new service has been started which is still in the install busy (INB) state.

NONE

There is no block on the CIC. DS0 is available for use.



Note Block types are additive: for example, LOCMAN (locally, manually blocked) and REMMAN (remotely, manually blocked) can both be active at the same time.


Verifying Available Disk Space

You should monitor the amount of disk space available on your Cisco MGC on a daily basis. The percentage of disk space capacity used should always be below 90 percent capacity. If your system's percentage of disk space capacity used 90 percent or higher, you must delete files from your disk drive. To verify your available disk space, perform the following steps:


Step 1 Log in to the active Cisco MGC, and enter the following UNIX command to check the amount of available disk space on your system:

df -k

The system returns a response similar to the following:

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s0    1018191  114909  842191    13%    /
/dev/dsk/c0t0d0s4    2056211  422774 1571751    22%    /usr

If the response to the command indicates a percentage of disk space capacity used 90 percent or higher, you must delete files from your disk drive, as described in the "Deleting Unnecessary Files to Increase Available Disk Space" section.

Step 2 Repeat Step 1 and assess the command response. If the response indicates that the disk space usage is now below 90 percent of its capacity, then this procedure is complete. Otherwise, continue to delete files from your disk drive, as described in the "Deleting Unnecessary Files to Increase Available Disk Space" section, until the disk space usage drops below 90 percent of its capacity.


Verifying Available Virtual Memory

The operating system used on the Cisco MGC hosts, Solaris 2.6, is a virtual memory system. A virtual memory system adds to the available memory by writing the contents of an unused block of memory to the disk drive, enabling that block of memory to be used for another purpose. The space on the disk drive dedicated to this function is known as the swap space. Once the data in that block of memory is needed again, the system reads the stored block from the swap space back into memory.

In a typical Cisco MGC installation, the tmp directory (/tmp) is a temporary file system mount that coexists in the same physical disk partition as the swap space. The tmp directory is used to run a number of special files, such as FIFOs, that are required for the system to run properly. As the amount of space allocated to the tmp directory increases, the amount of space available for running Cisco MGC processes decreases, which can cause functional problems. You need to ensure that the amount of space consumed by the tmp directory is kept to a minimum.


Caution Do not copy other files into the /tmp directory, such as patches or other software. Use of this directory for temporary storage or for downloading can cause functional problems with the Cisco MGC software.

To determine the amount of available virtual memory, you must compare the amount of virtual memory in use to the maximum amount of virtual memory for your system. To do this, perform the following steps:


Note Be aware that the time of day at which you enter these commands effects the overall accuracy of the response. If you enter these commands during your busiest hours, the amount of available virtual memory could be quite small, but this may not indicate a need to contact the Cisco TAC.

If this is the case, consider also performing this procedure during a less active call processing time, to determine an average amount of available virtual memory.



Step 1 The maximum amount of virtual memory is the sum of the physical memory and the size of the swap space. To determine the amount of physical memory on your system, log in to the active Cisco MGC and enter the following UNIX commands:

cd /usr/sbin
prtconf | grep Memory

The system returns a response similar to the following:

Memory size: 512 Megabytes

Step 2 To determine the size of the swap space on the disk drive, enter the following UNIX command:

swap -s

The system returns a response similar to the following:

total: 57944k bytes allocated + 552816k reserved = 610760k used, 1359904k available

Step 3 Add the amount of physical memory to the amount of swap space. This value is the maximum virtual memory for your system.

Step 4 To determine the amount of available virtual memory, enter the following UNIX command:

vmstat 

The system returns a response similar to the following:

procs     memory            page            disk          faults      cpu
 r b w   swap  free  re  mf pi po fr de sr s0 s1 s6 --   in   sy   cs us sy id
 0 0 0   3176 22320   0   1  0  0  0  0  0  0  0  0  0  131  116  104  0  1 99

The amount of swap and free memory listed in the response (3176 and 22,320 in the above example) represents the total amount of available virtual memory. This amount should always be greater than 10 percent of the maximum virtual memory. If this is not the case, proceed to Step 5.


Note You also can use this command to check the available virtual memory repeatedly. Enter it in the format vmstat n, where n is the number of seconds between checks. Refer to the man pages on the vmstat command for more information.

When the vmstat command is used to check the available virtual memory repeatedly, you should ignore the first line of output.


Step 5 Contact the Cisco TAC for assistance. Refer to the "Obtaining Technical Assistance" section for more information on contacting the Cisco TAC.


Verifying Available RAM

You should check the amount of available RAM on the Cisco MGC on a daily basis. To do this, perform the following steps:


Step 1 Log in to the active Cisco MGC, and enter the following UNIX command to check the amount of available RAM on your system:

dmesg | grep mem

The system returns a response similar to the following:

mem = 2097152K (0x80000000)
avail mem = 2088370176

If the response indicates that you have plenty of memory available, the procedure is complete. If the response indicates that your system has a small amount of available memory, you may need to add additional memory to your Cisco MGC to handle your system's call processing load.


Note Be aware that the time of day at which you enter this command will have an effect on the overall accuracy of the response. If you enter this command during your busiest hours, the amount of available memory could be quite small, but this may not indicate a need to add additional memory.

If this is the case, consider also performing this procedure during a less active call processing time, to determine an average amount of available memory.


Step 2 Refer to your Sun Netra documentation for more information on how to add additional memory to a Cisco MGC host.


Verifying CPU Utilization Level

You should check the CPU utilization level on the Cisco MGC on a daily basis. To do this, log into the active Cisco MGC and enter the following UNIX command:

ps -ef -o user,pid,pcpu -o args

The system returns a response similar to the following:

va-herring% ps -ef -o user,pid,pcpu -o args
    USER   PID %CPU COMMAND
    root     0  0.0 sched
    root     1  0.0 /etc/init -
    root     2  0.0 pageout
    root     3  0.1 fsflush
    root   176  0.0 /usr/sbin/ntpdate -s -w 172.24.239.41 171.69.10.2 171.69.4.143 
172.24.24.16 198
    root   152  0.0 /usr/lib/nfs/lockd
    root   727  0.0 /usr/lib/saf/sac -t 300
    root   175  0.0 /sbin/sh /etc/rc2.d/S74xntpd start
    root   120  0.0 /usr/sbin/keyserv
    root   118  0.0 /usr/sbin/rpcbind
    root   190  0.0 /usr/sbin/nscd
    root   145  0.0 /usr/sbin/inetd -s
  daemon   150  0.0 /usr/lib/nfs/statd
    root   167  0.0 /usr/lib/autofs/automountd
    root   171  0.2 /usr/sbin/syslogd
    root   324  0.0 /usr/sbin/rpc.bootparamd
    root   184  0.0 /usr/sbin/cron
    root 29986  0.0 in.rlogind
    root   200  0.0 /usr/lib/lpsched
    root   731  0.0 /usr/lib/saf/ttymon
    root  9560  0.0 /opt/TimesTen32/32/bin/timestensubd -id 7
    root   218  0.0 /usr/lib/power/powerd
    root   228  0.0 /usr/lib/utmpd
  mgcusr  9991  0.0 ../bin/cdrDmpr -X 30005
    root 11085  0.0 /opt/CiscoMGC/bin/hostagt
  mgcusr 29589  0.0 procM
    root 10935  0.0 /opt/TimesTen32/32/bin/timestenrepd -id 8 -datastore 
/opt/TimesTen32/datastore/
    root  6396  0.0 ps -ef -o user,pid,pcpu -o args
    root 10099  0.0 ../bin/foverd -X 30012
  mgcusr 10097  0.0 ../bin/SS7 -X 30011
  mgcusr 10095  0.1 ../bin/ISDNIP -X 3000c
  mgcusr 10000  0.0 ../bin/pom -X 30008
    root   294  0.0 /usr/sbin/vold
    root   728  0.0 /usr/lib/saf/ttymon -g -h -p va-herring console login:  -T sun -d 
/dev/console
    root   277  0.0 /usr/lib/sendmail -bd -q15m
    root 11089  0.0 /opt/CiscoMGC/bin/fsagt
    root   322  0.0 /usr/sbin/in.rarpd -a
    root  9553  0.0 /opt/TimesTen32/32/bin/timestensubd -id 0
  mgcusr 10096  0.0 ../bin/SS7 -X 30014
  mgcusr  9990  0.0 ../bin/amDmpr -X 30004
    root 11105  0.0 /opt/CiscoMGC/bin/snmpdm -tcplocal -d
  mgcusr 10039  0.0 ../bin/replicator -X 3000d -C ../etc/XECfgParm.dat -t
    root 10674  0.0 in.rlogind
    root 10046  0.0 ../bin/sagt -X 3000a
    root 27543  0.0 in.telnetd
    root  9558  0.0 /opt/TimesTen32/32/bin/timestensubd -id 5
    root  9557  0.0 /opt/TimesTen32/32/bin/timestensubd -id 4
  mgcusr 10094  0.0 ../bin/TCAP -X 30010
    root  9556  0.0 /opt/TimesTen32/32/bin/timestensubd -id 3
    root 11106  0.0 /opt/CiscoMGC/bin/mib2agt -d
    root 10042  0.0 ../bin/mmSAgt -X 30009
  mgcusr 10098  0.0 ../bin/SS7 -X 30013
    root 11092  0.0 /opt/CiscoMGC/bin/critagt -d
 haustin 10676  0.0 /usr/bin/tcsh
    root  9559  0.0 /opt/TimesTen32/32/bin/timestensubd -id 6
    root  9983  0.0 ../bin/almM -X 30002
    root  9554  0.0 /opt/TimesTen32/32/bin/timestensubd -id 1
    root  9555  0.0 /opt/TimesTen32/32/bin/timestensubd -id 2
  mgcusr 10092  0.0 ../bin/mmdbd -X 30007
  ipolat 28514  0.0 less platform_20010802040535.log
  mgcusr  9981  0.1 ../bin/LogServerd -X 30015
    root  9552  0.0 /opt/TimesTen32/32/bin/timestend
  mgcusr  9997  0.0 ../bin/measMgr -X 30003
 ricchen 29988  0.0 /usr/bin/tcsh
  mgcusr  9994  0.0 ../bin/cfgM -X 30001
  mgcusr 10034  0.0 ../bin/engine -X 3000e
    root 10049  0.0 ../bin/provSAgt -X 3000b
 ricchen 24054  0.0 mml
    root  1661  0.0 in.telnetd
  mgcusr  1663  0.0 -csh
  ipolat 27545  0.0 /usr/bin/tcsh
    root 10093  0.0 ../bin/ioChanMgr -X 3000f

Check the percentage of CPU resources used for each process (found in the %CPU column). The response from the command represents a snapshot of CPU utilization. We recommend entering the UNIX command repeatedly to construct a more accurate picture of CPU utilization. If a process is using a large amount of CPU resources over a extended period of time, you should contact the Cisco TAC for assistance. Refer to the "Obtaining Technical Assistance" section for more information on contacting the Cisco TAC.

Verifying the Number of Active Processes

You should check the number of active processes on the Cisco MGC on a daily basis. To do this, log into the active Cisco MGC and enter the following UNIX command:

ps -ef

The system returns a response similar to the following:

UID   PID  PPID  C    STIME TTY      TIME CMD
root     0     0  0 10:28:20 ?        0:00 sched
root     1     0  0 10:28:20 ?        0:27 /etc/init -
root     2     0  0 10:28:20 ?        0:00 pageout
root     3     0  0 10:28:20 ?        1:01 fsflush
root   174   173  0 10:29:03 ?        0:00 /usr/sbin/ntpdate -s -w 172.24.239.41
root   148     1  0 10:28:48 ?        0:00 /usr/lib/nfs/lockd
root   617     1  0 10:29:23 console  0:00 /usr/lib/saf/ttymon -g -h -p va-hoover console 
login:  -T sun -d /dev/console -
root   237     1  0 10:29:06 ?        0:00 /opt/TimesTen32/32/bin/timestend
root   116     1  0 10:28:36 ?        0:00 /usr/sbin/keyserv
root   114     1  0 10:28:36 ?        0:00 /usr/sbin/rpcbind
root   616     1  0 10:29:23 ?        0:00 /usr/lib/saf/sac -t 300
root   141     1  0 10:28:47 ?        0:00 /usr/sbin/inetd -s
daemon   146     1  0 10:28:48 ?        0:00 /usr/lib/nfs/statd
root   165     1  0 10:29:02 ?        0:11 /usr/lib/autofs/automountd
root   317     1  0 10:29:13 ?        0:00 /usr/sbin/rpc.bootparamd
root   169     1  0 10:29:02 ?        0:00 /usr/sbin/syslogd
root   173     1  0 10:29:02 ?        0:00 /sbin/sh /etc/rc2.d/S74xntpd start
root  2867   141  0 10:05:23 ?        0:00 in.telnetd
root   182     1  0 10:29:03 ?        0:00 /usr/sbin/cron
root   198     1  0 10:29:03 ?        0:00 /usr/lib/lpsched
root   227     1  0 10:29:05 ?        0:00 /usr/lib/utmpd
root   217     1  0 10:29:04 ?        0:00 /usr/lib/power/powerd
root   618     1  0 10:29:23 ?        0:00 /opt/CiscoMGC/bin/critagt -d
root   235     1  0 10:29:05 ?        0:00 /usr/lib/sendmail -bd -q15m
root   238   237  0 10:29:06 ?        0:00 /opt/TimesTen32/32/bin/timestensubd -id 0
root   239   237  0 10:29:06 ?        0:00 /opt/TimesTen32/32/bin/timestensubd -id 1
root   240   237  0 10:29:06 ?        0:00 /opt/TimesTen32/32/bin/timestensubd -id 2
root   241   237  0 10:29:06 ?        0:00 /opt/TimesTen32/32/bin/timestensubd -id 3
root   242   237  0 10:29:06 ?        0:00 /opt/TimesTen32/32/bin/timestensubd -id 4
root   243   237  0 10:29:06 ?        0:00 /opt/TimesTen32/32/bin/timestensubd -id 5
root   244   237  0 10:29:06 ?        0:00 /opt/TimesTen32/32/bin/timestensubd -id 6
root   245   237  0 10:29:06 ?        0:00 /opt/TimesTen32/32/bin/timestensubd -id 7
root   290     1  0 10:29:12 ?        0:00 /usr/sbin/vold
root   620   616  0 10:29:23 ?        0:00 /usr/lib/saf/ttymon
root   315     1  0 10:29:13 ?        0:01 /usr/sbin/in.rarpd -a
root   621   618  0 10:29:23 ?        0:05 /opt/CiscoMGC/bin/snmpdm -tcplocal -d
root   622   618  0 10:29:24 ?        0:00 /opt/CiscoMGC/bin/mib2agt -d
mgcusr   610     1  0 10:29:18 ?        0:02 procM
root   623   618  0 10:29:24 ?        0:00 /opt/CiscoMGC/bin/hostagt
root   624   618  0 10:29:24 ?        0:01 /opt/CiscoMGC/bin/fsagt
mgcusr   774   610  0 10:31:18 ?        0:17 ../bin/mmdbd -X 30007
mgcusr   626   610  0 10:29:24 ?        0:19 ../bin/LogServerd -X 30013
root   627   610  0 10:29:24 ?        0:05 ../bin/almM -X 30002
mgcusr   669   610  0 10:29:24 ?        0:08 ../bin/cdrDmpr -X 30005
mgcusr   637   610  0 10:29:24 ?        6:11 ../bin/amDmpr -X 30004
mgcusr   681   610  0 10:29:25 ?        0:11 ../bin/pom -X 30008
mgcusr   690   610  0 10:29:42 ?        0:02 ../bin/replicator -X 3000d -C ../ 
etc/XECfgParm.dat -t
mgcusr   670   610  0 10:29:24 ?        0:01 ../bin/cfgM -X 30001
mgcusr   673   610  0 10:29:25 ?        0:43 ../bin/measMgr -X 30003
mgcusr   689   610  0 10:29:42 ?        1:29 ../bin/engine -X 3000e
mgcusr   776   610  0 10:31:19 ?        0:01 ../bin/TCAP -X 30010
root   691   610  0 10:29:42 ?        0:01 ../bin/mmSAgt -X 30009
root   692   610  0 10:29:43 ?        0:04 ../bin/sagt -X 3000a
root   693   610  0 10:29:43 ?        0:01 ../bin/provSAgt -X 3000b
root   775   610  1 10:31:18 ?       37:37 ../bin/ioChanMgr -X 3000f
mgcusr   777   610  0 10:31:23 ?        0:12 ../bin/MGCP -X 30016
mgcusr   778   610  0 10:31:23 ?        0:27 ../bin/ISDNL3 -X 3000c
mgcusr   779   610  0 10:31:23 ?        0:26 ../bin/ISDNL3 -X 30011
mgcusr   780   610  0 10:31:23 ?        0:30 ../bin/ISDNL3 -X 30014
mgcusr   781   610  0 10:31:23 ?        0:01 ../bin/ISDNL3 -X 30015
mgcusr   782   610  0 10:31:23 ?        0:42 ../bin/SS7 -X 30017
root   783   610  0 10:31:23 ?        0:05 ../bin/foverd -X 30012
mgcusr2 5458  5456  0 11:07:28 pts/0    0:00 -tcsh
root  5456   141  0 11:07:28 ?        0:00 in.rlogind
root   367     1  0 14:21:02 ?        0:00 /usr/sbin/nscd
mgcusr  2869  2867  0 10:05:23 pts/1    0:00 -csh
root  3101  2869  0 10:06:49 pts/1    0:00 ps -ef

The response should indicate that there are between 60 and 100 processes active. If the response indicates that there are more than 100 active processes, you should contact the Cisco TAC for assistance. Refer to the "Obtaining Technical Assistance" section for more information on contacting the Cisco TAC.

Verifying the Number of Users

You should check the number of users on the Cisco MGC on a daily basis. To do this, log into the active Cisco MGC and enter the following UNIX command:

who

The system returns a response similar to the following:

mgcusr pts/0        May 29 11:07    (mgcusr-u5.somecompany.com)
mgcusr2 pts/1        May 30 10:05    (mgcusr2-u6.somecompany.com)

Only known login IDs should be listed in the response. If the response indicates that there are unknown login IDs, or login sessions that have lasted a very long time, you should contact the Cisco TAC for assistance. Refer to the "Obtaining Technical Assistance" section for more information on contacting the Cisco TAC.

Verifying Available Memory on the Cisco SLTs

You should check the amount of available memory on your Cisco Signaling Link Terminals (SLTs) on a daily basis. To do this, perform the following steps:


Step 1 Log in to a Cisco SLT, and enter the following IOS command to check the amount of available memory:

show mem

The system returns a response similar to the following:

                Head    Total(b)     Used(b)     Free(b)   Lowest(b) Largest(b)
Processor   80CF71E0    16813600     7885028     8928572     8900652 8891892
      I/O    1D00000    19922944     6975904    12947040    12938256 12937500

Ensure that the memory used is less than 90 percent of the total available memory. If this is the case, the procedure is complete. If the response indicates that the Cisco SLT has a small amount of available memory, you may need to add additional memory to the Cisco SLT to handle your system's call processing load.


Note Be aware that the time of day at which you enter this command will have an effect on the overall accuracy of the response. If you enter this command during your busiest hours, the amount of available memory could be quite small, but this may not indicate a need to add additional memory.

If this is the case, consider also performing this procedure during a less active call processing time, to determine an average amount of available memory.


Step 2 Refer to the "Upgrading DRAM" section for more information on how to add additional memory to a Cisco SLT.


Periodic Maintenance Procedures

This section contains procedures that are either performed on automatically, on a scheduled basis, by the system or should be performed by you on a regular basis to keep the Cisco MGC node operating smoothly. You should schedule the procedures that are performed manually as you see fit. These maintenance procedures include

Automatic Disk Space Monitoring

Automatic System Log Rotation

Rotating System Logs Manually

Creating a Disaster Recovery Plan

Backing Up System Software


Note This section does not include information on maintaining the Sun host server hardware. You should routinely perform general maintenance tasks and diagnostic checks on the host hardware. See the documentation provided by Sun Microsystems, the hardware manufacturer, for detailed information on these types of procedures.


Automatic Disk Space Monitoring

The Cisco MGC software includes a script called disk monitor (diskmonitor.sh) that periodically checks the amount of disk space used within the configurable set of disk partitions. Disk monitor ensures that there is sufficient disk space available in each disk partition for the system to continue to operate at peak performance. To do this, disk monitor deletes (trims) the older log files in the /opt/CiscoMGC/var/log and /opt/CiscoMGC/var/spool directories until the disk space usage is within the specified threshold (set using the XECfgParm.dat parameter, diskmonitor.Threshold).

The disk monitor can also track the number of configurations stored in the configuration library (which is found in the /opt/CiscoMGC/etc/CONFIB_LIB directory) and trim the older configurations when the number of configurations exceeds the maximum value you have set in the associated XECfgpParm.dat disk monitor parameter. The process manager runs the disk monitor script once every minute.

The process of administering the configuration library is handled automatically by the Cisco MGC software. The user sets the disk monitor parameter to establish the maximum number of configurations allowed in the configuration library, and the system will trim the older configurations as necessary.

Disk monitor is controlled using the following parameters in the XECfgParms.dat file:

diskmonitor.Limit—Specifies the number of days to preserve data before trimming is initiated. The default value is 7.

diskmonitor.OptFileSys —List of optional file systems to monitor. These files are not trimmed by disk monitor.

diskmonitor.Threshold —Specifies the percentage of disk usage at which alarming and disk trimming is initiated. The default value is 80.

diskmonitor.CdrRmFinished —Specifies how many days to keep finished (polled) call detail record (CDR) files. The default value is 0, which means that finished CDRs are immediately sent to the spool directory.

diskmonitor.SoftLimit —Specifies the action to be taken once the number of days threshold set in the diskmonitor.Limit parameter is reached. If this parameter is set to true, disk monitor decrements the value in the diskmonitor.Limit parameter one day at a time (that is, from 7 down to 6, and then down to 5, and so on) until the utilization level drops below the threshold. If this parameter is set to false, disk monitor closes and the system generates a DISK alarm. The files can then be deleted manually. The default value is false.

diskmonitor.CfgRmDirs—This parameter is added as of release 7.4(11). This parameter specifies the maximum number of configurations that can be stored in the configuration library. The valid values are the range of integers from 3 through 64. The default value is 64. Entering a value outside of the range of valid values disables monitoring of the number of entries stored in the configuration library. If you want to change the value of this parameter, you may need to add it manually to the XECfgParm.dat file.

As of Release 7.4(11), disk monitor performs the following steps in its inspection of disk utilization levels:

1. Verify that the standard and optional partitions, as defined in diskmonitor.OptFileSys, are not over the thresholds for disk utilization or the configuration library, as defined in diskmonitor.Threshold and diskmonitor.CfgRmDirs, respectively.

a. If neither threshold is exceeded, disk monitor exits.

b. If the disk utilization threshold is exceeded, disk monitor attempts to trim the files based on the number of days, as defined in diskmonitor.Limit.

c. If the configuration library threshold is exceeded, disk monitor trims the number of configuration files to match the setting in the diskmonitor.CfgRmDirs parameter, starting with the oldest.

2. Once files are trimmed, disk monitor verifies again that the standard and optional partitions are not over the thresholds for disk utilization and the configuration library.

a. If neither threshold is exceeded, disk monitor exits.

b. If the disk utilization threshold is exceeded, and diskmonitor.SoftLimit is set to false, the disk monitor is exited and a DISK alarm is raised.

c. If the disk utilization threshold is exceeded, and diskmonitor.SoftLimit is set to true, disk monitor begins decreasing the number of days that logs can be stored (the value defined in diskmonitor.Limit), stopping as soon as the disk is under the disk utilization threshold.

d. If the configuration library threshold is exceeded, disk monitor trims the number of configuration files to match the setting in the diskmonitor.CfgRmDirs parameter, starting with the oldest.

If any disk partition exceeds the configurable usage threshold, the Cisco MGC generates a DISK alarm (a major alarm), a warning of a disk partition overrun, and a warning of insufficient disk space. Refer to the "DISK" section for information about the corrective actions required to resolve a DISK alarm.

Some other files, such as call trace files, take up large amounts of disk space and are not trimmed by disk monitor. You may have to periodically delete call trace files. Call trace files are created when you perform call traces as part of troubleshooting a problem. These files can be rather large, and leaving them on your disk could cause problems. For more information about deleting call trace files, refer to the "Deleting Unnecessary Files to Increase Available Disk Space" section.


Caution If you are using software prior to Release 7.4(11), we recommend that you limit the number of configuration versions stored in the configuration library to 64. If you are storing a more than 64 system configurations, the state transition can fail during a switchover operation or use of the prov-sync MML command, and the standby Cisco MGC goes to an OOS state. For more information about administering the configuration library, refer to the "Using the Config-Lib Viewer" section.

Configuring Disk Monitor

Configuration of the disk monitor can only be done while the Cisco MGC software is turned off. For this reason, disk monitor is typically configured only during the initial installation. For more information on configuring the disk monitor during initial installation, refer to the XECfgParms.dat section of the Cisco Media Gateway Controller Software Release 7 Installation and Configuration Guide.

You can perform the configuration after initial installation. To do this, perform the following steps:


Caution Performing the following procedure requires that the Cisco MGC software be turned off. Do not attempt the following procedure without the guidance of the Cisco TAC. Refer to the "Obtaining Technical Assistance" section for more information about contacting the Cisco TAC.

If your system uses a single Cisco MGC in a simplex configuration, performing this procedure causes you to drop all calls.


Step 1 Determine whether any alarms are pending on the active Cisco MGC, as described in the "Retrieving All Active Alarms" section.

If any alarms are pending, you can determine the appropriate courses of action by searching for the corrective actions for those alarms in the "Alarm Troubleshooting Procedures" section. If the alarms are not in that section, corrective action is not required. More information on those alarms can be found in the Cisco Media Gateway Controller Software Release 7 Messages Reference Guide.

Step 2 Repeat Step 1 for the standby Cisco MGC.

Step 3 Modify the disk monitor parameters in the XECfgParm.dat files, which are listed below, on each host, using the procedure described in the "Rebooting Software to Modify Configuration Parameters" section.

diskmonitor.Limit parameter—Sets the number of days to preserve logged data before trimming is initiated. The default value is 7.

diskmonitor.OptFileSys—Sets the optional file systems that are checked by the disk monitor script.


Note Files in optional directories are not trimmed by disk monitor.


diskmonitor.Threshold—Sets the percentage of disk usage at which alarming and disk trimming is initiated. The default value is 80.

diskmonitor.CdrRmFinished—Sets the number of days that finished CDR files are kept in the log directory. The default value is 0, which means that finished CDR files are immediately sent to the spool directory.

diskmonitor.SoftLimit—Determines what action is taken once the number of days threshold set in the diskmonitor.Limit parameter is reached. If this parameter is set to true, disk monitor decrements the value in the diskmonitor.Limit parameter one day at a time (that is, from 7 down to 6 then down to 5 and so on), until the utilization level drops below the threshold. If this parameter is set to false, disk monitor exits and the system generates a DISK alarm. The default value is false.

diskmonitor.CfgRmDirs—As of Release 7.4(11), you can set the maximum number of configurations that can be stored in the configuration library. The valid values are the range of integers from 3 through 64. The default value is 64. This parameter is not present in the XECfgParm.dat file initially. If you want to modify the value, you must enter the parameter manually into the file.


Caution The Cisco MGC software is case-sensitive. Ensure that you enter the parameter name correctly, or the maximum number of configurations will not be modified.


Note If you want to ensure the proper functioning of the prov-sync MML command, set the diskmonitor.CfgRmDirs parameter to a value between 50 and 60. Entering a value outside of the range of valid values (3 through 64) disables monitoring of the number of entries stored in the configuration library.



Automatic System Log Rotation

As the system operates, the Cisco MGC software creates the system logs that are stored in a file stored in the /opt/CiscoMGC/var/log directory. The name of the system log file is set by the XECfgParm.dat file parameter, logFileNamePrefix (the default value is platform). The Cisco MGC software stops writing to the current system log file, archives the contents of that file, and commences writing to a new system log file. This process is referred to as log rotation.

Log rotation occurs as a result of one of the following conditions:

Cisco MGC software startup (the log rotation script is run)

Log rotation script (log_rotate.sh) is run manually

The size of the active system log file has exceeded the value set in the XECfgParm.dat parameter, fileRotateSize.

The time elapsed since the last log rotation has exceeded the value set in the XECfgParm.dat parameter, fileRotateInterval.

When the system rotates the system log file, the current system log file is archived and a new system log file is opened. The archived log file is stored in the $BASEDIR/var/spool directory. Once the Cisco MGC software is up and running, the log server takes over the actual file rotation responsibility of renaming the active file to a historical file with a new file name with the following format: logFileNamePrefix_yyyymmddhhmmss.log, where the time stamp indicates the date/time from the system at the time of rotation.

Rotating System Logs Manually

You can also run the log rotation script manually to force the current system log file to be archived. To do this, log into the active Cisco MGC as root, and enter the following UNIX command:

/opt/CiscoMGC/bin/log_rotate.sh

The system creates a new current system log file and archived log file, as described in the "Automatic System Log Rotation" section.

Creating a Disaster Recovery Plan

You should formulate a disaster recovery plan for your Cisco MGC node to ensure that your system can be restored to service quickly after it has been taken out-of-service by a natural or man-made disaster. A key element in your disaster recovery plan should be ensuring that regular backups of your system's software are performed. Refer to the "Backing Up System Software" section for more information about backup operations. We also recommend that the backup data for your system be stored in a secure location, in a site separate from the equipment, to ensure that they are not affected by the same disaster.

For information on recovering from a natural or man-made disaster, refer to the "Recovering from Cisco MGC Host(s) Failure" section.

Backing Up System Software

You should perform regularly scheduled system software backups on both the active and standby
Cisco MGCs to protect critical system data such as configuration files, which are irreplaceable if lost. If a catastrophic failure occurs, it is much easier to restore system information from backup data than to recreate it. Furthermore, such a failure could cause critical configuration information to be lost if it has not been backed up. We recommend that you create a backup schedule, ensuring that small or incremental backups are performed daily, and a large or full backup once a week.


Note We recommend that you back up your system software during periods of low call volume to minimize the effect of the backup on your call processing.


There are two backup methods available for the Cisco MGC software, one for software releases up to 7.4(10), and another for software releases from 7.4(11) and up. These backup methods are described in the following sections:

Backup Procedures for Cisco MGC Software up to Release 7.4(10)

Backup Procedures for Cisco MGC Software from Release 7.4(11) and up

Backup Procedures for Cisco MGC Software up to Release 7.4(10)

This backup method uses a script to backup the configuration data for the Cisco MGC software on to either a local tape drive or on to a remote machine. This script also allows you to perform full or partial backups. Backup of the Main Memory Database (MMDB) is performed by a separate script. These scripts do not enable you to schedule automatic backup times. You must perform these backups manually.


Note If your Cisco MGC is a continuous service system, ensure that you perform backup procedures on both Cisco MGC hosts.


The following sections provide the backup procedures:

Storing a Full Backup Operation on a Local Tape

Storing a Partial Backup Operation on a Local Tape

Storing a Full Backup Operation on a Remote Machine

Storing a Partial Backup Operation on a Remote Machine

Regular Operations


Note The procedures for restoring system data can be found in the "Restoring Procedures for Cisco MGC Software up to Release 7.4(10)" section.


Storing a Full Backup Operation on a Local Tape

Use this procedure to store the results of a full backup operation (everything under the base directory) to a tape inserted in the local tape drive. To do this, complete the following steps:


Step 1 Log in to the active Cisco MGC as root and change directories to a local subdirectory under the base directory.

For example, enter the following command to change to the /opt/CiscoMGC/local directory:

cd /opt/CiscoMGC/local

Step 2 If your system does not have a dial plan configured, proceed to Step 3. If your system has a dial plan configured, backup the contents of the MMDB to a single file, as described in the "Regular Operations" section.

Step 3 Run the backup script by entering the following command at the UNIX prompt:

./backup.sh

The system returns a response similar to the following:

MGC backup utility
-----------------------------
Destination currently set to Local tape (/dev/rmt/0h)
Enter:
	<N> set destination to remote NFS server
	<L> set destination to Local tape (/dev/rmt/0h)
	<F> for Full (everything you have)
	<P> for Partial (changable part of the system)
	<Q> to quit
Select backup mode: 

Step 4 Enter F and press Enter to start the full backup. The system returns a message similar to the following:

a ./ 0 tape blocks
a ./var/ 0 tape blocks
a ./var/log/ 0 tape blocks
a ./var/log/platform.log 1 tape blocks
a ./var/log/mml.log 1 tape blocks
a ./var/spool/ 0 tape blocks
a ./var/trace/ 0 tape blocks
a ./var/audit_cron.log 1 tape blocks
.
.
.#

Step 5 When the backup operation has finished, remove the tape, engage the write-protect tab, and label the tape "Full MGC Backup." Specify the machine name and the time and date.


Storing a Partial Backup Operation on a Local Tape

Use this procedure to store a partial backup operation (the contents of the etc, local, var, and dialPlan subdirectories under the MGC base directory) to a tape inserted in a local tape drive. To do this, complete the following steps:


Step 1 Log in to the active Cisco MGC as root and change directories to a local subdirectory under the base directory.

For example, enter the following command to change to the /opt/CiscoMGC/local directory:

cd /opt/CiscoMGC/local

Step 2 If your system does not have a dial plan configured, proceed to Step 3. If your system has a dial plan configured, backup the contents of the MMDB to a single file, as described in the "Regular Operations" section.

Step 3 Run the backup script by entering the following command at the UNIX prompt:

./backup.sh

The system returns a response similar to the following:

MGC backup utility
-----------------------------
Destination currently set to Local tape (/dev/rmt/0h)
Enter:
	<N> set destination to remote NFS server
	<L> set destination to Local tape (/dev/rmt/0h)
	<F> for Full (everything you have)
	<P> for Partial (changable part of the system)
	<Q> to quit
Select backup mode: 

Step 4 Select P and press Enter to start the partial backup. The system returns a response similar to the following:

a ./ 0 tape blocks
a ./var/ 0 tape blocks
a ./var/log/ 0 tape blocks
a ./var/log/platform.log 1 tape blocksL
a ./var/log/mml.log 1 tape blocks
a ./var/spool/ 0 tape blocks
a ./var/trace/ 0 tape blocks
a ./var/audit_cron.log 1 tape blocks
.
.
.
#

Step 5 When the backup operation has finished, remove the tape, engage the write-protect tab, and label the tape "Partial MGC Backup." Specify the machine name and the time and date.


Storing a Full Backup Operation on a Remote Machine

Use this procedure to store a full backup operation (everything under the MGC software base directory) to an NFS mountable directory on a remote machine. The remote machine must be set up with an NFS mountable directory that can be written to by the machine being backed up. The NFS setup of the remote machine is beyond the scope of this procedure.


Note The remote NFS server you select to store your back up data should be a system in your network that is not used as a Cisco MGC. Storing back up data on a Cisco MGC can negatively affect the performance of the system.


To back up the entire Cisco MGC software directory to a remote machine, complete the following steps:


Step 1 Log in to the active Cisco MGC as root and change directories to a local subdirectory under the base directory.

For example, enter the following command to change to the /opt/CiscoMGC/local directory:

cd /opt/CiscoMGC/local

Step 2 If your system does not have a dial plan configured, proceed to Step 3. If your system has a dial plan configured, backup the contents of the MMDB to a single file, as described in the "Regular Operations" section.

Step 3 Run the backup script by entering the following command at the UNIX prompt:

./backup.sh

The system returns a response similar to the following:

MGC backup utility
-----------------------------
Destination currently set to Local tape (/dev/rmt/0h)
Enter:
	<N> set destination to remote NFS server
	<L> set destination to Local tape (/dev/rmt/0h)
	<F> for Full (everything you have)
	<P> for Partial (changable part of the system)
	<Q> to quit
Select backup mode: 

Step 4 Select N and press Enter to define the remote NFS server. The system then prompts you for the name of the remote server.

Step 5 Enter the name of the remote NFS server.

Enter server name: remote_hostname

Where: remote_hostname—Name of your desired remote server.

The system then prompts you for the associated directory name on your remote server.

Step 6 Enter the directory name on the remote NFS server.

Enter remote directory : remote_directory

Where: remote_directory—Name of the associated directory on your remote server.

The system then prompts you to select a backup mode.

Step 7 Select F and press Enter to start the full backup. The system returns a response similar to the following:

a ./ 0 tape blocks
a ./var/ 0 tape blocks
a ./var/log/ 0 tape blocks
.
.
.

backup to va-panthers:/backup/va-blade20000317105337.tar complete
#

The filename on the remote NFS server is the host name of the machine with the date in YYYYMMDDHHMMSS format and ".tar" appended.


Storing a Partial Backup Operation on a Remote Machine

Use this procedure to store a partial backup operation (the contents of the etc, local, var, and dialPlan subdirectories under the MGC base directory) to an NFS mountable directory on a remote machine. The remote machine must be set up with an NFS mountable directory that can be written to by the machine being backed up. The NFS setup of the remote machine is beyond the scope of this procedure.


Note The remote NFS server you select to store your back up data should be a system in your network that is not used as a Cisco MGC. Storing back up data on a Cisco MGC can negatively affect the performance of the system.


To back up a portion of the Cisco MGC software directory to a remote machine, complete the following steps:


Step 1 Log in to the active Cisco MGC as root and change directories to a local subdirectory under the base directory.

For example, enter the following command to change to the /opt/CiscoMGC/local directory:

cd /opt/CiscoMGC/local

Step 2 If your system does not have a dial plan configured, proceed to Step 3. If your system has a dial plan configured, backup the contents of the MMDB to a single file, as described in the "Regular Operations" section.


Step 3 Run the backup script by entering the following command at the UNIX prompt:

./backup.sh

The system returns a response similar to the following:

MGC backup utility
-----------------------------
Destination currently set to Local tape (/dev/rmt/0h)
Enter:
	<N> set destination to remote NFS server
	<L> set destination to Local tape (/dev/rmt/0h)
	<F> for Full (everything you have)
	<P> for Partial (changable part of the system)
	<Q> to quit
Select backup mode: 

Step 4 Select N and press Enter to define the remote NFS server. The system then prompts you for the name of the remote server.

Step 5 Enter the name of the remote NFS server.

Enter server name: remote_hostname

Where: remote_hostname—Name of your desired remote server.

The system then prompts you for the associated directory name on your remote server.

Step 6 Enter the directory name on the remote NFS server.

Enter remote directory : remote_directory

Where: remote_directory—Name of the associated directory on your remote server.

The system then prompts you to select a backup mode.

Step 7 Select P and press Enter to start the partial backup. The system returns a response similar to the following:

        Select backup mode: P
a ./ 0 tape blocks
a ./var/ 0 tape blocks
a ./var/log/ 0 tape blocks
.
.
.

backup to va-panthers:/backup/va-blade20000317105337P.tar complete
#

The filename on the remote NFS server is the host name of the machine with the date in YYYYMMDDHHMMSS format and "P.tar" appended.


Performing a Backup Operation on the Main Memory Database

Use this procedure to store your dial plan data, which is stored in the MMDB, in a single file.


Note If your system is not configured with a dial plan, do not perform this procedure.



Step 1 Log in to the active Cisco MGC and change directories to a local subdirectory under the base directory.

For example, enter the following UNIX command to change to the /opt/CiscoMGC/local directory:

cd /opt/CiscoMGC/local

Step 2 Run the MMDB backup script by entering the following UNIX command:

./backupDb.sh filename

Where filename is the name of the database backup file.

For example, to backup the contents of the MMDB to a file called dplan, you would enter the following command:

./backupDb.sh dplan

The system returns a response similar to the following:

Exporting database contents for DSN=howdydb into dplan
The Backup process is being initiated for the datastore howdydb
Files for /opt/TimesTen32/datastore/howdydb are being backed up onto standard output
Backup Complete


Backup Procedures for Cisco MGC Software from Release 7.4(11) and up

This backup method uses a script to backup the configuration data for the Cisco MGC software, select UNIX administrative files, and the Main Memory Database (MMDB). This script only performs full backups. This script enables you to perform manual backups, schedule and administer automatic backups, and view a history of the last 30 backup operations performed.


Note This functionality is part of a patch to Release 7.4(11). If you want to use this functionality, you must be upgraded to the proper patch level. For more information on verifying the patch level of your system, refer to the "Verifying the Patch Level of the Cisco MGC" section.



Note If your Cisco MGC is a continuous service system, ensure that you perform backup procedures on both Cisco MGC hosts.



Note The procedures for restoring system data can be found in the "Restoring Procedures for Cisco MGC Software Release 7.4(11) and up" section.


The following sections provide the backup procedures:

Performing a Manual Backup Operation

Scheduling an Automatic Backup Operation

Listing Scheduled Automatic Backup Operations

Removing an Automatic Backup Operation from the Schedule

Listing the Backup Operation History

Performing a Manual Backup Operation

To perform a manual backup operation, enter the following UNIX command on the Cisco MGC:

mgcbackup -d path [-r retries -t retry_time]

Where:

path—The full path of the directory in which to store the backup file, for example a directory on a remote server that you have mounted on your system, or the local tape drive.


Note We recommend that you do not store backup files on your local Cisco MGC host, as storage of backup files on the local host reduces the amount of disk space available to process call data, and does not ensure that the data is safe in the event of a natural disaster.



Note If the path you enter is for a tape device, be aware that a new tape must be entered into the device for each backup. The backup data on a used tape will be overwritten by this operation.


retries—The number of times to check for an active provisioning session on the Cisco MGC, before aborting the backup operation. The default value is 0, and the maximum value is 100.


Note A backup operation cannot start while there is an active provisioning session on the
Cisco MGC.


retry_time—The number of seconds to wait between checks for an active provisioning session on the Cisco MGC. The default value is 30 seconds, and the maximum value is 3600 seconds.

For example, to perform a manual backup operation where the backup file is saved to a directory path called /dev/rmt/h0, with a maximum of three attempts, each 60 seconds apart, you would enter the following UNIX command:

mgcbackup -d /dev/rmt/h0 -r 3 -t 60

The backup file is stored in the specified directory path in the following format:

mgc_hostname_yyyymmdd_hhmmss_backup

Where:

hostname—The name of the Cisco MGC host, such as MGC-01.

yyyymmdd—The date the backup file is created, in a year-month-day format, such as 20011130.

hhmmss—The time the backup file is created, in an hour-minute-second format, such as 115923.

Scheduling an Automatic Backup Operation

To schedule an automatic backup operation, perform the following steps:


Note You can schedule an automatic backup operation when you are logged in to your system as either root or mgcusr. Any backups scheduled while you are logged in as root cannot be seen while you are logged in as mgcusr. For that reason, we recommend that you always log in as mgcusr when scheduling an automatic backup operation.



Step 1 Enter the following UNIX command on the Cisco MGC:

mgcbackup -s

The system returns a response similar to the following:

Backup Schedule Menu
--------------------

1. Add a scheduled backup
2. Delete a scheduled backup
3. List scheduled backups
4. Exit

Selection: 

Step 2 Enter 1 to add an automatic backup operation to the schedule.

The system returns a response similar to the following:

Add a Scheduled Backup
----------------------

Enter the name of the backup: 

Step 3 Enter the name of your backup.


Note The name of the backup can only be between 1 and 10 alphanumeric characters in length.


After you enter the name of your automatic backup, the system returns a response similar to the following:

Enter the directory to place the backup file: 

Step 4 Enter the directory path where you want the backup file stored.


Note We recommend that you do not store backup files on your local Cisco MGC host, as storage of backup files on the local host reduces the amount of available disk space to process call data, and does not ensure that the data is safe in the event of a natural disaster.



Note If the path you enter is for a tape device, be aware that a new tape must be entered into the device for each backup. The backup data on a used tape will be overwritten by this operation.


After you enter your directory path, the system returns a response similar to the following:

Enter the number of retries (default=0):

Step 5 Enter the number of times to check for an active provisioning session on the Cisco MGC before aborting the backup operation.


Note A backup operation cannot start while a provisioning session is active on the Cisco MGC.



Note The maximum number of retries is 100.


After you enter the number of retries, the system returns a response similar to the following:

Enter the time between retries (default=30 seconds): 

Step 6 Enter the number of seconds to wait between checks for an active provisioning session on the
Cisco MGC.


Note The maximum number of seconds between checks is 3600.


After you enter the time between attempts, the system returns a response similar to the following:

Enter the day of the week (default=everyday): 

Step 7 Enter the day(s) of the week that you would like the backup operation performed. The following values are valid:

SUNDAY

MONDAY

TUESDAY

WEDNESDAY

THURSDAY

FRIDAY

SATURDAY

WEEKDAYS

WEEKENDS

EVERYDAY

After you enter your day(s) of the week setting, the system returns a response similar to the following:

Enter the time (HH:MM):

Step 8 Enter the time to start your automatic backup operation, in hour:minute format.


Note The range for hour is 00-23, and the range for minute is 00-59.



Note We recommend that you schedule your automatic backup operation for a time when your system is likely to have a minimum amount of call volume to minimize the effect of the backup on your call processing.


After you enter your time setting, the system returns a response similar to the following:

Press enter to continue: 

Step 9 Press enter to return to the backup schedule menu. You can either exit the utility or perform another backup scheduling activity.


When the automatic backup operation is performed, the backup file is stored in the specified directory path in the following format:

mgc_hostname_yyyymmdd_hhmmss_backup.tar

Where:

hostname—The name of the Cisco MGC host, such as MGC-01.

yyyymmdd—The date the backup file is created, in a year-month-day format, such as 20011130.

hhmmss—The time the backup file is created, in a hour-minute-second format, such as 115923.

Listing Scheduled Automatic Backup Operations

To list the scheduled automatic backup operations, perform the following steps:


Step 1 Enter the following UNIX command on the Cisco MGC:

mgcbackup -s

The system returns a response similar to the following:

Backup Schedule Menu
--------------------

1. Add a scheduled backup
2. Delete a scheduled backup
3. List scheduled backups
4. Exit

Selection: 

Step 2 Enter 3 to list the scheduled automatic backup operations.

The system returns a response similar to the following:

Scheduled Backups
-----------------

Name	Retries	Timeout	Day	Time	Directory
Back1	5	60	everyday	12:00	/var/cisco
Mybackup	0	30	weekdays	04:00	/var/cisco

Press enter to continue: 

Step 3 Press enter to return to the backup schedule menu. You can either exit the utility or perform another backup scheduling activity.


Removing an Automatic Backup Operation from the Schedule

To remove an automatic backup operation from the schedule, perform the following steps:


Step 1 Enter the following UNIX command on the Cisco MGC:

mgcbackup -s

The system returns a response similar to the following:

Backup Schedule Menu
--------------------

1. Add a scheduled backup
2. Delete a scheduled backup
3. List scheduled backups
4. Exit

Selection: 

Step 2 Enter 2 to remove an automatic backup operation from the schedule.

The system returns a response similar to the following:

Delete a Scheduled Backup
-------------------------

Enter the name of the backup: 

Step 3 Enter the name of the automatic backup operation you want to remove from the schedule.

The system returns a response similar to the following:

Press enter to continue: 

Step 4 Press enter to return to the backup schedule menu. You can either exit the utility or perform another backup scheduling activity.


Listing the Backup Operation History

To see a history of the last 30 backup operations, perform the following steps:


Step 1 Enter the following UNIX command on the Cisco MGC:

mgcbackup -l

The system returns a response similar to the following:

Status		File   			    
Success		/var/Cisco/mgc_venus_20011010_153003_backup
Success		/var/Cisco/mgc_venus_20011011_153003_backup
Success		/var/Cisco/mgc_venus_20011012_153003_backup

Press enter to continue: 


Note If a backup operation fails, the reason for the failure is listed below the file name.


Step 2 Press enter to return to the backup schedule menu. You can either exit the utility or perform another backup scheduling activity.


Regular Operations

This section contains procedures that you can perform on your Cisco MGC as needed. The regular operations are described in the following sections:

Managing MML Sessions

Managing Signaling Channels

Managing Bearer Channels

Provisioning your Cisco MGC

Managing your Cisco MGC Platform

Managing System Measurements

Using the Cisco MGC Viewer Toolkit

Managing MML Sessions

The operations you can use to manage an MML session are described in the following sections:

Displaying Previously Entered MML Commands

Displaying Information About MML Commands

Reentering Previously Entered MML Commands

Retrieving Active MML Sessions

Ending an MML Session

Displaying Previously Entered MML Commands

You can use the h MML command to redisplay an MML command or a series of MML commands, depending on the number or range that you enter. If you do not enter a number or range, the last MML command entered is displayed.

To redisplay the last MML command entered, log in to the active Cisco MGC, start an MML session, and enter the following command:

h

The system returns a response similar to the following:

Media Gateway Controller  - MGC-01 2000-01-12 15:19:51 
M  RTRV
   "RTRV-TC:ALL"
   /* command 1 */

To redisplay a particular MML command that you entered, log in to the active Cisco MGC, start an MML session, and enter the following command:

h::number

Where number is the number of the MML command you want to display. The last MML command you entered is equal to 1, the command you entered before that would be equal to 2, and so on.

For example, to redisplay the tenth most recently entered MML command, you would enter the following command:

h::10

The system returns a response similar to the following:

Media Gateway Controller  - MGC-01 2000-01-12 15:19:51 
M  RTRV
   "RTRV-SC:ALL"
   /* command 10 */

To redisplay a range of MML command that you entered, log in to the active Cisco MGC, start an MML session, and enter the following command:

h::start_num,end_num

Where:

start_num—The number of the first MML command you want to display. The last MML command you entered is equal to 1, the command you entered before that would be equal to 2, and so on.

end_num—The number of the last MML command you want to display.

For example, to redisplay all of the commands from the second to the fifth most recently entered MML commands, you would enter the following command:

h::2,5

The system returns a response similar to the following:

Media Gateway Controller  - MGC-01 2000-01-12 15:19:51 
M  RTRV
   "RTRV-SC:ALL"
   /* command 5 */
   "RTRV-SOFTW:ALL"
   /* command 4 */
   "RTRV-TC:ALL"
   /* command 3 */
   "STP-AUD"
   /* command 2 */

Displaying Information About MML Commands

You can use the help MML command to display information on all MML commands or detailed information on individual commands. To display information on a specific MML command, log in to the active Cisco MGC, start an MML session, and enter the following command:

help:command_name

Where command_name is the name of the MML command for which you want information.

For example, if you wanted information on the set-log MML command, you would enter the following command:

help:set-log

The system would return a response similar to the following:

Media Gateway Controller  - MGC-03 2000-03-20 10:04:28
M  RTRV
   SET-LOG -- Set Logging Levels
   -----------------------------

   Purpose:      This MML command is used to set the logging level of a 
                 process or all processes.  

   Format:       set-log:<proc>:<log level>
                 set-log:all:<log level>

   Input         * proc -- The various actively and passively monitored 
   Description:    processes running on the MGC.  Use the RTRV-SOFTW:ALL 
                   command to display all processes.  

                 * log level -- Sets the logging level for the specified 
                   process. Logging levels are as follows: 

                   -  CRIT  -- Critical level messages.

                   -  DEBUG -- Debug-level messages (lowest level).

                   -  ERR   -- Error condition messages.

                   -  INFO  -- Informational messages.

                   -  WARN  -- Warning condition messages.

                   -  TRACE -- Trace messages.

   Example:      The MML command shown in the following example retrieves 
                 the logging level of the ENG-01 process: 

                 mml> RTRV-LOG:ENG-01
                 Media Gateway Controller  - MGC-01 2000-01-16 09:38:03
                 M  RTRV
                 "ENG-01:DEBUG"
               ;

   Comments:     This command was introduced in Release 7.4. For 
                 information concerning backward compatibility, use the 
                 HELP:CHG-LOG command.  

                 Note: DSKM-01, the disk monitor process, does not make
                 use of log levels and therefore does not accept 
                 log-level change requests.  

To display information on all of the MML commands, log in to the active Cisco MGC, start an MML session, and enter the following command:

help

The system returns a response similar to the following:

MGC-01 - Media Gateway Controller 2001-06-12 14:37:34
M  RTRV

   Available commands (in alphabetical order):
     ack-alm:<comp>:"<alm cat>"        Acknowledges an alarm category on a
                                        component
     blk-cic:<ptcode>:CIC=<number>[,RNG=<slaves>]
                                       Blocks a circuit or a circuit range
     chg-dpl::CUSTGRPID="<customer group ID>"
                                       Reloads a dialing plan
     chg-log:<proc>:<log level>        This command has been replaced by
                                        set-log.  Please refer to help on
                                        set-log for further information
     clr-alm:<comp>:"<alm cat>"        Clears an alarm category on a
                                        component
     clr-meas:<comp>:"<meas cat>"      Resets a measurement category on a
                                        component
     clr-tcap-trans::T=<number>        Clears all TCAP transactions
                                        older than value of T in seconds
     diaglog:<file name>:START|STOP    Starts/stops diagnostics log
     h[::<number>[,<number>]]          Displays a history of commands for a
                                        specified backward number or range;
                                        the last command by default
     help[:<command name>]             Displays the list of MML commands or
                                        the help information on a specified
                                        command
     numan-add:<comp>:custgrpid=<cust group ID>,<param name>=<param value>,...
                                       Adds an element to a dial plan table
     numan-dlt:<comp>:custgrpid=<cust group ID>
                                       Deletes an element from a dial plan
                                        table
     numan-ed:<comp>:custgrpid=<cust group ID>,<param name>=<param value>,...
                                       Edits an element in a dial plan table
     numan-rtrv:<comp>:custgrpid=<cust group ID>
                                       Retrieves an element from a dial plan
                                        table
     numan-rtrv:<comp>:custgrpid=<cust group ID>,"all"
                                      Retrieves all elements from a dial plan
                                       table
     prov-add:<comp>:name=<MML name>,<param name>=<param value>,...
                                       Adds the component
     prov-cpy                          Commits provisioning data
     prov-dlt:<comp>:name=<MML name>   Deletes the component
     prov-dply                         Deploys provisioning data
     prov-ed:<comp>:name=<MML name>,<param name>=<param value>,...
                                       Modifies the component attributes
     prov-exp:<tid>:dirname="<export directory name>"
                                       Exports provisioning data to the given
                                        export directory name
                                        tid can be one of the following:
                                         all
                                         config
                                         trunk
                                         trkgrp
                                         numan
                                         routing
                                        export directory name can be any
                                         directory name, in double quotes,
                                         which will be created under the
                                         cust_specific directory
     prov-rtrv:<comp>:name=<MML name>  Retrieves the component attributes
     prov-rtrv:all                     Retrieves all the components
     prov-rtrv:rttrnkgrp:"all"         Retrieves all route trunk group
                                        information
     prov-rtrv:rttrnk:"all"            Retrieves all route trunk information
     prov-rtrv:rtlist:"all"            Retrieves all route list information
     prov-rtrv:session                 Retrieves provisioning session
                                        information if one exists
     prov-rtrv:variants                Retrieves all variants
     prov-sta::srcver=<version>,dstver=<version>
                                       Starts a provisioning session
     prov-stp                          Stops the current provisioning
                                        session
     prov-stp:<session name>:confirm   Stops the specified provisioning
                                        session
     prov-sync                         Synchronizes provisioning data
     prt-call:<sig path>|<trk grp>:[CIC=<number>|SPAN=<number>[BC=<number>]]
                                   [,LOG=<logname>] [,EVT]
                                       Prints diagnostic information about an
                                       active call into the log file
     query-cic:<ptcode>:CIC=<number>[,RNG=<slaves>][,RSLV]
                                       Performs a circuit query for a circuit
                                        or a circuit range with an optional
                                        RESOLVE parameter
     quit                              Ends the session
     r[::<number>]                     Repeats a previously entered command
                                        with a specified backward number;
                                        the last command by default
     reset-cic:<ptcode>:CIC=<number>[,RNG=<slaves>]
                                       Resets a circuit or a circuit range
     rtrv-admin-state:<target>:<param>
                                       Retrieves the administrative state
                                        of the target;
                                        target can be a MGC or gateway or
                                        trunk group or sigPath;
                                        param can be one of the following
                                        combinations:
                                         [span=number] or
                                         [span=number,]bc=number[,RNG=number]
                                         or
                                         cic=number[,RNG=number]
     rtrv-alms                         Displays all active alarms
     rtrv-alms::CONT                   Displays all active alarms and listens
                                        for alarm events until Ctrl-C
     rtrv-aud-gw:<sig path MGCP>       Retrieves result of an auditing process
                                        of a gateway
     rtrv-aud-gw:all                   Retrieves results of auditing processes
                                        of all gateways
     rtrv-cfg:<cfg table>              Displays contents of a configuration
                                        table where table can be:
                                        alarmCategories | components |
                                        componentTypes | measCategories |
                                        services | tables
     rtrv-cic:<ptcode>:CIC=<number>[,RNG=<slaves>]
                                       Retrieves bearer channels of a point
                                        code
     rtrv-ctr:<comp>:"<meas cat>"      Retrieves a measurement of a component
     rtrv-dest:<path>                  Retrieves state of a destination,
                                       <path> is one of the following:
                                       <eisuppath> | <faspath> | <ipfaspath> |
                                       <naspath> | <tcapippath> |
                                       <ptcode(destination only)>
     rtrv-dest:all                     Retrieves state of all destinations
     rtrv-lnk-ctr:<C7 link/set>        Retrieves all measurements of a link or
                                        link set
     rtrv-lnk-ctr:all                  Retrieves all measurements of all links
     rtrv-log:all                      Displays logging level of all processes
     rtrv-log:<proc>                   Displays logging level of a process
     rtrv-lset:<C7 link set>           Displays state of a link set
     rtrv-lssn:all                     Displays state of local SSN
     rtrv-mml                          Displays all active MML sessions
     rtrv-ne                           Displays attributes of the Network
                                        Element
     rtrv-ovld                         Displays overload level and number of
                                        messages in a queue
     rtrv-rssn:all                     Displays state of remote SSN
     rtrv-rte:<ptcode>                 Retrieves all SS7 routes for a point
                                        code
     rtrv-rte:all                      Retrieves SS7 routes for all point
                                        codes
     rtrv-sc:<c7iplnk>|<tdmlnk>|<iplnk> Displays attributes of a signaling
                                        channel
     rtrv-sc:<lnkset>                  Displays attributes of a link set
     rtrv-sc:all                       Displays attributes of all signaling
                                        channels and link sets
     rtrv-sc-trc                       Displays the names of all files
                                        currently open for the various traces
                                        in progress
     rtrv-softw:<proc>                 Displays status of a process or
                                        process group
     rtrv-softw:all                    Displays status of all known processes
     rtrv-sp-ctr:<ptcode>              Retrieves all measurements of a point
                                        code
     rtrv-sp-ctr:all                   Retrieves all measurements of all point
                                        codes
     rtrv-spc:<ptcode>                 Retrieves route set of a point code
     rtrv-spc:all                      Retrieves route sets of all point codes
     rtrv-ss7-slt:<C7 link>            Retrieves result of an MTP SLT test on
                                        a link
     rtrv-ss7-srt:<ptcode>:LSET="<C7 link/set>"
                                       Retrieves result of an MTP SRT test on
                                        a point code
     rtrv-tc:<sig path>&<sig path>...  Displays state of bearers per signaling
                                        path(s)
     rtrv-tc:all                       Displays state of all bearers
     rtrv-tc-held:<sig path>&<sig path>...
                                       Displays state of bearers per signaling
                                        path(s) held by gateway
     rtrv-tc-held:all                  Displays state of all bearers, held by
                                        gateway
     rtrv-tcap-trans                   Displays number of active TCAP
                                        transactions
     set-admin-state:<target>:<param>,LOCK|UNLOCK|RESET
                                       Sets the administrative state of
                                        the target;
                                        target can be a MGC or gateway or
                                        trunk group or sigPath;
                                        param can be one of the following
                                        combinations:
                                         [span=number] or
                                         [span=number,]bc=number[,RNG=number]
                                         or
                                         cic=number[,RNG=number]
                                       Changes service state of an ASP
     set-dest-state:<path>:IS|OOS
                                       Changes service state of a destination,
                                       <path> is one of the following:
                                       <eisuppath> | <faspath> | <ipfaspath> |
                                       <naspath> | <tcapippath> |
                                       <ptcode(destination only)>
     set-lnk-state:<c7iplnk>|<tdmlnk (c7 only)>|<lnkset>:IS|OOS|FOOS|INH|UNH
                                       Changes service state of a link or a
                                        linkset
     set-log:<proc>:<log level>        Sets logging level for process <proc>
     set-log:all:<log level>           Sets logging level for all processes.
     set-log:<proc>:debug,confirm      Sets debug logging level for <proc>
                                        logLevel can be:
                                        DEBUG | TRACE | INFO | WARN | ERR |
                                        CRIT
                                        when setting to debug level, the confirm
                                        parameter is mandatory
     set-lssn-state:<SSN>:IS|OOS       Changes service state of a local SSN
     set-sc-state:<c7iplnk>|<tdmlnk>|<iplnk(non-NAS)>:IS|OOS
                                       Changes service state of a signaling channel
     set-spc-state:<ptcode>:IS|OOS...
                                       Changes service state of a point code
     snd:ext:<string>                  Sends a message to an external process
     snd:ext:"help"                    Displays a list of commands available
                                        for an external process (provided
                                        by external process, not MML)
     sta-aud                           Starts auditing process
     sta-aud-gw:<sig path MGCP>        Starts auditing process of a gateway
     sta-aud-gw:all                    Starts auditing processes of all
                                        gateways
     sta-abn-trc:<sig path>|all:params
                                       Starts dumping diagnostic info for
                                       abnormally terminated calls on entire
                                        MGC or a specified signal path or a
                                        point code ,
                                        optional params are:
                                        CONFIRM - confirms tracing over all or
                                         signal path or point code
                                         (not needed when using span or
                                         trunk - otherwise required)
                                        log="filename" output file name in
                                          the ../var/trace directory
                                        span=x, where x is the span number of
                                         interest
                                        trk=y, where y is the trunk number
                                        tc=c, where c is the traffic channel
                                         of interest
                                        rng=b, where b is the range of spans
                                        prd=n, where n is the period in
                                         seconds that this trace needs to be
                                         run for (default is half minutes or
                                         30 seconds)
     sta-sc-trc:<sig path>|<trkgrp>:params
                                       Starts tracing on a signal path or a
                                        point code or a trunk group,
                                        optional params are:
                                        CONFIRM - confirms tracing over a
                                         signal path or point code or trunk
                                         group (not needed when using span or
                                         trunk - otherwise required)
                                        log="filename" output file name in
                                          the ../var/trace directory
                                        span=x, where x is the span number of
                                         interest
                                        trk=y, where y is the trunk number
                                        tc=c, where c is the traffic channel
                                         of interest
                                        rng=b, where b is the range of spans
                                        prd=n, where n is the period in
                                         seconds that this trace needs to be
                                         run for (default is 30 minutes or
                                         1800 seconds)
     sta-softw:<proc>                  Starts a process or process group
     sta-ss7-slt:<C7 link>             Starts an MTP SLT test on a link
     sta-ss7-srt:<ptcode>:LSET="<C7 link/set>"
                                       Starts an MTP SRT test on a point code
     sta-tcap-trc                      Starts TCAP tracing
     stp-abn-trc:<sig path>|<trkgrp>   Stops abnormal tracing on a signal path
     stp-abn-trc:all                   Stops abnormal tracing on all signal paths
     stp-aud                           Stops auditing process
     stp-call:<target>:<param>         Stops call(s) in progress for the given
                                         target;
                                        target can be a MGC or gateway or
                                        trunk group or sigPath;
                                        param can be one of the following
                                        combinations:
                                         [span=number,]confirm or
                                         [span=number,]bc=number,[RNG=number,]confirm or
                                         cic=number,[RNG=number,]confirm
     stp-sc-trc:<sig path>|<trkgrp>    Stops tracing on a signal path or trunk
                                        group
     stp-sc-trc:all                    Stops tracing on all signal paths
     stp-softw:<proc>:[kill]           Stops a process or all processes in a
                                        group
     stp-softw:all:[kill]              Shuts down the platform and
                                        applications except Process Manager
     stp-tcap-trc                      Stops TCAP tracing
     sw-over::CONFIRM                  Forces a switchover to a stand-by
                                        platform
     tst-cot:<ptcode>:CIC=<number>     Performs a COT test on a circuit
     unblk-cic:<ptcode>:CIC=<number>[,RNG=<slaves>]
                                       Unblocks a circuit or a circuit range
     vld-cic:<ptcode>:CIC=<number>     Performs a circuit validation

Reentering Previously Entered MML Commands

You can use the r MML command reenter an MML command, either a specific MML command or the last MML command you entered.

To reenter the last MML command entered, log in to the active Cisco MGC, start an MML session, and enter the following command:

r

The system returns a response appropriate to the previously entered command. For example, if the previously entered command was rtrv-spc:all, a response similar to the following would be returned:

MGC-01 - Media Gateway Controller 2001-06-08 10:20:38
M  RTRV
   "dpc1:DPC=244.001.040,DNW=2:OPC=244.001.004:IS"
   "dpc2:DPC=244.001.041,DNW=2:OPC=244.001.004:IS"
   "dpc4:DPC=244.001.044,DNW=2:OPC=244.001.004:AOOS"
   "dpc5:DPC=244.001.045,DNW=2:OPC=244.001.004:AOOS"
   "dpc8:DPC=244.018.030,DNW=2:OPC=244.001.004:AOOS"
   "dpc9:DPC=244.018.031,DNW=2:OPC=244.001.004:AOOS"
   "dpc10:DPC=244.018.032,DNW=2:OPC=244.001.004:AOOS"
   "dpc11:DPC=244.018.033,DNW=2:OPC=244.001.004:AOOS"

To reenter a particular MML command that you entered, log in to the active Cisco MGC, start an MML session, and enter the following command:

r::number

Where number is the number of the MML command you want to reenter. The last MML command you entered is equal to 1, the command you entered before that would be equal to 2, and so on.

For example, to reenter the tenth most recently entered MML command, you would enter the following command:

r::10

The system returns a response appropriate to the previously entered command.

Retrieving Active MML Sessions

To retrieve information on the active MML sessions, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-mml

The system returns a response similar to the following:

Media Gateway Controller  - MGC-01 2000-01-12 15:19:51 
M  RTRV
   mml5:guest

The response lists the session number (mml5 in the example) and the user ID of the session owner (guest in the example).

Ending an MML Session

You can use the quit MML command to end your current MML session.

Managing Signaling Channels

The operations you can use to manage an MML session are described in the following sections:

Retrieving Signaling Channel Attributes

Retrieving Signaling Destination Service States

Retrieving the Service State of a Linkset

Retrieving the State of SS7 Routes

Retrieving the State of All Local Subsystem Numbers

Retrieving the State of All Remote Subsystem Numbers

Clearing TCAP Transactions

Enabling Group Service Reset Messages

Enabling Blocking/Unblocking Messages

Retrieving Signaling Channel Attributes

You can retrieve attributes for an individual signaling channel or linkset, or for all signaling channels and linksets.

To retrieve the attributes for an individual signaling channel or linkset, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-sc:sig_channel | linkset

Where:

sig_channel—The MML name of a provisioning component, TDM link, C7 IP link, or IP link.

linkset—The MML name of a linkset.

For example, to retrieve attributes for a signaling channel called iplink1, enter the following command:

rtrv-sc:iplink1

The system returns a response similar to the following:

   Media Gateway Controller 2000-03-26 20:26:18
M  RTRV
   "iplink1:nassvc1,LID=0:IS"

To retrieve attributes for all of the signaling channels and linksets, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-sc:all

The system returns a response similar to the following, which shows the signaling links to and from the Cisco MGCs and the associated media gateways (different SS7 solutions might use different media gateways).

   Media Gateway Controller 2000-03-26 19:23:23
M  RTRV
   "iplink1:nassvc1,LID=0:IS" /* IP Link 1 for NAS 1 */
   "iplink2:nassvc2,LID=0:IS" /* IP Link 1 for NAS 2 */
   "iplink3:nassvc3,LID=0:IS" /* IP Link 1 for NAS 3 */
   "iplink4:nassvc1,LID=0:IS" /* IP Link 2 for NAS 1 */
   "iplink5:nassvc2,LID=0:IS" /* IP Link 2 for NAS 2 */
   "iplink6:nassvc3,LID=0:IS" /* IP Link 2 for NAS 3 */
   "c7iplink1:ls01,LID=0:IS"  /* Link 1 in Linkset 1 */
   "c7iplink2:ls01,LID=1:IS"  /* Link 2 in Linkset 1 */
   "c7iplink3:ls02,LID=0:IS"  /* Link 1 in Linkset 2 */
   "c7iplink4:ls02,LID=1:IS"  /* Link 2 in Linkset 2 */


Note If a signaling channel is in a state other than IS, attempt to bring it into service, as described in the "Setting the Service State of a Signaling Channel" section


Understanding Signaling Channels

Signaling channels are bidirectional transport mechanisms for call-control signaling between the Cisco MGC and other devices, such as the Cisco SLTs, that provide necessary delivery reliability for higher-layer protocols. All types of signaling channels have basically the same functionality and are managed similarly. Unless otherwise noted, all commands, counters, and alarms apply to all types of signaling channels.

The basic types of signaling channels on the Cisco MGC are

SS7 Message Transfer Part (MTP)—Used for reliable delivery. MTP level 2 provides point-to-point delivery. MTP level 3 maintains multiple load-sharing links and multiple routes between SS7 point codes.

SS7 MTP over IP (SS7/IP)—MTP level 2 is terminated on the Cisco SLT. MTP level 3 is backhauled to the Cisco MGC by means of the Cisco-proprietary Reliable User Datagram Protocol (RUDP).

Facility Associated Signaling (FAS)—Found in ISDN PRI or DPNSS over a 64-Kbps channel. Reliable delivery is provided by some form of Link Access Protocol (LAP), for example Q.921.

FAS over IP (FAS/IP)—Same as FAS, but uses IP as its transport mechanism. Reliable delivery is provided by Q.921 LAP-D or RUDP/SM.

Media Gateway Control Protocol (MGCP)—Reliable delivery is also provided by the MGCP, which uses UDP/IP.

The following sections describe the information returned by the system when you enter the rtrv-sc MML command.

Signaling channel or linkset name

The first field lists the MML name of the signaling channel or linkset.

Parent Name

The second field lists the MML name of the parent of the signaling channel or linkset.

Link ID

The LID field lists the associated link identification number.

Subsystem Number

The SSN field lists the associated subsystem number.

Primary Service State

The PST field shows the current primary service state of the destination. Table 3-8 lists the valid primary service state values:

Table 3-8 Signaling Channel Primary Service States 

Link State ID
Link State
Description

AOOS

Automatically out-of-service

The system has taken the signaling channel out-of-service (OOS).

INB

Install busy

When a system is first configured, all signaling links default to this state and must be manually set in-service (IS) through the use of the set-sc-state MML command.

IS

In-service

The signaling channel is IS and fully operational. This is its normal operating state.

MOOS

Manually out-of-service

The signaling channel has been manually taken OOS.

OOS

Out-of-service

The signaling channel is OOS from the remote end. The system is actively trying to restore the signaling channel.

TRNS

Transient

The state of the signaling channel is currently being changed.

UNK

Unknown

The state of the signaling channel is not known.


Secondary Service State

The SST field shows the current secondary service state of the specified signaling channel. The valid states are listed below:

ACKD—SS7 Acknowledgement delay

BSNR—SS7 backward sequence number received (BSNR)

CIS—Commanded in service

CONF—Configuration failure

COOS—Commanded out of service

ENGR—Call engine reset

ISPEND—In service, pending

LCNG—Congestion, local

LINE—Line failure

LINH—SS7 local inhibit

LINK—Link failure

LINS—Linkset failure

NA—Cause not available

OOSPEND—Out of service, pending

PRHB—SS7 prohibited

RBLK—SS7 remote blocked

RCNG—Congestion, remote

RINH—SS7 remote inhibit

RSTR—SS7 restricted

SERR—SS7 signal error

STBY—Cause standby

SUPPENT—Supporting entity

TPATH—Traffic path

UNK—Cause unknown

Retrieving Signaling Destination Service States

Retrieving state information about all external point codes and signal paths is a task that performed daily. For more information about this and other daily task refer to the "Daily Tasks" section.

To retrieve information about a specific DPC or non-ISUP signaling service, log in to the active
Cisco MGC, start an MML session, and enter the following command:

rtrv-dest: point_code | sig_srv

Where:

point_code—The MML name of the DPC.

sig_srv—The MML name of the non-ISUP signaling service.

The system returns a response similar to the following:

MGC-01 - Media Gateway Controller 2001-06-12 14:53:03
M  RTRV
   "dpc1:PKG=SS7-ANSI,ASSOC=SWITCHED,PST=IS,SST=RCNG"

For more information on the response to this command, refer to the "Understanding the Destination State Information" section.

If the destination is in a primary service state other than IS, attempt to bring it into service, as described in the "Setting the Service State of a Destination" section


Note If the rtrv-dest MML command is entered after a switchover has occurred, the state of some of the destinations might be listed as undefined (UND). UND is the default state for a destination when the system starts. In this instance, UND states indicate that the Cisco MGC has not received a service state message from the associated destination since the switchover occurred. No user action is required.


Retrieving the Service State of a Linkset

To retrieve the service state of a linkset, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-lset:linkset

Where linkset is the MML name of the desired linkset.

For example, to retrieve the service state of a linkset called ls1, you would enter the following command:

rtrv-lset:ls1

The system returns a response similar to the following:

Media Gateway Controller  - MGC-01 2000-01-12 15:19:51 
M  RTRV
   IS

The valid service states for a linkset are identical to the primary service state listings for signaling channels, as found in the "Understanding Signaling Channels" section. If the linkset is in any other state than IS, attempt to bring the linkset into service, as described in the "Setting the Service State of a Link or Linkset" section.

Retrieving the State of Point Codes

To retrieve the current state for the route set for one point code, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-spc:point_code

Where point_code is the MML name for the associated point code.

The system returns a response similar to the following:

   MGC-01 - Media Gateway Controller 2001-06-12 16:10:21
M  RTRV
   "dpc1:DPC=244.001.040,DNW=2:OPC=244.001.004:AOOS"

To retrieve the current state for the route sets for all point codes, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-spc:all

The system returns a response similar to the following:

MGC-01 - Media Gateway Controller 2001-06-12 16:04:59
M  RTRV
   "dpc1:DPC=244.001.040,DNW=2:OPC=244.001.004:IS"
   "dpc2:DPC=244.001.041,DNW=2:OPC=244.001.004:IS"
   "dpc4:DPC=244.001.044,DNW=2:OPC=244.001.004:IS"
   "dpc5:DPC=244.001.045,DNW=2:OPC=244.001.004:IS"
   "dpc8:DPC=244.018.030,DNW=2:OPC=244.001.004:IS"
   "dpc9:DPC=244.018.031,DNW=2:OPC=244.001.004:IS"
   "dpc10:DPC=244.018.032,DNW=2:OPC=244.001.004:IS"
   "dpc11:DPC=244.018.033,DNW=2:OPC=244.001.004:IS"

The valid service states for a linkset are identical to the primary service state listings for signaling channels, as found in the "Understanding Signaling Channels" section. If the linkset is in any other state than IS, attempt to bring the linkset into service, as described in the "Setting the Service State of a Signaling Point Code" section.

Retrieving the State of SS7 Routes

To retrieve the current state for an SS7 route, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-rte:point_code

Where point_code is the MML name for the associated point code.

The system returns a response similar to the following:

   MGC-01 - Media Gateway Controller 2001-06-12 16:17:55
M  RTRV
   "dpc1:linkset1,APC=244.001.040,PRIO=1,PST=AOOS,SST=NA"
   "dpc1:UNK,APC=000.000.000,PRIO=2,PST=IS,SST=NA"

To retrieve the current state for all of SS7 routes, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-rte:all

The system returns a response similar to the following:

   MGC-01 - Media Gateway Controller 2001-06-12 16:15:51
M  RTRV
   "dpc1:linkset1,APC=244.001.040,PRIO=1,PST=AOOS,SST=NA"
   "dpc1:UNK,APC=000.000.000,PRIO=2,PST=IS,SST=NA"
   "dpc2:linkset2,APC=244.001.041,PRIO=1,PST=AOOS,SST=NA"
   "dpc2:UNK,APC=000.000.000,PRIO=3,PST=IS,SST=NA"
   "dpc4:linkset4,APC=244.001.044,PRIO=1,PST=AOOS,SST=NA"
   "dpc4:UNK,APC=000.000.000,PRIO=4,PST=AOOS,SST=NA"
   "dpc5:linkset5,APC=244.001.045,PRIO=1,PST=AOOS,SST=NA"
   "dpc5:UNK,APC=000.000.000,PRIO=5,PST=AOOS,SST=NA"
   "dpc8:linkset8,APC=244.018.030,PRIO=1,PST=AOOS,SST=NA"
   "dpc8:UNK,APC=000.000.000,PRIO=6,PST=AOOS,SST=NA"
   "dpc9:linkset9,APC=244.018.031,PRIO=1,PST=AOOS,SST=NA"
   "dpc9:UNK,APC=000.000.000,PRIO=7,PST=AOOS,SST=NA"
   "dpc10:linkset10,APC=244.018.032,PRIO=1,PST=AOOS,SST=NA"
   "dpc10:UNK,APC=000.000.000,PRIO=8,PST=AOOS,SST=NA"

The valid service states for a linkset are identical to the primary service state listings for signaling channels, as found in the "Understanding Signaling Channels" section. If the linkset is in any other state than IS, attempt to bring the linkset into service, as described in the "Setting the Service State of a Destination" section.

Retrieving the State of All Local Subsystem Numbers

To retrieve the state of all local subsystem number (SSNs), log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-lssn:all

The system returns a response similar to the following:

Media Gateway Controller  - MGC-01 2000-01-12 15:19:51 
M  RTRV
   "TCAP-01:SSN=1,PST=IS"
   "TCAP-01:SSN=2,PST=OOS"

The response indicates the name of the associated process, the SSN, and the state (either in-service or out-of-service). If any of the local SSNs are out of service, proceed to the "Setting the Service State of a Local Subsystem Number" section.

Retrieving the State of All Remote Subsystem Numbers

To retrieve the state of all remote SSNs, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-rssn:all

The system returns a response similar to the following:

Media Gateway Controller  - MGC-01 2000-01-12 15:19:51 
M  RTRV
   "stp1:PC=007.007.007,SSN=1,PST=OOS"
   "stp2:PC=008.008.008,SSN=1,PST=OOS"
   "stp3:PC=009.009.009,SSN=2,PST=OOS"

The response indicates the name of the associated process, the SSN, and the state (either in-service or out-of-service). If any of the remote SSNs are out of service, proceed to the "SS7 Network Related Problems" section.

Retrieving TCAP Transactions

To retrieve the number of active transaction capabilities application part (TCAP) transactions, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-tcap-trans

The system returns a response similar to the following:

   Media Gateway Controller  - MGC-01 2000-01-12 15:19:51 
M  RTRV
   "TCAP-01:TRANS=0"

Clearing TCAP Transactions

To clear all TCAP transactions that are older than a period you specify, log in to the active Cisco MGC, start an MML session, and enter the following command:

clr-tcap-trans::t=number

Where number is the time period, in seconds, after which you want to clear TCAP transactions.

For example, to clear all TCAP transactions that are older than 60 seconds, you would enter the following command:

clr-tcap-trans::t=60

Enabling Blocking/Unblocking Messages

You may want to modify the properties of an IP FAS signaling service to enable your system to send blocking (BLO) and unblocking (UBL) messages when bearer channels go IS and OOS, respectively. The process of modifying the properties of a signaling service is referred to as dynamic reconfiguration. For more information about dynamic reconfiguration, refer to the "Understanding Dynamic Reconfiguration" section.


Caution We do not recommend enabling the sending of BLO/UBL messages on your Cisco MGC.


Note You can use the CMM or the VSPT to enable the sending of BLO/UBL messages on your system. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information about using the CMM or VSPT to modify the properties of an IP FAS signaling service.


To enable your system to send BLO and UBL messages, perform the following steps:


Step 1 Start a provisioning session, as described in the "Starting a Provisioning Session" section.

Step 2 Enter the following command to set the property that enables the sending of BLO/UBL messages when bearer channels go IS/OOS, respectively:

prov-ed:ipfaspath:name="comp_name",PropagateSvcMsgBlock=true

Where comp_name is the MML name for the IP FAS signaling service on which you are enabling BLO/UBL messages.

For example, to enable the sending of BLO/UBL messages on an IP FAS signaling service named ipfas1, you would enter the following command:

prov-ed:ipfaspath:name="ipfas1",PropagateSvcMsgBlock=true

Step 3 Save and activate your provisioning changes, as described in the "Saving and Activating your Provisioning Changes" section.


Enabling Group Service Reset Messages

You may want to modify the properties of an SS7 signaling service to enable your system to send SS7 group service reset (GSR) messages for all CICs during point code initialization, so that the Cisco MGC to synchronize its bearer channel blocking state with that of the end office. The process of modifying the properties of a signaling service is referred to as dynamic reconfiguration. For more information about dynamic reconfiguration, refer to the "Understanding Dynamic Reconfiguration" section.


Caution We do not recommend enabling the sending of GSR messages on your Cisco MGC.


Note You can use the CMM or the VSPT to enable the sending of GSR messages on your system. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information about using the CMM or VSPT to modify the properties of an SS7 signaling service.


To enable the sending of GSR messages, perform the following steps:


Step 1 Start a provisioning session as described in the "Starting a Provisioning Session" section.

Step 2 Enter the following command to set the property that enables the sending of GRS messages for CICs during point code initialization:

prov-ed:ss7path:name="comp_name",GRSEnabled=true

Where: comp_name—MML name for the SS7 signaling service on which you are enabling the sending of GRS messages.

For example, to enable the sending of GRS messages on an SS7 signaling service named ss7svc1, you would enter the following command:

prov-ed:ss7path:name="ss7svc1",GRSEnabled=true

Step 3 Save and activate your provisioning changes as described in the "Saving and Activating your Provisioning Changes" section.


Managing Bearer Channels

The operations you can use to manage bearer channels are described in the following sections:

Verifying Proper Replication of Calls

Retrieving the States of Bearers Held By a Media Gateway

Blocking CICs

Retrieving the Administrative State

Verifying Proper Replication of Calls

Ensure that the standby Cisco MGC becomes fully operational and that the replication of calls in progress has been completed by performing the steps in the following procedure:


Caution The following command retrieves the current status of all provisioned traffic channels. If you have a large number of traffic channels, you might want to limit the command to a subset of the provisioned channels, perhaps on a signaling-service-by-signaling-service basis. For example, to see just the provisioned channels for a signaling service named ss7svc2, you would enter the following command: rtrv-tc:name="ss7svc2".


Step 1 Log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-tc:all

The system returns a different set of responses, depending on which release of the MGC software you are running and the type of configuration you are using on the associated media gateway.

When the Cisco MGC software is used on a nailed network, the system returns a response similar to the following:

   Media Gateway Controller - MGC-01 2000-04-05 08:26:36
M  RTRV
   "dpc1:CIC=1,PST=IS,CALL=IDLE,BLK=NONE"
   "dpc1:CIC=2,PST=IS,CALL=IDLE,BLK=NONE"
   "dpc1:CIC=3,PST=IS,CALL=IDLE,BLK=NONE"
   "dpc1:CIC=4,PST=IS,CALL=IDLE,BLK=NONE"
   "dpc1:CIC=5,PST=IS,CALL=IDLE,BLK=NONE"
   "dpc1:CIC=6,PST=IS,CALL=IDLE,BLK=NONE"
   "dpc1:CIC=7,PST=IS,CALL=IDLE,BLK=NONE"
   "dpc1:CIC=8,PST=IS,CALL=IDLE,BLK=NONE"
   "dpc1:CIC=9,PST=IS,CALL=IDLE,BLK=NONE"

When the Cisco MGC software is used on a switched network, the system returns a response similar to the following:

   Media Gateway Controller - MGC-04 2000-04-05 08:05:54
M  RTRV
   "dpc1:CIC=1,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=2,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=3,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=4,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=5,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=6,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=7,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=8,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=9,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"


Note An explanation of the fields in the response can be found in the "Understanding CIC States" section.


Step 2 Repeat Step 1 on the standby Cisco MGC.

Step 3 Verify that the CICs in both systems are in sync and show the same status.

Calls in progress should say CALL=IN for both systems.


If necessary, you can force the active Cisco MGC to do a maintenance switchover (see the "Performing a Manual Switchover" section) and repeat the above procedure for that system.

Retrieving the States of Bearers Held By a Media Gateway

You can retrieve the states of bearer channels being held by a media gateway. To retrieve the state of a group bearer channels associated with one or more signaling destination(s) that are being held by a media gateway, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-tc-held:sig_dest| &sign_dest...

Where sig_dest is a logical signaling destination, such as an SS7 point code, FAS path, IP FAS path, or DPNSS path. You can display a complete list of configured components by performing the procedure in the "Retrieving component data" section.

When none of the group of bearer channels associated with the specified signaling destination(s) are being held by a media gateway, the system returns a response similar to the following:

MGC-01 - Media Gateway Controller 2001-06-12 16:28:39
M  RTRV
   "dpc1"
   /* No bearer channels in held state */

When bearer channels associated with the specified signaling destination(s) are being held by a media gateway, the system returns a response similar to the following:

MGC-01 - Media Gateway Controller 2001-06-12 16:28:39
M  RTRV
   "dpc1:CIC=1,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=1,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=2,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=3,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=4,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=5,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=6,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=7,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=8,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=9,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"

To retrieve the state of all bearer channels held by a media gateway, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-tc-held:all

When none of the bearer channels are being held by a media gateway, the system returns a response similar to the following:

Retrieving results.  This could take a few moments...
   MGC-01 - Media Gateway Controller 2001-06-12 16:28:39
M  RTRV
   "opc"
   /* No bearer channels in held state */
   "dpc1"
   /* No bearer channels in held state */
   "dpc2"
   /* No bearer channels in held state */

When bearer channels are being held by a media gateway, the system returns a response similar to the following:

MGC-01 - Media Gateway Controller 2001-06-12 16:28:39
M  RTRV
   "dpc1:CIC=1,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=1,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=2,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=3,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=4,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=5,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=6,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=7,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=8,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc1:CIC=9,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc2:CIC=10,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc2:CIC=11,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc2:CIC=12,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc2:CIC=13,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc2:CIC=14,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc2:CIC=15,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc2:CIC=16,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc2:CIC=17,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"
   "dpc2:CIC=18,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE"

Blocking CICs

You may need to block a CIC or a range of CICs on your Cisco MGC. Blocking a single CIC causes a BLA message to be sent to the destination SSP. Blocking a range of CICs causes a CGB message to be sent to the destination SSP. The range option only can be used to block CICs within a given trunk (T1 or E1).

To block a single CIC, log in to your active Cisco MGC, start an MML session and enter the following command:

blk-cic:dest_pc:CIC=number

Where:

dest_pc—MML name of a DPC associated with the CIC you want to block.

number—The number of the CIC you want to block.

For example, to block CIC number 1, which is associated with a DPC called dpc1, you would enter the following command:

blk-cic:dpc1:cic=1

To block a range of CICs, log in to your active Cisco MGC, start an MML session, and enter the following command:

blk-cic:dest_pc:CIC=number,RNG=range

Where:

point_code—MML name of a DPC associated with the CICs you want to block.

number—The number of the first CIC in the range of CICs you want to block.

range—Specifies the end of the range of CICs to be blocked.


Note The Cisco MGC software can be configured to issue individual or group supervision messages for point codes that are associated with an ISUP signaling service. ISUP signaling services issue group supervision messages by default. If an ISUP signaling service is configured to issue individual supervision messages, the range option cannot be used with this command. Blocking of CICs can only be done one CIC number at a time for point codes associated with an ISUP signaling service.


For example, to block CIC number 1 through 20, which are associated with a DPC called dpc1, you would enter the following command:

blk-cic:dpc1:cic=1,rng=20

To verify that the CIC(s) have been successfully blocked, retrieve the status of the affected CICs as described in the "Verifying CIC States" section. When you want to return the CIC(s) to service, you must unblock the CIC(s) as described in the "Unblocking CICs" section.

Retrieving the Administrative State

The administrative state refers to the state of CICs (on the Cisco MGC) and spans and bearer channels (on the associated media gateway). There are three possible states: locked, unlocked, and shutdown. You can use the rtrv-admin-state MML command to determine the administrative state of several objects in the Cisco SS7 solution environment, including the Cisco MGC, an associated MGCP media gateway, a trunk group, a signaling service, spans and bearer channels associated with a signaling service (for non-ISUP trunks), and CICs associated with a signaling service (for ISPU trunks).

When you retrieve the administrative state of a object that consists of groups of CICs or spans and bearer channels, you receive an inferred target state, based on the following criteria:

If all circuits are in a locked state, the inferred target administrative state is locked.

If at least one circuit is in an unlocked state, the inferred target administrative state is unlocked.

If the circuits are in a mixture of the locked and shutdown states, the inferred target administrative state is shut down.

If you want to change the administrative state of a component, refer to the "Setting the Administrative State" section.

The following procedures describe how you can use the rtrv-admin-state MML command:

Retrieving the Administrative State of a Cisco MGC

Retrieving the Administrative State of a Media Gateway

Retrieving the Administrative State of a Trunk Group

Retrieving the Administrative State of a Signaling Service

Retrieving the Administrative State of Spans

Retrieving the Administrative State of CICs

Retrieving the Administrative State of a Cisco MGC

To retrieve the administrative state of a Cisco MGC, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-admin-state:mgc

Where mgc is the MML name of the Cisco MGC host.

The system returns a response similar to the following:

Media Gateway Controller  - MGC-03 2000-02-17 14:27:52
M  COMPLD
   "mgca:PST=UNLOCK,LOCK=0,UNLOCK=384,SHUTDOWN=0"

If you want to change the administrative state of the Cisco MGC, refer to the "Setting the Administrative State of a Cisco MGC" section.

Retrieving the Administrative State of a Media Gateway

To retrieve the administrative state of an associated media gateway, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-admin-state:gateway

Where gateway is the MML name of the associated media gateway.


Note Not all media gateway types are applicable. Supported types are CU, MUX, and MGW external nodes.


The system returns a response similar to the following:

Media Gateway Controller  - MGC-03 2000-02-17 14:27:52
M  COMPLD
   "mgw1:PST=UNLOCK,LOCK=0,UNLOCK=384,SHUTDOWN=0"

If you want to change the administrative state of the media gateway, refer to the "Setting the Administrative State of a Media Gateway" section.

Retrieving the Administrative State of a Trunk Group

To retrieve the administrative state of a trunk group, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-admin-state:trkgrp

Where trkgrp is the MML name of the trunk group.


Note This command can only be used for time-division multiplexing (TDM) trunk groups. Allow the corresponding MML name for component type "0020".


The system returns a response similar to the following:

Media Gateway Controller  - MGC-03 2000-02-17 14:27:52
M  COMPLD
   "trunkgrp1:PST=UNLOCK,LOCK=0,UNLOCK=384,SHUTDOWN=0"

If you want to change the administrative state of the trunk group, refer to the "Setting the Administrative State of a Trunk Group" section.

Retrieving the Administrative State of a Signaling Service

To retrieve the administrative state of a signaling service, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-admin-state:sig_srv

Where sig_srv is the MML name of the signaling service. The following signaling service types are valid for this command:

For in-band TDM up to MUX and then time switched to TDM media and sent to the Cisco MGC.

For in-band TDM signaling up to CU and then encapsulated and sent over IP to the Cisco MGC.

For in-band TDM signaling up to the media gateway and then converted to NI2 and sent to the
Cisco MGC over IP (that is, FE box<-sig/tdm->media gateway<-NI2/IP-> Cisco MGC).

Signaling service or routeset associated with a DPC.

EISUP signaling service.

The system returns a response similar to the following:

Media Gateway Controller  - MGC-03 2000-02-17 14:27:52
M  COMPLD
   "ss7svc1:PST=UNLOCK,LOCK=0,UNLOCK=384,SHUTDOWN=0"

If you want to change the administrative state of the signaling service, refer to the "Setting the Administrative State of a Signaling Service" section.

Retrieving the Administrative State of Spans

To retrieve the administrative state of a single span, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-admin-state:sig_srv,span=x

Where:

sig_srv is the MML name of the signaling service. The following signaling service types are valid for this command:

For in-band TDM up to MUX and then time switched to TDM media and sent to the Cisco MGC.

For in-band TDM signaling up to CU and then encapsulated and sent over IP to the Cisco MGC.

For in-band TDM signaling up to the media gateway and then converted to NI2 and sent to the
Cisco MGC over IP (that is, FE box<-sig/tdm->media gateway<-NI2/IP-> Cisco MGC).

Signaling service or routeset associated with a DPC.

EISUP signaling service.

x—A16-bit value that identifies an ISDN/PRI physical cable.

For example, to determine the administrative state of span number 2 associated with a signaling service called ss7svc1, you would enter the following command:

rtrv-admin-state:ss7svc1,span=2

The system returns a response similar to the following:

Media Gateway Controller  - MGC-03 2000-02-17 14:27:52
M  COMPLD
   "ss7svc1:PST=UNLOCK,LOCK=0,UNLOCK=384,SHUTDOWN=0"

To retrieve the administrative state of a bearer channel or a range of bearer channels in a span, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-admin-state:sig_srv,span=x,bc=y[,rng=range]

Where:

sig_srv is the MML name of the signaling service. The following signaling service types are valid for this command:

For in-band TDM up to MUX and then time switched to TDM media and sent to the Cisco MGC.

For in-band TDM signaling up to CU and then encapsulated and sent over IP to the Cisco MGC.

For in-band TDM signaling up to the media gateway and then converted to NI2 and sent to the
Cisco MGC over IP (that is, FE box<-sig/tdm->media gateway<-NI2/IP-> Cisco MGC).

Signaling service or routeset associated with a DPC.

EISUP signaling service.

x—A16-bit value that identifies an ISDN/PRI physical cable.

y—A numeric value that identifies the non-ISUP bearer channel number.

range—A value such that y+range is a valid bearer channel number. The administrative state for all bearer channels between y and y+range are retrieved.

For example, to determine the administrative state of bearer channels numbers 2 through 6, associated with a signaling service called ss7svc1, you would enter the following command:

rtrv-admin-state:ss7svc1,span=2,bc=2,rng=5

The system returns a response similar to the following:

Media Gateway Controller  - MGC-03 2000-02-17 14:27:52
M  COMPLD
   "ss7svc1:PST=UNLOCK,LOCK=0,UNLOCK=384,SHUTDOWN=0"

If you want to change the administrative state of the spans, refer to the "Setting the Administrative State of Spans" section.

Retrieving the Administrative State of CICs

To retrieve the administrative state of a CIC or a range of CICs, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-admin-state:sig_srv,cic=number[,rng=range]

Where:

sig_srv is the MML name of the signaling service. The following signaling service types are valid for this command:

For in-band TDM up to MUX and then time switched to TDM media and sent to the Cisco MGC.

For in-band TDM signaling up to CU and then encapsulated and sent over IP to the Cisco MGC.

For in-band TDM signaling up to the media gateway and then converted to NI2 and sent to the
Cisco MGC over IP (that is, FE box<-sig/tdm->media gateway<-NI2/IP-> Cisco MGC).

Signaling service or routeset associated with a DPC.

EISUP signaling service.

number—A valid CIC number.

range—A value such that y+range is a valid CIC number. The administrative state for all CICs between y and y+range are retrieved.

For example, to determine the administrative state of CICs 2 through 11 associated with a signaling service called ss7svc1, you would enter the following command:

rtrv-admin-state:ss7svc1,cic=2,rng=9

The system returns a response similar to the following:

Media Gateway Controller  - MGC-03 2000-02-17 14:27:52
M  COMPLD
   "ss7svc1:PST=UNLOCK,LOCK=0,UNLOCK=384,SHUTDOWN=0"

If you want to change the administrative state of the CICs, refer to the "Setting the Administrative State of CICs" section.

Provisioning your Cisco MGC

The operations you can use to provision your Cisco MGC are described in the following sections:

Starting a Provisioning Session

Saving and Activating your Provisioning Changes

Ending a Provisioning Session Without Activating your Changes

Invoking Dynamic Reconfiguration

Retrieving Provisioning Data

Provisioning a Dial Plan

Importing Provisioning Data

Exporting Provisioning Data

Managing Automatic Congestion Control

For more detailed information about provisioning your Cisco MGC, refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide.

Starting a Provisioning Session

You may need to start a provisioning session as part of your system operations. To do this, log into the active Cisco MGC, start an MML session, and enter the following command:

prov-sta::srcver="curr_ver",dstver="mod_ver"

Where:

curr_ver—The name of the current configuration version. In place of the name of the current configuration version, you can also enter:

new—A new default session configuration; no existing source configuration is available.

active—Selects the active configuration as the source for configuration changes.


Note If you do not know the name of your current configuration session, you can use the CONFIG-LIB viewer in the MGC toolbar to determine that name. For more information on the CONFIG-LIB viewer, proceed to the "Using the Config-Lib Viewer" section.


mod_ver—A new configuration version name that contains your provisioning changes.

For example, to use a configuration version called ver1 as the basis for a version to be called ver2, you would enter the following command:

prov-sta::srcver="ver1",dstver="ver2"

Once a provisioning session is underway, you may use the prov-add, prov-ed, or prov-dlt MML commands to add, modify, and delete components on your system. If you want to add components to your system, refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide. If you want to modify or delete components on your system, refer to the "Invoking Dynamic Reconfiguration" section.

There are two ways to close your provisioning session: saving and activating your provisioning changes, as described in the "Saving and Activating your Provisioning Changes" section or ending your provisioning session without saving and activating your changes, as described in the "Ending a Provisioning Session Without Activating your Changes" section.

Saving and Activating your Provisioning Changes

When you have completed making provisioning changes in your session, you must enter a command to save and activate your changes. There are two different provisioning MML commands that do this: prov-cpy and prov-dply.


Caution Using the prov-cpy and prov-dply MML commands can severely impact your system's call processing performance, depending on the extent of your provisioning changes. We recommend that these commands be issued during a maintenance window when traffic is minimal.

The prov-cpy MML command is used to save and activate your changes on the active Cisco MGC. This command is typically used to save and activate changes on a Cisco MGC in a simplex configuration. However, you can use the prov-cpy MML command on Cisco MGCs in high-availability or continuous-service configurations, to save and activate your changes on the active Cisco MGC. If you choose to do this, you should enter the prov-sync MML command immediately afterwards, to have your changes saved and activated on the standby Cisco MGC.


Note When you enter the prov-cpy command, your provisioning session is also automatically ended. If you want to make additional provisioning changes, you must start a new provisioning session as described in the "Starting a Provisioning Session" section.



Caution Using the prov-sync MML command can severely impact your system's call processing performance. We recommend that this command be issued during a maintenance window when traffic is minimal.


Note When the prov-sync MML command is used to synchronize the provisioning settings on the standby MGC host with current settings on the active MGC host, the system does not indicate when the synchronization process has failed.


The prov-dply MML command is used to save and activate your changes on the active and standby
Cisco MGCs. This command is typically used to save and activate changes on Cisco MGCs in high-availability or continuous-service configurations. This command should not be used on a Cisco MGC in a simplex configuration.


Note When you enter the prov-dply command, your provisioning session is also automatically ended, unless an error occurs during execution. If you want to make additional provisioning changes, you must start a new provisioning session as described in the "Starting a Provisioning Session" section.


Ending a Provisioning Session Without Activating your Changes

You may find that you want to end a provisioning session without saving and activating the changes you have entered during your session. If this is the case, you can enter the prov-stp MML command. This command ends your current provisioning session and your changes are not entered.

Invoking Dynamic Reconfiguration

You can dynamically reconfigure, that is modify or delete, select components that you have provisioned on your Cisco MGC. The following procedure lists the sequence of actions you must perform (actual steps to take depend on the provisioning tool you use):


Note For more information on which components can be dynamically reconfigured, refer to the "Understanding Dynamic Reconfiguration" section.



Step 1 Start a provisioning session as described in the "Starting a Provisioning Session" section.

Step 2 Enter the prov-ed or prov-dlt MML commands to change or delete a component. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information on the specific structure of the command for the component type you want to dynamically reconfigure.


Note To change or delete a component, you might have to meet certain preconditions, such as changing the service state of the component to OOS using MML commands (as mentioned in Table 3-9).


Step 3 Repeat Step 2 for each component that you want to modify or delete. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for provisioning guidelines.

Save and activate your provisioning changes as described in the "Saving and Activating your Provisioning Changes" section.

Step 4 After completing a dynamic reconfiguration operation on the Cisco MGC, you must issue a service message from the associated media gateway to invoke the changes throughout your SS7 solution.


Note Refer to the documentation associated with your media gateway for more information on issuing service messages.



Understanding Dynamic Reconfiguration

Dynamic reconfiguration is a function in the Cisco MGC software that allows you to modify or delete Cisco MGC components while the Cisco MGC software is still in service. Dynamic reconfiguration can be performed without shutting down or restarting either the Cisco MGC software or the Sun host platform.

The Cisco MGC component types that can be dynamically reconfigured are listed below. No other component types can be dynamically reconfigured.

CICs

Point codes (DPC, originating point code [OPC], or APC)

Physical interfaces (TDM, ATM, or Ethernet)

Signaling links (TDM, ATM, or SS7)

Signaling services

SS7 subsystems

SS7 routes

Trunk groups

Component properties (linksets, signaling services, and trunk groups)

Table 3-1 lists the preconditions that must be met for the component before any modification or deletion action can be performed as part of dynamic reconfiguration. There are no preconditions for adding components as part of dynamic reconfiguration.

Table 3-9 Dynamic Reconfiguration Preconditions 

Component
Preconditions

CICs

Call state of the CIC must be IDLE (refer to the "Verifying CIC States" section) and the service state of the associated DPC must be set to OOS (refer to the "Setting the Service State of a Destination" section).

or

Block type for the CIC must be set to locally blocked (refer to the "Blocking CICs" section) and the associated media gateway span and timeslot must be set to OOS (refer to the documentation for the media gateway).

Note In Release 7.4(12), when you add CICs dynamically, you must shutdown and restore the RLM links (using the shutdown and no shutdown commands) on the associated media gateways after you provision the CICs on the Cisco MGC, to bring the CICs in to service. Refer to the documentation for your media gateway for more information on using these commands.

Point codes (DPC, OPC, or APC) and SS7 routes

Service state of the point code and SS7 route must be set to OOS (refer to the "Setting the Service State of a Destination" section).

Signaling links (TDM, ATM, or SS7)

Service state of the signaling link must be set to OOS (refer to the "Setting the Service State of a Link or Linkset" section).

Signaling services

Service state of the signaling service must be set to OOS (refer to the "Setting the Service State of a Signaling Channel" section).

SS7 subsystems

Service state of the subsystems and routes must be set to OOS (refer to the "Setting the Service State of a Local Subsystem Number" section).

Trunk groups

Component properties (linksets, signaling services, and trunk groups)

None.


For example, if you want to change the settings for a DPC or remove it altogether, you must first set the service state of the DPC to OOS, before attempting to make changes. If you do not set the service state to OOS, your dynamic reconfiguration request is rejected with an error message.

During dynamic reconfiguration, the system goes through two phases. First, it validates the service states of all objects being changed. If any error is encountered, no reconfiguration takes place on any of the objects. Error messages indicate which components are in error. The format of the error message is "Component's MML name, process rejecting change, reason for rejecting the change, remedy."

If no errors are encountered during the validation phase, the update phase proceeds. This is where the new configuration data is loaded by all of the processes. At the beginning of the update phase, an SNMP alarm is displayed to indicate update starting. At the end of the update phase, the alarm clears, and, if commit/deploy was initiated by MML, the MML response is returned.

To change the current configuration of a component using dynamic reconfiguration, you can only use the provisioning tools provided with the Cisco MGC, MML provisioning commands or an SNMP provisioning agent (such as the Cisco MGC Manager [CMM] or the Voice Services Provisioning Tool [VSPT]).

Provisioning or configuring by using any other means can cause errors during the dynamic reconfiguration process. Using these tools is required because the dynamic reconfiguration process relies on the provisioning tools to validate the data values and, more importantly, to crosscheck the dependencies of the objects. For example, the provisioning tool ensures that adding a signal transfer point (STP) first requires the existence of the associated route.

Retrieving Provisioning Data

You can use the prov-rtrv MML command to retrieve information about your current provisioning settings. The ways in which you can use this command to retrieve provisioning data are described in the following sections:

Retrieving Data for an Individual Component

Retrieving Data for All Components

Retrieving Data for All Components of a Particular Type

Retrieving Data on the Current Provisioning Session

Retrieving Data on Supported Signaling Protocols

Retrieving Data for an Individual Component

You can retrieve provisioning data on any individual component on your system. To do this, log in to the active Cisco MGC, start an MML session, and enter the following command:

prov-rtrv:component:name=MML_name

Where:

component—The MML component type associated with the desired component. You can find a complete list of configured MML component types by performing the steps in the "Retrieving component data" section.

MML_name—The MML name for the desired component. You can determine the MML names for the various components using the prov-rtrv:all MML command.

For example, to view the provisioning data for a point code called opc, you would enter the following command:

prov-rtrv:ptcode:name="opc"

The system returns a response similar to the following:

MGC-01 - Media Gateway Controller 2000-08-25 16:28:56
M  RTRV
   ""session=active:ptcode"
   /* 
   NAME = opc
   DESC = Originating Point Code
   NETADDR = 201.1.100
   NETIND = 2
   */

The response to the command is dependent upon the component type associated with the desired component. For example, to view the properties for an SS7 signaling service called ss7svc1, you would enter the following command:

prov-rtrv:sigsvcprop:name="ss7svc1"

The system returns a response similar to the following:

MGC-01 - Media Gateway Controller 2001-06-01 10:09:47
M  RTRV
   "session=active:sigsvcprop"
   /*
adjDestinations = 16
AlarmCarrier = 0
BOrigStartIndex = 0
BothwayWorking = 1
BTermStartIndex = 0
CctGrpCarrier = 2
CGBA2 = 0
CircHopCount = 0
CLIPEss = 0
CotInTone = 2010
CotOutTone = 2010
CotPercentage = 0
dialogRange = 0
ExtCOT = Loop
ForwardCLIinIAM = 1
ForwardSegmentedNEED = 1
GLARE = 0
GRA2 = 0
GRSEnabled = false
InternationalPrefix = 0
layerRetries = 2
layerTimer = 10
MaxACL = 3
maxMessageLength = 250
mtp3Queue = 1024
NationalPrefix = 0
NatureOfAddrHandling = 0
Normalization = 0
OMaxDigits = 24
OMinDigits = 0
OOverlap = 0
OwnClli = na
RedirMax = 3
ReleaseMode = Async
restartTimer = 10
RoutePref = 0
sendAfterRestart = 16
slsTimer = 300
srtTimer = 300
sstTimer = 300
standard = ANSI92
SwitchID = 0
TMaxDigits = 24
TMinDigits = 0
TOverlap = 0
variant = SS7-ANSI
VOIPPrefix = 0
   */

Retrieving Data for All Components

You can retrieve data on all of the components provisioned on your system. To do this, log in to the active Cisco MGC, start an MML session, and enter the following command:

prov-rtrv:all

The system returns a response similar to the following:

MGC-01 - Media Gateway Controller 2001-06-12 17:12:49
M  RTRV
   "session=active:all"
   /*
NAME                  COMPID    Parent Name           TID              Description
----                  --------  -----------           ---              -----------
"ether1"              00050003  "MGC-01"              CARD             "Ethernet Card 1"
"ether2"              00050004  "MGC-01"              CARD             "Ethernet Card 2"
"enif1"               00060003  "ether1"              ENETIF           "Ethernet IF 1"
"enif2"               00060004  "ether2"              ENETIF           "Ethernet IF 2"
"ls1"                 00080001  "dpc1"                LNKSET           "link set 1 to 
2600-202-INET-6a"
"ls2"                 00080004  "dpc2"                LNKSET           "link set 2 to 
2600-203-INET-6a"
"ls-itu"              00080005  "stp1"                LNKSET           "Lkset stp1,1-6-1"
"va-5300-202-1"       00100001  "va-5300-202"         IPLNK            "link 1 to 
va-5300-202"
"va-5300-202-2"       00100002  "va-5300-202"         IPLNK            "link 2 to 
va-5300-202"
"va-5300-203-1"       00100003  "va-5300-203"         IPLNK            "link 1 to 
va-5300-203"
"va-5300-203-2"       00100004  "va-5300-203"         IPLNK            "link 2 to 
va-5300-203"
"va-5800-5-1"         00100005  "va-5800-5"           IPLNK            "link 1 to 
va-5300-202"
"va-5800-5-2"         00100006  "va-5800-5"           IPLNK            "link 2 to 
va-5800-5"
"route1"              00110001  "MGC-01"              SS7ROUTE         "route to dpc1 via 
ls1"
"rt3"                 00110005  "MGC-01"              SS7ROUTE         "SS7 Rte3-for scp2"
"rt1"                 00110006  "MGC-01"              SS7ROUTE         "SS7 Rte1-stp1"
"rt2"                 00110007  "MGC-01"              SS7ROUTE         "SS7 Rte2-for scp1"
"route2"              0011000a  "MGC-01"              SS7ROUTE         "route to dpc2 via 
ls2"
"opc2"                00130002  "MGC-01"              PTCODE           "Own Pointcode"
"dpc2"                00130004  "MGC-01"              PTCODE           "TDM Switch dpc2 
Pointcode"
"opc1"                00130006  "MGC-01"              PTCODE           "Own Pointcode"
"dpc1"                00130007  "MGC-01"              PTCODE           "TDM Switch dpc1 
Pointcode"
"va-5300-202"         00140001  "nas1"                NASPATH          "Serviceto nas1"
"va-5300-203"         00140002  "nas2"                NASPATH          "Serviceto nas2"
"va-5800-5"           00140003  "nas1"                NASPATH          "Serviceto nas1"
"ss7svc2"             00150002  "dpc2"                SS7PATH          "SS7 service to 
dpc2"
"ss7svc1"             00150005  "dpc1"                SS7PATH          "SS7 service to 
dpc1"
"nas1"                00160001  "MGC-01"              EXTNODE          "va-5300-202"
"nas2"                00160002  "MGC-01"              EXTNODE          "va-5300-203"
"nas8"                00160003  "MGC-01"              EXTNODE          "va-5800-5"
"ls1link1"            001d0001  "ls1"                 C7IPLNK          "link 1 of ls1 to 
va-2600-202"
"ls2link1"            001d0002  "ls2"                 C7IPLNK          "link 1 of ls2 to 
va-2600-202"
"ls1link2"            001d0003  "ls1"                 C7IPLNK          "link 2 of ls1 to 
va-2600-203"
"ls2link2"            001d0004  "ls2"                 C7IPLNK          "link 2 of ls2 to 
va-2600-203"
"lk-3"                001d0005  "ls-itu"              C7IPLNK          "SS7ITU 2600-91"
"stp1"                001e0001  "MGC-01"              APC              "STP 1"
"scp1"                001e0002  "MGC-01"              APC              "SCP1 for PC/SSN"
"scp2"                001e0003  "MGC-01"              APC              "SCP2 for PC/SSN"
"ss7subsys3"          001f0003  "MGC-01"              SS7SUBSYS        "pc_ssn scp2 
rte-ssn 254"
"ss7subsys1"          001f0004  "MGC-01"              SS7SUBSYS        "ssn 254(800)"
"ss7subsys2"          001f0005  "MGC-01"              SS7SUBSYS        "pc_ssn s
cp1 rte-ssn 254"
   */

Retrieving Data for All Components of a Particular Type

You can retrieve provisioning data on all components of a particular type on your system. To do this, log in to the active Cisco MGC, start an MML session, and enter the following command:

prov-rtrv:component:"all"

Where: component is the MML component type associated with the desired component group. You can find a complete list of MML component types in the Cisco Media Gateway Controller Software Release 7 Provisioning Guide.

For example, to view the provisioning data for all point codes, you would enter the following command:

prov-rtrv:ptcode:"all"

The system returns a response similar to the following:

MGC-01 - Media Gateway Controller 2001-06-12 17:16:42
M  RTRV
   "session=active:ptcode"
   /*
NAME                  NETADDR      NETIND
----                  -------      ------
opc2                  2.11.1       2
dpc2                  2.2.2        2
opc1                  2.10.2       2
dpc1                  1.1.1        2
   */

Retrieving Data on the Current Provisioning Session

You can retrieve provisioning data on the current provisioning session. To do this, log in to the active Cisco MGC, start an MML session, and enter the following command:

prov-rtrv:session

The system returns a response similar to the following:

MGC-02 - Media Gateway Controller 2001-06-13 13:39:19
M  RTRV
   "session=jtest:session"
   /*
Session ID = mml1
SRCVER = active
DSTVER = jtest
   */

Retrieving Data on Supported Signaling Protocols

You can retrieve protocol data for the current provisioning session. To do this, log in to the active
Cisco MGC, start an MML session, and enter the following command:

prov-rtrv:variants

The system returns a response similar to the following:

MGC-01 - Media Gateway Controller 2001-06-12 17:18:25
M  RTRV
   "session=active:variants"
   /*
MDO File name         Protcol Family        Switch Type
-------------         --------------        -----------
ANSISS7_CLEAR         SS7-ANSI              20
ANSISS7_MCI           SS7-ANSI              0
ANSISS7_NOATPTX       SS7-ANSI              0
ANSISS7_SPRINT        SS7-ANSI              0
ANSISS7_STANDARD      SS7-ANSI              0
ATT_41459             ISDNPRI               17
ATT_41459_C2          ISDNPRI               17
BELL_1268             ISDNPRI               22
BELL_1268_C3          ISDNPRI               22
BTNUP_BTNR167         SS7-UK                5
BTNUP_IUP             SS7-UK                5
BTNUP_NRC             SS7-UK                5
DPNSS_BTNR188         DPNSS                 26
EISUP                 EISUP                 0
ETS_300_102           ISDNPRI               27
ETS_300_102_C1        ISDNPRI               27
ETS_300_102_C6        ISDNPRI               27
ETS_300_121           SS7-ITU               0
ETS_300_172           ISDNPRI               29
ETS_300_356           SS7-ITU               0
HKTA_2202             SS7-ITU               0
ISUPV1_POLI           SS7-ITU               0
ISUPV2_32DIG          SS7-ITU               0
ISUPV2_CZECH          SS7-ITU               0
ISUPV2_FINNISH96      SS7-ITU               0
ISUPV2_FRENCH         SS7-ITU               0
ISUPV2_GERMAN         SS7-ITU               0
ISUPV2_JAPAN          SS7-Japan             10
ISUPV2_KPNPB          SS7-ITU               0
ISUPV2_NTT            SS7-Japan             0
ISUPV2_SPANISH        SS7-ITU               0
ISUPV2_SWISS          SS7-ITU               0
ISUPV2_TELEFONICA     SS7-ITU               0
ISUPV2_VIETNAM        SS7-ITU               0
ISUPV3_UK             SS7-UK                0
ISUPV3_UK_AXE10       SS7-UK                15
ISUPV3_UK_AXE10_BTNETCHAT  SS7-UK                15
ISUPV3_UK_BTNETCHAT   SS7-UK                0
Q721_BASE             SS7-ITU               5
Q721_BRAZILIAN        SS7-ITU               5
Q721_CHINA            SS7-China             5
Q721_FRENCH           SS7-ITU               5
Q721_PHILLIPINE       SS7-ITU               5
Q761_ARGENTINA        SS7-ITU               0
Q761_ARGENTINA_C2     SS7-ITU               0
Q761_AUSTRL           SS7-ITU               0
Q761_AUSTRL_C2        SS7-ITU               0
Q761_BASE             SS7-ITU               0
Q761_BELG_BCOM        SS7-ITU               0
Q761_BELG_ISUP_CUJO   SS7-ITU               0
Q761_BELG_MOBI        SS7-ITU               0
Q761_CHILE            SS7-ITU               0
Q761_CHINA            SS7-China             0
Q761_CHINA_MOB        SS7-China             0
Q761_CHINA_MOB        SS7-ITU               0
Q761_DANISH           SS7-ITU               0
Q761_INDIA            SS7-ITU               0
Q761_KOREAN           SS7-ITU               0
Q761_NEWZEALAND       SS7-ITU               0
Q761_PERU             SS7-ITU               0
Q761_PORTUGAL         SS7-ITU               0
Q761_SIEMENS_MOBI     SS7-ITU               0
Q761_SINGAPORE        SS7-ITU               0
Q761_TAIWAN           SS7-ITU               0
Q761_THAILAND         SS7-ITU               0
Q767_BASE             SS7-ITU               0
Q767_BRAZIL           SS7-ITU               0
Q767_COLOMBIA         SS7-ITU               0
Q767_GUATEMALA        SS7-ITU               0
Q767_INDONESIA        SS7-ITU               0
Q767_ITAL             SS7-ITU               0
Q767_ITAL_INTERCONNECT  SS7-ITU               0
Q767_MEXICAN          SS7-ITU               0
Q767_RUSS             SS7-ITU               0
Q767_SPAN             SS7-ITU               0
Q767_SWED             SS7-ITU               0
Q767_TELSTRA          SS7-ITU               0
Q767_TURKISH          SS7-ITU               0
T113_BELL             SS7-ANSI              0
dummy                 AVM                   0
dummy                 MGCP                  0
dummy                 SGCP                  0
dummy                 TCAPOverIP            0
dummy                 VSI                   0
   */

Provisioning a Dial Plan

You can provision dial plans on your Cisco MGC using the commands listed below. For more information on provisioning and maintaining dial plans, refer to the Cisco Media Gateway Controller Software Release 7 Dial Plan Guide.

chg-dpl—Reloads dial plans based on customer group ID number.

numan-add—Adds an element to a dial plan.

numan-dlt—Deletes an element from a dial plan.

numan-ed—Edits an existing element in a dial plan.

numan-rtrv—Displays information pertaining to an element or all elements in a dial plan.


Note You can verify dial plans using the translation verification viewer on the Cisco MGC toolbar. For information on using the translation verification viewer, refer to the "Verifying a Dial Plan Translation" section.


Importing Provisioning Data

You can import provisioning data files (created using the prov-exp MML command) and execute the MML commands contained in those files in batch mode to copy the set up from another system, or return a system to a baseline configuration. Refer to the "Exporting Provisioning Data" section for more information on exporting provisioning data.

To import the provisioning data files and execute the MML commands in batch mode, log in to the active Cisco MGC, and enter the following UNIX command:

mml -b export_directory_path/filename

Where:

export_directory_path—The directory path to the location of the exported provisioning data files.

filename—The name of the provisioning data file you want to import.

The provisioning data files must be provisioned in the following order:

config.mml—Contains core configuration data (signaling services, SS7 nodes)

export_trunks.dat (created only when trunks are configured on your system)

export_trkgrp.dat (created only when trunk groups are configured on your system)

routing.mml—Contains routing plans

custGrpID.mml—One of these files is created for each existing dial plan, with the file being named with the associated customer group ID number.

For example, to import the provisioning data stored in the config.mml file, which is located in the /opt/ CiscoMGC/etc/cust_specific/saved_config directory, you would enter the following command:

mml -b /opt/CiscoMGC/etc/cust_specific/saved_config/config.mml

Exporting Provisioning Data

You can use the prov-exp MML command to export the current provisioning set up of your Cisco MGC in MML-command form to a file or files. This allows you to copy the provisioning data from one Cisco MGC and set up another Cisco MGC with that same provisioning data or to restored a Cisco MGC to a baseline provisioning environment. Refer to "Importing Provisioning Data" section for information on importing the provisioning data created by the prov-exp MML command.

To export part of the current configuration of your Cisco MGC to a file, log in to the active Cisco MGC, start an MML session, and enter the following command:

prov-exp:tid:dirname="export_directory_name"

Where:

tid—Types of data. These can be:

config—Core configuration data (signaling services, SS7 nodes), including trunks and trunk groups. This selection creates the following files: config.mml, export_trunks.dat (created only when trunks are configured on your system), and export_trkgrp.dat (created only when trunk groups are configured on your system).

routing—Routing plans. This selection creates a file called routing.mml

numan—Dial plans. This selection creates a file for each dial plan specified on your system. The file name is dependent on the customer group ID for each dial plan, that is the names of the files follows the format custGrpID.mml.

export_directory_name—Name of the directory to which the data is exported. This directory is a subdirectory within the /opt/CiscoMGC/etc/cust_specific directory established at installation.

For example, to export the core configuration data to a file stored in the /opt/CiscoMGC/etc/ cust_specific/saved_config directory, you would enter the following command:

prov-exp:config:dirname="saved_config"

To export all of the current configuration of your Cisco MGC to several files, log in to the active Cisco MGC, start an MML session, and enter the following command:

prov-exp:all:dirname="export_directory_name"

Where export_directory_name is the name of the directory to which the data is exported. This directory is a subdirectory within the /opt/CiscoMGC/etc/cust_specific directory established at installation.

The system creates the following files in the specified directory when this command is entered:

config.mml—Contains core configuration data (signaling services, SS7 nodes)

export_trunks.dat (created only when trunks are configured on your system)

export_trkgrp.dat (created only when trunk groups are configured on your system)

routing.mml—Contains routing plans

custGrpID.mml—One of these files is created for each existing dial plan, with the file being named with the associated customer group ID number.

For example, to export all of the provisioning data into files stored in the /opt/CiscoMGC/etc/ cust_specific saved_config directory, you would enter the following command:

prov-exp:all:dirname="saved_config"

Managing Automatic Congestion Control

The Cisco MGC supports Automatic Congestion Control (ACC). ACC dynamically regulates incoming traffic on the Cisco MGC to levels that can be handled effectively by rejecting a percentage of new calls when the Cisco MGC is congested. ACC increases the throughput of completed calls through the telephone network during periods of overload.

During periods of overload on the Cisco MGC, a user-defined percentage (depending on internal congestion level) of incoming calls are rejected and an ISUP release message is sent to the adjacent signaling point. That ISUP release message has a clear cause of Switch Equipment Congestion and contains an Automatic Congestion Level (ACL) value that indicates the overload level of the
Cisco MGC. For a call that is in progress when overload occurs and the call clears normally, the ISUP release message has a clear cause of Normal Call Clearing and an ACL value associated with the current overload level of the Cisco MGC.

ACC is controlled by parameters that are found in the XECfgParm.dat file and by a property associated with the signaling service or trunk group, which are described in the following sections:

Understanding Overload Level Percentage Parameters

Understanding the CPU Timer Interval Parameter

Understanding the Maximum ACL Value

Modifying the Maximum ACL Value

Retrieving Overload Level

Understanding Overload Level Percentage Parameters

The overload level (or congestion level) of the Cisco MGC is measured in three levels (1, 2, and 3, with 3 being the highest). Each overload level has three associated thresholds, one for overload onset, one for overload abatement, and one more for the percentage of calls that are rejected during an overload condition. These thresholds are defined by parameters found in the XECfgParm.dat file.

The XECfgParm.dat parameters that are used to set the overload level thresholds are listed below.

Ovl1OnsetThresh—Percentage of total CPU utilization at which overload level 1 is reached. The default value is 82. The range of valid values is 0 through 100.

Ovl1AbateThresh—Percentage of total CPU utilization at which overload level 1 abates. The default value is 75. The range of valid values is 0 through 100.

Ovl1RejectPercent—Percentage of calls that are rejected while overload level 1 is active. The default value is 25. The range of valid values is 0 through 100.

Ovl2OnsetThresh—Percentage of total CPU utilization at which overload level 2 is reached. The default value is 90. The range of valid values is 0 through 100.

Ovl2AbateThresh—Percentage of total CPU utilization at which overload level 2 abates. The default value is 77. The range of valid values is 0 through 100.

Ovl2RejectPercent—Percentage of calls that are rejected while overload level 2 is active. The default value is 50. The range of valid values is 0 through 100.

Ovl3OnsetThresh—Percentage of total CPU utilization at which overload level 3 is reached. The default value is 93. The range of valid values is 0 through 100.

Ovl3AbateThresh—Percentage of total CPU utilization at which overload level 3 abates. The default value is 85. The range of valid values is 0 through 100.

Ovl3RejectPercent—Percentage of calls that are rejected while overload level 3 is active. The default value is 100. The range of valid values is 0 through 100.

You can configure the onset, abatement, and rejection thresholds for CPU utilization using these XECfgparm.dat parameters. The default values for these parameters enable the Cisco MGC to operate in conformance with Q.543, section 3. You can modify these values experimentally, based on your network's traffic patterns, to enhance the performance of your Cisco MGC.


Note The instructions for modifying the XECfgParm.dat file are found in the Cisco Media Gateway Controller Software Release 7 Installation and Configuration Guide.



Caution Changing the ACC-related parameters in the XECfgParm.dat file requires that the Cisco MGC software be shut down and then re-started. If you decide to modify the parameters in the XECfgParm.dat file, you must contact the Cisco TAC before shutting down the Cisco MGC software.

The overload level is tracked using three measurements, which are described in Table 3-10.

Table 3-10 Overload Level Measurement Types 

Measurement
Frequency
Calculation

Mean CPU utilization level

Per CPU utilization interval (user-defined)

Mean of the average CPU utilization levels over the duration of the CPU utilization interval is compared to the overload level thresholds.

Engine thread utilization level

Per CPU utilization interval (user-defined)

Utilization level for the engine thread with the highest average usage level over the duration of the CPU utilization interval is compared to the overload level thresholds. There are three engine threads:

CallProc1

CallProc2

Dispatcher

Note The number of engine threads is equal to the XECfgParm.dat file parameter, *.numOfThreads, plus 1
((*.numOfThreads = 2) + 1 = 3).

Call processing engine queue occupancy level

Per new call

Current size of queue is divided by the capacity of the queue and compared to the queue occupancy overload thresholds. The queue occupancy overload thresholds are equal to half of the value of the corresponding overload level thresholds.

Note The queue occupancy thresholds are half the value of the overload level thresholds due to the high sensitivity of the measurement. For more information on the CPU utilization interval XECfgParm.dat parameter, refer to the "Understanding the CPU Timer Interval Parameter" section


Overload conditions are most likely to be caused by high CPU utilization levels, since the Cisco MGC software uses multi-threaded processing, which almost eliminates the possibility that the size of the call processing engine queue would exceed the queue occupancy overload thresholds. For information on viewing the current overload level, refer to the "Retrieving Overload Level" section.

When any of the three overload measurement types indicate that an overload onset threshold has been passed, the Cisco MGC generates an alarm associated based on the overload level. Table 3-11 details the overload level to alarm relationship. For more information on these alarms, refer to the Cisco Media Gateway Controller Software Release 7 Messages Reference Guide.

Table 3-11 Alarm Associations for Cisco MGC Overload Levels

Cisco MGC Overload Level
Associated Alarm

1

OverloadLight

2

OverloadMedium

3

OverloadHeavy


The alarms are automatically cleared when the associated overload measurement is re-taken and a new overload level has been reached, either dropping to the associated abatement threshold or rising to a higher onset threshold. For example, if, over three consecutive CPU utilization interval timer periods, the CPU utilization level measurement indicated that the overload level is 3 for the first period, that the overload level is 1 for the second period, and that the overload level is 2 for the third period, the system would go through the following process:

1. CPU utilization interval timer expires, Cisco MGC has an overload level of 3.

2. OverloadHeavy alarm is set.

3. CPU utilization interval timer expires, Cisco MGC has an overload level of 1.

4. The OverloadHeavy alarm is cleared.

5. The OverloadLight alarm is set.

6. CPU utilization interval timer expires, Cisco MGC has an overload level of 2.

7. The OverloadLight alarm is cleared.

8. The OverloadMedium alarm is set.


Note It is possible that during the time period for the above example, several overload level alarms associated with an overloaded call processing engine queue could also be set and cleared. Overload level for the call processing queue is determined for each incoming call to protect the system against short-term spikes in the call arrival rate.



Note The alarms associated with the Cisco MGC's overload level create SNMP traps. To identify these alarms among the SNMP traps, look for the tpAlarmCatName object to contain the name of the alarm (OverloadLight, OverloadMedium, or OverloadHeavy) and the tpAlarmSet object to indicate whether the alarm is being set (2) or cleared (1). For more information on the MIBs for the Cisco MGC, refer to the Cisco Media Gateway Controller Software Release 7 Management Information Base Guide.


Understanding the CPU Timer Interval Parameter

The XECfgParm.dat parameter, CPUTimerInterval, is used to specify the interval, in milliseconds, at which the average CPU utilization level of the Cisco MGC is sampled. The default value is 3000. We recommend that you stay within the range of 1000 to 4000 milliseconds. A lower interval rate provides a quicker response to internal congestion, while a higher interval rate provides a more accurate sample.


Note The overload level jumps from one level to another, depending entirely on the value of each overload measurement at the time of the sample. The overload level does not step through each level to change from lower-levels to higher-levels or vice-versa.



Note The instructions for modifying the XECfgParm.dat file are found in the Cisco Media Gateway Controller Software Release 7 Installation and Configuration Guide.



Caution Changing the ACC-related parameters in the XECfgParm.dat file requires that the Cisco MGC software be shut down and then re-started. If you decide to modify the parameters in the XECfgParm.dat file, you must contact the Cisco TAC before shutting down the Cisco MGC software.

Understanding the Maximum ACL Value

When the Cisco MGC is overloaded, an ACL value is sent to adjacent signaling points in an ISUP release message. Since ANSI- and ITU-based signaling points have different maximum ACL values, the
Cisco MGC uses a property, MaxACL, associated with an SS7 signaling service or trunk group, to map the ACC maximum overload level value to the maximum ACL value used by the adjacent signaling point.

ANSI-based signaling points have a maximum ACL value of 3, ITU-based signaling points have a maximum ACL value of 2, and the ACC maximum overload level value is 3. When MaxACL is set to 3, the ACC maximum overload value is mapped to the ANSI standard, (the default value for MaxACL is 3). When MaxACL is set to 2, the ACC maximum overload value is mapped to the ITU standard. MaxACL also has a third possible setting, 0, which disables the sending of ACL indications in the ISUP release message. Table 3-12 shows how the MaxACL settings map the ACC maximum overload value to the ANSI and ITU congestion standards.


Note Disabling the MaxACL parameter (setting it to `0') does not disable the ACC functionality. If the MaxACL parameter is set to `0' and the Cisco MGC becomes congested, the percentage of calls specified for that overload level are released, and the associated ISUP release message does not contain an ACL indication. The ISUP release message still indicates the proper clear cause.


Modifying the Maximum ACL Value

To modify the maximum ACL value using MML commands, perform the following steps:


Note You can use the CMM or the VSPT to modify the maximum ACL value on your system. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information about using the CMM or VSPT to modify the properties of an SS7 signaling service or a trunk group.



Step 1 Start a provisioning session, as described in the "Starting a Provisioning Session" section.

Step 2 Enter the following command to set the property that maps the internal maximum ACL value to the value expected by the adjacent signaling point:

prov-ed:component:name="comp_name",MaxACL=num

Where:

component—MML component type name for the SS7 signaling service or trunk group properties. Enter one of the following:

ss7path—Component type for SS7 signaling services.

trnkgrp—Component type for trunk groups.

comp_name—MML name for the SS7 signaling service or trunk group on which you are mapping the internal maximum ACL value to the value expected by the adjacent signaling point.

num—Number that indicates how to map the maximum ACL values. Table 3-12 lists the valid values for this parameter and their associated congestion levels.

Table 3-12 Maximum ACL Mapping Values 

MaxACL Value
Associated Congestion Standard
Cisco MGC ACC Overload Levels
Corresponding ACL Values

0

N/A

N/A

Disables the creation of ACL

2

ITU

N/A
1
2
3

0 (No ACL present)
1
2
2

3

ANSI

N/A
1
2
3

0 (No ACL present)
1
2
3


For example, to modify the internal maximum ACL value on a trunk group named trunk1, which is adjacent to a signaling point that uses the ITU congestion standard, you would enter the following command:

prov-ed:trnkgrp:name="trunk1",MaxACL=2

For example, to modify the internal maximum ACL value on an SS7 signaling service named ss7svc1, which is adjacent to a signaling point that uses the ITU congestion standard, you would enter the following command:

prov-ed:ss7path:name="ss7svc1",MaxACL=2

Step 3 Save and activate your provisioning changes as described in the "Saving and Activating your Provisioning Changes" section.


Retrieving Overload Level

To retrieve the current overload level of your system, log in to the active Cisco MGC, start an MML session, and enter the following command:

rtrv-ovld

The system returns a response that identifies the current overload level (0 through 3) and number of messages in the call engine queue.

Media Gateway Controller  - MGC-01 2000-01-12 15:19:51 
M  RTRV
   "ENGG-01: OVLD=0,MSGQ=0"

Managing your Cisco MGC Platform

The operations you can use to manage your Cisco MGC platform are described in the following sections:

Performing a Manual Switchover

Verifying Successful Completion of a Switchover

Verifying the Patch Level of the Cisco MGC

Retrieving Configuration Table Data

Retrieving the Logging Level of Software Processes

Performing a Manual Switchover

In the continuous service configuration, you can swap the roles of the active Cisco MGC and the standby Cisco MGC by invoking the appropriate MML command from the management interface of the active Cisco MGC. A switchover can be done only from the active Cisco MGC, because only the active Cisco MGC can command the standby Cisco MGC to take over. If there is only one Cisco MGC processing all calls, a manual switchover request is rejected.

Manual switchovers are typically performed for the following reasons:

To periodically switch the roles of the Cisco MGCs

To upgrade the existing software to a new release

To bring down a system for hardware maintenance

When you need to order a manual switchover to perform maintenance or upgrade procedures on one or both of the Cisco MGCs, use the following steps or all calls might be killed by the call engine. Starting with both the active and standby Cisco MGCs operating normally, you can invoke a manual switchover from one system to the other by completing the following steps:


Step 1 Determine whether both the active and standby Cisco MGCs are operating normally, as described in the "Verifying the Platform State of the Cisco MGC Hosts" section.

Step 2 Determine whether any alarms are pending on either system, as described in the "Monitoring the Alarms Status" section.

If any alarms are pending, you must correct the situation that caused the alarms. Search for the corrective actions required to clear any alarms in the "Alarm Troubleshooting Procedures" section. If the alarms do not appear in that section, corrective action is not required for those alarms. Refer to the Cisco Media Gateway Controller Software Release 7 Messages Reference Guide for more information on those alarms.

Step 3 Ensure that calls are being replicated from the active Cisco MGC to the standby Cisco MGC, as described in the "Verifying Proper Replication of Calls" section.

Step 4 Enter the following MML command to synchronize the provisioning data on the standby Cisco MGC with the data on the active Cisco MGC:

prov-sync


Caution Using the prov-sync MML command can severely impact your system's call processing performance. We recommend that this command be issued during a maintenance window when traffic is minimal.

Step 5 Determine platform state of both Cisco MGCs, as described in the "Verifying the Platform State of the Cisco MGC Hosts" section.

Step 6 Check that all the processes on the active Cisco MGC are in the running state, as described in the "Verifying That Processes Are Running" section.


Caution The next step forces a manual switchover to the standby Cisco MGC. Ensure that the standby Cisco MGC is fully operational and that debugging is turned off before taking the active Cisco MGC OOS, or there might be a total interruption of service.

Switchover can also cause call processing to fail if debugging is turned on.


Caution If you are using a software version prior to Release 7.4(11), we recommend that you limit the number of configuration versions stored in the configuration library to 64. We recommend this limitation because during a switchover operation or use of the prov-sync command, the standby MGC attempts to synchronize all of its system configurations with those stored in the active Cisco MGC. If you are storing a more than 64 system configurations, the state transition can fail and the standby Cisco MGC goes to an OOS state. For more information about administering the configuration library, refer to the "Using the Config-Lib Viewer" section. If you are using software release 7.4(11) or higher, the disk monitor script automatically controls the number of versions stored in the configuration library. Refer to the Release Notes for the Cisco Media Gateway Controller for more information. For more information about the disk monitor script, refer to the "Automatic Disk Space Monitoring" section.

Step 7 Log in to the active Cisco MGC, start an MML session, and enter the following command:

sw-over::confirm

Site alarms are automatically set until the OOS Cisco MGC is returned to an IS state.

Step 8 Verify that the switchover has been successfully performed. To do this, follow the procedure described in the "Verifying Successful Completion of a Switchover" section.


Verifying Successful Completion of a Switchover

You can determine whether a switchover (automatic or manual) was successfully completed by retrieving the status of each Cisco MGC. Once all of the processes to come up (the time it takes for this to happen depends on the amount of traffic), determine the platform state of both Cisco MGCs, as described in the "Verifying the Platform State of the Cisco MGC Hosts" section. If the platform state of both Cisco MGCs was as expected, the switchover was successfully completed. If one of the Cisco MGCs does not return the expected platform state, the switchover was not successfully completed. Refer to the "Recovering from a Switchover Failure" section.

Understanding Switchover

Cisco MGCs can be arranged in an Active-Standby configuration in which one MGC host runs active traffic while checkpointing information to the standby Cisco MGC. In the continuous service configuration, the active Cisco MGC is paired with an identical standby Cisco MGC that automatically takes over if a failure or switchover occurs. The continuous service architecture of the Cisco MGC increases the reliability, availability, and failure-aversion capabilities of the system.

The primary goal of the Cisco MGC failover subsystem is to ensure call preservation when there is a system failure. This is achieved by interconnecting two Cisco MGCs while the system carries out the logical functions of call control. At any point, one Cisco MGC is in the active role and the other Cisco MGC is in the standby role. The active Cisco MGC carries out the call control function and updates the standby Cisco MGC about call-processing events. The standby Cisco MGC maintains the same system state (from the call-processing point of view) as the active Cisco MGC. In the event of a critical failure on the active Cisco MGC, the standby switches to the active role and takes over the call control function, ensuring that all established calls are preserved.


Note If your system is using a simplex configuration (a single Cisco MGC), or is functioning in standalone mode (the standby Cisco MGC is in the OOS service state), the system cannot perform a switchover. In these instances, the active Cisco MGC remains in the active service state when a critical failure occurs.


Switchovers can occur automatically (also known as failovers) when a critical alarm is generated, or a switchover can be performed manually, typically as part of a maintenance or troubleshooting procedure. For more information on performing a manual switchover, refer to the "Performing a Manual Switchover" section.


Note When a failover is caused by the temporary loss of all Cisco MGC/IP continuity, the newly standby Cisco MGC can take upwards of 6 minutes to come in-service.


Fault-Tolerant Components

The following component processes of the Cisco MGC are fault-tolerant. In other words, each of these processes knows its own state (Active/Standby/Out-of-Service) and the corresponding state of its peer process on the standby system.

Process manager (procM)—Spawns and manages all processes in the system

Failover daemon (foverd)—Determines and switches platform states

Call engine—Handles call-processing functions

Replicator—Replicates call states from the active Cisco MGC to the standby Cisco MGC

I/O channel controller (IOCC)—Manages the signaling messages

I/O channel manager (IOCM)—Manages the protocol-specific IOCCs

Failover Daemon

The active Cisco MGC runs the procM process. ProcM automatically starts when the Cisco MGC is booted and, in turn, starts the alarm manager, configuration manager, call engine, IOCCs, and other processes, including foverd.

The continuous service architecture is controlled by the failover daemon. The failover daemons on both Cisco MGC hosts coordinate the active, standby, and OOS states of those hosts.

The alarm manager process also plays a significant role in a continuous service system. The alarm manager raises the alarm when a critical event occurs and clears the alarm when the condition that caused the alarm is cleared. See the Cisco Media Gateway Controller Software Release 7 Messages Reference Guide for detailed information regarding alarms, specifically which alarms are critical.

The foverd process directs manual switchovers. The switchover configuration provides the following:

Minimal interruption of service in the event of failure of a single machine

Maintenance of a consistent configuration on both the active and standby Cisco MGCs

Avoidance of false switchovers that could cause disruption of service

A critical event is typically a critical process dying or the failure of a subsystem or component that can critically affect call processing. A forced failover occurs automatically when the conditions governing it are met; it is system-initiated and not user-initiated. When a critical event occurs, the alarm manager sends a specific message to the foverd process, indicating the occurrence of the critical event.

When the failover daemon receives notification that a critical event has occurred on the active Cisco MGC, the failover daemon initiates a forced switchover to the standby Cisco MGC. The standby Cisco MGC transitions immediately to the active state; established calls are maintained, but calls still in the process of being set up are lost.

The occurrence of a critical event on system A results in its peer, system B, becoming active while system A goes to an OOS state. Until the critical event that triggered the failover on system A is cleared, its state remains OOS. When the critical event is cleared, the alarm manager sends another message, known as a Clear Alarm message, to the foverd process. The foverd process drives system A to a standby state (if the peer system (B) is still in the active state).

When the critical event is cleared, the failed controller (A) comes back online. It can then become the standby for the currently active Cisco MGC (B). Initially, system A is still OOS. The platform state of system A continues to be OOS until the critical event is cleared.

Established calls are maintained during a switchover because the Call Engine checkpoints call information from the active Cisco MGC to the standby Cisco MGC. In addition, the state of the SS7 network is checkpointed by the MTP3 IOCC. The MTP2 terminal functionality resides on the Cisco SLTs to enable the fault-tolerant MTP3 solution.

The Cisco SLTs are responsible for SS7 MTP2 message processing. The Cisco SLTs communicate directly with the Cisco MGC hosts (active and standby) using RUDP, but they send SS7 traffic only to the active Cisco MGC.


Note The number of Cisco SLTs is dependent on the SS7 network traffic load and on link and linkset requirements. It is generally recommended that a minimum of two links per linkset, one link per Cisco SLT, be used to provide SS7 reliability. To further enhance redundancy, it is recommended that the links in a linkset be spread across multiple Cisco SLTs so that any single unit can be removed, added, or serviced without disrupting the SS7 network.


Circuit Auditing

An auditing process discovers discrepancies in circuit states between the Cisco MGC and the media gateways it controls. During a switchover, discrepancies might exist as to the state of bearer circuits (CICs) between the newly active Cisco MGC and the bearer devices it controls. Discrepancies in circuit states between the active Cisco MGC and the bearer devices could also occur as the result of control messages to the bearer devices that get lost.

The circuit auditing mechanism can be run periodically at configured intervals or after an automatic or manual switchover. It can also be initiated manually using the MML command, sw-over::confirm. The audit capability is always initiated automatically on indication of critical error conditions from solution components, adjacent SS7 switches, or when critical Cisco MGC conditions occur. The circuit-auditing mechanism detects and resolves circuit state discrepancies that it discovers and resynchronizes the Cisco MGC and the bearer devices.


Caution If you are using software prior to release 7.4(11), we recommend that you limit the number of configuration versions stored in the configuration library to 64. We recommend this limitation because during a switchover operation or use of the prov-sync command, the standby MGC attempts to synchronize all of its system configurations with those stored in the active Cisco MGC. If you are storing a more than 64 system configurations, the state transition can fail and the standby Cisco MGC goes to an OOS state. For more information about administering the configuration library, refer to the "Using the Config-Lib Viewer" section. If you are using software release 7.4(11) or higher, the disk monitor script automatically controls the number of versions stored in the configuration library. Refer to the Release Notes for the Cisco Media Gateway Controller Software for more information. For more information about the disk monitor script, refer to the "Automatic Disk Space Monitoring" section.

The circuit auditing mechanism is a function of the call engine process in the active Cisco MGC. The call engine subsystem starts a thread to perform the circuit-auditing function upon notification of a switchover event from the fault manager.

The circuit auditing mechanism commands the bearer devices to reflect the circuit state of the Cisco MGC. If a bearer device believes the circuit to be in use and the Cisco MGC does not, the Cisco MGC releases the circuit. However, if the Cisco MGC shows that a bearer circuit is in use and discovers that the bearer device does not show that circuit as in use, the Cisco MGC does not attempt to rebuild the call, but releases all associated resources. Even though the Cisco MGC is the controlling authority, the only course of action when a discrepancy is discovered during a circuit audit is to release all of the allocated resources, which means dropping the call.

Checkpointing

Checkpointing of calls ensures that established calls are preserved in the event of a switchover. The Call Engine sends checkpoint events to the local checkpoint process at one point during call setup and at one point in the call release phase.

Checkpointing is also applied to the following protocol supervisory messages and MML commands that change the logical state of the bearer circuits:

Blocking and Unblocking Messages and Commands

Circuit Reset Messages and Commands

The local checkpointing process is responsible for securing these events to disk if the standby Cisco MGC is unavailable and for forwarding those events to the remote checkpointing process once it does become available. If the standby Cisco MGC is running, checkpoint events are batched and forwarded to the remote checkpointing process.

The remote checkpointing process is responsible for handling the checkpoint events from the active Cisco MGC, delivering only established calls to the remote call engine. The remote call engine process begins checkpointing events for calls when it begins active call processing.

The following scenarios are supported:

Standalone (no standby Cisco MGC available)—You can specify the activation or deactivation of checkpointing. If checkpointing is activated, all checkpoint events are secured to disk.

Startup (standby Cisco MGC unavailable)—The local checkpointing process retains or secures all events until the standby Cisco MGC is available and a request for synchronization is completed.

Synchronization—You can request synchronization of the configurations of the two Cisco MGCs. This is required after startup and transition from the standalone Cisco MGC to the standby available configuration.

Switchover—In the event of a switchover (or failover), the standby Cisco MGC assumes the primary responsibility for processing calls and securing checkpoint events.

Checkpointing is also implemented to support forward Cisco MGC software migration by one release. You can manually take the standby Cisco MGC out of service, upgrade the software to the new release, and resynchronize calls with the active Cisco MGC. For detailed procedures on upgrading the Cisco MGC software, refer to the Cisco Media Gateway Controller Software Release 7 Installation and Configuration Guide.

Verifying the Patch Level of the Cisco MGC

As of Release 7.4(12) of the Cisco MGC software, you can verify the patch level of your Cisco MGC software by performing the following steps:


Step 1 Display the current patch level of your system by logging into the active Cisco MGC as root and entering the following UNIX command:

pkginfo | grep Patch

The system returns a response similar to the following:

application CSCOgp003      Cisco Media Gateway Controller Software Patch Package
application CSCOgp009      Cisco Media Gateway Controller Software Patch Package
application CSCOgs003      Cisco Media Gateway Controller Software Patch Package
system      SUNWswmt       Patch Utilities

Look for the Cisco MGC patch with the largest number to determine the current patch level. In the example, the current protocol patch level is patch 9 (CSCOgp009), while the system patch level is patch 3 (CSCOgs003).


Note For more information on the patches to the release of the Cisco MGC software you are running, refer to the release notes associated with your release. To determine which release of the Cisco MGC software you are running, enter the rtrv-ne MML command, as described in the "Verifying the Platform State of the Cisco MGC Hosts" section.


Step 2 Determine the patches available for your version of Cisco MGC software by entering the following URL on an Internet browser:

http://www.cisco.com/public/sw-center/sw-voice.shmtl

Select your software version from the list and a list of currently available patches displays.

If you find that your patch level matches the current patch level on the web page, the procedure is complete. Otherwise, proceed to Step 3.

Step 3 Download the latest patches and associated installation instruction files to your active Cisco MGC.

Step 4 Open the instruction files and follow the procedures within to install the patches.

Step 5 Once you have installed the new patches, run the check inventory utility to ensure that the patches have installed correctly by entering the following UNIX commands:


Caution This utility should not be run while the system is actively processing calls, as it can reduce the call processing rate.


Note This utility can only be run by a user with root permissions. If you are not logged in as root, you must enter the UNIX command sudo before the utility name to ensure proper execution.


cd /opt/CiscoMGC/bin
chk_inv [>file_path]


Note You must be in the /opt/CiscoMGC/bin directory to run the check inventory utility.


Where file_path is an optional parameter used when you want to redirect the output of the utility to a file. If you do not redirect the output to a file, the results are written to your screen.

For example, to redirect the results of the check inventory utility to a file called inv.out, you would enter the following command:

chk_inv >/opt/CiscoMGC/local/inv.out

Step 6 Review the utility results, either on-screen or by opening the file. If the results indicate that there are no problems with the installation, the procedure is complete. Otherwise, proceed to Step 7.


Caution The check inventory utility uses a 32-bit cyclic redundancy check (CRC) to verify your system's software. A 32-bit CRC can have a value anywhere from 1 to over 4 billion. However, there is a slight possibility that two sets of data can have the same CRC value. If this should occur, you will recieve a false positive from the utility.


Note If the utility results indicate that there is a problem with a part of the software outside of the Cisoc MGC software patch(es), you should determine whether a problem truly exists. The utility compares the software on your system against a master list, and it is possible that your environment may not be using every piece of software on that master list. If the utility indicates that a piece of software is missing, and your system configuration does not use that software, you do not need to load that software. However, if the utility identifies a problem with other software, and your system is using that software, proceed to Step 8.


Step 7 Re-install the patch(es), repeating steps 3 through 6. If your second attempt at downloading and installing the patch(es) succeeds, the procedure is complete. Otherwise, proceed to Step 8.

Step 8 Contact the Cisco TAC to further analyze the problem and determine a solution. For more information about contacting the Cisco TAC, refer to the "Obtaining Technical Assistance" section.


Retrieving Configuration Table Data

You can use the rtrv-cfg MML command to retrieve data from the configuration tables. The procedures to retrieve data from the various configuration tables are found in the following sections:

Retrieving alarm category data

Retrieving component data

Retrieving component type data

Retrieving measurement category data

Retrieving services data

Retrieving tables data

Retrieving default configuration parameters data

Retrieving alarm category data

You can retrieve data from the alarm categories configuration table. To do this, log in to the active
Cisco MGC, start an MML session, and enter the following command:

rtrv-cfg:alarmcategories

The system returns a list of the alarm categories for the Cisco MGC, which begins as follows:

MGC-02 - Media Gateway Controller 2001-06-12 15:37:59
M  RTRV
   "Config Fail"
   "XE Rsrc Fail"
   "Gen Fail"
   "SW Fail"
   "SOFTW REQ"
        .
        .
        .

For a complete listing of the alarm categories for the Cisco MGC, refer to the Cisco Media Gateway Controller Software Release 7 Messages Reference Guide.

Retrieving component data

You can retrieve data from the components configuration table. To do this, log in to the active
Cisco MGC, start an MML session, and enter the following command:

rtrv-cfg:components

The system returns a list of the configured components on the Cisco MGC, which begins as follows:

MGC-01 - Media Gateway Controller 2001-06-12 15:00:46
M  RTRV
"MGC-02: KEY=00010001, PARENT=00000000, DESCR=Media Gateway Controller"
   "CFGG-01: KEY=00020001, PARENT=00010001, DESCR=Config Mgr Subsystem"
   "ALGG-01: KEY=00020002, PARENT=00010001, DESCR=Alarm Mgr Subsystem"
   "MSGG-01: KEY=00020003, PARENT=00010001, DESCR=Measurement Mgr Subsystem"
   "ENGG-01: KEY=00020004, PARENT=00010001, DESCR=Engine Subsystem"
   "IOSG-01: KEY=00020005, PARENT=00010001, DESCR=IO Subsystem"
        .
        .
        .

Retrieving component type data

You can retrieve data from the component types configuration table. To do this, log in to the active
Cisco MGC, start an MML session, and enter the following command:

rtrv-cfg:componenttypes

The system returns a list of the component types for the Cisco MGC, which begins as follows:

MGC-02 - Media Gateway Controller 2001-06-12 15:24:01
M  RTRV
   "LPC"
   "Proc Group"
   "Proc"
   "Equipment"
   "IO Card"
        .
        .
        .

For a complete listing of the component types for the Cisco MGC, refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide.

Retrieving measurement category data

You can retrieve data from the measurement categories configuration table. To do this, log in to the active
Cisco MGC, start an MML session, and enter the following command:

rtrv-cfg:meascategories

The system returns a list of the measurement categories for the Cisco MGC, which begins as follows:

MGC-02 - Media Gateway Controller 2001-06-12 15:26:56
M  RTRV
   "ALL-COUNTERS"
   "LIF-GROUP"
   "LIF: SES"
   "LIF: ES"
   "LIF: CODE VIOLATION"
        .
        .