Re: [nv-l] Serial Number switch
This is not easy. Even if it's
just Cisco switches, some have chassis serial numbers which are held
in a different place in the MIB tree
to the module numbers.
a). If you are running CiscoWorks,
then it will know the serial numbers.
b). If there are'nt too many,
just telnet to each one and try 'sh version'.
c). If all the passwords are the
same, automate with the unix 'expect' package
d). Use snmpget
What I would do myself is to do an snmpwalk
of one device of each type, and find which mib variable holds the number.
Then create a smartset for each type.
Then list the smartset to a file with
something like 'nvUtil l SwitchType1 >file1'
Then write a script to do an snmpget
on each line of the file
> I need to obtain all the
serial numbers of the switches that there is in my network. Can you
give me an idea?