Knowledgebase

 
 
Knowledgebase Article
Knowledgebase


SN9k Debugging Info
Article Id #: 507

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



User Rating
This answer was helpful This answer was not helpful (18 vote(s)) 
User Comments  Add a Comment )

 
 
Products
Unified Communications
> VoIP Adapters
> Fax Adapters
> VoIP Gateways
> VoIP Routers
> VoIP IADs - Integrated Access Devices
> Enterprise Session Border Controllers
> Media Gateways
> SS7 Gateways
> Secure End Points (SIP Phones)
> VoIP Public Address & Mass Notification
Software and Cloud
> Virtual SBC | Virtualized SBC
> Virtual Access Router
> VPN Server
> IPv6 IPv4 Converter
> Intelligent Edge Orchestration
> NFV & SDN
Networking & Access
> Ethernet Extenders
> Industrial Switches
> Industrial Ethernet
> Unmanaged Industrial Ethernet Switches
> Managed Industrial Ethernet Switches
> Industrial PoE Switches
> PoE Extenders
> Industrial Network Solutions
> xDSL Products | DSL Modems, DSL VoIP, DSL Router Modems
> Routers
> Dial-Up Access

Sunset Products
 
Datacom Industrial Connectivity
> Industrial PoE Products
> Ethernet Over Fiber
> Line Drivers / Short Range Modems
> Wireline Analog Modems
> Pro AV Live & Media Broadcast Systems
> Fiber Serial DataCom (RS-232/422/530/188C)
> Fiber Telecom (T1/E1/PRI, Analog & ISDN)
> Multiplexers & Sharing Devices
> SFP (Small Form Pluggable) Modules and Kits
> Fiber Alarming, Notification, Relay & Control
> Other Network Extenders
> Defense/Security Fiber Communications
> Baluns
> Surge Protectors & Opto-Isolators
> DataTaps, Testers, Adapters, Rack Kits
> Interface Converters
> Fiber Rack & Enclosure Systems
> Fiber Repeaters & Wavelength Division Multiplexers (WDM)
> Waveguide RF Filters
Media Transport
> Artel Racks & Chassis Infrastructure
> Video Over IP Transport
> Video Over Fiber Transport
> Video, Audio & Data Over Fiber Transport
> Video & Audio Over Fiber Transport
> Ethernet Over Fiber Transport
> Serial DataComm Over Fiber Transport
> Video, Fiber Testers & Splitters
> Wave Division Multiplexers
> Ethernet Switches
> SFP Modules and Kits
 
Sales: [email protected] / +1 301 975 1000
Support: [email protected] / +1 301 975 1007
Join Our Email List
Have Us Contact You
or
Login Connect With Us
X Linkedin Facebook Youtube
 
     Patton LLC Copyright © 2025 All Rights Reserved.

|  Sitemap  |   Legal  |   Privacy Policy  |   Disclaimer  |    X  Facebook  YouTube  LinkedIn  RSS