Quantcast
Channel: THWACK: All Content - Network Configuration Manager
Viewing all articles
Browse latest Browse all 6057

Command Script to deal with confirmations

$
0
0

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#


Viewing all articles
Browse latest Browse all 6057

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>