Repeats the specified CLI command at periodic intervals
watch <1-3600> <LINE>
watch <1-3600> <LINE>
watch |
Repeats a CLI command at a specified interval (in seconds) |
<1-3600> |
Select an interval from 1 - 3600 sec. Pressing CTRL-Z halts execution of the command. |
<LINE> |
Specify the CLI command. |
In the following example, the controller pings the specified IP address once in every 40 seconds.
NOC-NX9500>watch 40 ping 10.234.160.13 PING 10.234.160.13 (10.234.160.13) 100(128) bytes of data. 108 bytes from 10.234.160.13: icmp_seq=1 ttl=64 time=0.257 ms 108 bytes from 10.234.160.13: icmp_seq=2 ttl=64 time=0.176 ms 108 bytes from 10.234.160.13: icmp_seq=3 ttl=64 time=0.170 ms 108 bytes from 10.234.160.13: icmp_seq=4 ttl=64 time=0.170 ms 108 bytes from 10.234.160.13: icmp_seq=5 ttl=64 time=0.169 ms --- 10.234.160.13 ping statistics --- 5 packets transmitted, 5 received, 0% packet loss, time 3998ms rtt min/avg/max/mdev = 0.169/0.188/0.257/0.036 ms PING 10.234.160.13 (10.234.160.13) 100(128) bytes of data. 108 bytes from 10.234.160.13: icmp_seq=1 ttl=64 time=0.251 ms 108 bytes from 10.234.160.13: icmp_seq=2 ttl=64 time=0.174 ms 108 bytes from 10.234.160.13: icmp_seq=3 ttl=64 time=0.154 ms 108 bytes from 10.234.160.13: icmp_seq=4 ttl=64 time=0.170 ms 108 bytes from 10.234.160.13: icmp_seq=5 ttl=64 time=0.169 ms --More-- NOC-NX9500>