I have a question regarding the network core module “ios_command”. I want to clear counters on some interfaces through a play. When I send the command directly through an SSH connection, the process is the following :
rtr-site6#clear counters GigabitEthernet 0/0
Clear “show interface” counters on this interface [confirm]c
The router expects me to confirm the action. I tried to do it with the following play: