01-29-2014 12:53 AM - edited 03-07-2019 05:52 PM
How to know which interfaces are going to which switch ?
I know that cdp will show this information. But CDP will not show info about the devices connected to my device and whose link between is administratively down.
Regards,
Chandu
Solved! Go to Solution.
01-29-2014 02:10 AM
Chandu,
When the interface is shut, theres no way you can check that as there will no data packet passing through that link.
You can only find that info from the previous logs of the switch, but i don't think there is any feature which can tell you the other end info when link is shut.
I mean take it this way, you are at one end of a road and its blocked in front of you, how will you know whats on the other end untill you contact someone on the other side.
Thanks
Ankur
01-29-2014 02:12 AM
Yes, in case you don't have any log where you can look on or you don't have any monitoring system so it is not possible. which interface wa up e.g. 2 days ago.
Only thing what crossed my mind would be chceck counters all interfaces which are down. In case interface were not used any time so only one interface will have some packet count when you issue sh inetrface interface number
Regards,
Jan
01-29-2014 01:04 AM
Hi,
You want to know end devices location ? in that case you could use L2 traceroute on the switch:
Regards
Alain
Don't forget to rate helpful posts.
01-29-2014 01:17 AM
I don't want to the end devices location.
For example, i have a switch that connect to multiple switches few using etherchannels and few using stand-along ports.
So assume that one of the link whether it may be entire port-channel or a stand alone link that connects to another switch has been shut down manually by some x person...
Then how can i know that which interfaces are connecting to that switch. In this case i think CDP will not help because it will hold the information of ports that are up.
Regards,
Chandu
01-29-2014 01:41 AM
Hi,
you can simply use SNMP and track/monitor interested ports if they are shut down or not. Also you can monitor who logged in so you will know who made this changes on what switch.
Regards,
Jan
01-29-2014 01:43 AM
Jan, actually i just want to know which interfaces were used to connect to the other device even when the links between them are down.
I can see this by manually entering into the datacentre and go through the physical connections. But is it possible to see through ios ?
Regards,
Chandu
01-29-2014 01:56 AM
Hi Chandu,
now I see what you actually need :-)
From my point of view it is not possible. When link is down and you have not any log where you can see some operations few days back so it is not possible(of course if your log buffer is not larger to see logs localy).
So you think somebody connected to your switch(unauthorized access). Other things to prevent this access is configure port security or shutdown unused port permanently.
Regards,
Jan
01-29-2014 02:02 AM
----
From my point of view it is not possible.
----
Do you mean we cannot know through which interfaces the other end was connected, right ?
Regards,
Chandu
01-29-2014 02:10 AM
Chandu,
When the interface is shut, theres no way you can check that as there will no data packet passing through that link.
You can only find that info from the previous logs of the switch, but i don't think there is any feature which can tell you the other end info when link is shut.
I mean take it this way, you are at one end of a road and its blocked in front of you, how will you know whats on the other end untill you contact someone on the other side.
Thanks
Ankur
01-29-2014 02:12 AM
Yes, in case you don't have any log where you can look on or you don't have any monitoring system so it is not possible. which interface wa up e.g. 2 days ago.
Only thing what crossed my mind would be chceck counters all interfaces which are down. In case interface were not used any time so only one interface will have some packet count when you issue sh inetrface interface number
Regards,
Jan
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