How can I see how many MAC address are associated with a specific mod/port?
TIA
Alex.
How can I see how many MAC address are associated with a specific mod/port?
TIA
Alex.
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.
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.
SH CAM DYNAMIC | INC /
works pretty well on Cisco 4006 8.3(2)GLX
Thanks to all,
Alex.
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.
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.