which snmpget command able me to get Serial number from Cisco device. I use to
"snmpget -v1 -c communitystring hostorIP mib-22.214.171.124.126.96.36.199" or snmpget -c community hostorIP cisco.temporary.chassis.chassisId.0 but most of the time I didn't get serial number.I can get few serial number then I got blank. should I need to use different snmpget command for different cisco device? I am looking one or two good command to add on my sript. highly appreciated any suggestion or link related to my question.
The DEE data is only available in XML. However, you can also use cwcli to export standard inventory reports such as the Detailed Device Report. For example:
cwcli invreport -u admin -p admin -reportname "Detailed Device Report" -device 10.1.1.1
This output will be in CSV format. You can even run inventory custom reports using this method. So you could define a report that only outputs devices and chassis serial numbers, then run it with cwcli.
Help on all of the cwcli commands can be found in the RME online help at: