cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

858
Views
0
Helpful
8
Replies
Highlighted
Beginner

Loop back like port on an IOS Switch.

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

8 REPLIES 8
Highlighted
Participant

Loop back like port on an IOS Switch.

Mark,

Why would you want to do that? Switch will never send back that data computer sent it.

Regards,

Amit

Highlighted
Hall of Fame Cisco Employee

Loop back like port on an IOS Switch.

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

Highlighted
Hall of Fame Community Legend

Loop back like port on an IOS Switch.

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?

Highlighted
Beginner

Loop back like port on an IOS Switch.

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.

Highlighted
Beginner

Loop back like port on an IOS Switch.

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. 

Highlighted
Beginner

Loop back like port on an IOS Switch.

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.

Highlighted

Re: Loop back like port on an IOS Switch.

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 .

Highlighted
VIP Expert

Re: Loop back like port on an IOS Switch.

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.

CreatePlease to create content
Content for Community-Ad