How to Determine Which Switch and Port a Device is Connected To

Are you interested in creating a website to blogLogon to a switch that you think might likely be
or just a website for you own purposes but don'tthe candidate switch or simply logon to the core
know how to create an HTML code for it? Wellswitch, then go to the Privileged EXEC mode.
here's is the perfect solution the small obstacleSwitch1> enable Switch1#
you are facing right now .If you know the IP address of the device then
- Thesis theme word press is here to the rescue.try to ping it from within the switch. If the device
This thesis theme word press will allow you tois pingable, then do a simple sh ip arp command.
code your website without even the knowledgeThis command will show the MAC address of the
of coding. The best aspect of this is that it does itdevice.
even without any errors. You may wonder whySwitch1#sh ip arp 10.1.1.3 Protocol Address Age
does this help because you have heard of many(min) Hardware Addr Type Interface Internet
people creating codes with errors in it but they10.1.1.3 8 001b.783a.a854 ARPA VLAN1
still have a website.Then, do the show mac-address command on
The fact is that when a person looks upthe switch. This will show the interface to which it
something on a search engine, the search engineis connected to or through which it is lerned.
looks for the html codes of various websites andSwitch1# sh mac-address-table address
places the one with the least errors right on top.001b.783a.a854 Non-static Address Table:
This is called indexing. Indexing helps promoteDestination Address Address Type VLAN
your website. This feature in word press is calledDestination Port 001b.783a.a854 Dynamic 1
search engine optimization (SEO). Word pressFastEthernet0/31 Switch1#
boasts of the best SEO in business.This indicate the the device is connected to port
Thesis has so many features that it may just beFastEthernet0/31. There you can find the device.
difficult to put ink to paper about them but theIf the result indicates that the device is connected
complete package is simply outstanding. It doesn'tthrough another switch by an uplink interface,
really matter what kind of site you are trying tothen simply do a sh cdp neighbor detail command
build, thesis word press is the ideal base for everyto see the information of the switch that through
kind of website. Its features included addingwhich the device connected to.
pictures, videos in transitional moves so the siteSwitch1#sh cdp neighbor detail Device ID:
looks extremely attractive. you can just about doFOX04364368(Switch2) Entry address(es): IP
anything with all the fonts, styles and colors.address: 10.1.0.2 Platform: WS-C4006, Capabilities:
The best part is that if you already have made aTrans-Bridge Switch Interface: FastEthernet0/48,
website with word press and want to redesign it,Port ID (outgoing port): 6/37 Holdtime : 140 sec
you don't have to worry about the code gettingVersion : WS-C4006 Software, Version McpSW:
messed up and you having to work on it again.6.3(5.0) NmpSW: 6.3(5) Copyright (c) 1995-2002
This is what word press does, it takes the codeby Cisco Systems, Inc. advertisement version: 2
and keeps it separately so if you have toVTP Management Domain: 'mydomain' Native
redesign your website, you don't have to worryVLAN: 1 Duplex: full
about working on your code and ranking again!Logon to the connected switch and then run
That part of it remains untouched.through it again find the port. You might need to
If you want to get your hands on the packagerepeat the steps until you find the switch and the
you must first consider how many websites doport.
you have to your name and how many websitesIf you are using the Catalyst 4006 that use
do you have to work on. You would do thisCatOS, the command will slightly different.
because there are two types of licences that youUse sh cam dynamic to see the mac-address
can acquire.table. It will list all mac-address table on the switch.
One is for a single website and one for multipleSwitch2> (enable) sh cam dynamic * = Static
websites. Think carefully before going for theseEntry. + = Permanent Entry. # = System Entry.
options. the other options that you can include inR = Router Entry. X = Port Security Entry $ =
your word press are that you have the ability toDot1x Security Entry VLAN Dest MAC/Route
link your main site with affiliate sites, you can pickDes [CoS] Destination Ports or VCs / [Protocol
and choose which pages you want to put onType] 1 00-00-aa-b4-52-12 2/1 [ALL] 1
display and which you don't want either than00-06-b1-12-1e-e2 2/2 [ALL] 1 00-0c-29-1d-f8-e8
letting you display all the random pages, you have2/1 [ALL] If you know the MAC address, the find
the option to check or uncheck several boxeswhich port a device is connected to, simply use
that have various options for you and asthis command: Switch2> (enable) sh cam
mentioned earlier you can rotate between00-02-b3-b0-4c-83 * = Static Entry. + =
pictures and videos.Permanent Entry. # = System Entry. R = Router
The after sales support is very well known. TheyEntry. X = Port Security Entry $ = Dot1x
offer a whole range of support to those whoSecurity Entry VLAN Dest MAC/Route Des [CoS]
need it. This is a very positive aspect that drawsDestination Ports or VCs / [Protocol Type] 1
people to use their software.Some times you00-02-b3-b0-4c-83 6/23 [ALL] Total Matching
need to trace a device (PC or notebook) isCAM Entries Displayed =1 Switch2> (enable)
connected to which switch and port. For example,This indicate the port to which the device is
you need to find which switch and port isconnected to.
connected to a rogue DHCP server. If you areIf you prefer to use GUI application, there are
using Cisco catalyst switch, having the device IPsome application that make it easier to do this
and/or MAC address in hand you can find thetask.
device by searching at the mac address table ofSome of them are Managed SwitchPort Mapping
the switch. Although it is not difficult to do, in a bigtool, and Solarwind. Managed SwitchPort Mapping
network, this task can be time consuming. Heretool is a small/simple application just for switch
are the steps to do it.and router port mapping.