Knowledgebase:
SN9k Debugging Info
Posted by Danny Staub on 01 October 2025 10:06 AM

Talking about SIP debugging, there are two options in SN9k:

- To collect a tcpdump, here is an example:

tcpdump -s 0 -i eth2 port 5060 -w /mnt/cdr/sip_trace.pcap ( This command will record a pcap sip sgnalling trace which can be downloaded from the following path: http://192.168.5.5/cdr/ ..... last "/" is mandatory )

- To collect a SIP debug:

Login on the device via the ssh and start the following commands:

showdbg sip on
trace sip start

Once you finish log collecting please stop debugging with a command: trace sip stop


CLI

For connection use:

telnet <ip> 7001


Use <TAB> for completion commands and "?" for external info.

for example:

SIP2TDM# stat ?

Subcommands list:

show - show call statistics

clear - clear call statistics

 

Common tasks

SIP subscribers

abonent show - subscribers list

 

Е1 ports

pcm info - show E1 port state

pcm stat show - show error counters

 

SIP and TDM channels info

chan map all - show all channels summary map

chan map legend - legend for summary channel map

 

Common info

version - version info

acodes info - show RTP media cores state

stat show - show call statistics

 

Enable debug info

for V5 protocol

showdbg v5 on

trace pcm start -1
 

for SIP protocol

showdbg sip on

trace sip start
 

for SS7 protocol

showdbg ss7 on

showdbg mtp3 on

showdbg isup on

trace pcm start -1

 

CLIP

showdbg aon on

showdbg mfr on

 
access to subscriber database

showdbg abon on
 

dialplan routines

showdbg dplan on


Display HDLC messages exchange (for SS7, PRI)

set message length diapason

hdlc dump length <port> <minlength> <maxlength>

hdlc dump length 1 7 9991
 

set display format to HEX

hdlc dump format term


set display format to humman readable

hdlc dump format ascii


enable HDLC debug

trace hdlc 0xffff 0xffff


disable HDLC debug

trace hdlc 0 0





SdCard filesystem

list of main files



list of log Files



(78 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).