10-06-2006 07:13 AM - edited 03-03-2019 05:24 AM
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
Solved! Go to Solution.
10-06-2006 07:17 AM
Please try 'show mac-address-table interface fa0/12'
HTH and please rate if it does.
10-06-2006 07:18 AM
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
10-06-2006 07:22 AM
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
10-06-2006 07:17 AM
Please try 'show mac-address-table interface fa0/12'
HTH and please rate if it does.
10-06-2006 07:18 AM
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
10-06-2006 07:22 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide