Basic Switch Interface Question

Unanswered Question
Jun 5th, 2006
User Badges:

Hi


I've have six 3548xl switches, and have fibre links going from gigabit ports 1 and 2 to another. These links haven't been labeled, so I'm unsure which switch each fibre link is going to. Is there an IOS command (currently running IOS 12.0(5)) I could run that would show me the destination switch's mac address to which the connection is going into?


So to illustrate this, let's say I'm on switch 1 and the fibre link is running to another switch, what command could I run on switch 1 that will tell me the destination hardware address that the fibre is directly connected into?


Thanks in advance for your help.


Dan

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
daniel.bowen Mon, 06/05/2006 - 01:01
User Badges:

Show mac-address table interface g1/0/1


this should show you the MAC addresses being learnt on the interface you type in.


HTH,


Dan

Roberto Salazar Mon, 06/05/2006 - 07:35
User Badges:
  • Gold, 750 points or more

show mac-address-table will show you where the is connected.

show mac-address-table interface x/x will show you what mac-address is being learned on interface x/x. This is what you asking for.

show cdp neigh x/x detail will show you if the connected device is a Cisco, it will have it's system ID, IP addresss, etc.


Please rate helpful posts.

glen.grant Mon, 06/05/2006 - 08:53
User Badges:
  • Purple, 4500 points or more

Am I missing something here , why don't you just use CDP , this tells you exactly where it is going if it is a cisco switch on the far end . "show cdp neighbor detail" is your friend :-)

vladrac-ccna Mon, 06/05/2006 - 08:55
User Badges:
  • Silver, 250 points or more

I'd go with CDP too.


Really usefull.


vlad

Actions

This Discussion