I have not found a command that will reliably give me the serial number for a 7200 router. Some people report that show version can do this but I have tried it on several 7200 routers and it has never given me a value that matches the number on the sticker. I have had good luck with show inventory on the ISR routers but every time I have tried it on 7200 routers I do not get the right value.
There ought to be a command that does this. But I have not found it.
Thank you to everyone for your responces. I have tried every show command possible and entered every number that fit the serial number format and nothing. I ended up finding it in some of my old paperwork because I happened to write it down when I was working a problem.
Yes, the chassis s/n cannot be read because the backplane is totally passive. You can obtain s/n for the NPE and PAs, as expected.
To make it clear once for all:
There is NO command to read the serial number of a 7200 router chassis.
That is relieving Maria, otherwise I would feel like the 5 years spent working on it my primary product, would have been totaly wasted...
Here is a option, read the tag on the back of the chassis and input it into the config of the system. Most of these are being replaced so not a big deal anymore. However this also allows SNMP to get it correct in reports.snmp-server chassis-id 7xxxxxxx –> hardcode the serial number using SNMP show snmp chassis –> shows the hardcoded serial number