Jon Marshall Mon, 11/10/2008 - 00:53
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Vinoth


This is a 2 step process.


1) Find the mac-address that is connected to the port ie.


sh mac-address-table interface gi0/2


2) Then you need to log on to the device that does the routing for this device which will either be a router or a L3 switch


sh arp | include


Jon

gnijs Wed, 11/12/2008 - 06:33
User Badges:
  • Bronze, 100 points or more

Or if you have ip dhcp snooping enabled, its easy:


sh ip dhcp snooping binding

John Blakley Wed, 11/12/2008 - 07:03
User Badges:
  • Purple, 4500 points or more

I do it the way Jon describes. It works great.


Also a tip, if you're trying to find out where other switches connect to your core (assuming you're doing this on the core), you can do a sh int to find the mac address of that switchport, and then look for that mac address on the other switch to find out what port it connects to. Works well. I just had to map out my network doing it this way.


--John

Actions

This Discussion