I created a simple SDN network in Mininet using this command:
sudo mn --topo single,3 --mac --switch ovsk --controller remote
َActually, this is a network with three hosts an one vSwitch. Then I added two flows:
add-flow tcp:127.0.0.1:6634 in_port=2,actions=output:1
add-flow tcp:127.0.0.1:6634 in_port=1,actions=output:2
Which 127.0.0.1 is my vSwitch. Now, h1 and h2 can ping each other correctly. My objective is making some changes in Topology Discovery of the OpenFlow and reducing LLDP packets in my network, is the objective function. I think I know how to do it, but I don't know how can I count and see LLDP packets? I have usedWire shark for it, but after applying LLDP filter, I can not see any thing. Where is the problem?