In Cisco Routers, to show the Chassis Serial Number and the various network modules serial numbers and the part numbers, use the show diag command. The show diag command in Cisco IOS is used to display various Diagnostic information on Cisco Router. The command was introduced in Cisco IOS 11.2
Some of the very useful information that can be obtained using this command are:
- EEPROM version
- Hardware Revision and Board revision
- Chasis Serial Number and the serial number of various network modules installed
- Part Number and FRU Numbers for the router hardware and the various installed modules.
- RMA details
The command syntax is
# show diag [Slot][details][summary]
slot – is the slot number
detail – Detailed output
summary – One line summary output
Running the command without any arguements will display the complete diag information of the router and all the modules.
# sh diag
If you want to display only the output for slot 1 then
# sh diag 1
The output modifiers can be used to simply the output display.
If you want to display only the serial numbers for slot 1.
# show diag 1 | include Serial
To show the Chasis serial numbers
# show diag | include Chassis
This should help.