cisco media gateway controller software release 7 mml ...€¦ · tst-cot—manual cot 2-81...

109
Corporate Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000 800 553-NETS (6387) Fax: 408 526-4100 Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide June 27, 2002 Text Part Number: OL-1195-01

Upload: others

Post on 27-Jun-2020

8 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Cisco Media Gateway ControllerSoftware Release 7 MML CommandReference GuideJune 27, 2002

Corporate HeadquartersCisco Systems, Inc.170 West Tasman DriveSan Jose, CA 95134-1706 USAhttp://www.cisco.comTel: 408 526-4000

800 553-NETS (6387)Fax: 408 526-4100

Text Part Number: OL-1195-01

Page 2: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.

THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.

The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.

NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.

IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Cisco Media Gateway Controller Software Release 7 MML Command Reference GuideCopyright © 2001-2002 Cisco Systems, Inc.All rights reserved.

CCIP, the Cisco Powered Network mark, the Cisco Systems Verified logo, Cisco Unity, Follow Me Browsing, FormShare, Internet Quotient, iQ Breakthrough, iQ Expertise, iQ FastTrack, the iQ Logo, iQ Net Readiness Scorecard, Networking Academy, ScriptShare, SMARTnet, TransPath, and Voice LAN are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, Discover All That’s Possible, The Fastest Way to Increase Your Internet Quotient, and iQuick Study are service marks of Cisco Systems, Inc.; and Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCNA, CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, the Cisco IOS logo, Cisco Press, Cisco Systems, Cisco Systems Capital, the Cisco Systems logo, Empowering the Internet Generation, Enterprise/Solver, EtherChannel, EtherSwitch, Fast Step, GigaStack, IOS, IP/TV, LightStream, MGX, MICA, the Networkers logo, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, RateMUX, Registrar, SlideCast, StrataView Plus, Stratm, SwitchProbe, TeleRouter, and VCO are registered trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and certain other countries.

All other trademarks mentioned in this document or Web site are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (0203R)

Page 3: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Cisco Media Gateway ControlleOL-1195-01

C O N T E N T S

Preface vii

Document Objective vii

Audience vii

Document Organization viii

Document Conventions viii

Documentation Suite x

Related Documentation xii

Obtaining Documentation xiii

World Wide Web xiv

Documentation CD-ROM xiv

Ordering Documentation xiv

Documentation Feedback xiv

Obtaining Technical Assistance xv

Cisco.com xv

Technical Assistance Center xv

Contacting TAC by Using the Cisco TAC Website xv

Contacting TAC by Telephone xvi

Document Change History xvi

C H A P T E R 1 MML Command Overview 1-1

MML Command Guidelines 1-1

MML Basics 1-2

Starting an MML Session 1-2

Saving an MML Session for Review 1-3

Stopping an MML Session 1-3

Killing an MML Session 1-3

Killing an Orphan Configuration Session 1-4

Getting Help 1-4

MML on High-Availability Systems 1-4

MML Command Conventions 1-5

Backus-Naur Conventions 1-5

Bellcore TL1 Conventions 1-5

Wildcards in MML Commands 1-5

MML Responses 1-6

iiir Software Release 7 MML Command Reference Guide

Page 4: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Contents

MML Status Messages 1-6

MML Error Messages 1-7

C H A P T E R 2 MML Commands 2-1

ACK-ALM—Acknowledge Alarm 2-1

BLK-CIC—Block a Circuit or a Circuit Range 2-2

CHG-DPL—Update Customer-Specific Number Manipulation Tables 2-2

CHG-LOG—Change Log 2-3

CLR-ALM—Clear Alarm Component Category 2-3

CLR-MEAS—Reset a Measurement Category 2-3

CLR-TCAP-TRANS—Clear TCAP Transactions 2-4

DIAGLOG—Diagnostics Log 2-4

H—Display History 2-5

HELP—Open the Help File 2-6

KILL-CALL—Forcefully Release a Hung CIC 2-12

NUMAN-ADD 2-13

NUMAN-DLT 2-13

NUMAN-ED 2-13

NUMAN-RTRV 2-14

PROV-ADD—Add Provisioning Component 2-16

PROV-CPY—Commit Provisioning Data 2-17

PROV-DLT—Delete Components or Parameters 2-18

PROV-DPLY—Deploy Provisioning Data 2-18

PROV-ED—Modify Provisioned Component 2-19

PROV-EXP—Exports Provisioning Data 2-20

PROV-RTRV—Retrieve Provisioning Information 2-21

PROV-STA—Start Provisioning Session 2-23

PROV-STP—Stop Provisioning Session 2-25

PROV-SYNC—Synchronize Provisioning Data 2-25

PRT-CALL—Print Call 2-25

QUERY-CIC—Execute Circuit Query 2-27

QUIT—End Session 2-29

R—Repeat Previously Entered Command 2-29

RESET-CIC—Reset a Circuit or a Circuit Range 2-30

RTRV-ADMIN-STATE—Retrieve Administrative State 2-30

RTRV-ALMS—Retrieve Active Alarms 2-31

RTRV-AUD-GW—Retrieve Auditing of MGCP Gateway 2-33

RTRV-CFG—Retrieve Configuration Table 2-34

RTRV-CIC—Retrieve Bearer Channels 2-39

RTRV-CTR—Retrieve Measurement Counter 2-41

ivCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 5: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Contents

RTRV-DEST—Retrieve Destination 2-42

RTRV-EQPT—Retrieve Service State of a Component 2-43

RTRV-LNK-CTR—Retrieve SS7/C7 Link Measurements 2-44

RTRV-LOG—Retrieve Log 2-44

RTRV-LSET—Retrieve Linkset Service State 2-45

RTRV-LSSN—Retrieve State of All Local SSNs 2-46

RTRV-MML—Retrieve Active MML Sessions 2-46

RTRV-NE—Retrieve Network Element Attributes 2-47

RTRV-OVLD—Retrieve Overload Level 2-48

RTRV-RSSN—Retrieve State of All Remote SSNs 2-48

RTRV-RTE—Retrieve Route 2-49

RTRV-SC—Retrieve Signaling Channel Attributes 2-50

RTRV-SC-TRC—Retrieve Names of Open Signal Channel Traces 2-53

RTRV-SOFTW—Retrieve Software Status for a Process 2-54

RTRV-SP-CTR—Retrieve SS7/C7 Signal Point Measurements 2-55

RTRV-SPC—Retrieve Point Code 2-58

RTRV-SS7-SLT—Retrieve SS7 SLT Test Results 2-58

RTRV-SS7-SRT—Retrieve SS7 SRT Test Results 2-59

RTRV-TC—Retrieve Bearer Channel States 2-60

RTRV-TCAP-TRANS—Retrieve TCAP Transactions 2-63

RTRV-TC-HELD—Retrieve States of Bearer Channels Held by Gateway 2-63

SET-ADMIN-STATE—Set Administrative State 2-65

SET-ASN-STATE—Set Service State of Auxiliary Signal Path (Retired) 2-67

SET-DEST-STATE—Set Service State of a Signal Path 2-67

SET-EQPT-STATE—Change the Service State of a Card 2-68

SET-LNK-STATE—Set Link or Linkset Service State 2-68

SET-LOG—Set Logging Levels 2-68

SET-LSSN-STATE—Set State of Local SSN 2-69

SET-SC-STATE—Set Signal Channel State 2-70

SET-SPC-STATE—Set Signal Point Code State 2-71

STA-ABN-TRC—Start Abnormal Trace 2-71

STA-AUD—Start Auditing Process 2-73

STA-AUDIT-GW—Start Auditing of MGCP Gateway 2-73

STA-SC-TRC—Start Trace 2-74

STA-SS7-SLT—Start MTP SLT Test on a Link 2-76

STA-SS7-SRT—Start MTP SRT Test on a Point Code 2-76

STA-TCAP-TRC—Start TCAP Tracing 2-77

STP-ABN-TRC—Stop Abnormal Trace 2-77

STP-AUD—Stop Auditing Process 2-78

STP-CALL—Stop Calls 2-78

vCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 6: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Contents

STP-SC-TRC—Stop One or All Traces 2-79

STP-TCAP-TRC—Stop TCAP Tracing 2-80

SW-OVER—Manual Switchover 2-80

TST-COT—Manual COT 2-81

UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82

VLD-CIC—Validate a Circuit 2-82

I N D E X

viCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 7: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Preface

This preface describes the objectives, audience, organization, and conventions of this document and explains how to find additional information on related Cisco products and services. It contains the following sections:

• Document Objective, page vii

• Audience, page vii

• Document Organization, page viii

• Document Conventions, page viii

• Documentation Suite, page x

• Obtaining Documentation, page xiii

• Obtaining Technical Assistance, page xv

Document ObjectiveThis guide provides reference information for the Cisco Media Gateway Controller (Cisco MGC) software Release 7 Machine-Man Language (MML) commands. You should read the system-level documentation supplied with your system before using this guide. A complete list of these documents is included in the Cisco Media Gateway Controller Release 7 Software Installation and Configuration Guide that ships with your system.

Note This guide uses the terms Media Gateway Controller software or MGC application to mean the Cisco MGC software that runs in the UNIX environment on a server. The term MGC refers to the combination of this software and the server. The Cisco MGC communicates with the SS7 network to process and route calls between a traditional time-division multiplexing (TDM) network and a packet data network. This routing takes place through a variety of media gateways, separate devices that perform the conversion between the TDM and data network formats.

AudienceThis guide is for network operators and administrators who have experience with telecommunications networks, protocols, and equipment and who have familiarity with data communications networks, protocols, and equipment.

viiCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 8: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

PrefaceDocument Organization

Document OrganizationTable 1 describes the major sections of this document.

Document ConventionsThe command syntax conventions used in this guide are the same as those shown by MML itself when the MML command HELP is entered within MML. For MML commands, the Backus-Naur conventions described in the beginning of Chapter 1 are used.

Throughout this guide, $BASEDIR is used in describing the directory structure in which the Cisco MGC software is installed. $BASEDIR is a UNIX environment variable that must be set during installation. Refer to the Cisco MGC Software Release 7 Installation and Configuration Guide for a description of configuring this environment variable.

Conventions otherwise used in this guide are shown in Table 2.

Table 1 Document Organization

Chapter Title Description

Chapter 1 MML Command Overview The chapter presents an overview of the MML commands, command guidelines and conventions, and MML response codes.

Chapter 2 MML Commands The chapter presents a description of each MML command.

Table 2 Conventions Used in this Guide

Convention Meaning Description / Comments

Boldface Commands and keywords you enter as shown.

offset-list

Italics Variables for which you supply values.

command type interface

You replace the variable with the type of interface.

In contexts that do not allow italics, such as online help, arguments are enclosed in angle brackets (< >).

Square brackets ([ ]) Optional elements. command [abc]

abc is optional (not required), but you can choose it.

Vertical bars ( | ) Separated alternative elements.

command [ abc | def ]

You can choose either abc or def, or neither, but not both.

viiiCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 9: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

PrefaceDocument Conventions

Caution Means reader be careful. In this situation, you might do something that could result in equipment damage or loss of data.

Timesaver Means reader may be able to save some time. Taking the action described could achieve a result in less time than might be achieved otherwise.

Note Means reader take note. Notes contain helpful suggestions or references to material not covered in the manual.

Braces ({ }) Required choices. command { abc | def }

You must choose either abc or def, but not both.

Braces and vertical bars within square brackets ([ { | } ])

A required choice within an optional element.

command [ abc { def | ghi } ]

You have three options:

nothing

abc def

abc ghi

Caret character (^) Control key. The key combinations ^D and Ctrl-D are equivalent: Both mean “hold down the Control key while you press the D key.” Keys are indicated in capital letters and are not case sensitive.

A nonquoted set of characters

A string. For example, when setting an SNMP community string to public, do not use quotation marks around the string; otherwise, the string will include the quotation marks.

System prompts Denotes interactive sessions, indicates that the user enters commands at the prompt.

The system prompt indicates the current command mode. For example, the prompt Router (config) # indicates global configuration mode.

Screen font Terminal sessions and information the system displays.

Angle brackets (< >) Nonprinting characters such as passwords.

Exclamation point (!) at the beginning of a line

A comment line. Comments are sometimes displayed by the Cisco IOS software.

Table 2 Conventions (continued)Used in this Guide

Convention Meaning Description / Comments

ixCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 10: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

PrefaceDocumentation Suite

Data type conventions used in the Cisco MGC software (such as in MML commands) are shown in Table 3.

Note Hexadecimal and integer fields in files may have different widths (numbers of characters) for column alignment.

Documentation SuiteThe documents that make up the Cisco MGC documentation set are listed in Table 4. The bolded text in this table indicates the publication you are currently reading.

Table 3 Data Type Conventions

Data Type Definition Example

Integer A series of decimal digits from the set of 0 through 9 that represents a positive integer. An integer may have one or more leading zero digits (0) added to the left side to align the columns. Leading zeros are always valid as long as the number of digits is less than or equal to ten digits. Values of this type have a range of zero through 4294967295.

1230001234200000000

Signed integer

The same basic format as the integer but can be either positive or negative. When negative, it is preceded by the sign character (-). As with the integer data type, this data type can be as many as ten digits in length, not including the sign character. The value of this type has a range of minus 2147483647 through 2147483647.

123-000123-2100000000l

Hexadecimal A series of 16-based digits from the set of 0 through 9, a through f, or A through F. The hexadecimal number may have one or more leading zeros (0) added to the left side. For all hexadecimal values, the maximum size is 0xffffffff (eight hexadecimal digits).

1f301f3000

Text A series of alphanumeric characters from the ASCII character set, where defined. Tab, space, and double quote (“ ” ) characters cannot be used. Text can be as many as 255 characters; however, it is recommended that you limit the text to no more than 32 characters for readability.

EntityIDLineSES_Threshold999

String A series of alphanumeric characters and white-space characters. A string is surrounded by double quotes (“ ” ). Strings can be as many as 255 characters; however, it is recommended that you limit the strings to no more than 80 characters for readability.

“This is a descriptive string.”

xCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 11: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

PrefaceDocumentation Suite

Table 4 Cisco MGC Documentation Set

Functional Area Publication Description and Audience

Hardware Installation

Cisco Media Gateway Controller Hardware Installation Guide

Describes how to install the hardware components of the Cisco MGC node. Includes detailed information on the environmental requirements for all the components and step-by-step hardware installation and operational verification procedures. Also provides a checklist of the hardware you should have before starting the installation and a checklist of all the connections for the components.

The audience for this publication is the engineering personnel responsible for installing the components and verifying the hardware installation.

Software Installation

Cisco Media Gateway Controller Software Release 7 Installation and Configuration Guide

Describes the steps necessary to install and upgrade the software components of the Cisco MGC.

The audience for this publication is the engineering personnel responsible for installing, configuring, and upgrading software for the respective solutions.

Software Release Notes

Release Notes for the Cisco Media Gateway Controller Software Release 7.x(.x)

Provides information that is specific to a particular release of the Cisco MGC software.

The audience for this publication is the engineering personnel responsible for installing, configuring, and upgrading software for the respective solutions.

Provisioning Cisco Media Gateway Controller Software Release 7 Provisioning Guide

Cisco Media Gateway Controller Software Release 7 Dial Plan Guide

Provides step-by-step procedures for provisioning the Cisco MGC and dial plans.

The audience for this publication is the engineering personnel responsible for provisioning.

xiCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 12: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

PrefaceDocumentation Suite

Related DocumentationOther useful reference publications include

• Overviews of the related telephony solutions—Describe the Cisco telephony solutions with which the Cisco MGC node is associated

• Provisioning guides for the related telephony solutions—Describe the provisioning steps for the Cisco telephony solutions with which the Cisco MGC node is associated

• Solution gateway installation and configuration guides—Describe how to install and configure the media gateway for a particular Cisco telephony solution

Figure 1 shows the sequence in which the various manuals documenting Cisco telephony solutions should be read.

Operations, Maintenance, and Troubleshooting

Cisco Media Gateway Controller Software Release 7 Operations, Maintenance, and Troubleshooting Guide

Describes the procedures necessary to conduct day-to-day operations, to perform preventive and corrective maintenance, and to troubleshoot the various components of the solution.

The audience for this publication is the system administrators, system operators, and service technicians responsible for operating, maintaining, and servicing the components of the respective solutions.

Reference Regulatory Compliance and Safety Information for the Cisco Media Gateway Controller Hardware

Cisco Media Gateway Controller Software Release 7 Billing Interface Guide

Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide (this document)

Cisco Media Gateway Controller Software Release 7 Log Message Reference Guide

Provide reference information for the hardware and software of the Cisco MGC.

The audience for these publications is the engineering personnel responsible for installing, configuring, operating and upgrading software for the respective solutions.

Table 4 Cisco MGC Documentation (continued) Set

Functional Area Publication Description and Audience

xiiCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 13: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

PrefaceObtaining Documentation

Figure 1 Documentation Map

Obtaining DocumentationThe following sections provide sources for obtaining documentation from Cisco Systems.

Regulatory Compliance and SafetyInformation for Cisco MGC

Cisco MGC Software Release 7Provisioning Guide

Cisco MGC Software Release 7Installation and Configuration Guide

Cisco MGC HardwareInstallation Guide

Release Notes forCisco MGC Software Release 7

Solution Gateway HardwareInstallation Guide

Cisco MGC Software Release 7Dial Plan Guide

Cisco MGC Software Release 7 Operations,Maintenance, and Troubleshooting Guide

Isgatewayset up?

Yes

No

Regulatory Compliance and SafetyInformation for Cisco MGC

Solution Overview

IsMGC host

set up?

Yes

No

End

Solution Gateway SoftwareInstallation and Configuration Guide

Solution GatewayProvisioning Guide

Cisco MGC Software Release 7Billing Interface Guide *

Cisco MGC Software Release 7 MMLCommand Reference Guide *

Cisco MGC Software Release 7 Messages Reference Guide *

Cisco MGC Software Release 7Management Information Base Guide *

xiiiCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 14: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

PrefaceObtaining Documentation

World Wide WebYou can access the most current Cisco documentation on the World Wide Web at the following sites:

• http://www.cisco.com

• http://www-china.cisco.com

• http://www-europe.cisco.com

Documentation CD-ROMCisco documentation and additional literature are available in a CD-ROM package, which ships with your product. The Documentation CD-ROM is updated monthly and may be more current than printed documentation. The CD-ROM package is available as a single unit or as an annual subscription.

Ordering DocumentationCisco documentation is available in the following ways:

• Registered Cisco Direct Customers can order Cisco Product documentation from the Networking Products MarketPlace:

http://www.cisco.com/cgi-bin/order/order_root.pl

• Registered Cisco.com users can order the Documentation CD-ROM through the online Subscription Store:

http://www.cisco.com/go/subscription

• Nonregistered Cisco.com users can order documentation through a local account representative by calling Cisco corporate headquarters (California, USA) at 408 526-7208 or, in North America, by calling 800 553-NETS(6387).

Documentation FeedbackIf you are reading Cisco product documentation on the World Wide Web, you can submit technical comments electronically. Click Feedback in the toolbar and select Documentation. After you complete the form, click Submit to send it to Cisco.

You can e-mail your comments to [email protected].

To submit your comments by mail, use the response card behind the front cover of your document, or write to the following address:

Attn Document Resource ConnectionCisco Systems, Inc.170 West Tasman DriveSan Jose, CA 95134-9883

We appreciate your comments.

xivCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 15: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

PrefaceObtaining Technical Assistance

Obtaining Technical AssistanceCisco provides Cisco.com as a starting point for all technical assistance. Customers and partners can obtain documentation, troubleshooting tips, and sample configurations from online tools. For Cisco.com registered users, additional troubleshooting tools are available from the TAC website.

Cisco.comCisco.com is the foundation of a suite of interactive, networked services that provides immediate, open access to Cisco information and resources at anytime, from anywhere in the world. This highly integrated Internet application is a powerful, easy-to-use tool for doing business with Cisco.

Cisco.com provides a broad range of features and services to help customers and partners streamline business processes and improve productivity. Through Cisco.com, you can find information about Cisco and our networking solutions, services, and programs. In addition, you can resolve technical issues with online technical support, download and test software packages, and order Cisco learning materials and merchandise. Valuable online skill assessment, training, and certification programs are also available.

Customers and partners can self-register on Cisco.com to obtain additional personalized information and services. Registered users can order products, check on the status of an order, access technical support, and view benefits specific to their relationships with Cisco.

To access Cisco.com, go to the following website:

http://www.cisco.com

Technical Assistance CenterThe Cisco TAC website is available to all customers who need technical assistance with a Cisco product or technology that is under warranty or covered by a maintenance contract.

Contacting TAC by Using the Cisco TAC Website

