237display diagnostic-informationUse display diagnostic-information to display the operating statistics for multiple feature modulesin the system.Syntaxdisplay diagnostic-information [ hardware | infrastructure | l2 | l3 | service ] [ filename ]ViewsAny viewPredefined user rolesnetwork-adminnetwork-operatorParametershardware: Displays hardware-related operating statistics.infrastructure: Displays operating statistics for the fundamental modules.l2: Displays operating statistics for the Layer 2 features.l3: Displays operating statistics for the Layer 3 features.service: Displays operating statistics for upper-layer features.filename: Specifies a .tar.gz file to save the statistics to the file.Usage guidelinesYou can use one of the following methods to collect data for diagnostics and troubleshooting:• Use separate display commands to collect running status data module by module.• Use the display diagnostic-information command to bulk collect running data for multiplemodules.This display command does not support the | by-linenum option, the > filename option, or the >>filename option. However, this command asks you whether you want to save the output to a file ordisplay the output on the screen. The file used to save the output is automatically compressed tosave storage space.Examples# Display the operating statistics for multiple feature modules in the system. display diagnostic-informationSave or display diagnostic information (Y=save, N=display)? [Y/N]:n==============================================================display clock===============14:03:55 UTC Thu 01/05/2012================================================================display version===============…display environmentUse display environment to display the temperature statistics for the temperature sensors,including the current temperature and temperature alarm thresholds.