Top and Most useful Cisco Voice IOS Commands

Top and Most useful Cisco Voice IOS Commands

If you are working as a Voice Engineer or planning to learn Voice or may have an interview, the below list of commands are the ones which are most commonly used by Voice Engineers. These commands are posted here so that it can be helpful for everyone who are troubleshooting/learning the voice piece or may want to use this topic as a reference to their daily work. I might have missed some commands which you can post me in the comment so that i can add them as well.


Show cdp – It will show CDP Timer and Holdtime Frequency
Show cdp neighbors detail – It will show details of neighbor with an IP Address and IOS version
Show cdp neighbors – It will show details of Device ID, Local Interface, Holdtime, Capability, Platform and Port ID
Show cdp interface – It will show details of the interface if it is Up physically, Line protocol is up, Encapsulation and Holdtime.
Show cdp traffic – It will show details of the CDP counters (CDP packets sent and received)
Show voice call summary – It will show all the active calls on the Gateway, Ports, Codec, VAD (enabled or not), VTSP state and VPM state
Show voice call status – It will show only the active calls, not all the ports. It includes Port, Called Number, and Dial Peer
Show call history voice record – It will show information about calls made to and from the voice router
Show voice port summary – It will show a detailed information on Ports, Channel, Signalling Type, Port Status, In Operation Status, Out Status and EC. It basically shows FXO/FXS/PRI ports in use.
Show gateway – It will show the state and version is H.323
Show dialplan number 1000 – It will show you what happens when the specified number is dialed
Show dial-peer voice summary – It will show you what all dial-peers that are currently working. Summary of dial-peers/destination.
Show voip rtp connections  – It will show all the current RTP connections which will have Local and Remote IP Address, Port Numbers, Call IDs.
show controllers T1    or   show controllers E1 – It will show the status of a controller if it is up or down
show call active voice brief – It will show the active call information which includes Call ID, Peer IP Address and Codecs
Show mgcp  – It will show mgcp settings on the gateway
Show dial-peer voice – It will show how voice dial peers are configured.
Show mgcp statistics  – It will show mgcp statistics relationship between the devices which will have stats for CRCX, DLCX, MDCX and RSIP,  IP addresses of Call Agents etc
Show mgcp endpoint   It will show information related to MGCP endpoints
Show mgcp connection  – It will show information about the current mgcp connections
show sip-ua register status – It will show SIP Registration information
show voice dsp – It will show the status of all the DSPs on the Gateway
show ccm-manager  – It will show information about the active and redundant configured Cisco Unified Communications Manager. This command also indicates if the gateway is currently registered with Cisco Unified Communications Manager.
Show isdn active – It will show if a call is in progress and which number is being dialed.
Show isdn status – It will show statistics of an ISDN connection and show if your PRI is up/established correctly
show ccm-manager fallback – It will show whether MGCP fallback is enabled or disabled, if enabled, whether it is currently active or not.
Show sip service – It will help to display the status of SIP call service in a SIP gateway
show sip-ua status – It will help to display status for the SIP user agent (UA), including whether call redirection is enabled or disabled
cdp enable – It will enabled CDP on an interface
no cdp enable – It will disable CDP on an interface
Test voice translation-rule – It will allow you to test a translation rule configured on the gateway.
Csim start XXXXX – It is a hidden command which helps to generate calls
Debug voice ccapi inout – It will show calls in and out of ports on the gateway
Debug mgcp packet  – It will monitor the packets exchanged between CUCM and router.
Debug isdn q921 – It will help to verify if you have a connection to the ISDN switch.
Debug isdn q931  – It will monitor information about call setup and tear down of ISDN network connections (layer 3) between local router (user side) and the network
Debug h225  – It will display additional information about the contents of H.225 Registration, Admission, and Status Protocol (RAS) messages.
Debug vtsp tone – It will help to view tone generated by the router which could be fast busy or dial tone or busy signal etc.
Debug voip ccapi inout – It will trace the execution path through the call control API, which serves as the interface between the call session application and the underlying network-specific software.
Debug vpm signal – It will help to view to view the on−hook and off−hook signaling for the voice ports.
Debug vtsp dsp  – It will help to view digits collection performed on the router
Debug ccsip calls – It will help to show all SIP call details as they are updated in the SIP call control block. This debug command can be used to monitor call records for suspicious clearing causes.
Debug ccsip messages – It will help you to enable all SIP message tracing, such as those that are exchanged between the SIP user-agent client (UAC) and the access server
Debug isdn event – It will show events occurring on the user side (on the router) of the ISDN interface. The ISDN events that can be displayed are Q.931 events (call setup and teardown of ISDN network connections)


