Q: How do you clear the RX and TX counters on a NetScaler interface?
A: The clear interface <id> command clears the RX and TX counters on that particular interface. This command clears the statistics of the specified interface; it does not reset the interface.
For example:
> sh int 1/1
Interface 1/1 (Gig Ethernet 10/100/1000 MBits) #1
[...]
39h45m51s since last 'clear interface' command
RX: Pkts(119737) Bytes(12198548) Errs(0) Drops(90480)
TX: Pkts(123834) Bytes(13839723) Errs(0) Drops(13)
NIC: InDisc(0) OutDisc(0) Fctls(0) Hangs(0)
Done
> clear interface 1/1
Done
> sh int 1/1
Interface 1/1 (Gig Ethernet 10/100/1000 MBits) #1
[...]
0h00m01s since last 'clear interface' command
RX: Pkts(8) Bytes(622) Errs(0) Drops(1)
TX: Pkts(6) Bytes(788) Errs(0) Drops(0)
NIC: InDisc(0) OutDisc(0) Fctls(0) Hangs(0)
Done