Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

How to identify which server are connected in a switch?

Hi,

Many servers are connected to a switch?

How to identify what server are connected to which port remotely?

Thanks!

Samuel

1 ACCEPTED SOLUTION

Accepted Solutions
New Member

Re: How to identify which server are connected in a switch?

or show cam

9 REPLIES
Silver

Re: How to identify which server are connected in a switch?

You can trace your servers with the following methods:

show arp | include "IP address"

from this output copy the MAC of the server and use this address in the nest command.

show mac addres-table | include "MAC"

VLAN MAC Type Port

100 xxxx.xxxx.xxxx DYNAMIC Gi0/1

Finally you will got the port number where the server connects to.

bye

FCS

Please rate me if I helped.

New Member

Re: How to identify which server are connected in a switch?

it works in many switches.

but don't work in catalyst 5509, since no "show mac addres-table". Is there any other command instead?

New Member

Re: How to identify which server are connected in a switch?

CatOS or IOS? Try with dash after the mac

show mac-address-table

New Member

Re: How to identify which server are connected in a switch?

or show cam

New Member

Re: How to identify which server are connected in a switch?

it's CatOS.

i'll try it tomorrow when in office. thanks!

New Member

Re: How to identify which server are connected in a switch?

hi bella,

it works. thanks a lot! :)

Samuel

Re: How to identify which server are connected in a switch?

Hi Sam,

just issue the command show ip arp , it will display some thing like this for know the MAC address & the VLAN number.

Protocol Address Age (min) Hardware Addr Type Interface

Internet 10.2.1.18 9 0800.6913.710e ARPA Vlan2

to know on which port it is connected, just issue the command as mentioned below

sh mac-address-table address 0800.6913.710e

Mac Address Table

-------------------------------------------

Vlan Mac Address Type Ports

---- ----------- -------- -----

2 0800.6913.710e DYNAMIC Po1

hpe this will help you to identify your servers.

rate this post.

New Member

Re: How to identify which server are connected in a switch?

How come a layer 2 switch holds an ARP-table? Isn't it something a layer 3 device should have?

thx in advance,

New Member

Re: How to identify which server are connected in a switch?

Hi,

I have a L3 switch (CAt 3560) and when I do a show arp I only see the private ips for my internal network through vlan 2 which is only for managemnet of this switch on port gi0/1 but no MAC address for the devices I have connected to other ports or interfaces with public IP address?

this switch sits on the edge of my network connecting my routers and PIXs together.

is this naural behavior? i think I must see the MAC addresses all the devices ocnnected to this switch ports?!

any thoughts?

Thx,

Masood

255
Views
5
Helpful
9
Replies
CreatePlease to create content