Process traffic capture from remote device: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
 
Line 67: Line 67:
In all examples, host and port number must be set according to the actual Allegro Network Multimeter device and the configured port number.
In all examples, host and port number must be set according to the actual Allegro Network Multimeter device and the configured port number.


{| class="wikitable"
To see all available options, execute the program with the argument "-h"
|-
./ap_capture_to_remote -h
|[[File:Process traffic capture from remote device1.png|1000px|none]]
|}


=== Additional notes ===
=== Additional notes ===
Line 94: Line 92:
==Remote capture via ERSPAN==
==Remote capture via ERSPAN==


The capturing tool also supports sending the packets as ERSPAN-wrapped packets. This mode is used with the `-e` flag (which needs an ERSPAN session ID as a parameter). If this mode is used, the port doesn't need to be specified anymore.
The capturing tool also supports sending the packets as ERSPAN-wrapped packets. In this mode, the remote capture feature must be '''disabled''' and instead the regular live mode is used with an endpoint mode enabled interface.
 
This mode is used with the `-e` flag (which needs an ERSPAN session ID as a parameter). If this mode is used, the port doesn't need to be specified anymore.
  sudo ./ap_capture_to_remote -e 123 1.2.3.4
  sudo ./ap_capture_to_remote -e 123 1.2.3.4
In this mode, the [[ERSPAN Installation|endpopint mode for ERSPAN]] must be enabled and configured for the same IP as used in the ap_capture_to_remote command line argument.
In this mode, the [[ERSPAN Installation|endpopint mode for ERSPAN]] must be enabled and configured for the same IP as used in the ap_capture_to_remote command line argument.
546

edits