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

Connected ip on Switchport

Hi!

I have a C6509 (IOS) with a lot of servers connected to it. I want to retreive information about which server (IP) is connected on each port. I also wish to detect if the connected MAC address changes. (when a server is disconnected and a new server is connected in the same port)

Does anyone have a good idea?

I have a Cisco Works installation, and also familiar with perl if this can help.

Tommy

2 REPLIES
Silver

Re: Connected ip on Switchport

Tommy,

To get the physical port you'll need two things.

1. show ip arp ( to give you IP to MAC information)

2. show mac (give you MAC to physical port information)

To get this scripted I hope that someone else on the alias can assist

Hope this helps you,

Don

New Member

Re: Connected ip on Switchport

Don,

do you know how to get this information via SNMP?

Which OID do I have to look for to retrieve this info? Which MIB file?

Thanks in advance,

Steve

102
Views
0
Helpful
2
Replies
CreatePlease to create content