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

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

For an introduction to the new site, click here. And see here for current known issues.

New Member

Detemining MAC addresses on WS-C2950G switches

On my old WS-C3500XL switches (running IOS ver 12.0(5)WC5(fc1), I could input the following IOS command and figure out the MAC address of hosts that are connected to any switch port interface (int fa0/1 in the example below):

3500xl# show mac int fa0/1

Non-static Address Table:

Destination Address Address Type VLAN Destination Port

------------------- ------------ ---- --------------------

0800.20a4.eefe Dynamic 6 FastEthernet0/1

I work in the aerospace industry and this was very useful for me to verify hosts were connected to the correct switch port (especially in remote locations). It also allowed me to verify more easily find out if someone who shouldn't be connected to the net is (i.e. a user that might disconnect a Sun host to put his PC on the net).

On my newer WS-C2950G Catalyst 2950 switches running IOS ver 12.1(22)EA1b(fc1), it no longer supports this same IOS command. Is there another command I can use to get this info?

Thanks,

Scott

3 ACCEPTED SOLUTIONS

Accepted Solutions

Re: Detemining MAC addresses on WS-C2950G switches

Please try 'show mac-address-table interface fa0/12'

HTH and please rate if it does.

Re: Detemining MAC addresses on WS-C2950G switches

Hi Scott,

You can achieve the same with the following command

sh mac-address-table interface

eg

2950#sh mac-address-table interface fa 0/1

Non-static Address Table:

Destination Address Address Type VLAN Destination Port

------------------- ------------ ---- --------------------

0015.2bd7.1821 Dynamic 25 FastEthernet0/1

HTH

Narayan

Cisco Employee

Re: Detemining MAC addresses on WS-C2950G switches

Hi Scott,

You can try

show mac address-table interface

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2950/12120ea2/2950cr/cli2.htm#wp1024589

HTH

Ankur

3 REPLIES

Re: Detemining MAC addresses on WS-C2950G switches

Please try 'show mac-address-table interface fa0/12'

HTH and please rate if it does.

Re: Detemining MAC addresses on WS-C2950G switches

Hi Scott,

You can achieve the same with the following command

sh mac-address-table interface

eg

2950#sh mac-address-table interface fa 0/1

Non-static Address Table:

Destination Address Address Type VLAN Destination Port

------------------- ------------ ---- --------------------

0015.2bd7.1821 Dynamic 25 FastEthernet0/1

HTH

Narayan

Cisco Employee

Re: Detemining MAC addresses on WS-C2950G switches

Hi Scott,

You can try

show mac address-table interface

http://www.cisco.com/univercd/cc/td/doc/product/lan/cat2950/12120ea2/2950cr/cli2.htm#wp1024589

HTH

Ankur

126
Views
0
Helpful
3
Replies
CreatePlease login to create content