01-26-2018 08:10 AM - edited 03-08-2019 01:34 PM
Hi wall jack --RJ45 has cable to a switch that is connected a lot cables. I want to know the jack port on the wall connect to which port of switch. what is a good way to do it? Thank you
Solved! Go to Solution.
01-26-2018 02:39 PM
Hi,
There's a couple of ways you could do this:
1.- Plug a device with a known MAC and see the mac-address table of the switch (already mentioned by someone above), it's great if you have access to the switch and it's a single switch for all the ports, using the following command for instance:
show mac address-table known-MAC-address
2.- Use mac traceroute, if you have a L2 distribution-access topology, you could log into one of the switches and trace the port where the MAC is even if it's several hops away (as in, not in the switch where you're doing the actual traceroute). This still would require you to plug a device with a known address into the outlet (you'd do the traceroute towards this MAC) and this requires CDP enabled on all the switches.
More info:
http://www.ciscozine.com/how-to-trace-mac-address/
3.- You can use a cable testing tool like this one:
www.flukenetworks.com/datacom-cabling/copper-testing/IntelliTone-Pro-Toner-and-Probe
On this case you'd need someone with the signal generator (toner) going from outlet to outlet plugin it, then someone in the telecomm room would use the probe to check what cable is tied to that plug, this way you can write down the port number where said cable is terminated. This doesn't require you to have access to the switch's (switches) console.
4.- If you have a list of outlets vs mac-address you could do options 1 or 2 without pluging things, just by checking the actual list, I am talking about something like this:
Device Name --- Device MAC --- Where is it connected CEO's PC --- AAAA.BBBB.CCCC --- Outlet5 floor3 Sr. Eng ----- AAAA.BBBB.DDDD --- Outlet6 floor10
Assuming the list is up to date it should be quite easy, also if you know how to program using python or using ansible you could automate 100% of this:
Hope this helps
Please remember to rate useful posts.
01-26-2018 08:32 AM
Plug a laptop or other device into the jack and look for the device's MAC address on the switch:
The command varies slightly between different platforms but:
"sh mac address-table address xxxx.xxxx.xxxx"
It will tell you which port it is on.
Hope this helps
01-26-2018 12:32 PM
You can search for tools which can also help provide those statistics. Some are pretty inexpensive.
01-26-2018 02:39 PM
Hi,
There's a couple of ways you could do this:
1.- Plug a device with a known MAC and see the mac-address table of the switch (already mentioned by someone above), it's great if you have access to the switch and it's a single switch for all the ports, using the following command for instance:
show mac address-table known-MAC-address
2.- Use mac traceroute, if you have a L2 distribution-access topology, you could log into one of the switches and trace the port where the MAC is even if it's several hops away (as in, not in the switch where you're doing the actual traceroute). This still would require you to plug a device with a known address into the outlet (you'd do the traceroute towards this MAC) and this requires CDP enabled on all the switches.
More info:
http://www.ciscozine.com/how-to-trace-mac-address/
3.- You can use a cable testing tool like this one:
www.flukenetworks.com/datacom-cabling/copper-testing/IntelliTone-Pro-Toner-and-Probe
On this case you'd need someone with the signal generator (toner) going from outlet to outlet plugin it, then someone in the telecomm room would use the probe to check what cable is tied to that plug, this way you can write down the port number where said cable is terminated. This doesn't require you to have access to the switch's (switches) console.
4.- If you have a list of outlets vs mac-address you could do options 1 or 2 without pluging things, just by checking the actual list, I am talking about something like this:
Device Name --- Device MAC --- Where is it connected CEO's PC --- AAAA.BBBB.CCCC --- Outlet5 floor3 Sr. Eng ----- AAAA.BBBB.DDDD --- Outlet6 floor10
Assuming the list is up to date it should be quite easy, also if you know how to program using python or using ansible you could automate 100% of this:
Hope this helps
Please remember to rate useful posts.
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