07-22-2011 01:53 PM - edited 03-07-2019 01:21 AM
How can i setup a switch ethernet port to always send back what it received on the same port?
Computer---->switch switch always sends back the ata the computer sends it.
Is there a route option for that?
Thanks,
Mark
07-22-2011 02:46 PM
Mark,
Why would you want to do that? Switch will never send back that data computer sent it.
Regards,
Amit
07-22-2011 02:47 PM
Hello Mark,
There is no such functionality available. Note that it would in essence cause a loop in network which is something all manageable switches are trying to avoid.
Why would you need such a thing?
Best regards,
Peter
07-22-2011 06:35 PM
How can i setup a switch ethernet port to always send back what it received on the same port?
Computer---->switch switch always sends back the ata the computer sends it.
You're not trying to "sniff" the packet using a packet sniffer like WireShark are you?
07-25-2011 09:35 AM
This specific system requires a pack to be sent out to the switch and be sent back from the same port. Just like a loop back, so there is absolutly no loop back functionality for IOS? I would think so.
07-25-2011 09:37 AM
Also, yes, I'm using wireshark to only Test to see if i can get the same packet back from the same port after sending a PING.
Just for test.
07-25-2011 09:42 AM
Hello,
If your application requires it for whatever reason i can't think about , then get another NIC and send the traffic to this nic that will only receive traffic from the other port using SPAN for instance, or switchport capture.
Regards,
Bruno Silva.
07-25-2011 03:13 PM
well, i will try to answer this bizzar question with a bizzar answer that would not get me into the hall-of-fame of cisco's forum life but would nonetheless, force the traffic to return to the same port ,
you could potentially do this : [ but you dont do that , cause the very aim of doing that suggests perhaps someone misinterpreted someone else ] :
1. connect a single NIC to the switch .
2. the packet you send has a destination
3. if your switch is a Layer3 switch with PBR capabilities, you may create a PBR (policy based) which matches that packet / traffic and return it by set ip nexthop with the ip of the source that sent it
that way you would receive it and re-send it again . unless of course you would filter it on that NIC . or untill end of ttl days .
Thats not a Loopback but it would send back the traffic you would send .
07-25-2011 04:28 PM
Disclaimer
The Author of this posting offers the information contained within this posting without consideration and with the reader's understanding that there's no implied or expressed suitability or fitness for any purpose. Information provided is for informational purposes only and should not be construed as rendering professional advice of any kind. Usage of this posting's information is solely at reader's own risk.
Liability Disclaimer
In no event shall Author be liable for any damages whatsoever (including, without limitation, damages for loss of use, data or profit) arising out of the use or inability to use the posting's information even if Author has been advised of the possibility of such damage.
Posting
Not sure whether Cisco switches support it, but the UDP or TCP echo port will send back the original packet. If supported, you would need to insure the service is activated.
See http://www.cisco.com/en/US/products/sw/iosswrel/ps1818/products_tech_note09186a008019d97a.shtml for more info.
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