No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

FAQ-how to capture media packets remotely for MGPRA user of MA5612

Publication Date:  2019-07-09 Views:  480 Downloads:  0

Issue Description

Q:
how to capture media packets remotely for E1 service with MA5612?
Version: MA5612V800R308C00  SPC500

Handling Process

A:

data layout

Device (MDU)  IP VLAN of the device IP Server (maybe your PC) IP The problematic port ID of the user
10.x.x.10 100 10.x.x.78 0/2/1
 

0.1  set the device IP which can be monitored          (MxU means MDU)
MxU(config)%% voip
                                                                               
MxU(voip)%% ip address signaling 10.x.x.10
 
MxU(voip)%% ip address media 10.x.x.10
note:you can use  “display current-configuration section voip” to check
 
0.2  set the remotely packet header obtaining
MxU(config)%% diagnose
                                                                               
MxU(diagnose)%% remote-capture parameters record-switch disable start-record-num *1*2*3 stop-record-num #1#2#3 udp-port 5001 server-ip 10.x.x.78 source-ip 10.x.x.10 vlan 100
MxU(diagnose)%% remote-capture trace frame/slot/port/bchn 0/1/0/0 auto-stop-time 43200 base-trace enable extend-trace enable
Guide how to find the value “0” in “bchn 0/1/0/0”:
 
MA5612(config)#display mgprauser
{ all<K>|frameid/slotid/portid<S><Length 1-15>|frameid/slotid<S><Length 1-15> }:
all
Command:
        display mgprauser all
  -----------------------------------------------------
  F /S/P/B CHANNEL MGINTERFACE  LINK SET  INTERFACE ID  END ID
  -----------------------------------------------------
  0  /1 /0   /0     70004      1      0      A0
  -----------------------------------------------------

note:you can use “(diagnose%%)#display remote-capture parameters” to check
 
0.3  enable the port
MxU(diagnose)%% remote-capture trace frame/slot/port 0/2/1 auto-stop-time 1000 base-trace enable extend-trace enable
note:you can use “(diagnose%%)#display remote-capture state” to check
 
after that, open the capturing tool (like wireshark, ethereal, etc..), repeat the issue, in the filter of capturing tool input: “udp.dstport==5001” and then Apply to get the packets;
 
when you see the UDP packets whose det. Port is 5001, means you got it! 
 
0.4 stop capturing  

0.5  disable tracing
MxU(diagnose)%% undo remote-capture trace frame/slot/port 0/2/1
 

END