How can I use NPM or NCM to discover all Cisco switch ports that are attached to devices from a specific printer manufacturer, and display the switch / port information in a list for a remediation task?
I have 300 devices (out of nearly 50,000 devices connected to several hundred Cisco switches across three states) for which I must remove a line of configuration from their switch ports. I'd love to learn how to leverage the capabilities of NPM and NCM to accomplish this.
Is there some functionality I can enable or turn-on in NPM or NCM to track devices' MAC addresses and IP addresses and enable me to list & sort / filter them?
Specifically, these are Zebra bar code printers. I have a spreadsheet of all their MAC addresses and IP addresses, and I'm tentatively resigned to SSH-ing into several hundred routers, manually using the "sho mac add add" command to see which switches the MAC addresses are in, then SSH-ing into the switches and using that same command to discover the switchports involved, and then manually reconfiguring those ports to remove a line of Cisco code.
It seems like NPM and NCM could be configured somehow to report/discover the switch ports. And if a given starting six-digit MAC address was present, then to issue a specific cisco config command to remediate that port's configuration.
What do you think--is this possible? And if so, how can I make it happen using NPM? I know how to build a basic Policy Report and set up remediation on it--it's just discovering the actual switches and ports on which to implement it.
Maybe cvachovecj or DanielleH can provide me a direction to investigate?
Yours,
Rick Schroeder