cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
508
Views
0
Helpful
3
Replies

Detemining MAC addresses on WS-C2950G switches

sdniel
Level 1
Level 1

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

Collin Clark
VIP Alumni
VIP Alumni

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

HTH and please rate if it does.

View solution in original post

royalblues
Level 10
Level 10

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

View solution in original post

ankbhasi
Cisco Employee
Cisco Employee
3 Replies 3

Collin Clark
VIP Alumni
VIP Alumni

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

HTH and please rate if it does.

royalblues
Level 10
Level 10

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

ankbhasi
Cisco Employee
Cisco Employee

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: