MAC addresses behind an interface - CatOS.

How can I see how many MAC address are associated with a specific mod/port?

TIA

Alex.

Reply to
AM
Loading thread data ...

No easy way to do it, besides counting by hand, or grabbing things with SNMP, and doing up your own script to do it.

show cam dynamic

and then pick your port and count.

Reply to
Doug McIntyre

There is somthing in between a script and doing it all by hand and is what I use quite a bit.

Assuming Windows:

Do the sh cam dyn, cut the text out and paste into a text file called say file.txt.

Use find "slot/port" file.txt to list the ports.

I have a unix style utility called wc which automates the counting of the ports.

find "slot/port" file.txt | wc

To save fiddling with notepad

copy con file.txt Paste in the file Press [Control]Z [Return]

The unix utilities that I have are gnu ones which I got years ago.

Maybe the best thing now is to install cygwin and use that.

Use a decent telnet program too. e.g. Putty.

Reply to
anybody43

SH CAM DYNAMIC | INC /

works pretty well on Cisco 4006 8.3(2)GLX

Thanks to all,

Alex.

Reply to
AM

SH CAM DYNAMIC | INC /

Moreover to search for a MAC address use the command case-insensitive otherwise the search string won't match.

sh cam dyn | case inc

Works pretty well on Cisco 4006 8.3(2)GLX

Thanks to all,

Alex.

Reply to
AM

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.