Subject: RARE user and assistance email list
List archive
- From: mc36 <>
- To: , ,
- Subject: Re: [RARE-users] [freertr] how to use monitor-session
- Date: Mon, 14 Mar 2022 16:35:36 +0100
On 3/14/22 15:46, Xavier Jeannin wrote:
DAV0001(cfg-subif)#show running-config this
interface sdn7.11
description "DAV0001 SDN7.11 BRIDGE 1"
monitor-session sdn7.11
bridge-group 1
no shutdown
no log-link-change
exit
!
so the single parameter here is the target interface....
in the tests i abuse the monitor session a bit to be able to test it...
in production environments, the monitor's destination interface is dedicated
sniffer port...
the dpdk/pcap dataplane have a trick that it can handle the hairpin as a
destination,
then one can xconnect the other side of the hairpin to a centralized
sniffer...
(i sniff in my homenet this way, here is the slide project:
https://github.com/mc36/freeRouter/tree/master/misc/sniffer)
regards,
cs
Regards
Xavier
Le 14/03/2022 12:04, mc36 a crit :
hi,
On 3/14/22 12:00, Xavier Jeannin wrote:
Thank you very much Csaba
I ping from DAV0102 11.11.11.3 on DAV0101 and it works
The packet capture works nicely on DAV 0101 (DPDK version) both on sdn5 and
sdn5.11
But I am not able to capture any Ping packets on the intermediate switch
DAV0001 (Wedge) netiher on sdn15, sdn7 nor on sdn7.11.
On these interface, I can see LLD and L2 broadcast, so I suppose (certainly
wrong) that we can capture only packets that goes to control plane?
exactly, the packets that does not require control plane intervention cannot
be captured this way...
for that, we could do monitor-session on the corresponding (sub)interface....
regards,
cs
Thank you
Xavier
Le 11/03/2022 16:20, mc36 a crit :
you can run "pack cap sdnX" in freerouter on all the platforms....--
On 3/11/22 16:16, Xavier Jeannin wrote:
Dear All,
We would like to check the packets that arrive on a RARE/FreeRtr switch
(especially the encapsulation used - check the VLAN tag).
Would it be possible to start a TCPDump on 1 interface and generate a pcap file that we
could then "scp" on our laptop for checking?
If it is possible I suppose the process to use TCPDump should change
according to the platform: Wedge, DPDK, BMv2?
Thank you
Xavier
Xavier JEANNIN
Network Dpt.
GN4-3 Network technology evolution (WP6 T1) task leader
T l. : +33 1 5394 2042
Mob. : +33 6 3017 0963
www.renater.fr
- [RARE-users] capture packet at interface, Xavier Jeannin, 03/11/2022
- Re: [RARE-users] capture packet at interface, mc36, 03/11/2022
- Re: [RARE-users] capture packet at interface, Xavier Jeannin, 03/14/2022
- Re: [RARE-users] capture packet at interface, mc36, 03/14/2022
- [RARE-users] how to use monitor-session, Xavier Jeannin, 03/14/2022
- Re: [RARE-users] how to use monitor-session, Xavier Jeannin, 03/14/2022
- Re: [RARE-users] [freertr] how to use monitor-session, mc36, 03/14/2022
- [RARE-users] how to use monitor-session, Xavier Jeannin, 03/14/2022
- Re: [RARE-users] capture packet at interface, mc36, 03/14/2022
- Re: [RARE-users] capture packet at interface, Xavier Jeannin, 03/14/2022
- Re: [RARE-users] capture packet at interface, mc36, 03/11/2022
Archive powered by MHonArc 2.6.19.