Got it

Q&A: How to capture media packets remotely for MGPRA user of MA5612?

Latest reply: Aug 23, 2018 12:59:48 675 1 1 0 0
A:

data layout

Device (MDU)  IP VLAN of the device IP Server (maybe your PC) IP The problematic port ID of the user
10.144.78.10 100 10.144.78.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.144.78.10
 
MxU(voip)%% ip address media 10.144.78.10
note:you can use  “display current-configuration section voip” to check
 
0.2  set the remotely packets capturing
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.144.78.78 source-ip 10.144.78.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

useful info for capturing MGPRA user for MEDIA
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.