cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
281
Views
10
Helpful
3
Replies

Server check.

examples20001
Level 1
Level 1

Hi All,

I have so many server connected to directly L3 switch, under so many VLan's.

How is it possible to check which server is connected to which port of switch?

1 Accepted Solution

Accepted Solutions

ankbhasi
Cisco Employee
Cisco Employee

Hi Friend,

If you know the ip address of your servers then you can issue a command "sh ip arp " and get the mac address binded with that ip address.

Then issue a comand "sh mac-address-table address " and this will give you the interface number on which that mac address is learned.

HTH

Ankur

View solution in original post

3 Replies 3

ankbhasi
Cisco Employee
Cisco Employee

Hi Friend,

If you know the ip address of your servers then you can issue a command "sh ip arp " and get the mac address binded with that ip address.

Then issue a comand "sh mac-address-table address " and this will give you the interface number on which that mac address is learned.

HTH

Ankur

Is it same command for L2 switchs also?

Hi Friend,

L2 switch will not give you ip address to mac address binding. It does not maintain the arp entry for all machines connected to it.

To get the mac address from ip address you have to go to your L3 switch or router first and issue "sh ip arp

HTH

Ankur

*Pls rate all helpfull post

Review Cisco Networking products for a $25 gift card