watch [differences] [interval seconds] commandwatch
• differences—Highlights the differences in the command output.
• interval seconds—Specifies how often the command output is refreshed. The range is from 0 to
2147483647 seconds.
• command—Specifies the command that you want to watch.
The following example shows how the watch command can be used to refresh the output of the show interface
eth1/15 counters command every second and to highlight any differences:
switch# watch differences interval 1 show interface eth1/15 counters
Every 1.0s: vsh -c "show interface eth1/15 counters" Mon Aug 31 15:52:53 2015
--------------------------------------------------------------------------------
Port InOctets InUcastPkts
--------------------------------------------------------------------------------
Eth1/15 583736 0
--------------------------------------------------------------------------------
Port InMcastPkts InBcastPkts
--------------------------------------------------------------------------------
Eth1/15 2433 0
--------------------------------------------------------------------------------
Port OutOctets OutUcastPkts
--------------------------------------------------------------------------------
Eth1/15 5247672 0
--------------------------------------------------------------------------------
Port OutMcastPkts OutBcastPkts
--------------------------------------------------------------------------------
Eth1/15 75307 0
Additional References for Troubleshooting Tools and
Methodology
Related Documents
Document TitleRelated Topic
Cisco Nexus 9000 Series NX-OS System Management
Configuration Guide
System management tools
Cisco Nexus 7000 Series and 9000 Series NX-OS MIB
Quick Reference
MIBs
Cisco Nexus 9000 Series NX-OS Troubleshooting Guide, Release 7.x
109
Troubleshooting Tools and Methodology
Additional References for Troubleshooting Tools and Methodology