If you have a priority level 3 (P3) or priority level 4 (P4) problem, contact TAC by going to the TAC website:

http://www.cisco.com/tac

P3 and P4 level problems are defined as follows:

• P3—Your network performance is degraded. Network functionality is noticeably impaired, but most business operations continue.

• P4—You need information or assistance on Cisco product capabilities, product installation, or basic product configuration.

In each of the above cases, use the Cisco TAC website to quickly find answers to your questions.

To register for Cisco.com, go to the following website:

http://www.cisco.com/register/

If you cannot resolve your technical issue by using the TAC online resources, Cisco.com registered users can open a case online by using the TAC Case Open tool at the following website:

http://www.cisco.com/tac/caseopen

xvCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 16: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

PrefaceObtaining Technical Assistance

Contacting TAC by Telephone

If you have a priority level 1(P1) or priority level 2 (P2) problem, contact TAC by telephone and immediately open a case. To obtain a directory of toll-free numbers for your country, go to the following website:

http://www.cisco.com/warp/public/687/Directory/DirTAC.shtml

P1 and P2 level problems are defined as follows:

• P1—Your production network is down, causing a critical impact to business operations if service is not restored quickly. No workaround is available.

• P2—Your production network is severely degraded, affecting significant aspects of your business operations. No workaround is available.

Document Change History

Table 5 Change History

Subject Document #, Change Date Change Summary

Updated CHG-LOG. OL-1195-01, May 15, 2002 UpdatedCHG-LOG—Change Log, page 3, to indicate that this command has been replaced by SET-LOG.

Updated PRT-CALL. OL-1195-01, May 15, 2002 Updated syntax for PRT-CALL—Print Call, page 25.

Deleted RTRV-EQPT and SET-EQPT-STATE.

OL-1195-01, May 15, 2002 Updated reference section to indicate that RTRV-EQPT—Retrieve Service State of a Component, page 43, and SET-EQPT-STATE—Change the Service State of a Card, page 68, are obsolete.

Updated path of files created with the DIAGLOG command.

OL-1195-01, September 18, 2001

Updated path to files stored by the DIAGLOG—Diagnostics Log command.

OL-1195-01, May 30, 2001 Initial online release

xviCisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 17: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Cisco Media Gateway Controller Software RelOL-1195-01

C H A P T E R 1

MML Command Overview

This guide describes each of the Man-Machine Language (MML) commands you can use with the Cisco Media Gateway Controller (Cisco MGC). Use MML to configure your Cisco MGC, add components to your system, retrieve information about system components, and perform logging and tracing. For information on using MML commands for provisioning, see the Cisco Media Gateway Controller Software Release 7 Provisioning Guide. For more information on using MML commands for maintenance and troubleshooting, see the Cisco Media Gateway Controller Software Release 7 Operations, Maintenance, and Troubleshooting Guide.

This chapter describes MML command syntax, conventions used with MML commands, and responses expected from MML. It includes the following sections:

• MML Command Guidelines, page 1-1

• MML Basics, page 1-2

• MML on High-Availability Systems, page 1-4

• MML Command Conventions, page 1-5

• Wildcards in MML Commands, page 1-5

• MML Responses, page 1-6

MML Command GuidelinesMML commands use the following syntax:

command_name:[target][, target][, target. . .][:Parameter_List][;comments]

When entering MML commands, remember the following:

• MML component names must be 16 characters or shorter.

• Command names are not case-sensitive.

• Neither keywords nor value strings need to be enclosed in quotation marks, except where specified in this guide.

• Use only one MML command on each line.

• Anything entered after a semicolon (;) is treated as a comment. This is primarily useful for MML command scripts.

• Do not use punctuation (such as the period character) for target names; for example, do not use test.log as a logging destination.

1-1ease 7 MML Command Reference Guide

Page 18: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 1 MML Command OverviewMML Basics

• Create an ASCII text file for batch processing of provisioning commands. For more information about performing batch provisioning, refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide.

Timesaver MML maintains a history buffer of all MML commands you enter during an MML session. To repeat your last MML command, press the up arrow at the MML prompt to redisplay the command, and press Enter. Press the up and down arrow keys to scroll through all commands in the history buffer. To modify and re-enter a command, use the up arrow to display the command and then edit the command using the keyboard. Press Enter to execute the command.

While viewing a lengthy response to an MML command, press the spacebar to display the next screen of output text, or press Enter to display the next line.

MML BasicsYou must start an interactive MML session before you can use MML commands for provisioning, information retrieval, or troubleshooting. As many as 12 MML sessions can be open at a time, but only one provisioning session is permitted.

If an MML provisioning session is inactive for 30 minutes, a warning will be issued by the Cisco Media Gateway Controller. After 5 additional minutes of inactivity, the session will be terminated.

Starting an MML Session

Perform the following steps to start an MML session:

Step 1 Log in to the Cisco MGC host computer from a terminal.

Caution Do not log in as UNIX root; if you attempt to start an MML session as the root user, the Cisco MGC will perform a core dump, and MML will fail to start.

Step 2 At a UNIX command prompt, type:

MGC% mml

The Cisco MGC will respond with the status of your MML session.

If your UNIX prompt looks similar to the following, your session has started successfully, and you can begin entering MML commands.

MGC:mml>

If another MML session is running, you will receive a message similar to the following:

MGC% mml1: Already in useFailure to run MML, reason=Entry was already present.

Step 3 To start a second MML session, enter the following command:

MGC% mml -s 2

1-2Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 19: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 1 MML Command OverviewMML Basics

The Cisco MGC should respond with an MML session prompt.

Note The MML command mml -s 2 starts the second MML session, and mml -s 3 starts the third session. There can be as many as 12 MML sessions open at a time.

Saving an MML Session for Review

To save a provisioning session for later review, perform the following procedure:

Step 1 Create a log file of the provisioning session, cie3, for later review, by entering the following command:

mml>diaglog:pom-log-session-cie3:start

All MML commands entered will now be logged to the mml.log file located in /opt/CiscoMGC/var/log directory.

Step 2 Stop logging the provisioning session, cie3, by entering the following command:

mml>diaglog:pom-log-session-cie3:start

The log file of the provisioning session can now be reviewed using an ASCII text editor.

Step 3 Create a new configuration, cie3-prov, by entering the following command:

mml>prov-sta::srcver=”new”, dstver=”cie3-prov”

Stopping an MML Session

To stop an MML session, enter the QUIT command as follows:

MGC mml>quitMGC%

Killing an MML Session

If an MML session cannot be stopped using the QUIT command, or if another MML session is running, you can kill it by performing the following steps:

Step 1 Close MML by entering the QUIT command, or telnet to the host server where the MML session is running.

Step 2 To kill an MML session started by another user, log in as root.

Step 3 At the UNIX prompt, enter the following command:

va-purple%ps -ef | grep mml

The host server responds with information similar to the following:

MGCUSR 17999 17989 0 13:30:44 pts/2 0:00 mml

1-3Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 20: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 1 MML Command OverviewMML on High-Availability Systems

Step 4 Locate the process entry for the MML session you want to kill, and determine the process number of the session. In the above example, the process number is 17999. Enter the following command:

kill -9 xxxxx

where: xxxxx is the process number of the MML session.

Step 5 To kill multiple MML sessions, enter a UNIX kill command for each MML session. Each session will have a unique process number.

Killing an Orphan Configuration Session

To kill a nonfunctioning configuration session, enter the PROV-STP command at the MML prompt.

Note that this command does not activate the new configuration.

Getting Help

To display a list of all MML commands, enter HELP at the MML prompt.

To get help for a specific command, enter HELP:<COMMAND> at the MML prompt. The following example shows the help available for CLR-TCAP-TRANS:

MGC mml> help:clr-tcap-trans

CLR-TCAP-TRANS -- Clear TCAP Transactions ----------------------------------------- Purpose: This MML command clears all transaction capabilities application part (TCAP) transactions that are older than the specified period. Format: clr-tcap-trans::T=<number> Input Description: * number -- The time period, in seconds, after which you want to clear TCAP transactions. Example: The MML command shown in the following example clears all TCAP transactions that are older than 60 seconds: mml> CLR-TCAP-TRANS::T=60 Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "TCAP-01:CLRD=0" ;

MML on High-Availability SystemsTo check the state of a high-availability system, you must be using MML on the active server. Although MML on the standby system will show checkpointed information, the updating is not instantaneous, and it is not obvious which information gets checkpointed and which does not.

To determine which server is active and which is standby, use the RTRV-NE command. This will show the immediate condition of the system.

1-4Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 21: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 1 MML Command OverviewMML Command Conventions

MML Command ConventionsConventions used in MML commands are described in this section.

Backus-Naur Conventions

MML commands use the Backus-Naur symbols shown in Table 1-1.

Bellcore TL1 Conventions

The structure of MML is based on the Telcordia (Bellcore) TL1 standard (TR-NWT-831, Operations Application Message - Operations Applications Messages, Issue 3). Therefore, MML commands can be interpreted and monitored through a network’s TL1 interface. The TL1 symbols shown in Table 1-2 are used in MML.

Wildcards in MML CommandsSome MML commands support the use of wildcards. For software Release 7.4 and earlier, wildcards are available only as either postfix or prefix to MML names. The syntax for using wildcards with MML commands is as follows:

<MML command name>:<*><part of TID MML name><*>:[optional parameters]

For example, there are two ways to retrieve administrative states of trunk groups using wildcards:

• RTRV-ADMIN-STATE:TG* retrieves the administrative state of all trunk groups with MML names starting with “TG”.

• RTRV-ADMIN-STATE:*GP retrieves the administrative state of all trunk groups with MML names ending with “GP”.

Table 1-1 MML Backus-Naur Conventions

Symbol Description

| A pipe indicates that the preceding symbol or the succeeding symbol may occur, but not both in succession.

[ ] These brackets enclose an optional parameter.

{ | } Either the preceding symbol or the succeeding symbol may occur, but not both in succession. There may be more than two symbols and pipes.

< > This symbol encloses an identifier to be replaced by the user with appropriate data.

Table 1-2 MML Bellcore TL1 Conventions

Symbol Description

: A parameter separator.

:: An empty parameter block.

& Arguments are grouped together so that one parameter can convey several arguments.

; End of command (optional). Anything on the same line after this symbol is treated as a comment.

1-5Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 22: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 1 MML Command OverviewMML Responses

The following commands support wildcards:

• ACK-ALM

• CLR-ALM

• RTRV-ADMIN-STATE

• RTRV-DEST

• RTRV-DCHAN

• RTRV-C7LNK

• RTRV-IPLNK

• RTRV-TC

• SET-ADMIN-STATE

• SET-DEST-STATE

MML ResponsesMessages that MML can display are described in this section.

MML Status Messages

After you enter an MML command, the system performs the task you requested and returns a status message. Table 1-3 lists the MML status messages and descriptions.

Table 1-3 MML Status Messages

Status Meaning Definition

COMPLD Completed MML received a response from the subsystem on which it performed the action.

Note A completed response does not always signify successful completion. A completed response can be returned on invalid components, such as alarms.

RTRV Retrieve MML is attempting to retrieve the contents specified.

SUCC Successful Successful completion.

SWDC Waiting for dependency Status message—Waiting for dependent processes to start.

SWDT Waiting for dependency Status message—Waiting for dependent processes to stop. This is not an error. Enter the RTRV-SOFTW command to see when the dependent processes have stopped.

1-6Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 23: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 1 MML Command OverviewMML Responses

MML Error Messages

MML displays error messages if a command cannot be performed. Table 1-4 lists the MML error messages and descriptions.

Table 1-4 MML Error Message Descriptions

Error Code Meaning Definition

DENY Command denied The command is recognized, but the system does not allow you to perform the requested function.

ICNV Input command not valid

The MML command is not recognized.

IDNV Input data not valid An unknown parameter was entered.

Example:

mml> RESET-CIC:dpc2:cic5 Media Gateway Controller 2000-01-03 15:22:48M RTRV IDNV "dpc2" /* Input, Data Not Valid */ ;

IIDV Invalid data parameter An unknown parameter was entered. An incorrect parameter name has been used in the command, or a value has been entered incorrectly.

Note A string value must be surrounded by quotes, and an integer value must not be surrounded by quotes.

Example:

mml> RESET-CIC:dpc2:cic5 Media Gateway Controller 2000-01-03 15:22:48M RTRV IIDV "dpc2" /* Input, Data Not Valid */ ;

IISP Input syntax error Incorrect syntax was used. A semi-colon or comma has been used incorrectly when entering the command.

Example:

mml> RESET-CIC:dpc9,cic22Media Gateway Controller - MGC-01 2000-01-12M RTRV IISP reset-cic:dpc9, /* Input, Syntax Error */ ;

1-7Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 24: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 1 MML Command OverviewMML Responses

IITA Invalid target The requested operation cannot be performed on the network element component, or the component does not exist in the system.

Example:

mml> RESET-CIC:dpc9:CIC=10Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV IITA "dpc9" /* Input, Invalid Target */ ;

IPRM Input parameter missing An expected parameter cannot be found.

SABT Status abort The command did not finish in the time allocated.

SCNF Status not found There are problems with the engine.

SNVS State not in valid state The requested operation failed because the component is not configured to accept the operation. It is possible that the component is already performing the operation or is already in the desired state.

SNSP State not supported This operation is not supported by the component.

SROF Status requested operation failed

The requested operation failed on the component.

Table 1-4 MML Error Message Descriptions (continued)

Error Code Meaning Definition

1-8Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 25: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Cisco Media Gateway Controller Software RelOL-1195-01

C H A P T E R 2

MML Commands

This section describes each of the MML commands, presented in alphabetical order.

ACK-ALM—Acknowledge Alarm

Purpose: This MML command is used to acknowledge that an alarm category on a component is recognized but the alarm is not cleared. If this is the last current alarm of a specific severity, the associated alarm relay is turned off.

Format: ack-alm:<comp>:"<alm cat>"

Input Description:

• comp—The component that is generating the alarm. Components are described in the Cisco Media Gateway Controller Software Release 7 Provisioning Guide.Use the RTRV-CFG:COMPONENTS command, described on page 2-34, to retrieve a list of system components.

• alm cat—The alarm category, or the text that appears in the body of the alarm. Use the RTRV-ALMS command, described on page2-31 , to retrieve all active alarms.

Note The alarm category is case sensitive, and it must be in quotation marks.

Example: The command in the following example acknowledges a Config Fail alarm for the I/O channel manager process:

mml> ACK-ALM:IOCM-01:"CONFIG FAIL"Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD ;

Comments: The format of alarm category name must be the same as the format of the alarm category name retrieved using the RTRV-ALMS command (which is why the alarm category must be in uppercase).

This command allows wildcarding.

2-1ease 7 MML Command Reference Guide

Page 26: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

BLK-CIC—Block a Circuit or a Circuit Range

CHG-DPL—Update Customer-Specific Number Manipulation Tables

Purpose: This MML command blocks a circuit or range of circuits from carrying calls.

Format: blk-cic:<point code>:CIC=<number>[,RNG=<range>]

Input Description:

• point code—MML component name of a destination point code created with PROV-ADD:ptcode.

• number—A valid circuit identification code.

• range—A number such that number + range is a valid circuit identification code (CIC). All circuits between number and number + range are blocked.

Example: The MML command shown in the following example blocks CIC 5 and the next 10 CICs on the destination point code dpc1:

mml> BLK-CIC:dpc1:CIC=5,RNG=10Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD "dpc1" ;

Comments: Enter the RTRV-TC:all command (or RTRV-CIC command) to see whether CICs were blocked.

Blocking a single CIC causes a BLO message to be sent to the destination SSP. Blocking a range of CICs causes a GBL 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 unblock a CIC, use the UNBLK-CIC command.

Purpose: This MML command updates customer-specific number manipulation tables based on the supplied customer group ID (previously called the virtual private network (vnet) ID). This may also be referred to as “reloading a dialing plan.”

Format: chg-dpl::CUSTGRPID="<customer group ID>"

Input Description:

• customer group id—The identifier (customer group ID). This is also called the vnet ID. It is a four-character alphanumeric field. It is not validated by MML.

Example: The MML command shown in the following example updates the number tables for a customer with a customer group ID of 1005:

mml> CHG-DPL::CUSTGRPID=”1005”Media Gateway Controller 2000-08-03 16:18:40M COMPLD"1005";

2-2Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 27: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

CHG-LOG—Change Log

.

CLR-ALM—Clear Alarm Component Category

CLR-MEAS—Reset a Measurement Category

Comments: This command has been replaced by SET-LOG.

Purpose: This MML command clears an alarm category for a component.

Format: clr-alm:<comp>:"<alm cat>"

Input Description:

• comp—The component generating the alarm. Components are described in the Cisco Media Gateway Controller Software Release7 Provisioning Guide. Use the RTRV-CFG:COMPONENTS command described on page 2-34 to retrieve a list of system components.

• alm cat—The alarm category, or the text that appears in the body of the alarm. For a description of alarm categories, refer to Cisco Media Gateway Controller Software Release 7 Operations, Maintenance, and Troubleshooting Guide.

Example: The MML command shown in the following example clears the PC UNAVAIL alarm on the component stp3:

mml> CLR-ALM:stp3:"PC UNAVAIL"Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD ;

Comments: The format of the alarm category must match the format shown in the alarm when it is retrieved with the RTRV-ALMS command. It is case sensitive.

This command allows wildcarding.

Purpose: This MML command resets a measurement category of a component.

Format: clr-meas:<comp>:"<meas cat>"

2-3Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 28: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

CLR-TCAP-TRANS—Clear TCAP Transactions

DIAGLOG—Diagnostics Log

Input Description:

• comp—The component being measured. Components are described in the Cisco Media Gateway Controller Software Release 7 Provisioning Guide. Use the RTRV-CFG:COMPONENTS command described on page 2-34 to retrieve a list of system components.

• meas cat—Logical identifier that selects the measurement category. For a description of measurement categories, refer to Cisco Media Gateway Controller Software Release 7 Operations, Maintenance, and Troubleshooting Guide. To retrieve a current list of measurement categories, use the MML command RTRV-CFG:MEASCATEGORIES.

Example: The MML command shown in the following example resets the line-interface-severely-errored seconds measurement category on component stp3:

mml> CLR-MEAS:stp3:"LIF: SES"Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD ;

Purpose: This MML command clears all transaction capabilities application part (TCAP) transactions that are older than the specified period.

Format: clr-tcap-trans::T=<number>

Input Description:

number—The time period, in seconds, after which you want to clear TCAP transactions.

Example: The MML command shown in the following example clears all TCAP transactions that are older than 60 seconds:

mml> CLR-TCAP-TRANS::T=60Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "TCAP-01:CLRD=0" ;

Purpose: This MML command starts and stops event logging into a diagnostics log.

Format: diaglog:<file name>:START|STOP

Input Description:

• file name—The user-defined name of the log file. Do not use punctuation, such as the period character (.), to create a suffix. The default logging directory is $BASEDIR/var/log, where $BASEDIR is specified at installation.

• start|stop—Instructs the MGC whether to stop or start logging.

2-4Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 29: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

H—Display History

Example: The MML command shown in the following example starts logging into the diagnostics log named test:

mml> DIAGLOG:test:startMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD ;

Comments: Refer to the Cisco Media Gateway Controller Software Release 7 Messages Reference Guide for more information about log files.

Purpose: This MML command redisplays a command or a series of commands, depending on a specified number or range. If no number is specified, the last command is displayed.

Format: h[::<number>[,<number>]]

Input Description:

• number—(First number entered) specifies the first command to redisplay.

• number—(Second number entered) specifies a range of commands to display.

Example:

Example:

Example:

The MML command shown in the following example displays the last successful command entered:

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

The following command displays the third previous successful command you entered:

mml> H::3Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "RTRV-TC:ALL" /* command 3 */ ;

The following command displays the second through fifth previous successful commands entered:

mml> H::2,5Media 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 */ ;

2-5Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 30: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

HELP—Open the Help File

Purpose: This MML command provides either a list of MML commands, descriptions, and values (if no parameter is given), or a description of a particular command (if the command name is entered as a parameter).

Format: help[:<command name>]

Example: The MML command shown in the following example displays help for a specific command:

mml> HELP:SET-LOGMedia Gateway Controller - MGC-03 2000-03-20 10:04:28M 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 sets the logging level of the ENG-01 process to DEBUG: mml> RTRV-LOG:ENG-01 Media Gateway Controller - MGC-01 2000-01-16 09:38:03 M RTRV "ENG-01:DEBUG" ; Comments: DSKM-01 and LOG-01, the disk monitor and log server processes, respectively, do not make use of log levels and therefore do not accept log-level change requests. ;

2-6Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 31: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Example: The MML command shown in the following example displays the help file displayed if no parameter is entered:

