I want to wrtie and execute a script using NCM to clear counters on Cisco devices.
The command is easy enough - "Clear counters"
However IOS asks for confirmation - see below.
There are no IOS command switches to get around the confirmation.
Any ideas?
c617rt0#clear counters gigabitEthernet 0/0
Clear "show interface" counters on this interface [confirm]
c617rt0#