Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
You may experience some slow load times, errors, and slight inconsistencies. We ask for your patience as we finalize the launch. Thank you.

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

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Catalyst 4500

I want to know if i can know the IP address or the MAC address are connected in each port from Catalyst 4500 and what´s the command to check this informatión.

  • Other Network Infrastructure Subjects
4 REPLIES
Bronze

Re: Catalyst 4500

here is an example on how to do that. Requires that the 4500 is the default gateway for the IPs you are looking for.

-> Gi2/1 has a PC with an IP of 1.1.1.1 and MAC address of 0000.1111.2222, and the default gateway for this IP is 1.1.1.2 ( the 4500 vlan 12 interface )

On the 4500 issue the "show mac-address dynamic int gi2/1" to get the mac address.

Then issue the "show ip arp | include 0000.1111.2222" to get the IP address.

If you have the IP and want to know the MAC, just apply the process in reverse.

Bronze

Re: Catalyst 4500

If your switch has CatOS, the command to find all MAC addresses seen through port x/y is "show cam dynamic x/y" If the switch has IOS, use the command "show mac-address-table interface type x/y".

To find the IP address for a device on a given port, go to a router (the MSFC in the 4500, if you have one) and enter the command "show ip arp (mac-address)" for the mac address you found on the port.

HTH

Mark

Purple

Re: Catalyst 4500

Depending on how new your router is and what code (12.0) or above and if it is running cef , you can on the MSF itself do a "show adjacency vlan XXX detail" and this will give you the ip address , mac address and even the dns name of the pc it is connected to . This is all stored in the cef tables . I have found this to be "Very" handy for one stop shopping for this info . If you are looking for this on on router you can just do a "show adjacency "interface" detail . You would have to cross reference this info with the mac tables of the switch below to see what pc is connected to what port .

New Member

Re: Catalyst 4500

Thanks for your help. The problem is that we don´t have router module in Catalyst 4500.

126
Views
0
Helpful
4
Replies