Resetting the trace system
Before you run a new trace, verify that the trace system is reset for the type of trace that you want to run: SMB, Network, or Object.
The mmprotocoltrace command allows only one
simultaneous trace per component to avoid unexpected side effects. Before starting a new trace for a
component, you need to stop the previous trace if it is still running. After the trace is stopped,
its results are saved for later analysis. The trace results can be analyzed by using the
mmprotocoltrace status command. The trace results can be removed explicitly by
using the mmprotocoltrace clear command. If the trace results are not removed
explicitly, the system displays the following
prompt:
[root@ces5050-41 MC_ces5050-41] mmprotocoltrace start smb -c 1.1.1.1
For the following protocols traces are still running: smb
Starting new traces requires that all previous traces for the corresponding protocols are cleared.
Do you want to clear these traces? (yes/no - default no):
You
cannot proceed with the new trace, unless you have removed the old trace results.If a trace cannot be stopped and cleared as described, you must
perform the following recovery procedure:
- Run the mmprotocoltrace clear command in the force mode to clear the trace as
shown:
mmprotocoltrace --force clear smb
Note: After a forced clear, the trace system might still be in an invalid state. - Run the mmprotocoltrace reset command as
shown:
mmprotocoltrace reset smb