mml> HELPMGC-01 - Media Gateway Controller 2000-08-31 14:57:10M RTRVAvailable commands (in alphabetical order):ack-alm:<comp>:"<alm cat>" Acknowledges an alarm category on a componentblk-cic:<point code>:CIC=<number>[,RNG=<slaves>] Blocks a circuit or a circuit rangechg-dpl::CUSTGRPID="<customer group ID>" Reloads a dialing planclr-alm:<comp>:"<alm cat>" Clears an alarm category on a componentclr-meas:<comp>:"<meas cat>" Resets a measurement category on a componentclr-tcap-trans::T=<number> Clears all TCAP transactions older than value of T in secondsdiaglog:<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 defaulthelp[:<command name>] Displays the list of MML commands or the help information on a specified commandkill-call:<dest_pc>:cic=<cic>,confirm

Forcefully releases a bearer channel associated with a single call instance.

numan-add:<comp>:custgrpid=<cust group ID>,<param name>=<param value>,... Adds an element to a dial plan tablenuman-dlt:<comp>:custgrpid=<cust group ID> Deletes an element from a dial plan tablenuman-ed:<comp>:custgrpid=<cust group ID>,<param name>=<param value>,... Edits an element in a dial plan tablenuman-rtrv:<comp>:custgrpid=<cust group ID> Retrieves an element from a dial plan tablenuman-rtrv:<comp>:custgrpid=<cust group ID>,"all" Retrieves all elements from a dial plan tableprov-add:<comp>:name=<MML name>,<param name>=<param value>,... Adds the component

prov-cpy Commits provisioning dataprov-dlt:<comp>:name=<MML name> Deletes the componentprov-dply Deploys provisioning dataprov-ed:<comp>:name=<MML name>,<param name>=<param value>,... Modifies the component attributes

2-7Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 32: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

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 signal trkgrp trunk numan routing export directory name can be any directory name, in double quotes, which will be created under the cust_specific directoryprov-rtrv:<comp>:name=<MML name> Retrieves the component attributesprov-rtrv:all Retrieves all the componentsprov-rtrv:session Retrieves provisioning session information if one existsprov-rtrv:variants Retrieves all variantsprov-sta::srcver=<version>,dstver=<version> Starts a provisioning sessionprov-stp Stops the current provisioning sessionprov-stp:<session name>:confirm Stops the specified provisioning sessionprov-sync Synchronizes provisioning dataprt-call:<sig path>|<trk grp>:[CIC=<number>|SPAN=<number>[BC=<number>]] [,LOG=<logname>] [,EVT] Prints diagnostic information about an active call into the log filequery-cic:<point code>:CIC=<number>[,RNG=<slaves>][,RSLV] Performs a circuit query for a circuit or a circuit range with an optional RESOLVE parameterquit Ends the sessionr[::<number>] Repeats a previously entered command with a specified backward number; the last command by defaultreset-cic:<point code>:CIC=<number>[,RNG=<slaves>] Resets a circuit or a circuit rangertrv-admin-state:<target>:<param> Retrieves the administrative state of the target; target can be an 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 alarmsrtrv-alms::CONT Displays all active alarms and listens

for alarm events until Ctrl-Crtrv-asn:<aux sig path> Displays attributes of an ASPrtrv-aud-gw:<sig path MGCP> Retrieves result of an auditing process of a gatewayrtrv-aud-gw:all Retrieves results of auditing processes of all gateways

2-8Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 33: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

rtrv-cfg:<cfg table> Displays contents of a configuration table where table can be: alarmCategories | components | componentTypes | measCategories | services | tablesrtrv-cfg:<cfg table> Displays contents of a configuration table where table can be: alarmCategories | components | componentTypes | measCategories | services | tablesrtrv-cic:<point code>:CIC=<number>[,RNG=<slaves>] Retrieves bearer channels of a point codertrv-ctr:<comp>:"<meas cat>" Retrieves a measurement of a componentrtrv-dest:<point code> Retrieves state of a destination (point code)rtrv-dest:<sig path> Retrieves state of a destination (signaling path)rtrv-dest:all Retrieves state of all destinations: point codes and signaling pathsrtrv-lnk-ctr:<C7 link/set> Retrieves all measurements of a link or link setrtrv-lnk-ctr:all Retrieves all measurements of all linksrtrv-log:all Displays logging level of all processesrtrv-log:<proc> Displays logging level of a processrtrv-lset:<C7 link set> Displays state of a link setrtrv-lssn:all Displays state of local SSNrtrv-mml Displays all active MML sessionsrtrv-ne Displays attributes of the Network Elementrtrv-ovld Displays overload level and number of messages in a queuertrv-rssn:all Displays state of remote SSNrtrv-rte:<point code> Retrieves all SS7 routes for a point codertrv-rte:all Retrieves SS7 routes for all point codesrtrv-sc:<sig channel> Displays attributes of a signaling channelrtrv-sc:<C7 link set> Displays attributes of a link setrtrv-sc:all Displays attributes of all signaling channels and link setsrtrv-sc-trc Displays the names of all files currently open for the various traces in progressrtrv-softw:<proc> Displays status of a process or process grouprtrv-softw:all Displays status of all known processesrtrv-sp-ctr:<point code> Retrieves all measurements of a point codertrv-sp-ctr:all Retrieves all measurements of all point codesrtrv-spc:<point code> Retrieves route set of a point codertrv-spc:all Retrieves route sets of all point codes

2-9Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 34: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

rtrv-ss7-slt:<C7 link> Retrieves result of an MTP SLT test on a linkrtrv-ss7-srt:<point code>:LSET="<C7 link/set>" Retrieves result of an MTP SRT test on a point codertrv-tc:<sig path>&<sig path>... Displays state of bearers per signaling path(s)rtrv-tc:all Displays state of all bearersrtrv-tc-held:<sig path>&<sig path>... Displays state of bearers per signaling path(s) held by gatewayrtrv-tc-held:all Displays state of all bearers, held by gatewayrtrv-tcap-trans Displays number of active TCAP transactionsset-admin-state:<target>:<param>,LOCK|UNLOCK|RESET Sets the administrative state of the target; target can be an 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]set-asn-state:<aux sig path>:IS|OOS Changes service state of an ASPset-dest-state:<sig path>:IS|OOS... Changes service state of signaling pathset-lnk-state:<C7 link/set>:IS|OOS|INH|UNH Changes service state of a link or a linksetset-log:<proc>:<log level> Sets logging level for process <proc>set-log:all:<log level> Sets logging level for all processes. logLevel can be: DEBUG | TRACE | INFO | WARN | ERR | CRITset-lssn-state::<SSN>,IS|OOS Changes service state of a local SSNset-sc-state:<C7 IP or TDM SS7 link>:IS|OOS|FOOS Changes service state of a SS7 linkset-sc-state:<FAS link>:IS|OOS|FOOS|INH|UNH Changes service state of FAS related linkset-spc-state:<point code>:IS|OOS... Changes service state of a point codesta-aud Starts auditing processsta-aud-gw:<sig path MGCP> Starts auditing process of a gatewaysta-aud-gw:all Starts auditing processes of all gatewayssta-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,

2-10Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 35: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

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-ss7-slt:<C7 link> Starts an MTP SLT test on a linksta-ss7-srt:<point code>:LSET="<C7 link/set>" Starts an MTP SRT test on a point codesta-tcap-trc Starts TCAP tracingstp-abn-trc:<sig path>|<trkgrp> Stops abnormal tracing on a signal pathstp-abn-trc:all Stops abnormal tracing on all signal

pathsstp-aud Stops auditing processstp-call:<target>:<param> Stops call(s) in progress for the given target; target can be an 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,]confirmstp-sc-trc:<sig path>|<trkgrp> Stops tracing on a signal path or trunk groupstp-sc-trc:all Stops tracing on all signal paths

2-11Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 36: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

KILL-CALL—Forcefully Release a Hung CIC

stp-tcap-trc Stops TCAP tracingsw-over::CONFIRM Forces a switchover to a stand-by platformtst-cot:<point code>:CIC=<number> Performs a COT test on a circuitunblk-cic:<point code>:CIC=<number>[,RNG=<slaves>] Unblocks a circuit or a circuit rangevld-cic:<point code>:CIC=<number> Performs a circuit validation ;

Comments: New commands were added in Release 7.4. For a list of the commands on systems earlier than 7.4, enter the bare HELP command on those systems.

Purpose: This MML command resolves a stuck or hung CIC (forcefully releases a bearer channel associated with a single call instance that cannot be returned to the idle state with the reset-cic or stp-call commands.

Note This command should only be used to resolve stuck CIC problems.

Format: kill-call:<dest_pc>:cic=<cic>,confirmkill-call:<dest_mgw>:span=<span >,bc=<bearer channel>,confirm

Input Description:

• dest_pc—MML name of the destination point code associated with the stuck cic.

• dest_mgw—MML name of the media gateway destination associated with the stuck span and bearer channel.

• cic—Number of the affected cic.

• span—Number of the affected span.

• bc—Number of the affected bearer channel.

• confirm—Verify execution of the command.

Refer to the Cisco Media Gateway Controller Software Release 7 Operations, Maintenance, and Troubleshooting Guide for a description of using this command to release a hung or stuck CIC.

Example: The MML command shown in the following example releases a stuck CIC on dpc1:

mml>kill-call:dpc1:cic=215,confirm

Example: The MML command shown in the following example releases a stuck span and bearer channel:

mml> kill-call:nassvc1:span=2 , bc= 2,confirm

Comments: Before using this command, attempt to manually clear the call with the reset-cic and stp-call commands. Refer to the Cisco Media Gateway Controller Software Release 7 Operations, Maintenance, and Troubleshooting Guide for information about resolving a stuck or hung CIC.

2-12Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 37: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

NUMAN-ADD

NUMAN-DLT

NUMAN-ED

Purpose: This MML command adds an element to a dial plan table.

Format: numan-add:<comp>:custgrpid=”<cust group ID>”,<param name>=<param value>,...

Input Description:

• <comp>—The component being added to the dial plan.

• custgrpid—Customer group ID.

Refer to the Cisco Media Gateway Controller Software Release 7 Dial Plan Guide for a description of how to use the NUMAN-ADD command for dial plan provisioningand for a description of components, parameter names, parameter descriptions, and parameter values.

Example: The MML command shown in the following example is used in building a digit modification table:

mml> numan_add:digmodstring:custgrpid=”T001”,index=1,digitstring=”703484”

Purpose: This MML command deletes an element from a dial plan table.

Format: numan-dlt:<comp>:custgrpid=”<cust group ID>”

Input Description:

• <comp>—The component being deleted from the dial plan.

• custgrpid—Customer group ID.

Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for a description of components, parameter names, parameter descriptions, and parameter values.

Example: The MML command shown in the following example deletes an element from a dial plan table:

mml> numan-dlt:resultset:custgrpid="T001",name="ra4"

Purpose: This MML command edits an element in a dial plan table.

Format: numan-ed:<comp>:custgrpid=”<cust group ID>”,<param name>=<param value>,...

2-13Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 38: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

NUMAN-RTRV

Input Description:

• <comp>—The component being deleted from the dial plan.

• custgrpid—Customer group ID.

Refer to the Cisco Media Gateway Controller Software Release 7 Dial Plan Guide for a description of using the NUMAN commands for dial-plan provisioning and for a description of components, parameter names, parameter descriptions, and parameter values.

Example: The MML command shown in the following example edits a dial modification table.

mml> numan-ed:npi:custgrpid="T001",npiblock=1,setname="ra2"

Purpose: This MML command retrieves an element or all elements from a dial plan table.

Format: numan-rtrv:dialplan:”all”numan-rtrv:<comp>:custgrpid=”<cust group ID>”numan-rtrv:<comp>:custgrpid=”<cust group ID>”,"all"

Input Description:

• <comp>—The component being deleted from the dial plan.

• custgrpid—Customer group ID.

Refer to the Cisco Media Gateway Controller Software Release 7 Dial Plan Guide for a description of components, parameter names, parameter descriptions, and parameter values.

2-14Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 39: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Output Description:

• DIALPLAN custgrpid—Customer group ID(s) for the dial plan.

• ADIGTREE digitString—Digit string being displayed.

• ADIGTREE callSide—Call side: originating or terminating.

• ADIGTREE PointInDigitString—A portion of the digit string that has a result set.

• ADIGTREE ResultSetName—Result set name.

• ADIGTREE ResultName—Result name in the set.

• ADIGTREE ResultType—Result type for the result name.

• ADIGTREE dw(n)—Data word (one through four) for the result.

• ADIGTREE nextResult—Next result name in the result set.

• RESULTTABLE setName—Result set name.

• RESULTTABLE resultName—Result name in the set.

• RESULTTABLE resultType—Result type for the result name.

• RESULTTABLE dw(n)—Data word (one through four) for the result.

• RESULTTABLE nextResult—Next result name in the result set.

• DIGMODSTRING digName—Name of the digit modification string.

• DIGMODSTRING digString—String of digits to modify.

• NOA Index—Nature of address indicator.

• NOA NPIBlock—Value of a configurable numbering plan index.

• NOAresultName—MML name of the result set.

• NPI Index—Index for the numbering plan index.

• NPI blockVal—NPI Block value.

• NPI resultName—NPI result set name.

• CAUSE Index—Cause value.

• CAUSE locationBlock—Location block value

• CAUSE resultName—MML name of the result set.

• LOCATION Index—Location block value.

• LOCATION blockVal—Block value.

• LOCATION resultName—MML name of the result set.

• SERVICE serviceName—MML name of the service

• RESULTSET setName—MML name of the result set.

• RESULTSET resultName—Result name.

• A(or B)WHITE CLI—Calling line identity and whether it exists.

• A(orB)BLACK CLI—Calling line identity and whether it exists.

• PORTTBL digitString—Called number.

• PORTTBL routingNumber—Routing number.

• TERMTBL digitString—Called number.

• TERMTBL routeListName—Route list name.

2-15Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 40: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

PROV-ADD—Add Provisioning Component

Example: The MML command shown in the following example retrieves the customer group ID.

mml> numan-rtrv:dialplan:"all"Media Gateway Controller - MGC-01 2000-02-01 13:23:36M RTRV"session=active:dialplan"/* CustGrpId---------V123*/;

Purpose: This MML command adds a component to the Cisco MGC configuration.

Format: prov-add:<comp>:name=”<MML name>”,<param name>=<param value>,...

Input Description:

• <comp>—MML component type name for the type of configuration you are creating. The component type must match one of the component types listed in the Cisco Media Gateway Controller Software Release 7 Provisioning Guide. For Release 7.4(8) and later, <comp> can be EXTNODE. If <comp> is EXTNODE, then the <param name> TYPE must be present and needs to take a set of values (refer to the second example below).

• name—MML component name for the new object you are creating (as many as ten characters).

• param name—The name of a valid configuration parameter for the specified component type. Parameter names are listed in the Cisco Media Gateway Controller Software Release 7 Provisioning Guide

• param value—The value you want to assign to the parameter. If the parameter value is a string, it should be surrounded by quotation marks.

To define more than one parameter, enter additional param name=param value descriptions on the command line.

2-16Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 41: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

PROV-CPY—Commit Provisioning Data

Example:

Example:

The MML command shown in the following example adds the origination point code for the MGC configuration:

mml> PROV-ADD:ptcode:NAME="opc", DESC="Point code of CP1", netaddr="0.0.1", netind=2Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD"ptcode";

The MML Command shown in the following example adds an external node to the MGC configuration:

mml> PROV-ADD:extnode:name="toto2",desc="tata",type="MGX8260"Media Gateway Controller - MGC-02 2000-05-08 18:05:55M COMPLD"extnode";

Comments: A wide variety of parameters can be provisioned, depending on the component selected.Refer to Cisco Media Gateway Controller Software Release 7 Provisioning Guide for a description of using the PROV commands for provisioning and for a description of components, parameter names, parameter descriptions, and parameter values.

Purpose: This MML command copies configuration settings from the current provisioning session to the local host on which the commands are running in a simplex configuration, and this activates the configuration. This command terminates the current provisioning session, if successful, and fails if there is no active provisioning session.

Note The difference between the PROV-CPY command and the PROV-DPLY command is that the PROV-DPLY command applies the configuration changes to both hosts in continuous-service Cisco MGC configurations, and the PROV-CPY command applies the configuration changes to only the local MGC host.

Format: prov-cpy

Example: The MML command shown in the following example copies the configuration changes from the current session to the simplex Cisco MGC you are configuring.

mml> PROV-CPY

Comments: Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for a description of using the PROV commands for provisioning and for a description of components, parameter names, parameter descriptions, and parameter values.

2-17Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 42: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

PROV-DLT—Delete Components or Parameters

PROV-DPLY—Deploy Provisioning Data

Purpose: This MML command deletes a provisioned component.

Format: prov-dlt:<comp>:name=”<MML name>”

Input Description:

• <comp>—MML component type name for the type of component you are deleting. The entered parameter must match one of the component types listed in the Cisco Media Gateway Controller Software Release 7 Provisioning Guide.

• name—MML component name for the component you are deleting.

Example: The MML command shown in the following example deletes the point code component "opc":

mml> PROV-DLT:ptcode:NAME="opc"Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD "ptcode" ;

Comments: Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for a description of using the PROV commands for provisioning and for a description of components, parameter names, parameter descriptions, and parameter values used in provisioning.

Purpose: This MML command copies configuration settings from the current provisioning session to both Cisco MGCs in a continuous-service MGC configuration, and this activates the configuration. This command terminates the current provisioning session, if successful, and fails if there is no active provisioning session.

Note The difference between the PROV-CPY command and the PROV-DPLY command is that the PROV-DPLY command applies the configuration changes to continuous-service Cisco MGC configurations, whereas the PROV-CPY command applies the configuration changes to the Cisco MGC you are configuring.

Format: prov-dply

Example: The MML command shown in the following example copies the configuration from the current session to both MGCs:

mml> PROV-DPLY

Comments: Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for a description of using the PROV commands for provisioning and for a description of components, parameter names, parameter descriptions, and parameter values used in provisioning.

2-18Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 43: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

PROV-ED—Modify Provisioned Component

Purpose: This MML command modifies a provisioned component.

Note Only those parameters that need to be modified must be entered.

Format: prov-ed:<comp>:name=”<MML name>”,<param name>=<param value>,...

Input Description:

• comp—MML component type name for the type of component you are modifying. The entered parameter must match one of the component types listed in the Cisco Media Gateway Controller Software Release 7 Provisioning Guide.

• name—MML name for the component you are modifying. You cannot change the component name.

• param name—The name of each configuration parameter you want to change. The parameter names must be valid for the specified component type. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for a description of components, parameter names, parameter descriptions, and parameter values.

• param value—The new value you want to assign to the parameter. If the parameter value is a string, it should be surrounded by quotation marks.

Note To modify more than one parameter, enter additional param name=value descriptions on the command line.

Example: The MML command shown in the following example changes the description of the provisioned point code “opc”:

mml> PROV-ED:ptcode:NAME="opc", DESC="Point code for this SSP"Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD "ptcode" ;

Comments: Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for information about using the PROV commands for provisioning and for a description of components, parameter names, parameter descriptions, and parameter values used in provisioning.

2-19Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 44: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

PROV-EXP—Exports Provisioning Data

Purpose: This MML command exports the current configuration of the MGC, in MML command form, to a file or files. This allows for a system to be primed with a cloned configuration from an existing system or to be restored to a baseline configuration. The exported data can be imported using MML’s batch feature. (Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for information about creating an MML batch file.)

Format: prov-exp:<tid>:dirname=”<export directory name>”

Input Description:

• tid—Types of data. These can be:

– config—Core configuration data (signaling paths, SS7 nodes), including trunks and trunkgroup definitions.

– routing—Routing plans.

– numan—Dial plans.

• export directory name—Name of the directory to which the data is exported. This directory, which must be typed within double quotes, will be created as a subdirectory within the cust_specific directory established at installation.

Example: The MML command shown in the following example saves the following files in the saved config directory:

• config.mml

• export_trunks.dat (optionally created if trunks are defined)

• export_trkgrp.dat (optionally created if trunk groups are defined)

• routing.mml

• <custGrpID>.mml (any number of these depending on number of dialplans defined)

mml> prov-exp:all:dirname=”saved_config”Media Gateway Controller - MGC-01 2000-01-12 15:19:51M COMPLD

To import all configuration data from the directory saved_config exported by this command, use the UNIX commands shown, in the following order, to execute MML in batch mode:

mml -b $BASEDIR/etc/cust_specific/saved_config/config.mmlmml -b $BASEDIR/etc/cust_specific/saved_config/routing.mmlmml -b $BASEDIR/etc/cust_specific/saved_config/<CustGrpID>.mml

Comments: This command was introduced in Release 7.4.

2-20Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 45: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

PROV-RTRV—Retrieve Provisioning Information

Purpose: This MML command retrieves information about an existing provisioning session.

Format: prov-rtrv:<comp>:name=<MML name>prov-rtrv:allprov-rtrv:<comp>:”all”prov-rtrv:sessionprov-rtrv:variants

Input Description:

• all—Displays all components that have been provisioned. A provisioning session is not required.

• session—Displays information about the provisioning session.

• variants—Displays a list of the signaling protocols this configuration supports. A provisioning session is not required.

• comp—Use this command form when you want to display information about a single component. Enter the MML component type name for the type of component you are displaying. The entered parameter must match one of the component types listed in the Cisco Media Gateway Controller Software Release 7 Provisioning Guide. Use the PROV-RTRV:ALL command to view TID names that may be entered here.

• name—MML component name for the component you want to display. Use the PROV-RTRV:ALL command to view MML component names that may be entered here.

Output Description:

The output of this command varies, depending on the component and format selected.

For PROV-RTRV:ALL, the output is the following:

• SESSION—DSTVER if session exists; otherwise this is “ACTIVE”

• NAME—MML name of component

• COMPID—8-digit component ID

• PARENT NAME—MML name of parent component

• TID—Target identifier of component

• DESCRIPTION—Description of the provisioning component

For PROV-RTRV:<comp>, the output is as shown below:

• SESSION—DSTVER if session exists; otherwise this is “ACTIVE”

• NAME—MML name of component

A wide variety of additional output parameters may appear, depending on the component and format selected.

2-21Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 46: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

For PROV-RTRV:SESSION, the output is the following:

• SRCVER—The specific configuration version, as entered in the PROV-STA command that created the session.

• DSTVER—The specific output version, as entered in the PROV-STA command that created the session.

For PROV-RTRV:VARIANTS, the output is:

• MDO File name—Filename of the message definition object file. The MDO is a file that identifies protocol variants.

• Protocol family—Name of the protocol family

Example:

Example:

The MML command shown in the following example displays information about the point code “opc”:

mml> PROV-RTRV:ptcode:NAME=”opc”MGC-01 - Media Gateway Controller 2000-08-25 16:28:56M RTRV ""session=active:ptcode" /* NAME = opcDESC = Own Point CodeNETADDR = 201.1.100NETIND = 2 */ ;

The MML command shown in the following example displays information about variants:

mml> PROV-RTRV:variantsMGC-01 - Media Gateway Controller 2000-08-25 16:23:43M RTRV "session=0810esprit:variants" /* MDO File name Protcol Family------------- --------------ANSISS7_CLEAR SS7-ANSIANSISS7_MCI SS7-ANSIANSISS7_SPRINT SS7-ANSIANSISS7_STANDARD SS7-ANSIATT_41459 ISDNPRIATT_41459_C2 ISDNPRIBELL_1268 ISDNPRIBELL_1268_C3 ISDNPRIBTNUP_BTNR167 SS7-UKBTNUP_IUP SS7-UKBTNUP_NRC SS7-UKDPNSS_BTNR188 DPNSSEISUP EISUPETS_300_102 ISDNPRIETS_300_102_C1 ISDNPRIETS_300_121 ISDNPRIETS_300_172 ISDNPRIETS_300_356 SS7-ITUHKTA_2202 SS7-ITUISUPV1_POLI SS7-ITUISUPV2_CZECH SS7-ITUISUPV2_FINNISH96 SS7-

2-22Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 47: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

PROV-STA—Start Provisioning Session

ITUISUPV2_FRENCH SS7-ITUISUPV2_GERMAN SS7-ITUISUPV2_JAPAN SS7-JapanISUPV2_KPNPB SS7-ITUISUPV2_NTT SS7-JapanISUPV2_SWISS SS7-ITUISUPV2_TELEFONICA SS7-ITUISUPV3_UK SS7-UKNORTEL_IBN7 SS7-ANSIQ721_BASE SS7-ChinaQ721_CHINA SS7-ChinaQ721_FRENCH SS7-ITUQ761_ARGENTINA SS7-ITUQ761_AUSTRL SS7-ITUQ761_BASE SS7-ITUQ761_BELG_BCOM SS7-ITUQ761_BELG_MOBI SS7-ITUQ761_CHILE SS7-ITUQ761_CHINA SS7-ChinaQ761_KOREAN SS7-ITUQ761_PORTUGAL SS7-ITUQ761_SINGAPORE SS7-ITUQ761_TAIWAN SS7-ITUQ767_BASE SS7-ITUQ767_ITAL SS7-ITUQ767_ITAL_INTERCONNECT SS7-ITUQ767_MEXICAN SS7-ITUQ767_RUSS SS7-ITUQ767_SPAN SS7-ITUQ767_SWED SS7-ITUQ767_TELSTRA SS7-ITUT113_BELL SS7-ANSI*/ ;

Comments: Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for a description of using the PROV commands for provisioning and for a description of components, parameter names, parameter descriptions, and parameter values used in provisioning.

If the quotation marks are not used, the following error message is displayed:

/* Input, Invalid Data Parameter */

Purpose: This MML command establishes a provisioning session. The data files are copied from the source version to the destination version. The data files are also locked to prevent other users from making changes.

If there is no active session, you can start a new session. If there is an active session, you can view the active configuration, but you are blocked from performing other actions.

Format: prov-sta::srcver=<version>,dstver=<version>

2-23Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 48: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Input Description:

• srcver=version—Selects a specific configuration version as the source for configuration changes. The srcVersionNumber variable represents a directory stored in $BASEDIR/etc/CONFIG_LIB. In place of the configuration version, you can also enter:

– new—Specifies a new default session configuration; no existing source configuration is used.

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

• dstver=version—Specifies the output version number and directory for the configuration session results. The destVersionNumber variable represents a directory stored in $BASEDIR/etc/CONFIG_LIB.

Note A version number is not required within the directory names listed above, but it does help you keep track of different configuration versions.

Example: The MML command shown in the following example starts a provisioning session and creates a new configuration named ver1:

mml> PROV-STA::SRCVER=”new”, DSTVER=”ver1”Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD "PROV-STA" ;

Example: The MML command shown in the following example starts a provisioning session, opens the existing configuration named ver1, and overwrites that configuration:

mml> PROV-STA::SRCVER=”ver1”, DSTVER=”ver1”

Example: The MML command shown in the following example starts a provisioning session, opens the existing configuration named ver1, and saves the updated configuration as ver2:

mml> PROV-STA::SRCVER=”ver1”, DSTVER=”ver2”

Comments: Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for a description of the PROV commands for provisioning and for a description of components, parameter names, parameter descriptions, and parameter values.

If the source and destination filenames are the same, the new configuration overwrites the old configuration. It is a good practice to copy an existing configuration instead of overwriting it. This gives you an easy way to return to a known configuration if there are problems with the new configuration. The new configuration should never be the destination session.

If the source configuration specified is new, the software does not allow you to overwrite an existing configuration.

2-24Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 49: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

PROV-STP—Stop Provisioning Session

PROV-SYNC—Synchronize Provisioning Data

PRT-CALL—Print Call

Purpose: This MML command terminates either a specified session or the current provisioning session, saves the configuration, and releases the lock on the configuration data files.

Note This command does not activate the new configuration. Use the PROV-CPY or PROV-DPLY command to activate the configuration.

Format: prov-stpprov-stp:<session name>:confirm

Input Description:

• session name—Use the PROV-RTRV:SESSION command to display a provisioning session DSTVER for this parameter.

• confirm—If no confirm option is entered, the command is rejected, and you are notified of the potential performance impact of this command.

Example: The MML command shown in the following example terminates the current provisioning session.

mml> PROV-STPMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD "PROV-STP" ;

Purpose: This MML command copies the active configuration from the active Cisco MGC host to the standby Cisco MGC host, ensuring that both Cisco MGC hosts are using the same configuration.

Format: PROV-SYNC

Example: The MML command shown in the following example copies the configuration from the active Cisco MGC to the standby Cisco MGC:

mml> PROV-SYNC

Purpose: This MML command prints diagnostic information about hung calls to a log file.

Format: prt-call:<sigpath><ptcode>:CIC=<n>|span=<n>[bc=<n>][,LOG=<logname>][,EVT]]

