12-13-2002 12:28 AM - edited 03-02-2019 03:34 AM
Hi,
I have a 2900 switch and currently in use. I would like to know which port is connect to my server. What command should I use. Thanks
12-13-2002 05:03 AM
If it's an 2900XL switch, try doing a "sh ip interface brief". If it's a 2926 switch, try doing a "show port"
12-13-2002 08:12 AM
You could looking in the forwarding table for the mac address of your server. Sorry - Im not sure exactly how you do that on the 2900's but it might point you in the right direction. The ARP table might show interface as well if you are lucky.
12-13-2002 12:25 PM
You have to know either the mac address or ip address . If you have the address from the switch ping the address and look in the arp table which will give you the mac . Then do a "sh mac-address-table" to see what port your server is connected to . If you already have the mac just skip the first step .
12-26-2002 10:01 PM
Thanks for all the help.. Thats help alots
01-01-2003 09:25 PM
The best way to do this is:
1. Assuming that the switch is on the same subnet as the server, then simply telnet to the switch, ping the server IP address then do "show arp". From the ARP cache, you'll see a corresponded MAC address to the IP address of the server. "Copy" the MAC address and then do "show mac address" and "Paste" in the MAC address
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