Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Locating A device on a switch 1

Status
Not open for further replies.

3wsparky

IS-IT--Management
May 25, 2003
121
GB
Writing this to remind my self more than anything but will be useful to others i hope

we have all trecked into the server room and crawled on our knees pushing pulling cables to find what port they goto on our switch.

well no need

login to your server
cmd
ipconfig /all - note the ip and mac address

telnet the switch you beleive the server to be connected to
from enable mode type the following
SW3750-HQ-102#sh ip arp
Protocol Address Age (min) Hardware Addr Type Interface

Internet 172.30.191.190 3 0013.2120.c3f2 ARPA Vlan530
SW3750-HQ-102#

then issue the following to see which port it is connected to

SW3750-HQ-102#sh mac-address-table | inc f2
530 0013.2120.c3f2 DYNAMIC Gi2/0/14
SW3750-HQ-102#

the f2 being the last two parts of the mac address

see no damaged cold knees or bad backs

hope this is of use
 
You can use the pipe function for almost anything in the switches including specifics within the config itself , pipeing certainly can save you time . All IOS switches operate the way you describe so that will work with any IOS switch.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top