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

Basic Switch Interface Question

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

4 REPLIES
Community Member

Re: Basic Switch Interface Question

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

Re: Basic Switch Interface Question

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.

Purple

Re: Basic Switch Interface Question

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 :-)

Re: Basic Switch Interface Question

I'd go with CDP too.

Really usefull.

vlad

108
Views
0
Helpful
4
Replies
CreatePlease to create content