2-25Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 50: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Input Description:

Target parameters are as follows:

• sigPath—Corresponding MML name for any of the following component types:

– Signal path of in-band TDM up to MUX and then time switched to TDM media and sent to the Cisco MGC

– Signal path of in-band TDM signaling up to CU and then encapsulated and sent over IP to the Cisco MGC

– Signal path of in-band TDM signaling up to NAS and then converted to NI2 and sent to the Cisco MGC over IP (that is, FE box<-sig/tdm->NAS<-NI2/IP-> Cisco MGC)

– Signal path or route set associated with the SS7 destination PC

– Signal path for EISUP

• cic—A numeric value that identifies the ISUP circuit identification code number.

• span—spanId is a 16-bit value that identifies an ISDN/PRI physical cable.

• bc—A numeric value that identifies the non-ISUP bearer channel number. BC is used for non-ISUP trunks; otherwise use CIC.

• log—The log parameter accepts the name of an ASCII log file to which the output is written. The name given in this parameter is used as a prefix to the actual name of the file, which includes the signal path name and date and time. If no log filename is provided, a default name consisting of the signal path and date and time is created. The extension of these log files is prt and the files are located in the ../var/trace directory.

• EVT—Reserved for future use.

Example: The MML commands shown in the following examples prints information about hung calls to a file:

mml> prt-call:dms100-pc:cic=124Media Gateway Controller 2000-06-14 11:02:39M COMPLD"dms100-pc";

(The output for this prt-call command is the file: $BASEDIR/var/trace/pc_20000614110239.prt)

Example: The MML command shown in the following example prints information about hung calls to a file:

mml> prt-call:bh581-1:span=0,bc=1Media Gateway Controller 2000-06-14 11:10:22M COMPLD"bh581-1";

2-26Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 51: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

QUERY-CIC—Execute Circuit Query

Example: The MML command shown in the following example prints information about hung calls to a file:

mml> prt-call:bh581-1:span=0,bc=1,log="bh581-print"Media Gateway Controller 2000-06-14 11:10:59M COMPLD"bh581-1";

(The output for this prt-call command is the file $BASEDIR/var/trace/bh581-print_bh581-1_20000614111059.prt)

Comments: This command is available as of Release 7.4(8).

This command allows wildcards on signal paths.

Purpose: This MML command executes a circuit status query for a circuit or a circuit range.

Format: query-cic:<point code>:CIC=<number>[,RNG=<range>][,RSLV]

Input Description:

• point code—MML component name of a point code created with PROV-ADD.

• number—A valid circuit identification code (CIC).

• range—A number such that number + range is a valid CIC. All circuits between number and number + range are queried.

• rslv—If this parameter is on, the system attempts to resolve differences between the Cisco MGC CIC state and the switch CIC state.

2-27Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 52: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Output Description:

• CIC—Circuit identification code.

• PST—Primary state.

– AOOS—The system has taken it out of service.

– INB—Installed busy (resource has been created but not yet commanded IS or OOS via the SET-SC-STATE command).

– IS—In service.

– MOOS—Manually taken out of service.

– OOS—Out of service.

– TRNS—Transient; the state is currently being changed.

– UNK—Unknown.

• LPST—Local primary state (states are same as PST, above).

• LSST—Local secondary state.

– N/A—Not available.

– UNEQUIPPED—Unequipped.

– IC_BUSY—Incoming is busy.

– IC_BUSY_LOC_BLOC—Incoming is busy, blocked locally.

– IC_BUSY_REM_BLOC—Incoming is busy, blocked remotely.

– IC_BUSY_BOTH_BLOC—Incoming is busy, blocked both remotely and locally.

– OG_BUSY—Outgoing is busy.

– OG_BUSY_LOC_BLOC—Outgoing is busy, blocked locally.

– OG_BUSY_REM_BLOC—Outgoing is busy, blocked remotely.

– OG_BUSY_BOTH_BLOC—Outgoing is busy, blocked both remotely and locally.

– IDLE—The circuit is idle, available for use.

– IDLE_LOC_BLOC—Idle, blocked locally.

– IDLE_REM_BLOC—Idle, blocked locally.

– IDLE_BOTH_BLOC—Idle, blocked both locally and remotely.

• RPST—Remote primary state (states are same as PST, above).

• RSST—Remote secondary state (states are same as LSST, above).

2-28Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 53: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

QUIT—End Session

R—Repeat Previously Entered Command

Example: The MML command shown in the following example queries CICs 20 through 24 on the destination point code dpc2. In this example, CIC=24 is a case in which the local primary state and secondary state differ.

mml> QUERY-CIC:dpc2:CIC=20,RNG=4Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "dpc2:CIC=20;PST=IS;SST=IDLE" "dpc2:CIC=21;PST=IS;SST=IDLE" "dpc2:CIC=22;PST=IS;SST=IDLE" "dpc2:CIC=23;PST=IS;SST=IDLE" "dpc2:CIC=24;LPST=OOS;LSST=IDLE_LOC_BLOC," "dpc2:RPST=IS;RSST=IDLE" ;

Comments: If the remote states and local states are the same, then only the remote states are shown in the output.

Purpose: This MML command ends the MML session.

Format: QUIT

Example: mml> QUIT>

Purpose: This MML command repeats a previously entered command.

Format: r[::<number>]

Input Description:

number—The command to repeat. For example, a value of 3 repeats the command issued before the last two commands. The default value is 1, which repeats the last command.

Example:

Example:

The MML command shown in the following example repeats the last command (this is the same as using the up arrow):

mml> R

The MML command shown in the following example repeats the third to the last command:

mml> R::3

2-29Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 54: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RESET-CIC—Reset a Circuit or a Circuit Range

RTRV-ADMIN-STATE—Retrieve Administrative State

Purpose: This MML command resets or activates a circuit or a range of circuits.

Format: reset-cic:<point code>:CIC=<number>[,RNG=<range>]

Input Description:

• point code—MML component name of a destination point code created with PROV-ADD.

• number—A valid circuit identification code (CIC).

• range—A number such that number + range is a valid CIC. All circuits between number and number + range are reset.

Example: The MML command shown in the following example resets CICs 1 to 24 on destination point code dpc2:

mml> RESET-CIC:dpc2:CIC=1,RNG=23Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD "dpc2" ;

Purpose: This MML command provides the following summary report:

• Inferred target state:

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

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

– If there is a mixture of locked and shutdown, the inferred target administrative state is shut down.

• Number of bearer channels that are in locking state.

• Number of bearer channels that are in unlocked state.

• Number of bearer channels that are in shutdown state.

Format: rtrv-admin-state:<mgc>rtrv-admin-state:<gway>rtrv-admin-state:<trkGrp>rtrv-admin-state:<sigPath>rtrv-admin-state:<sigPath>:span=xrtrv-admin-state:<sigPath>:span=x,BC=y[,RNG=z]rtrv-admin-state:<sigPath>:CIC=x[,RNG=y]

2-30Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 55: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Input Description:

Target parameters are as follows:

• MGC—Corresponding MML name of media gateway controller.

• GWAY—Corresponding MML name for media gateway. Not all media gateway types are applicable. Supported types are CU, MUX, MGW, and AVM external nodes.

• trkGrp—trkGrp is applicable only for time-division multiplexing (TDM). Allow the corresponding MML name for component type "0020".

• sigPath—Corresponding MML name for any of the following component types:

– Signal path of in-band TDM up to MUX and then time switched to TDM media and sent to the Cisco MGC

– Signal path of in-band TDM signaling up to CU and then encapsulated and sent over IP to the Cisco MGC

– Signal path of in-band TDM signaling up to NAS and then converted to NI2 and sent to the Cisco MGC over IP (that is, FE box<-sig/tdm->NAS<-NI2/IP-> MGC)

– Signal path or route set associated with SS7 destination PC

– Signal path for EISUP

• span—A 16-bit value that identifies an ISDN/PRI physical cable.

• BC—A numeric value that identifies the non-ISUP bearer channel number. BC is used for non-ISUP trunks; otherwise use CIC.

• CIC—A numeric value that identifies the ISUP circuit identification code number.

• RNG—The range of either bearer channels or circuit identification codes.

Output Description:

• PST—Primary admninistrative state:

– LOCK—Locked state.

– UNLOCK—Unlocked state.

– SHUTDOWN—Shutdown state.

• LOCK—Number of bearer channels in locked state.

• UNLOCK—Number of bearer channels in unlocked state.

• SHUTDOWN—Number of bearer channels in shutdown state.

Example: The following example retrieves for dpc1 the primary state (PST=), the number of bearer channels in locked state (LOCK=), the number of bearer channels in unlocked state (UNLOCK=), and the number of bearer channels in shutdown state (SHUTDOWN=).

mml> rtrv-admin-state:dpc1Media Gateway Controller - MGC-03 2000-02-17 14:27:52M COMPLD"dpc1:PST=UNLOCK,LOCK=0,UNLOCK=384,SHUTDOWN=0";

Comments: This command was introduced in Release 7.4.

This command allows wildcarding.

2-31Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

RTRV-ALMS—Retrieve Active Alarms

Page 56: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Purpose: This MML command displays all active alarms.

Format: RTRV-ALMSRTRV-ALMS::CONT

Input Description:

CONT—Tells the system to display alarm events until Ctrl-C is pressed.

Output Description:

Refer to the Cisco Media Gateway Controller Software Release 7 Messages Reference Guide for a description of each of the alarms, including recommended actions.

Alarm severity levels (SEV) are as follows:

• Critical (CR)

• Major (MJ)

• Minor (MN)

• Informational

Example: The MML command shown in the following example displays the names of all active alarms:

mml> RTRV-ALMSMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "IOCM-01: 1999-09-30 15:54:05.891," "IOCM-01:ALM=\"Config Fail\",SEV=MN" "FOD-01: 1999-09-30 15:54:01.211," "FOD-01:ALM=\"FailoverPeerLost\",SEV=MJ" "dpc1: 1999-09-30 15:54:04.223,ALM=\"PC UNAVAIL\",SEV=MJ" "dpc2: 1999-09-30 15:54:04.229,ALM=\"PC UNAVAIL\",SEV=MJ" "dpc3: 1999-09-30 15:54:03.382,ALM=\"PC UNAVAIL\",SEV=MJ" "dpc5: 1999-09-30 15:54:04.243,ALM=\"PC UNAVAIL\",SEV=MJ" "ls1link2: 1999-09-30 15:54:03.808,ALM=\"SC FAIL\",SEV=MJ" "ls2link2: 1999-09-30 15:54:04.119,ALM=\"SC FAIL\",SEV=MJ" "ls3link1: 1999-09-30 15:54:04.121," "ls3link1:ALM=\"Config Fail\",SEV=MN" "ls3link2: 1999-09-30 15:54:04.131," "ls3link2:ALM=\"Config Fail\",SEV=MN" "ls3link2: 1999-09-30 15:54:04.132,ALM=\"SC FAIL\",SEV=MJ" "ls5link1: 1999-09-30 15:54:04.150," "ls5link1:ALM=\"Config Fail\",SEV=MN" "ls5link1: 1999-09-30 15:54:04.151,ALM=\"SC FAIL\",SEV=MJ" ;

2-32Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 57: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-AUD-GW—Retrieve Auditing of MGCP Gateway

Example: The MML command shown in the following example displays the names of active alarms and new alarm events until you press Ctrl-C:

mml> RTRV-ALMS::contMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "IOCM-01: 1999-09-30 15:54:27.892," "IOCM-01:ALM=\"Config Fail\",SEV=MN" "FOD-01: 1999-09-30 15:54:01.211," "FOD-01:ALM=\"FailoverPeerLost\",SEV=MJ" "dpc1: 1999-09-30 15:54:04.223,ALM=\"PC UNAVAIL\",SEV=MJ" "dpc2: 1999-09-30 15:54:04.229,ALM=\"PC UNAVAIL\",SEV=MJ" "dpc3: 1999-09-30 15:54:03.382,ALM=\"PC UNAVAIL\",SEV=MJ" "dpc5: 1999-09-30 15:54:04.243,ALM=\"PC UNAVAIL\",SEV=MJ""ls3link1: 1999-09-30 15:54:04.121," "ls3link1:ALM=\"Config Fail\",SEV=MN" "ls3link2: 1999-09-30 15:54:04.131," "ls3link2:ALM=\"Config Fail\",SEV=MN" "ls3link2: 1999-09-30 15:54:04.132,ALM=\"SC FAIL\",SEV=MJ" "ls5link1: 1999-09-30 15:54:04.150," "ls5link1:ALM=\"Config Fail\",SEV=MN" "ls5link1: 1999-09-30 15:54:04.151,ALM=\"SC FAIL\",SEV=MJ" ;/* Listening for alarm events... (Ctrl-C to stop) */Media Gateway Controller - MGC-01 2000-01-12 15:19:51 ** "dpc1:ALM=\"PC UNAVAIL\",STATE=CLEARED" ;Media Gateway Controller - MGC-01 2000-01-12 15:19:51 ** "dpc2:ALM=\"PC UNAVAIL\",STATE=CLEARED" ;Media Gateway Controller - MGC-01 2000-01-12 15:19:51 A "ls1link1:ALM=\"CHAN BAD TOT 15\",STATE=CLEARED" ;Ctrl-C^C/* Ctrl-C pressed */mml>

Purpose: This MML command retrieves the auditing of an MGCP gateway started by the STA-AUDIT-GW command.

Format: rtrv-aud-gw:<sig path MGCP>rtrv-aud-gw:all

Input Description:

sig path MGCP—Retrieves the auditing of an MGCP signal path created with the PROV-ADD MGC command.

all—Retrieves the auditing of all MGCPs.

2-33Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 58: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-CFG—Retrieve Configuration Table

Output Description:

• pass—The audit was successful.

– <text>—This is text returned from the Input-Output Channel Controller (IOCC). It may include endpoint name, connections ID, or other text explaining the result.

• fail—The audit was unsuccessful.

– <text>—This is text returned from the Input-Output Channel Controller (IOCC). It may include endpoint name, connections ID, or other text explaining the result.

Example: The MML command shown in the following example retrieves the results of an audit started on SP1-MGCP1:

mml> RTRV-AUD-GW:SP1-MGCP1Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD"SP1-MGCP1:Audit gw received at 2000-01-12 15:19:51Audit GW PASSEDpass pnpass pt - not alarmedpass sl - not alarmedpass nlpass bppass cppass rppass nbpass ucpass icpass uspass is" ;

Purpose: This MML command displays the contents of a configuration table.

Format: rtrv-cfg:<cfg table>

Input Description:

cfg table—The configuration table to display. The possible configuration tables can be

• Alarm categories (alarmCategories)

• Components

• ComponentTypes

• Measurement categories (measCategories)

• Services

• Tables

Output Description:

The output of this command consists of the contents of the table requested.

2-34Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 59: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Example: mml> rtrv-cfg:componentsMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV

"MGC-22: KEY=00010001," "MGC-22: PARENT=00000000, DESCR=Media Gateway Controller " "CFGG-01: KEY=00020001," "CFGG-01: PARENT=00010001, DESCR=Config Mgr Subsystem" "ALGG-01: KEY=00020002," "ALGG-01: PARENT=00010001, DESCR=Alarm Mgr Subsystem" "MSGG-01: KEY=00020003," "MSGG-01: PARENT=00010001, DESCR=Measurement Mgr Subsystem" "ENGG-01: KEY=00020004," "ENGG-01: PARENT=00010001, DESCR=Engine Subsystem" "IOSG-01: KEY=00020005, PARENT=00010001, DESCR=IO Subsystem" "LOGM-01: KEY=00020006," "LOGM-01: PARENT=00010001, DESCR=Log Manager Subsystem" "XEG-01: KEY=00020007," "XEG-01: PARENT=00010001," "XEG-01: DESCR=Execution Environment Daemons" "PFMG-01: KEY=00020008," "PFMG-01: PARENT=00010001, DESCR=Platform Monitoring" "FTG-01: KEY=00020009," "FTG-01: PARENT=00010001, DESCR=Failover Group" "SNMPG-01: KEY=0002000a, PARENT=00010001, DESCR=SNMP Group" "CFM-01: KEY=00030001," "CFM-01: PARENT=00020007, DESCR=Config Manager" "ALM-01: KEY=00030002," "ALM-01: PARENT=00020007, DESCR=Alarm Manager" "MM-01: KEY=00030003," "MM-01: PARENT=00020007, DESCR=Measurement Manager" "AMDMPR-01: KEY=00030004," "AMDMPR-01: PARENT=00020007, DESCR=Alarm & Measurement Dumper" "CDRDMPR-01: KEY=00030005, PARENT=00020007, DESCR=CDR Dumper" "DSKM-01: KEY=00030006," "DSKM-01: PARENT=00020008, DESCR=Disk Space Monitor" "MMDB-01: KEY=00030007," "MMDB-01: PARENT=00020007, DESCR=TimesTen DataBase Process" "POM-01: KEY=00030008," "POM-01: PARENT=00020007," "POM-01: DESCR=Provisioning Object Manager" "MEASAGT: KEY=00030009," "MEASAGT: PARENT=0002000a, DESCR=Measurements SNMP Agent" "OPERSAGT: KEY=0003000a," "OPERSAGT: PARENT=0002000a, DESCR=Operational SNMP Agent" "PROVSAGT: KEY=0003000b," "PROVSAGT: PARENT=0002000a, DESCR=Provisioning SNMP Agent" "CMSAlarm: KEY=0003000c," "CMSAlarm: PARENT=00020007, DESCR=CMS Alarm Manager" "Replic-01: KEY=0003000d," "Replic-01: PARENT=00020004, DESCR=Replicator Controller"

"ENG-01: KEY=0003000e, PARENT=00020004, DESCR=Engine""IOCM-01: KEY=0003000f,""IOCM-01: PARENT=00020005, DESCR=IOS Channel Manager""TCAP-01: KEY=00030010,""TCAP-01: PARENT=00020005,""TCAP-01: DESCR=TCAP and SCCP protocol handler""IOCC-ASP: KEY=00030011,""IOCC-ASP: PARENT=00020005,""IOCC-ASP: DESCR=IOS Channel Controller - ASP"

"FOD-01: KEY=00030012," "FOD-01: PARENT=0002000a, DESCR=Failover Controller"

2-35Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 60: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

"IOCC-PRIIP: KEY=00030013,""IOCC-PRIIP: PARENT=00020005,"

"IOCC-PRIIP: DESCR=IOS ChannelController - ISDNPRI over IP " "IOCC-ANSI1: KEY=00030014, PARENT=00020005, DESCR=00130001" "CPU-01: KEY=00040001, PARENT=00010001, DESCR=CPU 1" "DISK-01: KEY=00040003, PARENT=00010001, DESCR=Hard Disk #1" "DISK-02: KEY=00040004, PARENT=00010001, DESCR=Hard Disk #2" "encard1: KEY=00050001," "encard1: PARENT=00010001, DESCR=Ethernet Card 1" "encard2: KEY=00050002," "encard2: PARENT=00010001, DESCR=Ethernet Card 2" "enetif1: KEY=00060001," "enetif1: PARENT=00050001," "enetif1: DESCR=Ethernet Interface for Card 1" "enetif2: KEY=00060002," "enetif2: PARENT=00050002," "enetif2: DESCR=Ethernet Interface for Card 2" "ls01: KEY=00080001," "ls01: PARENT=001e0001," "ls01: DESCR=Link Set from MGC to STPA" "ls02: KEY=00080002," "ls02: PARENT=001e0002," "ls02: DESCR=Link Set from MGC to STPB" "CPARM: KEY=00090001," "CPARM: PARENT=00010001, DESCR=XECfgParm.dat" "TABLE: KEY=00090002, PARENT=00010001, DESCR=tables.dat" "CTYPE: KEY=00090003," "CTYPE: PARENT=00010001, DESCR=compTypes.dat" "COMP: KEY=00090004," "COMP: PARENT=00010001, DESCR=components.dat" "ACAT: KEY=00090005," "ACAT: PARENT=00010001, DESCR=alarmCats.dat" "DEPND: KEY=00090006," "DEPND: PARENT=00010001, DESCR=dependencies.dat" "MCAT: KEY=00090007, PARENT=00010001, DESCR=measCats.dat" "PGRP: KEY=00090008," "PGRP: PARENT=00010001, DESCR=procGroups.dat" "PROC: KEY=00090009," "PROC: PARENT=00010001, DESCR=processes.dat" "SRVC: KEY=0009000a, PARENT=00010001, DESCR=services.dat" "SIGS: KEY=0009000b, PARENT=00010001, DESCR=sigPath.dat" "DPC: KEY=0009000c, PARENT=00010001, DESCR=dpc.dat" "ROUTE: KEY=0009000d, PARENT=00010001, DESCR=routes.dat" "SNMPM: KEY=0009000e, PARENT=00010001, DESCR=snmpmgr.dat" "ALOG: KEY=000a0001, PARENT=00010001, DESCR=Alarm Log" "CLOG: KEY=000a0002, PARENT=00010001, DESCR=Command Log" "MLOG: KEY=000a0003," "MLOG: PARENT=00010001, DESCR=Measurement Log" "DLOG: KEY=000a0004, PARENT=00010001, DESCR=Debug Log" "PM-01: KEY=000b0001,"

"PM-01: PARENT=00010001, DESCR=Process Manager" "MML-01: KEY=000c0001, PARENT=00010001, DESCR=MML #1" "MML-02: KEY=000c0002, PARENT=00010001, DESCR=MML #2" "MML-03: KEY=000c0003, PARENT=00010001, DESCR=MML #3" "MML-04: KEY=000c0004, PARENT=00010001, DESCR=MML #4" "MML-05: KEY=000c0005, PARENT=00010001, DESCR=MML #5" "MML-06: KEY=000c0006, PARENT=00010001, DESCR=MML #6" "MML-07: KEY=000c0007, PARENT=00010001, DESCR=MML #7" "MML-08: KEY=000c0008, PARENT=00010001, DESCR=MML #8" "MML-09: KEY=000c0009, PARENT=00010001, DESCR=MML #9" "MML-10: KEY=000c000a, PARENT=00010001, DESCR=MML #10" "MML-11: KEY=000c000b, PARENT=00010001, DESCR=MML #11"

2-36Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 61: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

"MML-12: KEY=000c000c, PARENT=00010001, DESCR=MML #12" "ASP: KEY=000e0000," "ASP: PARENT=00010001, DESCR=ASN connection"

"iplink1: KEY=00100001," "iplink1: PARENT=00140001, DESCR=IP Link for NAS1" "iplink2: KEY=00100002," "iplink2: PARENT=00140002, DESCR=IP Link for NAS 2" "iplink3: KEY=00100003," "iplink3: PARENT=00140003, DESCR=IP Link for NAS 3" "ss7route1: KEY=00110001," "ss7route1: PARENT=00010001," "ss7route1: DESCR=Route 1 to PSTN Switch A via LS1" "ss7route2: KEY=00110002," "ss7route2: PARENT=00010001," "ss7route2: DESCR=Route 2 to PSTN Switch A via LS2" "opc: KEY=00130001," "opc: PARENT=00010001, DESCR=Origination Point Code" "dpc1: KEY=00130002," "dpc1: PARENT=00010001, DESCR=DPC of PSTN Switch A" "signas1: KEY=00140001," "signas1: PARENT=00160002, DESCR=Signaling Service for NAS1" "signas2: KEY=00140002," "signas2: PARENT=00160003, DESCR=Signaling Service for NAS2" "signas3: KEY=00140003," "signas3: PARENT=00160004, DESCR=Signaling Service for NAS3" "ss7sigsvc: KEY=00150001," "ss7sigsvc: PARENT=00130002," "ss7sigsvc: DESCR=SS7 Service to PSTN Switch A" "nas1: KEY=00160002, PARENT=00010001, DESCR=NAS1" "nas2: KEY=00160003, PARENT=00010001, DESCR=NAS2" "nas3: KEY=00160004, PARENT=00010001, DESCR=NAS3" "switcha: KEY=00160005," "switcha: PARENT=00010001, DESCR=PSTN Switch A" "SNMPMGR-01: KEY=00170001, PARENT=0003000a, DESCR=Manager001" "c7iplink1: KEY=001d0001," "c7iplink1: PARENT=00080001, DESCR=Link 1 in Link Set 1" "c7iplink2: KEY=001d0002," "c7iplink2: PARENT=00080001, DESCR=Link 2 in Link Set 1" "c7iplink3: KEY=001d0003," "c7iplink3: PARENT=00080002, DESCR=Link 1 in Link Set 2" "c7iplnk4: KEY=001d0004," "c7iplnk4: PARENT=00080002, DESCR=Link 2 in Link Set 2" "apc1: KEY=001e0001, PARENT=00010001, DESCR=APC for STPA" "apc2: KEY=001e0002, PARENT=00010001, DESCR=APC for STPB" "ss7subsys1: KEY=001f0001," "ss7subsys1: PARENT=00010001, DESCR=Route from STPA to STPB" "ss7subsys2: KEY=001f0002," "ss7subsys2: PARENT=00010001, DESCR=Route from STPB to STPA" "Cust-Files: KEY=00210001," "Cust-Files: PARENT=00010001, DESCR=Customer specific files" "SS7-ANSI: KEY=00250001," "SS7-ANSI: PARENT=00010001, DESCR=SS7-ANSI Protocol Family"

"SS7-ITU: KEY=00260001,""SS7-ITU: PARENT=00010001, DESCR=SS7-ITU Protocol Family"

"SS7-China: KEY=00270001," "SS7-China: PARENT=00010001, DESCR=SS7-China Protocol Family" "SS7-NTT: KEY=00280001,"

"SS7-NTT: PARENT=00010001, DESCR=SS7-NTT Protocol Family" "ISDNPRI: KEY=00290001," "ISDNPRI: PARENT=00010001, DESCR=ISDNPRI Protocol Family" "DPNSS: KEY=002a0001," "DPNSS: PARENT=00010001, DESCR=DPNSS Protocol Family"

2-37Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 62: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

"SGCP: KEY=002b0001," "SGCP: PARENT=00010001, DESCR=SGCP Protocol Family"

"EISUP: KEY=002c0001," "EISUP: PARENT=00010001," "EISUP: DESCR=Extended ISUP Protocol Family" "PRIIP: KEY=002f0001," "PRIIP: PARENT=00010001," "PRIIP: DESCR=ISDNPRI over IP Protocol Family" "A-MBD: KEY=00300001, PARENT=00010001, DESCR=" "B-MBD: KEY=00300002, PARENT=00010001, DESCR=" "A-DSK: KEY=00300003, PARENT=00010001, DESCR=" "B-DSK: KEY=00300004, PARENT=00010001, DESCR=" "A-DSK0: KEY=00300005, PARENT=00010001, DESCR=" "A-DSK1: KEY=00300006, PARENT=00010001, DESCR=" "A-DSK2: KEY=00300007, PARENT=00010001, DESCR=" "A-DSK3: KEY=00300008, PARENT=00010001, DESCR=" "A-DSK4: KEY=00300009, PARENT=00010001, DESCR=" "A-DSK5: KEY=0030000a, PARENT=00010001, DESCR=" "B-DSK0: KEY=0030000b, PARENT=00010001, DESCR=" "B-DSK1: KEY=0030000c, PARENT=00010001, DESCR=" "B-DSK2: KEY=0030000d, PARENT=00010001, DESCR=" "B-DSK3: KEY=0030000e, PARENT=00010001, DESCR=" "B-DSK4: KEY=0030000f, PARENT=00010001, DESCR=" "B-DSK5: KEY=00300010, PARENT=00010001, DESCR=" "A-RMM: KEY=00300011, PARENT=00010001, DESCR=" "B-RMM: KEY=00300012, PARENT=00010001, DESCR="

"A-PCI0: KEY=00300015, PARENT=00010001, DESCR=" "A-PCI1: KEY=00300016, PARENT=00010001, DESCR=" "A-PCI2: KEY=00300017, PARENT=00010001, DESCR=" "A-PCI3: KEY=00300018, PARENT=00010001, DESCR=" "A-PCI4: KEY=00300019, PARENT=00010001, DESCR=" "A-PCI5: KEY=0030001a, PARENT=00010001, DESCR=" "A-PCI6: KEY=0030001b, PARENT=00010001, DESCR=" "B-PCI0: KEY=0030001c, PARENT=00010001, DESCR=" "B-PCI1: KEY=0030001d, PARENT=00010001, DESCR=" "B-PCI2: KEY=0030001e, PARENT=00010001, DESCR=" "B-PCI3: KEY=0030001f, PARENT=00010001, DESCR=" "B-PCI4: KEY=00300020, PARENT=00010001, DESCR=" "B-PCI5: KEY=00300021, PARENT=00010001, DESCR=" "B-PCI6: KEY=00300022, PARENT=00010001, DESCR=" "A-CPU: KEY=00300023, PARENT=00010001, DESCR=" "A-PSU0: KEY=00300024, PARENT=00010001, DESCR=" "A-PSU1: KEY=00300025, PARENT=00010001, DESCR=" "A-PSU2: KEY=00300026, PARENT=00010001, DESCR=" "B-PSU0: KEY=00300027, PARENT=00010001, DESCR=" "B-PSU1: KEY=00300028, PARENT=00010001, DESCR=" "B-PSU2: KEY=00300029, PARENT=00010001, DESCR=" "B-CPU: KEY=0030002a, PARENT=00010001, DESCR="

"SS7-UK: KEY=00320001," "SS7-UK: PARENT=00010001, DESCR=BT SS7-ITU Protocol Family" "TCAPOverIP: KEY=00360001," "TCAPOverIP: PARENT=00010001," "TCAPOverIP: DESCR=tcap over ip protocol Family" "MGCP: KEY=00380001," "MGCP: PARENT=00010001, DESCR=MGCP Protocol Family" "BTNUP: KEY=003c0001," "BTNUP: PARENT=00010001," "BTNUP: DESCR=BTNUP SS7-ITU Protocol Variant" ;

2-38Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 63: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-CIC—Retrieve Bearer Channels

Comments: Currently, the cfgTable in this command differs from the cfgTable used in the change configuration command. The following are valid target tables:

• alarmCategories

• components

• componentTypes

• services

• measCategories

• tables

• dfltcfgparms—Default configuration parameters

Purpose: This MML command retrieves bearer channel information for one or more circuits that are identified by a destination point code.

Format: rtrv-cic:<point code>:CIC=<number>[,RNG=<range>]

Input Description:

• point code—MML component name of a point code provisioning component.

• number—A valid circuit identification code (CIC).

• range—A number such that number + range is a valid CIC. All circuits between number and number + range are displayed.

2-39Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 64: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Output Description:

• <point code>—MML component name of a point code provisioning component.

• CIC—Circuit identification code.

• PST—Primary state.

– AOOS—The system has taken it out of service

– INB—Installed busy (resource has been created but not yet commanded IS or OOS via the SET-SC-STATE command)

– IS—In service

– MOOS—Manually taken out of service

– OOS—Out of service

– TRNS—Transient; the state is currently being changed

– UNK—Unknown

• Call—Call state.

– IDLE—Circuit is idle, available for use.

– OOS—Out of service

– IS—In service

• GW_STAT—State of the gateway.

– CARRIER_FAILURE—Carrier has failed

– GW_HELD—The call has been held at the 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

2-40Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 65: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-CTR—Retrieve Measurement Counter

• BLK—Blocking state.

– GATEWAY—Locally blocked due to a gateway event (for example, RSIP or a group service message.)

– LOCAUTO—Hardware blocking type; the circuit is blocked by an external message generated by a network element outside the MGW.

– LOCMAN—Blocked manually by MML. This is removable by the UNBLK-CIC or RESET-CIC command.

– LOCUNK—Locally blocked for unknown reasons. (This indicates a potential software problem whereby a circuit has become blocked but the software did not track the cause of the blocking.)

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

– REMAUTO—Remotely auto blocked.

– REMMAN—Remotely blocked.

Example: The MML command shown in the following example retrieves bearer channel information for CICs 276 through 281 on destination point code dpc4:

mml> RTRV-CIC:dpc4:cic=276,rng=5MGC-13 - Media Gateway Controller 2000-08-30 14:42:10M RTRV "dpc4:CIC=276,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc4:CIC=277,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc4:CIC=278,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc4:CIC=279,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc4:CIC=280,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc4:CIC=281,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" ;

Purpose: This MML command displays a measurement counter for a component.

Format: rtrv-ctr:<comp>:"<meas cat>"

Input Description:

• comp—The MML name of the component you want to examine. Use the RTRV-CFG:COMPONENTS command described on page 2-34 to retrieve a list of system components.

• meas cat—Logical identifier that selects the measurement category or measurement group. For a list of measurement categories, use the RTRV-CFG:MEASCATEGORIES command described on page 2-34 to retrieve a list of measurement categories. For descriptions of measurements, refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide.

2-41Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 66: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-DEST—Retrieve Destination

Output Description:

• <comp>—Component.

• CAT—Measurement category.

• BCKT—Bucket, which is the measurement interval defined as 15 minutes, 60 minutes, or 24 hours..

• VAL—Value measured.

Example: The MML command shown in the following example displays measurement counters for the component ALGG-01:

mml> rtrv-ctr:ALGG-01:"LIF: SES" Media Gateway Controller 1999-02-18 15:38:50M RTRV "ALGG-01:CAT=\"LIF: SES\",BCKT=\"b_prof_std15\",VAL=1000" "ALGG-01:CAT=\"LIF: SES\",BCKT=\"b_prof_std60\",VAL=2000" "ALGG-01:CAT=\"LIF: SES\",BCKT=\"b_prof_std24\",VAL=2000" ;

