cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3210
Views
5
Helpful
9
Replies

How to identify which server are connected in a switch?

samuel0901
Level 1
Level 1

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

9 Replies 9

farkascsgy
Level 4
Level 4

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.

it works in many switches.

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

CatOS or IOS? Try with dash after the mac

show mac-address-table

or show cam

it's CatOS.

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

hi bella,

it works. thanks a lot! :)

Samuel

Anand Narayana
Level 6
Level 6

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.

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

thx in advance,

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: