08-17-2023 12:24 AM
I have a cisco 350x switch connected to the pc. I have two different devices that communicate with 10G ethernet outside. I want to connect these devices to the switch and monitor the traffic over the pc. What switch configuration should I do for this?
08-17-2023 12:42 AM - edited 08-17-2023 12:59 AM
Hello @360560,
You need to monitor two interfaces towards PC's interface.
Utilize SPAN feature that allows you to copy traffic from one or more source ports and send it to a destination port, where the monitoring PC is connected.
Example where interfaces outside are gig1 and 2 and PC connected to gig 3:
config terminal
monitor session 1 source interface gigabitethernet1 both
monitor session 1 source interface gigabitethernet2 both
monitor session 1 destination interface gigabitethernet3
-- see SPAN/RSPAN chapter.
08-17-2023 08:31 AM
08-17-2023 08:38 AM
My main problem is that I cannot connect two devices to each other via the switch.I couldn't make the relevant configuration. Xg19 and xg20 are my ports.
This is not clear - if the device is in sniff mode its just Layer2 and start getting the traffic when you run sniffer.
or as i am thinking different here ?
08-17-2023 08:51 AM
My devices are FPGAs. When I connect ethernet channels directly without a switch, they communicate. When I connect the devices one by one to the PC without a switch, I can see the packets. But when I connect the devices via a switch, there is no communication.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide