Some platforms have this ability, such as the 7500 with "sh rsp chassis-info" but others don't, such as the 7200.
On this platform, there is no way in IOS. The "show inventory" output gives you the same value as the Processor Board ID in "show ver"
Unfortunately, the only way to get the serial# for this platform is by physical inspection.
I verified this on a lab switch, which, by physical inspection had a SN of JMX0703J0FT
show ver and show inv (snipped):
Processor board ID FOC06520W9E (1100777997), with 1 FastEthernet/IEEE 802.3 interface(s)
32K bytes of non-volatile configuration memory.
NAME: "1721 chassis", DESCR: "1721 chassis, Hw Serial#: 1100777997, Hw Revision: 0x100"
PID: 1721 , VID: 0x100, SN: FOC06520W9E (1100777997)
*Please rate helpful posts
HI, "Show Diag" is always better than "Sh Inventory" for seeing the serial number of the PCB and individual cards. "Sh inventory" gives lot of text.
There is a command available in recent code of show inventory. Recently when I had an issue with a 7206 in a site which was not local I was happy to have this command available and it successfully gave me the serial number of the router.
So check your IOS box and see if it supports the show inventory command.
Hi, Cisco Works gladly retrieves SN's for almost every Cisco device on your network. Not sure if you have it running or not, but you can run reports to get that information fairly easily.
I am pretty sure CiscoWorks uses SNMP to query the router for its serial number.
If you have an SNMP client, you should be able to poll the following OID (from the Entiry MIB):
That will give you a description of the type of router and its serial number
Hope that helps - pls rate the post if it does.
This is still limited by the ability of a specific platform to display its chassis serial number. The 1721, for example, does not have the chassis serial# programmed into an eeprom such that it can be polled. If you poll it with Ciscoworks, it will report the processor ID, as displayed by show ver.
However, for platforms that do have the chassis serial# programmed into a PROM or other such chip, you certainly can use SNMP to poll a device for its chassis serial#.