That is fantastic, thank you very much for your answer Peter!
Le jeudi 22 septembre 2016 23:24:37 UTC+2, Peter Sprygada a écrit :
>
> In 2.1 there is no way to handle this.
>
> We added a new capability in 2.2 (current devel branch) that will allow
> you to do this. The new task would look
In 2.1 there is no way to handle this.
We added a new capability in 2.2 (current devel branch) that will allow you
to do this. The new task would look like this:
- name: Clear counters
connection: local
tasks:
- ios_command:
host: "{{ inventory_hostname }}"
commands:
Hi,
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"