- Cisco Unified Border Element Enterprise Management
- Cisco UBE Out-of-dialog OPTIONS Ping
- Finding Feature Information
- Cisco UBE Serviceability
- Cisco UBE Serviceability for Event Logging and Debug Classification
- Stateful Switchover Between Redundancy Paired Intra- or Inter-box Devices
- SIP-to-SIP Extended Feature Functionality for Session Border Controllers
- Clearable SIP-UA Statistics
- Additional References
- Glossary
Contents
- Cisco UBE Serviceability for Event Logging and Debug Classification
- Finding Feature Information
- Restrictions
- Information About Cisco UBE Serviceability for Event Logging and Debug Classification
- Serviceability
- Event Tracing
- Debug Message Categories
- Dump File and Folder Management
- New Events and CCSIP Formatting
- High Availability Support
- How to Configure Cisco UBE Serviceability for Event Logging and Debug Classification
- How to Configure Event Tracing
- Controlling Cisco UBE Serviceability Event Tracing
- Configuring Cisco UBE Serviceability Event Tracing
- Monitoring Cisco UBE Serviceability Event Tracing
- Configuring Cisco UBE Serviceability Debug Classification
- Monitoring Active Calls
- Configuration Examples for Cisco UBE Serviceability for Event Logging and Debug Classification
- Example: Controlling Cisco UBE Serviceability Event Tracing
- Example: Configuring Cisco UBE Serviceability Event Tracing
- Example: Monitoring Cisco UBE Serviceability Event Tracing
- Example: Configuring Cisco UBE Serviceability Debug Classification
- Example: Monitoring Active Calls
- Additional References for Cisco UBE Serviceability for Event Logging and Debug Classification
- Feature Information for Cisco UBE Serviceability for Event Logging and Debug Classification
Cisco UBE Serviceability for Event Logging and Debug Classification
The Cisco Unified Border Element (Cisco UBE) Serviceability for Event Logging and Debug Classification feature helps support, test, and development engineers to troubleshoot during high-density call volumes without significantly impacting performance. This feature introduces a new mechanism for tracing the calls and issues, and generating and collecting needed information, on Cisco UBE via Event Logging.
- Finding Feature Information
- Restrictions
- Information About Cisco UBE Serviceability for Event Logging and Debug Classification
- How to Configure Cisco UBE Serviceability for Event Logging and Debug Classification
- Configuration Examples for Cisco UBE Serviceability for Event Logging and Debug Classification
- Additional References for Cisco UBE Serviceability for Event Logging and Debug Classification
- Feature Information for Cisco UBE Serviceability for Event Logging and Debug Classification
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Restrictions
- Traces captured and not written to files will be lost during HA switchover (but they are captured in core).
- Enabling serviceability will write the content to file. As file read/write operation is slow, there will be an impact on performance.
- The dump folder must be reconfigured if cube_et_folder_map.info and et_fold_size files are deleted from flash.
- The dump folder commands must be reconfigured if folder permissions are modified.
Information About Cisco UBE Serviceability for Event Logging and Debug Classification
Serviceability
In a Cisco Unified Border Element (Cisco UBE) system, serviceability refers to the ability of technical support and engineering personnel to troubleshoot issues and restore the service to customers in a high call-volume systems. Cisco UBE includes the following:
Event Tracing
Cisco Unified Border Element (Cisco UBE) event tracing enables support, test, and development engineers to debug specific issues related to Cisco UBE. For example, they can use it to identify the root cause of issues that occur in the past. Event -tracing allows various VoIP/SIP events related to the SIP signaling layer of the VoIP call to be traced as they occur. Event tracing provides flexibility to configure the mechanism to a specific customer topology and deployment, including the ability to filter the traces based on call-parameters and time.
Note | The event tracing mechanism allows event-trace messages to be written in raw (binary) or encoded (pretty) format. |
Debug Message Categories
The debug messages can also be subcategorized based on a selected feature set (such as SIP profile, fax, audio, or video).
Note | Only one level can be selected. By default Verbose level is enabled. The amount of information provided by the debug messages grows in the increasing order of their listing. For example, Notification provides additional information to that provided by the previous category (Critical) and so on. |
Dump File and Folder Management
- Event trace generates multiple files for a single call (5 files per call leg for binary dump and 2 files per call leg for text or pretty dump). A CUBE processing calls for a long time can dump a lot of files into a single folder making it difficult to manage the files. Dumping of event traces to folders results in efficient management of event trace files.
- The following storage can be used for creating event trace files.
- The user must create a directory in the storage before configuring the dump-file.
Note | Folder management applies to device storage and external storage where folders can be created and deleted as per configuration. For FTP and TFTP, all files are dumped into a single folder. |
New Events and CCSIP Formatting
The following new events are captured by event traces:
- Out-of-band digits.
- Various error conditions (such as codec mismatch, DNS failure are captured to show more details about a call failure).
- Source of call disconnection (disconnect cause code information is captured). Example— Feb 25 07:21:09.782: sip_misc : CUBE_ET: TYPE = MISC : Call Disconnect: Initiated at: 0x2600674, Originated at:0x2600675, Cause Code = 22. This example shows the sample event trace captured for call disconnect, which shows cause code and the hexadecimal line number which initiated call disconnect. This is useful for identifying the trigger for call disconnect.
CCSIP Formatting Details—You can export CCSIP formatting details into an XML format based on the release. This can be used to write a decoder to read the content from the binary event trace files.
High Availability Support
- No data is check pointed between the active and standby device.
- Active and standby creates dump files independently.
- You must create the dump-folder manually on both the active and standby devices before configuring the dump folder.
- In a high availability setup, first configure the event trace on the standby device.
How to Configure Cisco UBE Serviceability for Event Logging and Debug Classification
How to Configure Event Tracing
Controlling Cisco UBE Serviceability Event Tracing
Perform this task to disable, clear, and re-enable event traces, export CCSIP formatting details, and to allow the event traces to be stored permanently to secondary or network storage.
1.
enable
2.
monitor event-trace voip ccsip all dump [pretty]
3.
monitor event-trace voip ccsip all disable
4.
monitor event-trace voip ccsip all clear
5.
monitor event-trace voip ccsip all enable
6.
monitor event-trace voip ccsip export format-xml
DETAILED STEPS
Configuring Cisco UBE Serviceability Event Tracing
1.
enable
2.
configure
terminal
3.
monitor event-trace voip ccsip trace-type [size number]
4.
monitor event-trace voip ccsip dump dump-type
5.
monitor event-trace voip ccsip dump-file file-name
6.
monitor event-trace voip ccsip limit connections max-connections
7.
monitor event-trace voip ccsip limit memory size
8.
monitor event-trace voip ccsip stacktrace number
9.
monitor event-trace voip ccsip dump-folder size size
10.
monitor event-trace voip ccsip max-dump-limit size_in_MB
11.
monitor event-trace voip ccsip dump all periodic
12.
monitor event-trace voip ccsip dump marked
13.
exit
DETAILED STEPS
Monitoring Cisco UBE Serviceability Event Tracing
Perform this task to monitor Cisco Unified Border Element (Cisco UBE) serviceability for event tracing and logging parameters. Depending on your requirements, you can view the event traces of the Cisco UBE based on several parameters. The commands can be entered in any order.
1.
enable
2.
show
monitor
event-trace
voip ccsip trace-type filter called-num filter-value all
3.
show
monitor
event-trace
voip ccsip trace-type all
4.
show
monitor
event-trace
voip ccsip summary
5.
show
monitor
event-trace
voip history all
DETAILED STEPS
Configuring Cisco UBE Serviceability Debug Classification
Perform this task to classify debug messages to support Cisco Unified Border Element (Cisco UBE) serviceability features, and to display Cisco UBE debug category code information.
1.
enable
2.
debug ccsip info
3.
debug ccsip feature feature-name feature-name feature-name feature-name feature-name
4.
debug ccsip level critical
5.
show
cube debug category codes
DETAILED STEPS
Monitoring Active Calls
Perform this task to monitor and display information on the total number of active calls in the system.
1.
show
call
active total-calls
DETAILED STEPS
Command or Action | Purpose |
---|
Configuration Examples for Cisco UBE Serviceability for Event Logging and Debug Classification
Example: Controlling Cisco UBE Serviceability Event Tracing
The following example shows how to allow the event traces to be stored permanently to secondary storage and how to control event trace logging:
Device> enable Device# monitor event-trace voip ccsip all dump pretty Device# monitor event-trace voip ccsip all disable Device# monitor event-trace voip ccsip all clear Device# monitor event-trace voip ccsip all enable
Example: Configuring Cisco UBE Serviceability Event Tracing
The following example shows how to configure event tracing in the system:
Device> enable Device# configure terminal Device(config)# monitor event-trace voip ccsip api size 50 Device(config)# monitor event-trace voip ccsip fsm size 100 Device(config)# monitor event-trace voip ccsip global size 100 Device(config)# monitor event-trace voip ccsip misc size 50 Device(config)# monitor event-trace voip ccsip msg size 50 Device(config)# monitor event-trace voip ccsip dump marked Device(config)# monitor event-trace voip ccsip dump-file slot0:ccsip-dump-file Device(config)# monitor event-trace voip ccsip limit connections 1000 Device(config)# monitor event-trace voip ccsip stacktrace 9 Device(config)# exit
Example: Monitoring Cisco UBE Serviceability Event Tracing
The following example shows how to monitor event tracing in the system:
Device> enable Device# show monitor event-trace voip ccsip api filter called-num 88888 all Device# show monitor event-trace voip ccsip fsm all Device# show monitor event-trace voip ccsip summary Device# show monitor event-trace voip ccsip history all
Example: Configuring Cisco UBE Serviceability Debug Classification
The following example shows how to configure debug messages for Cisco Unified Border Element (Cisco UBE) serviceability features:
Device> enable Device# debug ccsip info SIP Call info tracing is enabled Device# debug ccsip feature audio cac dtmf fax registration audio debugging for ccsip info is enabled (active) fax debugging for ccsip info is enabled (active) dtmf debugging for ccsip info is enabled (active) cac debugging for ccsip info is enabled (active) registration debugging for ccsip info is enabled (active) Device# debug ccsip level critical critical mode tracing for ccsip info is enabled (active) Device# show cube debug category codes |----------------------------------------------- | show cube debug category codes values. |----------------------------------------------- | Indx | Debug Name | Value |----------------------------------------------- | 01 | SDP Debugs | 1 | 02 | Audio Debugs | 2 | 03 | Video Debugs | 4 | 04 | Fax Debugs | 8 | 05 | SRTP Debugs | 16 | 06 | DTMF Debugs | 32 | 07 | SIP Profiles Debugs | 64 | 08 | SDP Passthrough Deb | 128 | 09 | Transcoder Debugs | 256 | 10 | SIP Transport Debugs | 512 | 11 | Parse Debugs | 1024 | 12 | Config Debugs | 2048 | 13 | Control Debugs | 4096 | 14 | Miscellaneous Debugs | 8192 | 15 | Supp Service Debugs | 16384 | 16 | Misc Features Debugs| 32768 | 17 | SIP Line-side Debugs | 65536 | 18 | CAC Debugs | 131072 | 19 | Registration Debugs | 262144 |-----------------------------------------------
Example: Monitoring Active Calls
The following example shows how to view all active calls in the system:
Device> enable Device# show call active total-calls Total Number of Active Calls : 110
Additional References for Cisco UBE Serviceability for Event Logging and Debug Classification
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Voice commands |
|
Technical Assistance
Description | Link |
---|---|
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. |
Feature Information for Cisco UBE Serviceability for Event Logging and Debug Classification
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
Cisco UBE Serviceability for Event Logging and Debug Classification |
15.3(3)M Cisco IOS Release XE 3.10S |
The Cisco Unified Border Element (Cisco UBE) Serviceability for Event Logging and Debug Classification feature helps support, test, and development engineers to troubleshoot during high-density call volumes without significantly impacting performance. This feature introduces a new mechanism for tracing the calls and issues, and generating and collecting needed information, on Cisco UBE via Event Logging. The following commands were introduced or modified: debug ccsip feature, debug ccsip level, monitor event-trace voip ccsip, monitor event-trace voip ccsip (EXEC), monitor event-trace voip ccsip dump-file, monitor event-trace voip ccsip dump, monitor event-trace voip ccsip limit, monitor event-trace voip ccsip stacktrace, show call active total-calls, show cube debug category codes, and show monitor event-trace voip ccsip (EXEC). |
Cisco UBE Serviceability Enhancements |
15.4(2)T Cisco IOS XE Release 3.12S |
The event trace functionality was enhanced with the following: |