Purpose: This MML command retrieves information about one or more destinations.

Format: rtrv-dest:<point code>rtrv-dest:<sig path>rtrv-dest:all

Input Description:

• point code—MML component name of a point code provisioning component.

• sig path—The MML name of the logical signal channel for which you want to display information. These should be signal path DSS IP or sig path NAS entities.

• all—Displays information about all external point codes and signal paths.

Output Description:

• <POINT CODE>—Point code.

• PKG—Protocol family.

• ASSOC—Associated channels.

– UNK—Unknown

– SWITCHED—The destination is switched, not associated.

– <channel>—The channel the destination is associated with.

2-42Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 67: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-EQPT—Retrieve Service State of a Component

• PST—Primary state.

– AOOS—The system has taken it out of service.

– INB—Installed busy (resource has been created but not yet commanded IS or OOS via the SET-SC-STATE command).

– IS—In service.

– MOOS—Manually taken out of service.

– OOS—Out of service.

– TRNS—Transient; the state is currently being changed.

– UNK—Unknown.

• SST—Secondary state.

– UND—Undefined.

– CRTE—Created.

– DLT—Deleted.

– CIS—Commanded in service.

– COOS—Commanded out of service.

– FLD—Failed.

– RSTO—Restored.

– RST—Reset.

– CONG—Congestion.

– FOOS—Forced out of service.

– CINH—Commanded to the inhibited state.

– CUINH—Commanded to the uninhibited state.

– CEA—Commanded into emergency alignment.

– EIS—Engine in service.

– EOOS—Engine out of service.

Example: The MML command shown in the following example retrieves the destination of point code dpc4:

mml> RTRV-DEST:dpc4MGC-01 - Media Gateway Controller 2000-08-30 16:44:42M RTRV"dpc4:PKG=SS7-ANSI,ASSOC=SWITCHED,PST=IS,SST=RSTO";

Comments: This command supports wildcarding.

Comments: This command is no longer supported.

2-43Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 68: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-LNK-CTR—Retrieve SS7/C7 Link Measurements

RTRV-LOG—Retrieve Log

Purpose: The MML command shown in the following example displays the measurements for a single link or for all links. It returns all measurements for one link, for every link configured in the specified linkset, or for every linkset. The measurements are displayed in the same format as in RTRV-CTR.

Format: RTRV-LNK-CTR:<C7 link/set>RTRV-LNK-CTR:all

Input Description:

• <C7 link/set>—The provisioning component C7 IP link, a TDM link used in a linkset, or a linkset. Refer to for a description of C7 linksets. Use the RTRV-CFG:COMPONENTS command described on page 2-34 to retrieve a list of linksets.

• all—Displays the measurements for all links.

Output Description:

• <C7 link/set>—SS7 / C7 Linkset.

• CAT—Measurement category.

• INT—Interval at which the measurement is taken.

• VAL—Value of the measurement.

Example: The MML command shown in the following example displays the measurements for linkset1:

mml> RTRV-LNK-CTR:ls1MGC-03 - Media Gateway Controller 2000-08-22 16:32:23M RTRV "ls1link1:CAT=\"SC: RCV FRM TOT\",INT=900,VAL=0" "ls1link1:CAT=\"SC: RCV FRM TOT\",INT=3600,VAL=0" "ls1link1:CAT=\"SC: RCV FRM TOT\",INT=86400,VAL=0" "ls1link1:CAT=\"SC: XMIT FRM TOT\",INT=900,VAL=0" "ls1link1:CAT=\"SC: XMIT FRM TOT\",INT=3600,VAL=0" "ls1link1:CAT=\"SC: XMIT FRM TOT\",INT=86400,VAL=0" "ls1link1:CAT=\"SC: RCV BAD TOT\",INT=900,VAL=0" "ls1link1:CAT=\"SC: RCV BAD TOT\",INT=3600,VAL=0" "ls1link1:CAT=\"SC: RCV BAD TOT\",INT=86400,VAL=0" "ls1link1:CAT=\"C7LNK: MSU DROP-CONG\",INT=1800,VAL=0" "ls1link1:CAT=\"C7LNK: DUR UNAVAIL\",INT=1800,VAL=0" "ls1link1:CAT=\"SC: RCV BAD CRC\",INT=900,VAL=0" "ls1link1:CAT=\"SC: RCV BAD CRC\",INT=3600,VAL=0" "ls1link1:CAT=\"SC: RCV BAD CRC\",INT=86400,VAL=0" "ls1link1:CAT=\"C7LNK: DUR IS\",INT=1800,VAL=0" "ls1link1:CAT=\"C7LNK: RCV SIO TOT\",INT=1800,VAL=0" "ls1link1:CAT=\"C7LNK: XMIT SIO TOT\",INT=1800,VAL=0" "ls1link1:CAT=\"C7LNK: RCV SU ERR\",INT=1800,VAL=0";

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

Format: rtrv-log:allrtrv-log:<proc>

2-44Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 69: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-LSET—Retrieve Linkset Service State

Input Description:

• all—Displays the logging levels of all processes.

• proc—The various actively and passively monitored processes running on the MGC. Refer to the command SET-LOG—Set Logging Levels, page 68, for a list of logging levels. Use the RTRV-SOFTW:ALL command to display all processes. Also refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information.

Output Description:

• <process>—Process name

– CRIT—Critical

– WARN —Warning

– ERR—Error

– TRACE —Trace

– INFO—Informational

– DEBUG —Debug

Example: The MML command shown in the following example retrieves the logging level of the process manager (PM-01) process:

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

Comments: This command was introduced in Release 7.4.

The process manager (PM-01) is not included in the “all” parameter, because this is a special process. To retrieve the logging level of PM-01, it must be used individually, as in the example above.

For the 7.4 release, two processes do not currently support log-level commands: DSKM-01 and LOG-01. For these two processes, the following message is returned:

/*Function not supported*/

Purpose: This MML command is used to retrieve the service state of a linkset.

Format: rtrv-lset:<linkset>

Input Description:

• <linkset>—The provisioning component C7 link, TDM link used in a linkset, or linkset. Refer to the Cisco Media Gateway Controller Software Release 9 Provisioning Guide for a description of C7 linksets. Use the RTRV-CFG:COMPONENTS command, described on page 2-34, for a list of linksets.

2-45Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 70: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-LSSN—Retrieve State of All Local SSNs

RTRV-MML—Retrieve Active MML Sessions

Output Description:

• AOOS—The system has taken it out of service.

• INB—Installed busy (resource has been created but not yet commanded IS or OOS via the SET-SC-STATE command).

• IS—In service.

• MOOS—Manually taken out of service.

• OOS—Out of service.

• TRNS—Transient; the state is currently being changed.

• UNK—Unknown.

Example: The MML command shown in the following example retrieves the service state of linkset ls1:

mml> RTRV-LSET:ls1Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV MOOS ;

Purpose: This MML command displays the state of all local SSNs (LSSNs).

Format: RTRV-LSSN:all

Output Description:

• <process>—Name of process.

• <LSSN>—Name of local subsystem number.

• PST—Primary state

– IS—In service

– OOS—Out of service

Example: mml> RTRV-LSSN:allMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "TCAP-01:SSN=1,PST=IS" "TCAP-01:SSN=2,PST=OOS" ;

Purpose: This MML command displays all active MML sessions, their session numbers, and the user IDs of the session originators.

Format: RTRV-MML

2-46Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 71: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-NE—Retrieve Network Element Attributes

Output Description:

• mml1—Session number

– <username>—UNIX username of session owner

• mml2—Session number

– <username>—UNIX username of session owner

Example: The MML command shown in the following example shows all MML sessions:

mml> RTRV-MMLMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV mml5:guest ;

Purpose: This MML command displays information about the Cisco MGC hardware, software, and current state (active or standby).

Format: RTRV-NE

Output Description:

• Type—Type of controller

• Hardware Platform—Hardware platform

• Vendor—MGC vendor

• Location—Controller machine name

• Version—Controller software version

• Platform State—Use of controller

– ACTIVE—The controller in use

– STANDBY—The redundant controller

Example: The MML command shown in the following example displays information about the Cisco MGC:

mml> RTRV-NEMedia Gateway Controller - MGC-01 2000-01-12 12:00:47M RTRV "Type:MGC" "Hardware platform:sun4u sparc SUNW,Ultra-30" "Vendor:"Cisco Systems, Inc."" "Location:Media Gateway Controller - MGC-01" "Version:"7.3(10).r2"" "Platform State:ACTIVE" ;

2-47Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 72: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-OVLD—Retrieve Overload Level

RTRV-RSSN—Retrieve State of All Remote SSNs

Purpose: This MML command displays the overload level and number of messages in a queue.

Format: RTRV-OVLD

Output Description:

• <Component>—MML component name

• OVLD—Overload level

• MSGQ—Number of messages in the queue

Example: The MML command shown in the following example displays the overload level in the queue:

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

Purpose: This MML command displays the state of all remote SSNs (RSSNs).

Format: RTRV-RSSN:all

Output Description:

• <link>—Name of link

• <RSSN>—Remote subsystem number

• PC—Point code(s)

• SSN—Subsystem number

• PST—Primary state

– IS—In service

– OOS—Out of service

Example: The MML command shown in the following example displays the state of all remote SSNs:

mml> RTRV-RSSN:allMedia 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" ;

2-48Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 73: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-RTE—Retrieve Route

Purpose: This MML command retrieves all SS7 routes for a point code or SS7 routes for all point codes.

Format: rtrv-rte:<point code>rtrv-rte:all

Input Description:

• point code—The MML component name of a point code.

• all—Retrieves all SS7 routes for all point codes.

Output Description:

• <PC>—Target point code.

• <linkset>—Linkset ID.

• APC—Adjacent point code.

• PRIO—Priority set for the routes.

• PST—Primary state.

– AOOS—The system has taken the resource out of service.

– INB—Installed busy (resource has been created but not yet commanded IS or OOS via the SET-SC-STATE command).

– IS—In service.

– MOOS—Manually taken out of service.

– OOS—Out of service.

– TRNS—Transient; the state is currently being changed.

– UNK—Unknown.

2-49Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 74: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-SC—Retrieve Signaling Channel Attributes

• SST—Secondary state.

– UNK—Cause unknown.

– NA—Cause not available.

– CONF—Configuration failure.

– LINE—Line failure.

– LINS—Linkset failure.

– LINK—Link failure.

– ENGR—Engine reset.

– COOS—Cause: commanded out of service.

– CIS—Cause: commanded in service.

– SUPPENT—Supporting entity.

– OOSPEND—Out of service, pending.

– ISPEND—In service, pending.

– TPATH—Traffic path.

– SERR—C7 signal error.

– BSNR—C7 BSNR (backward sequence number received) over fiber.

– ACKD—C7 ACK delay.

– LINH—C7 local inhibit.

– RINH—C7 remote inhibit.

– RBLK—C7 remote blocked.

– LCNG—Congestion, local.

– RCNG—Congestion, remote.

– PRHB—C7 prohibited.

– RSTR—C7 restricted.

– STBY—Cause standby.

Example: The MML command shown in the following example retrieves the routes for destination point code PC-002:

mml> RTRV-RTE:PC-002Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRVPC-002:LS01,APC=000.028.007,PRIO=1,PST=IS,SST=NA

Note PC-002 is the target, LS01 is the linkset ID, APC=000.0028.007 is the adjacent point code, and PRIO is the priority set for the routes.

2-50Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 75: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Purpose: This MML command displays the names and attributes of one signal channel and linkset or all signal channels and linksets.

Format: rtrv-sc:<sig channel>rtrv-sc:<C7 linkset>rtrv-sc:all

Input Description:

• all—Displays information about all signal channels and linksets.

• sig channel—The MML name of a provisioning component, TDM link, C7 IP link, or IP link.

• C7 linkset—The MML name of a linkset.

Output Description:

• <signal channel | linkset>—Signal channel or linkset name.

• <parent name>—Signal channel or linkset parent name.

• LID—Link ID.

• SSN—Subsystem number.

• <PST>—Primary state.

– AOOS—The system has taken the resource out of service.

– INB—Installed busy (resource has been created but not yet commanded IS or OOS via the SET-SC-STATE command).

– IS—In service.

– MOOS—Manually taken out of service.

– OOS—Out of service.

– TRNS—Transient; the state is currently being changed.

– UNK—Unknown.

2-51Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 76: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

• <SST>—Secondary state (appears only if the information is provided to MML.)

– UNK—Cause unknown

– NA—Cause not available

– CONF—Configuration failure

– LINE—Line failure

– LINS—Linkset failure

– LINK—Link failure

– ENGR—Engine reset

– COOS—Cause: commanded out of service

– CIS—Cause: commanded in service

– SUPPENT—Supporting entity

– OOSPEND—Out of service, pending

– ISPEND—In service, pending

– TPATH—Traffic path

– SERR—C7 signal error

– BSNR—C7 BSNR (backward sequence number received) over fiber

– ACKD—C7 ACK delay

– LINH—C7 local inhibit

– RINH—C7 remote inhibit

– RBLK—C7 remote blocked

– LCNG—Congestion, local

– RCNG—Congestion, remote

– PRHB—C7 prohibited

– RSTR—C7 restricte

– STBY—Cause standby

• Description of signal channel or linkset

2-52Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 77: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-SC-TRC—Retrieve Names of Open Signal Channel Traces

Example: The MML command shown in the following example displays the names and attributes of all signal channels and linksets:

mml> RTRV-SC:allMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV

"ls1link1:ls1,LID=0:IS" /* link 1 of ls1 to va-2600-29 */ "ls1link2:ls1,LID=1:IS" /* link 2 of ls1 to va-2600-30 */ "ls2link1:ls2,LID=0:IS" /* link 1 of ls2 to va-2600-29 */ "ls2link2:ls2,LID=1:IS" /* link 2 of ls2 to va-2600-30 */ "ls3link1:ls3,LID=0:OOS" /* link 1 of ls3 to va-2600-31 */ "ls3link2:ls3,LID=1:OOS" /* link 2 of ls3 to va-2600-31 */ "ls5link1:ls5,LID=0:OOS,STBY" /* link 2 of ls3 to va-2600-31 */

Comments: This command supports wildcarding.

Purpose: This MML command displays the names of all files currently open for traces in progress. Refer to the descriptions of STA-SC-TRC and STP-SC-TRC on pages 2-74 and 2-79, respectively, for information on starting and stopping traces.

Format: rtrv-sc-trc

Output Description:

• Names of all files currently open for traces in progress.

Example: The MML command shown in the following example displays the filenames of open traces:

mml> RTRV-SC-TRCMedia Gateway Controller 2000-03-21 15:28:03M RTRV"RTRV-SC-TRC:Trace in progress for the following files:../var/trace/_dpc1_19991221131108.btr../var/trace/sigtest_dpc2_19991221131109.btr";

2-53Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 78: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-SOFTW—Retrieve Software Status for a Process

Purpose: This MML command displays the status of one process or all processes.

Format: rtrv-softw:<proc>rtrv-softw:all

Input Description:

• proc—The MML name of a process or process group.

• all—Displays the status of all processes.

2-54Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 79: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Output Description:

• <process>—Process name.

• Status of process.

– UNKNOWN—State of the process is unknown.

– STOPPED—Process is not running.

– INIT—Process is being initialized.

– INIT CMPL—Initialization has been completed.

– CUT WAIT—Cutover has occurred, waiting. (This state is momentary and unlikely to be seen.)

– RUNNING—Process is running.

– LOCKED—Process is locked.

– CUT MASTER—Process is the master in a cutover situation. (This state is momentary and unlikely to be seen.)

– CUT SLAVE—Process is the slave in a cutover situation. (This state is momentary and unlikely to be seen.)

– TERM—Process is terminating.

– RUNNING ACTIVE—Process is running on the active system.

– RUNNING STANDBY—Process is running on the standby system.

– RUNNING OOS—Process is running, but out of service.

– RUNNING IN N/A STATE—Process is running, but in not available state.

Example: The MML command shown in the following example displays the status of all processes and process groups:

mml> RTRV-SOFTW:allMedia Gateway Controller - MGC-02 2000-01-17 11:37:23M 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" "PRIL3-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" "IOCC-ASP:RUNNING IN N/A STATE" "FOD-01:RUNNING IN N/A STATE" "MGCP-1:RUNNING IN N/A STATE" "EISUP-1:RUNNING IN N/A STATE" "SS7-A-1:RUNNING IN N/A STATE" "SS7-I-1:RUNNING IN N/A STATE" ;

2-55Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

RTRV-SP-CTR—Retrieve SS7/C7 Signal Point Measurements

Page 80: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Purpose: This MML command returns measurement data for one SS7 signal point or for all SS7 signal points. The measurements are displayed in the same format as for RTRV-CTR.

Format: rtrv-sp-ctr:<point code>rtrv-sp-ctr:all

Input Description:

• point code—The MML component name of a single provisioning component point code. Note that RTRV-CTR:<point code>:<group> is a related command.

• all—Displays measurements for all signal points.

Output Description:

• <comp>—Component.

• CAT—Measurement category. For a list of measurement categories, use the RTRV-CFG:MEASCATEGORIES command described on page 2-34.

• BCKT—Bucket.

• VAL—Value measured.

2-56Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 81: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Example: The MML command shown in the following example retrieves all measurements for point code dpc1:

mml> RTRV-SP-CTR:dpc1Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "dpc1:CAT=\"SP: cInit in\",BCKT=\"b_prof_std15\",VAL=0" "dpc1:CAT=\"SP: cInit in\",BCKT=\"b_prof_std60\",VAL=0" "dpc1:CAT=\"SP: cInit in\",BCKT=\"b_prof_std24\",VAL=3" "dpc1:CAT=\"SP: cInit out\",BCKT=\"b_prof_std15\",VAL=0" "dpc1:CAT=\"SP: cInit out\",BCKT=\"b_prof_std60\",VAL=0" "dpc1:CAT=\"SP: cInit out\",BCKT=\"b_prof_std24\",VAL=0" "dpc1:CAT=\"SP: PDU in\",BCKT=\"b_prof_std15\",VAL=0" "dpc1:CAT=\"SP: PDU in\",BCKT=\"b_prof_std60\",VAL=0" "dpc1:CAT=\"SP: PDU in\",BCKT=\"b_prof_std24\",VAL=3" "dpc1:CAT=\"SP: PDU out\",BCKT=\"b_prof_std15\",VAL=0" "dpc1:CAT=\"SP: PDU out\",BCKT=\"b_prof_std60\",VAL=0" "dpc1:CAT=\"SP: PDU out\",BCKT=\"b_prof_std24\",VAL=3" "dpc1:CAT=\"C7SP: SP DUR UNAVAIL\"," "dpc1:BCKT=\"b_prof_ss75\",VAL=0" "dpc1:CAT=\"C7SP: SP DUR UNAVAIL\"," "dpc1:BCKT=\"b_prof_ss730\",VAL=0" "dpc1:CAT=\"C7SP: XMIT MSU DROP/RTE\"," "dpc1:BCKT=\"b_prof_ss7_230\",VAL=0" "dpc1:CAT=\"ISUP: XMIT MSG TOT\"," "dpc1:BCKT=\"b_prof_ss75\",VAL=0" "dpc1:CAT=\"ISUP: XMIT MSG TOT\"," "dpc1:BCKT=\"b_prof_ss730\",VAL=0" "dpc1:CAT=\"ISUP: RCV MSG TOT\"," "dpc1:BCKT=\"b_prof_ss75\",VAL=0" "dpc1:CAT=\"ISUP: RCV MSG TOT\"," "dpc1:BCKT=\"b_prof_ss730\",VAL=0" "dpc1:CAT=\"ISUP: XMIT ACM TOT\"," "dpc1:BCKT=\"b_prof_ss75\",VAL=0" "dpc1:CAT=\"ISUP: XMIT ACM TOT\"," "dpc1:BCKT=\"b_prof_ss730\",VAL=0" "dpc1:CAT=\"ISUP: RCV ACM TOT\"," "dpc1:BCKT=\"b_prof_ss75\",VAL=0" "dpc1:CAT=\"ISUP: RCV ACM TOT\"," "dpc1:BCKT=\"b_prof_ss730\",VAL=0" "dpc1:CAT=\"ISUP: XMIT ANM TOT\"," "dpc1:BCKT=\"b_prof_ss75\",VAL=0" "dpc1:CAT=\"ISUP: XMIT ANM TOT\"," "dpc1:BCKT=\"b_prof_ss730\",VAL=0" "dpc1:CAT=\"ISUP: RCV ANM TOT\"," "dpc1:BCKT=\"b_prof_ss75\",VAL=0" "dpc1:CAT=\"ISUP: RCV ANM TOT\"," "dpc1:BCKT=\"b_prof_ss730\",VAL=0" "dpc1:BCKT=\"b_prof_ss730\",VAL=0" "dpc1:CAT=\"ISUP: UNEX MSG TOT\"," "dpc1:BCKT=\"b_prof_ss75\",VAL=0" "dpc1:CAT=\"ISUP: UNEX MSG TOT\"," "dpc1:BCKT=\"b_prof_ss730\",VAL=0" "dpc1:CAT=\"ISUP: UNREC MSG TOT\"," "dpc1:BCKT=\"b_prof_ss75\",VAL=0" "dpc1:CAT=\"ISUP: UNREC MSG TOT\"," "dpc1:BCKT=\"b_prof_ss730\",VAL=0" "dpc1:CAT=\"ISUP: CHAN MATE UNAVAILABLE\"," "dpc1:BCKT=\"b_prof_ss75\",VAL=0" "dpc1:CAT=\"ISUP: CHAN MATE UNAVAILABLE\"," "dpc1:BCKT=\"b_prof_ss730\",VAL=0" ;

