C114门户论坛百科APPEN| 举报 切换到宽版

亚星游戏官网

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 2868|回复: 0

VOIP产品mg3000-T4 [复制链接]

军衔等级:

亚星游戏官网-yaxin222  新兵

注册:2006-12-21
发表于 2012-5-16 14:03:17 |显示全部楼层
MG3000-T4设备Trace设置方法

工程服务部 2009-8-19
1、首先通过串口或者telnet命名连接到T4设备上,如下图:
===================================================================
===================================================================
=========

=========

=========
MG3000-T4 Trunk Gateway User Console
=========

=========
=========

=========
V1.0
=========

=========

=========

=========
GoHigh Data Networks TechnologyCo.,Ltd.
=========

=========
=========

=========
All Right Reserved
=========

=========

=========

===================================================================
===================================================================



Login: root
Password: ****
输入正确的root密码(默认密码为root)

2、成功登陆后的界面如下,此时您已经在T4设备的命令行模式,输入help可以看到当前目录下可实行的命令和目录情况,使用cd命令可以切换目录。
----------- Welcometo Use
MG3000-T4
-----------


MG3000-T4:\>
MG3000-T4:\>
MG3000-T4:\> help

Commands( use 'help<command>' for more information):

h
-- help
dispaly help information


c
-- cd
change current directory


!
-- !
execute one piece of history command


.
-- history
display the last 20 history commands


d
-- date

set or display system date and time


save -- savecfg
save the configuration toflash


This is the toplevel set of commands and directories.

Subdirectories:

b
-- billing


c
-- conference


sip
-- sip


m

-- media


n
-- number


o
-- office


oam
-- oam


p
-- pstn


s
-- statistic


t
-- trace


u
-- user


Commands:

l
--logout
exit console


ch
-- commandhierarchy
display the command tree structure


csc
-- cfgsysclock
configure
the system clock

please enter anykey for more......

dsc
-- displaysysclock
display the system clock status


csn
-- cfgsysname
configure
the system name


dsn
-- displaysysname
display
the system name


cwp
-- cfgwebconsoleport
configure web console port


dwp
--displaywebconsoleport
display webconsole port


csna -- cfgsysnetattrib
configure
the system net attrib


dsna -- displaysysnetattrib
display
the system net attrib


ver
-- version
display software version


The command hasbeen completed successfully!

3、切换到trace目录下设置以下两个trace(标注红色字体的为需要手动输入的命令)。
MG3000-T4:\> cd trace

The command hasbeen completed successfully!

MG3000-T4:\Trace>
MG3000-T4:\Trace>st

Please input tracemodule index

(0-all, 1-timer, 2-rm, 3-cnsl, 4-ec,


5-rdt, 6-bkup, 7-snmp, 8-tlnt, 9-updt,


10-trap, 11-cc, 12-pstn, 13-sip, 14-vm,


15-dpram, 16-hdlc, 17-trunk, 18-trace)

The index: 13

trace type:

(0-all, 1-task, 2-message, 3-isr, 4-callstack,


5-memory, 6-timer, 7-primitive, 8-normal)

Please input tracetype, <Enter> means no more : 2

Please input tracetype, <Enter> means no more :

Please input tracelevel(1~5): 4

Please input traceoutput mode (1-console, 2-LAN): 2

The command hasbeen completed successfully!

MG3000-T4:\Trace>st

Please input tracemodule index

(0-all, 1-timer, 2-rm, 3-cnsl, 4-ec,


5-rdt, 6-bkup, 7-snmp, 8-tlnt, 9-updt,


10-trap, 11-cc, 12-pstn, 13-sip, 14-vm,


15-dpram, 16-hdlc, 17-trunk, 18-trace)

The index: 12

trace type:

(0-all, 1-task, 2-message, 3-isr, 4-callstack,


5-memory, 6-timer, 7-primitive, 8-normal)

Please input tracetype, <Enter> means no more : 2

Please input tracetype, <Enter> means no more :

Please input tracelevel(1~5): 2

Please input traceoutput mode (1-console, 2-LAN): 2

The command hasbeen completed successfully!

4、开始拨打电话,并将trace输出保存到一个文本文件中发给大家分析;

5、切换到Statistic目录下,实行drcr命令查看通话记录
MG3000-T4:\Trace> cd

The command hasbeen completed successfully!

MG3000-T4:\> cd statistic

The command hasbeen completed successfully!
MG3000-T4:\Statistic>drcr
|seq|caller|addr(ts)|called|ts(addr)|signal|media|call_time|talk_time|end_time|stop|cause|
|2|62303100|192.216.6.7|131114|0.1|n|full|16:43:38|ignore|16:43:38|pstn|503/34|
|1|62303100|114|n|full|16:43:38|ignore|16:43:38|cc|0/0|

The command hasbeen completed successfully!

MG3000-T4:\Statistic>

6、停止trace(若不停止trace会造成设备运行不稳定,请在停止抓trace退出前切记关闭trace)
MG3000-T4:\Trace>rt

The command hasbeen completed successfully!

MG3000-T4:\Trace>

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系大家 |网站地图  

GMT+8, 2024-11-16 02:42 , Processed in 0.434547 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部
XML 地图 | Sitemap 地图