Link to home
Start Free TrialLog in
Avatar of annasad
annasadFlag for Canada

asked on

Findings ports on Cisco Switches

Hi I just took over a network which has some 3 switches of 48 ports ...

now i have different departments and now i want to know which port is connected to which computer on which floor ...

can you suggest me any commands and their sequence to find out which ports are going in which department ..

As of now i am unplugging each port from the computer and checking from the switch so see if status is down and then note them in excel ,

can there be a better way , dont wanna buy any stuff for this exercise

thanks
SOLUTION
Avatar of keno44
keno44

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of keno44
keno44

You may have to run the command from each switch until you find the MAC address.
Avatar of David Akinsanya
If you have a desktop management tool, run a log of the mac addresses of the computers.

Another way of getting this is checking the DHCP leases and compile the computers with their mac address.

Tools like advanced IP scan (free) tool can also help you in the compilation of the MAC addresses of the computers.

Once you have the list of mac addresses, run the following command if your switch is a Cisco device. If not, look up the specific command syntax for your switch

show mac address-table

You will see the list of MAC addresses connected to particular ports.
Compare these addresses with your previous compilation
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of annasad

ASKER

yes , thanks for above tips , both DHCP lease option or advance IP scanner can be a good option to use , also if I am trying to find wall sockets that i am not sure which switch they go to ?

is there a better way to find those ports that are not used live ,

As of now , i just connect the laptop to the wall socket and then go to switch and enter

show inter connected command , and then see if there is any addtional port shown as connected  ..

so count the ports and before connecting laptop and then after , and find out which port is this ...

any better way that can eased this offline points ?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of annasad

ASKER

above posts helps me to do my stuff , sorry for replying late on this one .