The IP/TCP/UDP traffic statistics cannot be restored after being cleared. Therefore, confirm your action before clearing the IP performance statistics.
Procedure
After you are determined to clear IP statistics, run the reset ip statistics [ interfaceinterface-typeinterface-number ] command in the user view.
After you are determined to clear statistics in a socket monitor, run the reset ip socket monitor [ task-idtask-idsocket-idsocket-id ] command in the user view.
After you are determined to clear statistics on the dual receive buffer of the socket, run the reset ip socket pktsorttask-idtask-idsocket-idsocket-id command in the user view.
After you are determined to clear RawIP statistics, run the reset rawip statistics command in the user view.
After you are determined to clear TCP statistics, run the reset tcp statistics command in the user view.
After you are determined to clear UDP statistics, run the reset udp statistics command in the user view.