09-24-2004 10:48 AM - edited 03-02-2019 06:45 PM
Hi,
I would like to get all the MAC addresses of the systems connected to my Cisco 4506.
I already tried show mac-address-list and then I selected only the unicast addresses.
But the quantity of them varies on time and I got reported only a few of the devices connected. I have more computers in that switch but their MAC addresses are not listed even the ports are active.
How can I get a complete list of connected systems?
Thanks.
09-24-2004 11:01 AM
Try using the show mac-address-address command, which should show you all the mac addresses and the associated ports.
Bill
09-25-2004 04:53 AM
Hi,
waht you describe is the normal behaviour of a switch. A switch will learn mac-addresses only when the client sent any traffic. The only way toreahc this is to sent a broadcast to which all clients must answers. You can use some network tools for this.
When the client answer the switch learn the mac-addresses and you can see it in the table.
Regards
Peter
09-26-2004 12:33 PM
Something else to consider is changing the mac aging time.
Never having used a cat4000, I can't give you the exact command. on a cat6000 you can do
set cam aging 1-1000 21600
to have the switch remember MAC addresses for up to 6 hours instead of the default 5 minutes.
Something else that may or may not work on a cat4000:
snmp-server 3nable traps MAC-Notification
interface
snmp trap mac-notification added
to get an SNMP trap showing the port and mac address whenever the switchport learns a new mac addr
Regards,
Lee
09-27-2004 01:52 AM
Another way of doing it is to switch on port security on every access port, but without the disable action, and see what MAC address gets registered on each port.
Are you CatOS or IOS?
Kevin Dorrell
Luxembourg
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