The trace enable command enables service diagnosis.
The undo trace enable command disables service diagnosis.
By default, service diagnosis is disabled.
Parameter |
Description |
Value |
---|---|---|
brief |
Configures the device to output brief service diagnosis information. |
- |
Usage scenario
It is difficult to locate problems during user access based on debugging information on existing networks because multiple users may get online or offline simultaneously and debugging information about a specified user cannot be displayed. Service diagnosis provided by the switch allows maintenance personnel to customize attributes and create diagnosis objects to diagnose information about services of specified users. To enable service diagnosis, run the trace enable command.
Follow-up Procedure
After service diagnosis is enabled, run the trace object command to create a diagnosis object. After an ID is generated for the diagnosis object, the system starts diagnosis services.
Precautions
Service diagnosis affects system performance. Therefore, enable service diagnosis only when fault locating is required. After locating faults, immediately run the undo trace enable command to disable service diagnosis.
The trace enable command is not recorded in the configuration file. Therefore, run the trace enable command again after the device restarts to make service diagnosis take effect.