All the best!

You may also like...

6 Responses

  1. Jaron says:

    I use debug ccsip messages ALL the time to debug calls coming in and going out of my SIP trunks. If a call fails, I have to be able to see if the call is hitting the SIP trunk and if it is, if it is being passed through and what messages come back. I also use debug vpm signal on FXO ports a lot when setting up SRST and 911 routing to ensure my calls are routing properly. One tool that is great for analyzing these debugs, is Translator X. If you use putty, you can log your session, or if you just copy and paste your debug into a .txt file, you can open that file in Translator X and it will break it down wireshark style for you to analyze. I’m working on a post about it on my website (https://ijustcant.today/)

  2. Z K says:

    Thank you for the nice write up.

    Here is my notes for voice troubleshooting commands:

    Cisco IOS – Voice Troubleshooting Commands

    ##################################################################################
    ## COMMANDS
    ##################################################################################

    !– MGCP
    show ccm-manager
    show mgcp
    show mgcp endpoint
    show mgcp connection
    show voice port mod_num/slot_num/port_num
    show mgcp statistics

    !– SIP
    debug ccsip calls
    debug ccsip all
    debug voice ccapi inout
    debug voip ccapi inout (great for dialpeer selection, ani, dest #, dest pattern)
    debug voice dialpeer (matching process, not good for seeing final selection)
    debug ccsip messages
    show voice call summ
    sh call active voice (Call quality)
    sh call active voice stats (Call quality detailed output detail explaination)
    show call active voice compact
    show call active voice brief (great for dialpeer selection, codec, IP, port, ani, dest #)
    sh voip rtp connections
    show rtpspi statistics (Jitter and latency)
    show dial-peer voice summary (dest. pattern and target server)
    sh dialplan number (great for checking dialpeer functionality)
    show dial-peer voice busy-trigger-counter (shows dial-peer current usage)
    sh sip calls called-number 14175551234
    sh sip calls calling-number 4175551234
    show sip-ua calls (Same as sh sip calls, but, comprehensive)
    show call history voice compact
    sh sccp connections (summary) (sessions of conf, transcoding, endpoints etc.)
    show voip rtp connections (IP addresses of both legs of RTP stream)
    show udp | i (IP and ports of CUBE–phone rtp stream)

    !– H323/ISDN
    debug voice ccapi inout
    debug voice dialpeer
    debug isdn q931
    debug voip ccapi inout
    debug h245 asn1 (dtmf)
    debug voip rtp session named-event (dtmf)
    debug voice rtp session named-event (dtmf)
    debug voip vtsp session (show mid-call dtmf being pressed)
    show voice call summ
    sh voice call status
    show call active voice compact
    sh dialplan number 7194714290 (dial-peer, media info, other juicy stuff)
    sh sccp connections [summary] (sessions of conf, transcoding, etc.)
    sh voice port 0/0/0:23 (gain settings, echo settings, etc.)

    !–SIP-UA
    show sip-ua calls br ()Vz IP address and number of calls)
    show sip-ua calls summary (number of calls)
    show sip-ua connections udp detail (SIP agent connections and ports)

    !– DSP Resources:
    show dspf dsp all
    show dspf dsp active
    sh sccp connections (Shows resources used (mtp, xcode))
    show dspfarm profile
    sh dspfarm all (shows dsp resources configured)
    sh voice dsp
    show platform led (look for PVDM led color)
    sh voice dsp capabilities slot 0 (CUBE – hardware capabilites)

    ##################################################################################
    ##################################################################################

  3. Harsh Kumar says:

    thanks for sharing!

  4. Adil Matine says:

    Thank you for compiling these commands. Good to have them handy. I appreciate the effort

  5. Adil Matine says:

    Thank you for compiling these commands. I appreciate the effort

  1. April 27, 2017

    […] Top and Most useful Cisco Voice IOS Commands. […]

Leave a Reply

Your email address will not be published. Required fields are marked *