Mirroring a port for traffic capture

Mirroring a port for traffic capture

In order to analyse the traffic coming from and going to a specific device, you might have to mirror the port it is plugged into.

To do so, connect to the switches CLI using Putty or any SSH client software.
Enter username and password ( default :  username=admin , no password )

then :
  1. # configure terminal
  2. (config)# monitor source interface GigabitEthernet 1/<source port number> both
  3. (config)# monitor destination interface GigabitEthernet 1/<destination port number>

Once you are done with monitoring, to deactivate the port mirroring :

  1. (config)# no monitor destination
  2. (config)# no monitor source interface GigabitEthernet 1/<source port number>
  3. (config)# exit

You can reboot the switch to discard the mirroring configuration as well.


    • Related Articles

    • LumiNode LED indicators

      There are various LEDs on the LumiNode. Here is a list of the LEDs, the possible colours, and the meaning of each colour: DMX Port Status Meaning DMX Input Green Blinking: Active input DMX only (output mode) Cyan Blinking: DMX activity DMX + RDM ...
    • GigaCore RJ45 serial Connection on the console port

      RJ45 serial pinout: Pin 4,5: GND Pin 3: RX (Data going to the GigaCore) Pin 6: TX (Data out of the GigaCore) Signal levels are RS232! Serial connection settings: Speed: 115200 Data bits: 8 Stop bits: 1 Parity: None Flow Control: None
    • Support For Allen & Heath systems - GigaAce and DX

      Introduction With default settings, it is not possible to have a Allen and Heath system run reliably on GigaCore switches. In a nutshell, it is because GigaAce and DX protocols rely on packet interval time to achieve clock synchronization. This means ...
    • GigaCore Gen2 API documentation

      In the attached document you can find all the web API commands available for the second generation GigaCore. The API is also available on the device itself by browsing to http://{YOUR_DEVICE_IP}/api/doc This API works for Gen2 GigaCore switches. All ...
    • Feature: Layer 3 IPv4 Routing

      Introduction Starting from firmware version v1.7.0, supported GigaCore switches supported Layer 3 unicast routing or Switch Virtual Interfaces. This is an advanced functionality which can be useful to eliminate external routers or make routing more ...