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.
When locating faults of DHCP, AAA, or NAC service during user access, maintenance personnel can create diagnosis objects to diagnose services and locate the faults.
Users with different services have different attributes. Create diagnosis objects for different services based on different attributes.
The configurations of the trace enable and trace syslog source commands are not recorded in the configuration file. After the device restarts, run these commands again to make service diagnosis take effect.
The wlan and process-wlan parameters are only supported by S5730-HI, S5731-H, S5731S-H, S6730-H, S6730S-H, S5732-H, S6720-HI, and S5720-HI.
The system view is displayed.
Service diagnosis is enabled.
By default, service diagnosis is disabled.
A diagnosis object is created.
By default, no diagnosis object is created. If you do not specify the direction at which information is exported, the default direction is the CLI.
It is recommended that you export the diagnosis information to a specified file.
The diagnosis output file cannot exceed 1 MB. The excessive diagnosis information is not recorded.
Diagnosis information in the device buffer is saved as a file.
When you specify the device to export diagnosis information as a file, to view real-time diagnosis information, save diagnosis information in the buffer area as a file.
An interface is configured for exporting diagnosis information to a log server.
By default, no interface is specified to export diagnosis information to a log server.
When you specify the device to export diagnosis information to a log server, configure an interface for exporting diagnosis information to the log server.
Run the display trace instance [ instance-start-id [ instance-end-id ] | mac-address mac-address | ip-address ip-address [ vpn-instance vpn-instance-name ] | interface interface-type interface-number | cid cid ] [ process-wlan ] command to view diagnosis instances on the device.
Run the display trace object [ service-object-id ] [ process-wlan ] command to view the configuration about a diagnosis object.