Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Server check.

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
Cisco Employee

Re: Server check.

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

3 REPLIES
Cisco Employee

Re: Server check.

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

New Member

Re: Server check.

Is it same command for L2 switchs also?

Cisco Employee

Re: Server check.

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

95
Views
10
Helpful
3
Replies
CreatePlease to create content