2-57Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 82: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-SPC—Retrieve Point Code

RTRV-SS7-SLT—Retrieve SS7 SLT Test Results

Purpose: This MML command displays the route set for one provisioning component point code or the route sets of all point codes.

Format: rtrv-spc:<point code>rtrv-spc:all

Input Description:

• point code—The MML component name of a provisioning component point code.

• all—Displays information for all destination point codes.

Output Description:

• point code—The MML component name of a provisioning component point code.

• DPC—Destination point code.

• DNW—Network indicator.

• OPC—Originating point code.

• <PST>—Primary state.

– AOOS—The system has taken the resource out of service.

– INB—Installed busy (resource has been created but not yet commanded IS or OOS via the SET-SC-STATE command).

– IS—In service.

– MOOS—Manually taken out of service.

– OOS—Out of service.

– TRNS—Transient; the state is currently being changed

– UNK—Unknown.

Example: The MML command shown in the following example retrieves a list of all destination point codes:

mml> RTRV-SPC:allMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "dpc1:DPC=012.012.012,DNW=2:OPC=011.011.011:IS" "dpc2:DPC=013.013.013,DNW=2:OPC=011.011.011:IS" "dpc3:DPC=014.014.014,DNW=2:OPC=011.011.011:AOOS" "dpc5:DPC=111.111.111,DNW=2:OPC=011.011.011:AOOS" "stp1:DPC=007.007.007,DNW=2:OPC=011.011.011:IS" "stp2:DPC=008.008.008,DNW=2:OPC=011.011.011:IS" "stp3:DPC=009.009.009,DNW=2:OPC=011.011.011:AOOS" ;

Purpose: This MML command retrieves the results of a Japanese signal link test.

Format: rtrv-ss7-slt:<C7 link>

2-58Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 83: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-SS7-SRT—Retrieve SS7 SRT Test Results

Input Description:

• C7 link—The MML component name of a signal channel configured for Japanese SS7. (Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information about configuring a signal channel.)

Output Description:

• <c7 link>—The MML component name of the C7 link the test is performed upon.

• TEST PASSED

• TEST FAILED (reasons for failure may be any of the following:)

– TEST TIMEOUT

– LINK INACTIVE

– LINKSET INACTIVE

– ROUTE UNAVAILABLE

– INVALID TEST PATTERN

– INVALID SLC

– FLOW CONTROL ON

– UNKNOWN REASON

• <Completion time>

• TEST RUNNING

Example: The MML command shown in the following example retrieves a signal link test started by the command sta-ss7-slt:ls1link1:

mml> rtrv-ss7-slt:ls1link1 Media Gateway Controller - MGC-01 2000-01-12 15:18:41 M RTRV "ls1link1:TEST PASSED; COMPLETED 15:18:34" ;

Purpose: This MML command retrieves the results of a Japanese signal route test on a point code. The rtrv result has three cases: TEST PASSED, TEST FAILED, and TEST RUNNING.

Format: rtrv-ss7-srt:<point code>:LSET="<C7 link/set>"

Input Description:

• point code—The MML component name of an adjacent point code or destination point code configured for Japanese SS7.

• C7 link/set—The MML provisioning component name of a linkset or C7 IP link or TDM link used in a linkset.

2-59Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 84: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-TC—Retrieve Bearer Channel States

Output Description:

• <c7 link>—The MML component name of the C7 link the test is performed upon.

• TEST PASSED.

• TEST FAILED (reasons for failure may be any of the following:)

– TEST TIMEOUT

– LINK INACTIVE

– LINKSET INACTIVE

– ROUTE UNAVAILABLE

– INVALID TEST PATTERN

– INVALID SLC

– FLOW CONTROL ON

– UNKNOWN REASON

• <Completion time>.

• TEST RUNNING.

Example: The MML command shown in the following example retrieves a signal route test run with the command sta-ss7-srt:dpc1:LSET=”ls1”:

mml> rtrv-ss7-srt:dpc1:LSET="ls1" Media Gateway Controller - MGC-01 2000-01-12 15:20:09 M RTRV "dpc1:TEST FAILED; TEST TIMEOUT; COMPLETED 15:20:01" ;

Purpose: This MML command displays the state of bearer channels for one signal path or for all signal paths.

Format: rtrv-tc:<sig path>&<sig path>...rtrv-tc:all

Input Description:

• sig path—Logical signal destination, such as SS7 point code, FAS path, IP FAS path, or DPNSS path. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information about signal destinations.

• all—Displays the bearer channel states for all signal paths.

2-60Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 85: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Output Description:

• <point code>—MML component name of a point code provisioning component.

• CIC—Circuit identification code.

• PST—Primary state.

– AOOS—The system has taken it out of service.

– INB—Installed busy (resource has been created but not yet commanded IS or OOS via the SET-SC-STATE command).

– IS—In service.

– MOOS—Manually taken out of service.

– OOS—Out of service.

– TRNS—Transient; the state is currently being changed.

– UNK—Unknown.

• Call—Call state.

– IDLE—Circuit is idle, available for use.

– OUT—Out of service.

– IN—In service.

• GW_STAT—State of the gateway.

– CARRIER_FAILURE—Carrier has failed.

– GW_HELD—The call has been held at the 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.

• BLK—Blocking state.

– GATEWAY—Locally blocked due to a gateway event (for example, RSIP or a group service message).

– LOCAUTO—Hardware blocking type; the circuit is blocked by an external message generated by a network element outside the MGW.

– LOCMAN—Blocked manually by MML. This is removable by the UNBLK-CIC or RESET-CIC command.

– LOCUNK—Locally blocked for unknown reasons. (This indicates a potential software problem whereby a circuit has become blocked but the software did not track the cause of the blocking.)

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

– REMAUTO—Remotely auto blocked.

– REMMAN—Remotely blocked.

2-61Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 86: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Example: The MML command shown in the following example displays the state of bearer channels for signal paths DPC2 through DPC4:

mml> rtrv-tc:dpc2&dpc3&dpc4MGC-01 - Media Gateway Controller 2000-08-31 12:14:52M RTRV "dpc2:CIC=1,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=2,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=3,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=4,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=5,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=6,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=7,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=8,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=9,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=10,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=11,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=12,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=13,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=14,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=15,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=16,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=17,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=18,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=19,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=20,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=21,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=22,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=23,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=24,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=LOCMAN" "dpc2:CIC=101,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=102,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=103,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=104,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=105,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=106,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=107,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=108,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=109,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=110,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=111,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=112,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=113,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=114,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=115,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=116,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=117,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=118,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=119,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=120,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=121,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=122,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=123,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc2:CIC=124,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc3:CIC=1,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc3:CIC=2,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc3:CIC=3,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc3:CIC=4,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc4:CIC=1,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc4:CIC=2,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc4:CIC=3,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" "dpc4:CIC=4,PST=IS,CALL=IDLE,GW_STAT=CXN_IS,BLK=NONE" ;

2-62Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 87: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

RTRV-TCAP-TRANS—Retrieve TCAP Transactions

RTRV-TC-HELD—Retrieve States of Bearer Channels Held by Gateway

Comments: This command supports wildcarding.

Purpose: This MML command displays the number of active TCAP transactions.

Format: RTRV-TCAP-TRANS

Output Description:

• <TCAP name>—The TCAP name.

• TRANS—Number of transactions.

Example: The MML command shown in the following example displays the number of active TCAP transactions:

mml> RTRV-TCAP-TRANSMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "TCAP-01:TRANS=0" ;

Purpose: This MML command displays the state of bearer channels per signal path held by gateway or all bearer channels held by gateway.

Format: rtrv-tc-held:<sig path>&<sig path>...rtrv-tc-held:all

Input Description:

• sig path—Logical signal destination, such as SS7 point code, FAS path, IP FAS path, or DPNSS path. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information about signal destinations.

• all—Displays the bearer channel states for all signal paths.

2-63Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 88: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Output Description:

• <point code>—MML component name of a point code provisioning component.

• CIC—Circuit identification code.

• PST—Primary state.

– AOOS—The system has taken the resource out of service.

– INB—Installed busy (resource has been created but not yet commanded IS or OOS via the SET-SC-STATE command.)

– IS—In service.

– MOOS—Manually taken out of service.

– OOS—Out of service.

– TRNS—Transient; the state is currently being change.d

– UNK—Unknow.n

• Call—Call state.

– IDLE—Circuit is idle, available for use.

– OOS—Out of service.

– IS—In service.

• GW_STAT—State of the gateway.

– CARRIER_FAILURE—Carrier has failed.

– GW_HELD—The call has been held at the 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.

• BLK—Blocking state.

– GATEWAY—Locally blocked due to a gateway event (for example, RSIP or a group service message.)

– LOCAUTO—Hardware blocking type; the circuit is blocked by an external message generated by a network element outside the MGW.

– LOCMAN—Blocked manually by MML. This is removable by the UNBLK-CIC or RESET-CIC command.

– LOCUNK—Locally blocked for unknown reasons. (This indicates a potential software problem whereby a circuit has become blocked but the software did not track the cause of the blocking.)

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

– REMAUTO—Remotely auto blocked.

– REMMAN—Remotely blocked.

2-64Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 89: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

SET-ADMIN-STATE—Set Administrative State

Example: The MML command shown in the following example displays the state of bearer channels on DPC1:

mml> RTRV-TC-HELD:dpc1Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV“dpc1”;

Comments: This command was introduced in Release 7.4. This command accepts wildcarding.

Purpose: This MML command locks the use of resources for future call creation or unlocks bearer channel resources to make them available for future call creation. A resource can be specified as an entire Cisco MGC, a gateway, a signal path, a trunk group, a span, or an individual trunk.

Format: set-admin-state:<mgc>:lock|unlock|resetset-admin-state:<gway>:lock|unlock|resetset-admin-state:<trkGrp>:lock|unlock|resetset-admin-state:<sigPath>:lock|unlock|resetset-admin-state:<sigPath>:span=x:lock|unlock|resetset-admin-state:<sigPath>:span=x,BC=y[,RNG=z]:lock|unlock|resetset-admin-state:<sigPath>:CIC=x[,RNG=y]:lock|unlock|reset

Input Description:

Target parameters are as follows:

• MGC—Corresponding MML name of the Cisco Media Gateway Controller.

• GWAY—Corresponding MML name for media gateway. Not all media gateway types are applicable. Supported types are CU, MUX, MGW, and AVM external nodes.

• trkGrp—trkGrp is applicable only for time-division multiplexing (TDM). Use the corresponding MML name for component type "0020".

• sigPath—Corresponding MML name for any of the following component types:

– Signal path of in-band TDM up to MUX and then time switched to TDM media and sent to the Cisco MGC

– Signal path of in-band TDM signaling up to CU and then encapsulated and sent over IP to the Cisco MGC

– Signal path of in-band TDM signaling up to NAS and then converted to NI2 and sent to Cisco MGC over IP (that is, FE box<-sig/tdm->NAS<-NI2/IP-> MGC)

– Signa path or route set associated with SS7 destination PC

– Signal path for EISUP

2-65Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 90: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

• span—A 16-bit value that identifies an ISDN/PRI physical cable. The spanID defaults to 0xFFFF if it is not in the parameter list of SET-ADMIN-STATE, the target signal path is a valid target for span-id, and a "bc" or "rng" parameter is specified.

• BC—A numeric value that identifies the non-ISUP bearer channel number. BC is used for non-ISUP trunks; otherwise use CIC.

• CIC—A numeric value that identifies the ISUP circuit identification code number.

• RNG—The range of either bearer channel or circuit identification code.

• Lock—Bearer channel(s) are available for call processing. If bearer channel state is set to lock, calls go into pending state where calls remain up until either party voluntarily releases the call. New calls are disallowed from using locked bearer channels.

• Unlock—Bearer channel(s) are unavailable for call processing. If bearer channel state is set to unlock, resource becomes available. New calls are allowed to use the unlocked bearer channels.

• Reset—Clears local and remote blocking and takes on the blocking view of the remote side. This option is not permitted for span, BC, or LISUP, FAS, IP, and L3 signaling paths.

Example: The MML command shown in the following example locks CICs 10 through 13 on dpc1:

mml> set-admin-state:dpc1:cic=10,rng=3,lock MGC-01 - Media Gateway Controller 2000-09-12 13:59:30M COMPLD "dpc1" ;

Example: The MML command shown in the following example clears local and remote blocking for dpc-inet2 and takes on the blocking view of the remote side:

mml> set-admin-state:dpc-inet2:reset Media Gateway Controller 2000-06-20 11:21:57 M COMPLD "dpc-inet2" ;

2-66Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 91: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

SET-ASN-STATE—Set Service State of Auxiliary Signal Path (Retired)

SET-DEST-STATE—Set Service State of a Signal Path

Example: The MML command shown in the following example locks all bearer channels on nassrv1:

mml> set-admin-state:nassrv1:lock Media Gateway Controller - MGC-02 2000-02-22 13:41:42 M COMPLD "nassrv1" ;

Comments: This command was introduced in Release 7.4. This command supports wildcarding. A platform info log is generated every time the set-admin-state command is entered. One alarm is generated every time the set-admin-state command is entered at either the Cisco MGC, gateway, signal path, or trunk group level.

Purpose: This MML command changes the service state of an auxiliary signal path (ASP) to IS (in service) or OOS (out of service).

Format: set-asn-state:<aux sig path>:IS|OOS

Input Description:

aux sig path—Component name of an existing signal path.

Example: mml> SET-ASN-STATE:ASP:OOS

Comments: This command is no longer supported as of Release 7.0.

Purpose: This MML command changes the service state of a DSS IP or NAS signal path to IS (in service) or OOS (out of service).

Format: set-dest-state:<sig path>:IS|OOS...

Input Description:

• sigpath—Signal path. This is the logical signal destination, such as SS7 point code, FAS path, IP FAS path, or DPNSS path. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information about provisioning signal paths.

• is—In service.

• oos—Out of service.

2-67Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 92: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

SET-EQPT-STATE—Change the Service State of a Card

SET-LNK-STATE—Set Link or Linkset Service State

SET-LOG—Set Logging Levels

Example: The MML command shown in the following example sets the service state of signal channel ASP to out of service:

mml> SET-DEST-STATE:ASP:OOS

Comments: This command supports wildcarding.

You must first shut down the D channel on the NAS before issuing the command SET-DEST-STATE:NASLINK:00S.

Comments: This command is no longer supported.

Purpose: This MML command is used to set the service state of a link or linkset to in service (IS), out of service (OOS), inhibit SS7 link (INH), or uninhibit SS7 link (UNH).

Format: set-lnk-state:<C7 linkset>:IS|OOS|INH|UNH

Input Description:

• C7 linkset—MML component name of a link or a linkset, such as a provisioned component, a C7 IP link, or a TDM link in a linkset. Use the RTRV-CFG:COMPONENTS command described on page 2-34, to retrieve a list of system components.

Example: The MML command shown in the following example sets linkset1 and its links out of service:

mml> SET-LNK-STATE:ls1:OOSMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD "ls1link1" "ls1link2" ;

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>

2-68Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 93: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

SET-LSSN-STATE—Set State of Local SSN

Input Description:

• proc—The various actively and passively monitored processes running on the Cisco MGC. Use the RTRV-SOFTW:ALL command to display all processes. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information about processes.

• log level—Sets the logging level for the specified process. Logging levels are as follows:

– CRIT—Critical level messages.

– ERR—Error condition messages.

– WARN—Warning condition messages.

– INFO—Informational messages.

– TRACE—Trace messages.

– DEBUG—Debug level messages (lowest level). A CONFIRM parameter is required for the DEBUG log level. Do not set this log level unless directed to by the Cisco TAC.

Logging at any given level implies upper levels are included. In other words, setting the INFO logging level also sets the WARN, ERR, and CRIT levels. The order of the levels shown above can also be viewed as an order of verbosity, in that at CRIT the least information is logged, and at DEBUG the most information is logged.

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

mml> SET-LOG:PM-01:DEBUGMedia Gateway Controller - MGC-01 2000-01-16 09:38:03M CMPLD "PM-01:DEBUG" ;

Comments: This command was introduced in Release 7.4 and replaces the CHG-LOG command.

The process manager (PM-01) is not included in in the “all” parameter, because this is a special process. To set the logging level of PM-01, it must be used individually, as in the example above.

The DSKM-01 and LOG-01 (the disk monitor and log server) processes, respectively, do not accept log-level change requests.

Purpose: This MML command sets the state of a local SSN to IS or OOS.

Format: set-lssn-state::<SSN>,IS|OOS

2-69Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 94: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

SET-SC-STATE—Set Signal Channel State

Input Description:

• <ssn>—The SSN name, as defined in the provisioned component SS7 subsystem. Use the PROV-RTRV:SS7SUBSYS:"ALL" command's "Name" field to find a valid SSN name. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information about components.

• state—Set to IS or OOS.

– is—In service.

– oos—Out of service

Example: The MML command shown in the following example sets the local SSN lnp to IS:

mml> SET-LSSN-STATE::lnp,iSMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "TCAP-01" ;

Purpose: This MML command changes the service state of a signal path or a link, or changes the service state of all signal paths or links on an entire line or linkset.

Format: set-sc-state:<C7 IP or TDM SS7 link>:IS|OOS|FOOSset-sc-state:<FAS link>:IS|OOS|FOOS|INH|UNH

Input Description:

• C7 IP or TDM SS7 link—The MML name of the desired SS7 related link. For more information, refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide. Use the command RTRV-SC:ALL for a list of provisioned links.

• FAS link—The MML name of the desired FAS-related link. For more information, refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide.

• IS—Places a signal point code in service.

• OOS—Takes a signal point code out of service.

• FOOS—Forces a signal point code out of service.

• INH—Inhibit SS7 link.

• UNH—Uninhibit SS7 link.

Example: The MML command shown in the following example changes the service state of c7iplnk1 to out of service:

mml> set-sc-state:c7iplnk1:oos MGC-01 - Media Gateway Controller 2000-09-11 16:38:08M COMPLD "c7iplnk1" ;

Comments: This command was introduced in Release 7.4. This command supports wildcarding.

2-70Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 95: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

SET-SPC-STATE—Set Signal Point Code State

STA-ABN-TRC—Start Abnormal Trace

Purpose: This MML command changes the service state of a signal point code to in service (IS) or out of service (OOS).

Format: set-spc-state:<point code>:IS|OOS...

Input Description:

• point code—Signal point code.

• state—Signal point code state:

– IS—Places a signal point code in service.

– OOS—Takes a signal point code out of service.

Example: The MML command shown in the following example changes the service state of stp1 to out of service:

mml> SET-SPC-STATE:stp1:oosMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD "stp1" ;

Purpose: This MML command prints the state machine global variable of a particular call, as well as external event information, to a file.

Format: sta-abn-trc:<sigpath|all>[,LOG=”<xyz>”][,PRD=n],CONFIRM

2-71Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 96: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Input Description:

• sigpath—The originating or terminating signal path on which the trace needs to be started, corresponding MML name for any of the following component types:

– Signal path of in-band TDM up to MUX and then time switched to TDM media and sent to the Cisco MGC

– Signal path of in-band TDM signal up to CU and then encapsulated and sent over IP to the Cisco MGC

– Signal path of in-band TDM signal up to NAS and then converted to NI2 and sent to the Cisco MGC over IP (that is, FE box<-sig/tdm->NAS<-NI2/IP->MGC)

– Signal path or route set associated with SS7 destination PC

– Signal path for EISUP

• all—Indicates that the start trace command needs to be applied to the whole Cisco MGC, in which case only one trace file is generated.

• prd—The period, in seconds, for which this trace is enabled, during which time any abnormal calls are traced. If this optional parameter is not used, the period defaults to 30 seconds.

• log—The name (“xyz” in this example) of an ASCII log file to which the output is written. The name given in this parameter is used as a prefix to the actual name of the file, which includes the signal path name and date and time. If no log filename is provided, a default name consisting of the signal path name and date and time is created. The extension of these log files is prt and they are located in the ../var/trace directory.

Example: The MML commands shown in the following examples print information about various abnormal calls:

mml> STA-ABN-TRC:ALL:CONFIRMMedia Gateway Controller 2000-05-26 07:02:11M COMPLD"all";

Example: mml> STA-ABN-TRC:AM401A-PC:CONFIRM,TC=4Media Gateway Controller 2000-05-26 07:14:06M DENYSROF"am401a-pc:Trace active for the following file(s):../var/trace/_20000526071406.abn"/* Component already exists */;

Comments: This command is available as of software Release 7.4(8). This command accepts wildcards on signal paths.

2-72Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 97: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

STA-AUD—Start Auditing Process

STA-AUDIT-GW—Start Auditing of MGCP Gateway

Purpose: This MML command starts the auditing process on all calls. The auditing process stops automatically when it is completed . Audit log files can be found in the platform.log file in $BASEDIR/var/ log directory.

Format: STA-AUD

Example: The MML command shown in the following example starts the auditing process on all calls:

mml> STA-AUDMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "ENGG-01" ;

Comments: If you suspect a stuck or hung CIC, search the platform.log for the log message “CP_INFO_CHAN_STATE: NAS is idle, SC is busy.” If this message appears in the platform.log, refer to the Cisco Media Gateway Controller Software Release 7 Operations, Maintenance, and Troubleshooting Guide for troubleshooting information.

Purpose: This MML command starts the auditing of an MGCP gateway. There is no stop command at this time. The output of this audit is retrieved by issuing the RTRV-AUDIT-GW command.

Format: sta-aud-gw:<sig path MGCP>sta-aud-gw:all

Input Description:

• sig path MGCP—MGCP signal path created with the PROV-ADD MGC command.

• all—All MGCP gateways.

Example: The MML command shown in the following example starts the auditing of T-1-16:

mml> STA-AUDIT-GW:T-1-16Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD;

2-73Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 98: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

STA-SC-TRC—Start Trace

Purpose: This MML command starts a protocol conversion trace on a signal path or a point code. The user typically performs a trace when calls are failing, and the engine is the suspected source of the problem.

Format: sta-sc-trc:<sig path>:[log="filenameprefix"][,prd=n],confirmsta-sc-trc:<sig path>:span=x[,rng=y][log="filenameprefix"]{prd=n]sta-sc-trc:<sig path>:span=x[[.tc=y],rng=z][log="filenameprefix"]{prd=n]sta-sc-trc:<trkgrp>:[log="filenameprefix"]{prd=n],confirmsta-sc-trc:<trkgrp>:trk=x[,rng=y][log="filenameprefix"]{prd=n]

2-74Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 99: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

Input Description:

• sig path—The logical signal destination, such as SS7 point code, FAS path, IP FAS path, or DPNSS path. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information about signal destinations.

• log=filenameprefix—The trace files are created and written to a file whose name can vary, depending on how the command is invoked. (A system log message is generated for each trace started. The filenames created as part of the STA-SC-TRC command are contained in the log messages.) If the log= parameter is used, the value of this parameter is treated as a prefix in the filename. For STA-SC-TRC:<TRKGRP>:LOG="trace1", the filename would be trace1_<trkgrp>_<sig path>_yyyymmddhhmmss.btr, where yyyymmddhhmmss in the filename represents the time (GMT) at which the file is created. All trace files have an extension of ".btr" The trace files are output to the $BASEDIR/var/trace directory.

If no LOG parameter is used, default filenames are used for each sta-sc-trc command. For example, for STA-SC-TRC:<TRKGRP>:CONFIRM, the filename would be <trkgrp>_<sig path>_yyyymmddhhmmss.btr.

For STA-SC-TRC<SIG PATH>:CONFIRM the filename would be <sig path>_yyyymmddhhmmss.btr.

• prd=n—Trace period in seconds. At the expiration of this period, the system discontinues PDU collection on the signal path and closes the log file. If this parameter is not supplied, the default period is set to 1800 seconds (30 minutes), at which time the trace is automatically stopped.

• confirm—If no confirm option is entered, the command is rejected, and you are notified via a message of the potential performance impact of this command. This is required for a signal path level trace or a trunkgroup level trace due to the potential performance impact of tracing at these levels.

• span—The span ID. This is an integer value denoting the traffic channel for the signal path (NFAS only).

• rng—Range. When used with "span=x," rng=y is an optional range of spans beginning with x and continuing for y spans. When used with "tc=y," rng=z is an optional range of traffic channels beginning with y and continuing for z traffic channels. When used with "trk=x", rng=y is an optional range of contiguous trunks to trace starting with trunk x and ending with trunk y.

• tc—The traffic channel of interest in integer form.

• trkgrp—Logical trunk group of interest. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information.

• trk—Trunk number. This is either a trunk number within the trunk group of interest or the starting trunk of a range.

On successful completion, all protocol data unit (PDU) traffic on the path is captured in a log file. This MML command succeeds regardless of the service state of the path.

Example: The MML command shown in the following example starts a capture session for all PDUs going through the signal path identified as T-1-16 and stores the trace log in the $BASEDIR/var/trace/T-1-16_yyyymmddyyhhmmss.log file:

mml> STA-SC-TRC:T-1-16

2-75Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 100: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

STA-SS7-SLT—Start MTP SLT Test on a Link

STA-SS7-SRT—Start MTP SRT Test on a Point Code

Example: The MML command shown in the following example starts a capture session for the signal path identified as T-2-18. It runs for 600 seconds (10 min) and stores the output in /var/trace/test_yyyymmddyyhhmmss.trc:

mml>STA-SC-TRC:T-2-18:log=test.trc,prd=600

Error Code: • COMPLD—Path has started tracing.

• SNVS—Error opening the file; trace cannot be performed because the path is already being traced.

Purpose: This MML command starts a signal link test on a link configured for Japanese SS7.

Format: sta-ss7-slt:<C7 link>

Input Description:

• C7 link—The MML component name of a signal channel (linkset, C7 IP link, or TDM link used in a linkset. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for more information.)

Example: The MML command shown in the following example starts a signal link test on ls1link1. The result of this test is retrieved by the command rtrv-ss7-slt:ls1link1.

mml> STA-SS7-SLT:slt:ls1link1Media Gateway Controller - MGC-01 2000-01-12 15:18:34 M RTRV "ls1link1" ;

Purpose: This MML command starts an MTP signal route test on a point code configured for Japanese SS7.

Format: sta-ss7-srt:<point code>:LSET="<C7 link/set>"

2-76Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 101: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

STA-TCAP-TRC—Start TCAP Tracing

STP-ABN-TRC—Stop Abnormal Trace

Input Description:

• point code—The MML component name of a single point code.

• C7 link/set—The provisioning component C7 link, TDM link used in a linkset, or linkset. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide for a description of C7 linksets. Use the RTRV-LSET command described on page 2-45 to retrieve a list of linksets.

Example: The MML command shown in the following example starts a signal route test on point code dpc1 with C7 linkset ls1. The result of this test is retrieved by the command rtrv-ss7-srt:dpc1:LSET=“ls1”.

mml> STA-SS7-SRT:dpc1:LSET-”ls1”Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "dpc1" ;

Purpose: This MML command starts TCAP tracing.

Format: STA-TCAP-TRC

Example: mml> STA-TCAP-TRCMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "TCAP-01" ;

Purpose: This MML command stops abnormal calls tracing initiated by the STA-ABN-TRC command.

Format: stp-abn-trc:<sigpath|all>

Input Description:

• sigpath—Corresponding MML name for any of the following component types:

– Signa path of in-band TDM up to MUX and then time switched to TDM media and sent to the Cisco MGC

– Signal path of in-band TDM signal up to CU and then encapsulated and sent over IP to the Cisco MGC

– Signal path of in-band TDM signal up to NAS and then converted to NI2 and sent to the Cisco MGC over IP (that is, FE box<-sig/tdm->NAS<-NI2/IP->MGC)

– Signal path or route set associated with SS7 destination PC.

– Signal path for EISUP

• all—Stops all abnormal traces that exist on the whole Cisco MGC.

2-77Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 102: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

STP-AUD—Stop Auditing Process

STP-CALL—Stop Calls

Example: The MML command shown in the following example stops an abnormal trace:

mml> STP-ABN-TRC:ALLMedia Gateway Controller 2000-05-26 07:02:11M COMPLD"ALL:Trace stopped for the following files:

../var/trace/_20000526070211.abn";

Comments: This command is available as of Release 7.4(8). This command accepts wildcards on sigpaths.

Purpose: This MML command stops the auditing process started with the STA-AUD command.

Format: STP-AUD

Example: The MML command shown in the following example stops all auditing processes started with the STA-AUD command:

mml> STP-AUDMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "ENGG-01" ;

Purpose: This MML command stops calls in progress for a specified signa channel or destination point code. By default, all traffic channels are affected.

Format: STP-CALL:<mgc>STP-CALL:<gway>STP-CALL:<trkGrp>STP-CALL:<sigPath>STP-CALL:<sigPath>:span=xSTP-CALL:<sigPath>:span=x,BC=y[,RNG=z]STP-CALL:<sigPath>:CIC=x[,RNG=y]

2-78Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 103: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

STP-SC-TRC—Stop One or All Traces

Input Description:

Target parameters are as follows:

• MGC—Corresponding MML name of the Cisco Media Gateway Controller

• GWAY—Corresponding MML name for the Cisco Media Gateway. Not all media gateway types are applicable. Supported types are CU, MUX, MGW, and AVM external nodes

• trkGrp—trkGrp is applicable only for time-division multiplexing (TDM). Use the corresponding MML name for component type "0020"

• sigPath—Corresponding MML name for any of the following component types:

– Signal path of in-band TDM up to MUX and then time switched to TDM media and sent to the Cisco MGC

– Signal path of in-band TDM signal up to CU and then encapsulated and sent over IP to the Cisco MGC

– Signal path of in-band TDM signa up to NAS and then converted to NI2 and sent to the Cisco MGC over IP (that is, FE box<-sig/tdm->NAS<-NI2/IP-> MGC)

– Signal path or route set associated with SS7 destination PC

– Signal path for EISUP

• span—spanId is a 16-bit value that identifies an ISDN/PRI physical cable

• BC—Numeric value that identifies the non-ISUP bearer channel number. BC is used for non-ISUP trunks; otherwise use CIC

• CIC—A numeric value that identifies the ISUP circuit identification code number

• RNG—The range of either bearer channel or circuit identification code

Example: The MML command shown in the following example stops calls in progress for signal channel PC-2-2-2-2:

mml> STP-CALL:PC-2-2-2-2Media Gateway Controller - MGC-01 2000-01-12 15:19:51 ;

Purpose: This MML command stops a protocol conversion trace session on one signal path or on all signal paths.

Format: stp-sc-trc:<sig path>stp-sc-trc:<trkgrp>stp-sc-trc:all

2-79Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 104: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

STP-TCAP-TRC—Stop TCAP Tracing

SW-OVER—Manual Switchover

Input Description:

• sig path—Logical identifier for a signal path. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide.

• trkgrp—Logical identifier for a trunk group. Refer to the Cisco Media Gateway Controller Software Release 7 Provisioning Guide.

• all—Stops all traces.

Example:

Example:

The MML command shown in the following example stops a capture session on the path identified as T-1-1:

mml> STP-SC-TRC:T-1-1

The MML command shown in the following example stops all active capture sessions:

mml> STP-SC-TRC:allMedia Gateway Controller 2000-03-21 15:28:03M COMPLD "ALL:Trace stopped for the following files: ../var/trace/_dpc1_20000321152752.btr;

Purpose: This MML command stops TCAP tracing that has been started with the STA-TCAP-TRC command.

Format: STP-TCAP-TRC

Example: The MML command shown in the following example stops TCAP tracing:

mml> STP-TCAP-TRCMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M RTRV "TCAP-01" ;

Purpose: This MML command enables a switchover from an active to a standby system.

Format: SW-OVER::CONFIRM

2-80Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 105: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

TST-COT—Manual COT

Output Description:

• MSO refused, standby system not ready—Switchover failed because the standby system was not ready.

• MSO refused, warm start-up in progress—Switchover failed because start-up of the standby system was in progress.

• MSO refused, Warm start-up Failed—Switchover failed.

• MSO refused, System is not in active state—Switchover failed because the MGC host is not in an active state.

• MSO refused, Detected standalone Flag—Switchover failed because no standby MGC host is configured.

Example: The MML command shown in the following example enables a switchover from the active system to the standby system:

mml> SW-OVER::CONFIRMMedia Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD;

Example: The MML command shown in the following example attempts a switchover from the active system to the standby system but is not successful because the system is not active:

mml> SW-OVER::CONFIRMMedia Gateway Controller - MGC-01 2002-01-18 15:19:51 MSO refused, System is not in active state;

Purpose: This MML command executes a continuity test on a specified remote switch circuit.

Format: tst-cot:<point code>:CIC=<number>

Input Description:

• point code—MML component name of a provisioning component point code.

• CIC=number—Numeric value that identifies the ISUP circuit identification code number.

Example: The MML command shown in the following example executes a continuity test on dpc1 CIC-5:

mml> TST-COT:dpc1:CIC=5Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD;

Comments: If a continuity test fails, use the BLK-CIC command to block the CIC until the problem is identified and corrected. After a successful continuity test, use the UNBLK-CIC command to unblock the CIC.

2-81Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 106: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Chapter 2 MML Commands

UNBLK-CIC—Unblock a Circuit or a Circuit Range

VLD-CIC—Validate a Circuit

Purpose: This MML command unblocks a circuit or a range of circuits that have been blocked with the BLK-CIC command.

Format: unblk-cic:<point code>:CIC=<number>[,RNG=<range>]

Input Description:

• point code—MML component name of a provisioning component point code.

• number—A valid circuit identification code (CIC).

• slaves—A number such that number + range is a valid CIC. All circuits between number and number + range are unblocked. The range should not span trunks. For example, to unblock all of the CICs from 60 through 90, the number would be 60 and the range would be 30. You would enter the following command:

mml> UNBLK-CIC:dpc1:CIC=60, RNG=30

This unblocks CIC 60 and the next 30 CICs.

Example: The MML command shown in the following example unblocks CICs 5 through 15 for destination point code dpc1:

mml> UNBLK-CIC:dpc1:CIC=5,RNG=10Media Gateway Controller - MGC-01 2000-01-12 15:19:51 M COMPLD "dpc1" ;

Purpose: This MML command validates a circuit on a specified point code and CIC.

Format: vld-cic:<point code>:CIC=<number>

Input Description:

• point code—MML component name of a provisioning component point code.

• number—A valid circuit identification code.

Example: The MML command shown in the following example validates a circuit on PC7 CIC 36:

mml>VLD-CIC:PC7:CIC=36

Example: The MML command shown in the following example shows the MML response for a circuit that has failed validation:

mml>VLD-CIC:SS7SVC1:CIC=1314MGC-01 - Media Gateway Controller 2001-02-08 13:54:04

M RTRV“ss7svc1:CIC=1314, FAIL”

;

2-82Cisco Media Gateway Controller Software Release 7 MML Command Reference Guide

OL-1195-01

Page 107: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Cisco Media Gateway Controller Software ReleasOL-1195-01

I N D E X

A

ACK-ALM 2-1

acknowledge an alarm 2-1

add a dial plan element 2-13

add a provisioning component 2-16

B

Backus-Naur conventions 1-5

Bellcore TL1 conventions 1-5

BLK-CIC 2-2

block a circuit or circuit range 2-2

C

change the service state of a link 2-68

change the service state of a local SSN 2-69

change the service state of a signal path 2-70

change the service state of a signal point code 2-71

CHG-DPL 2-2

CHG-LOG 2-3

circuit status query 2-27

clear an alarm category 2-3

clear TCAP transactions 2-4

CLR-ALM 2-3

CLR-MEAS 2-3

CLR-TCAP-TRANS 2-4

commit provisioning data 2-17

continuity test 2-81

D

delete a dial plan element 2-13

delete a provisioned component 2-18

deploy provisioning data 2-18

describe an MML command 2-6

display command

all active MML sessions 2-46

all SS7 routes 2-49

command history 2-5

information about the Cisco MGC 2-47

measurements 2-44

number of active TCAP transactions 2-63

overload level 2-48

results of a Japanese signal link test 2-58

results of a Japanese signal route test 2-59

route set for a point code 2-58

signal channel names and attributes 2-51

SS7 measurement data 2-56

state of all local SSNs 2-46

state of all remote SSNs 2-48

state of bearer channels 2-60

status of a process 2-54

traces in progress 2-53

E

enable a switchover from an active to a standby system 2-80

end a provisioning session 2-25

export the current configuration 2-20

IN-1e 7 MML Command Reference Guide

Page 108: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Index

G

get help 1-4

H

H 2-5

HELP—Open the Help File 2-6

K

kill a nonfunctioning configuration session 1-4

L

list MML commands 2-6

M

man-machine language

basics 1-2

command conventions 1-5

session, killing 1-3

modify a dial plan 2-13

modify a provisioned component 2-19

N

NUMAN—ADD 2-13

NUMAN—DLT 2-13

NUMAN—ED 2-13

NUMAN—RTRV 2-14

O

Obtaining Documentation xiii

IN-2Cisco Media Gateway Controller Software Release 7 MML Comma

P

print diagnostic information 2-25

PROV-ADD 2-16

PROV-CPY 2-17

PROV-DLT 2-18

PROV-DPLY 2-18

PROV-ED 2-19

PROV-EXP 2-20

PROV-RTRV 2-21

PROV-STA 2-23

PROV-STP 2-25

PROV-SYNC 2-25

PRT-CALL 2-25

Q

QUERY-CIC 2-27

QUIT 2-29

R

R 2-29

redisplay a command 2-5

reload a dial plan 2-2

repeat a command 2-29

reset a circuit 2-30

reset a measurement category 2-3

RESET-CIC 2-30

retrieve

auditing of an MGCP gateway 2-33

bearer channel information 2-39

dial plan element 2-14

service state of a linkset 2-45

RTRV-ADM-STATE 2-30

RTRV-AUDIT-GW 2-33

RTRV-CIC 2-39

RTRV-DEST 2-42

RTRV-EQPT 2-43

nd Reference GuideOL-1195-01

Page 109: Cisco Media Gateway Controller Software Release 7 MML ...€¦ · TST-COT—Manual COT 2-81 UNBLK-CIC—Unblock a Circuit or a Circuit Range 2-82 VLD-CIC—Validate a Circuit 2-82

Index

RTRV-LNK-CTR 2-44

RTRV-LOG 2-44

RTRV-LSET 2-45

RTRV-LSSN 2-46

RTRV-MML 2-46

RTRV-NE 2-47

RTRV-OVLD 2-48

RTRV-RSSN 2-48

RTRV-RTE 2-49

RTRV-SC 2-50

RTRV-SC-TRC 2-53

RTRV-SPC 2-58

RTRV-SP-CTR 2-55

RTRV-SS7-SLT 2-58, 2-59

RTRV-TC 2-60

RTRV-TCAP-TRANS 2-63

RTRV-TC-HELD 2-63

S

SET-ADM-STATE 2-65

SET-ASN-STATE (Retired) 2-67

SET-DEST-STATE 2-67

SET-EQPT-STATE 2-68

SET-LNK-STATE—Set Link or Link Set Service State 2-68

SET-LOG 2-68

SET-LSSN-STATE 2-69

SET-SC-STATE 2-70

SET-SPC-STATE 2-71

STA-ABN-TRC 2-71

STA-AUD 2-73

STA-AUDIT-GW 2-73

start

auditing of an MGCP gateway 2-73

auditing process on all calls 2-73

event logging 2-4

MML session 1-2

provisioning session 2-23

Cisco Media Gateway ConOL-1195-01

TCAP tracing 2-77

STA-SC-TRC 2-74

STA-SOFTW 2-76

STA-SS7-SLT 2-76

STA-SS7-SRT 2-76

STA-TCAP-TRC 2-77

stop

abnormal calls tracing 2-77

auditing process 2-78

calls in progress 2-78

event logging 2-4

MML session 1-3

TCAP tracing 2-80

STP-ABN-TRC 2-77

STP-AUD 2-78

STP-CALL 2-78

STP-SOFTW 2-80

SW-OVR 2-80

synchronize provisioning data 2-25

T

TP-TCAP-TRC 2-80

TRV-SOFTW 2-54

U

UNBLK-CIC 2-82

V

validate a circuit 2-82

VLD-CIC 2-82

W

wildcards 1-5

IN-3troller Software Release 7 MML Command Reference Guide