Cisco IOS (Cisco network operating system) contains several important show commands, which every network administrator should understand, one of which is the show Diag command, a very few known commands that provide diagnostic information about routers and its controllers and interfaces. This article describes in detail how to use the show Diag command to help administrators understand how to use these diagnostic data in day-to-day network maintenance management, and how to modify the output to prevent the deluge of information.
Before we discuss the functionality of this command, we should first take a look at some of the sample output of the command, and before you peruse the output, you can see that the number of output of the command information depends on the number of modules in the router. The show Diag command returns the following information about the router-related module/adapter: Hardware version, Board revision, RMA number and history (RMA # and history), chassis serial numbers (chassis serial), Cisco's Interchange Cell Code (field replaceable unit), Cisco part code (the true part code of the device), the technical Register of the backplane (including power supply and temperature state), the integrated port on the device master, the serial number of the WIC card in the device, and the part code, And the part code, port information and serial number of the network module inserted in the device.
With the example above, you can see that the show Diag command can get a lot of valuable information. However, you can save time by reducing unnecessary information, for example, if you know that your Fast Ethernet module is in slot 3, and you just want to know the diagnostic information for that device, you can type this:
router# Show Diag 3
The second option is to use the pipe symbol "|" To include, exclude, or output information at a particular point. For example, if you want to know all the FTU digital, then you can enter:
Router# sh diag | inc FRU
Product (FRU) Number : CISCO3845
Product (FRU) Number : CISCO3845-MB
FRU Part Number: NM-30DM=
Or, you want to see all the serial numbers. Then you can enter this way:
Router# sh diag | inc Serial
PCB Serial Number : FOC01235PXN
Chassis Serial Number : FTX0123A5PE
PCB Serial Number : FOC0123215M
Chassis Serial Number : FTX0123A5PE
Serial number 33182140 Part number 74-0573-05
Serial number 33249414 Part number 800-19400-01
PCB Serial Number : FOC012322VP
Serial number 32447190 Part number 800-02316-05
PCB Serial Number : FOC01234ABM
central#
After mastering the show Diag Command, the network administrator can use it to understand the router's details and improve the efficiency of the network.