Aruba & ProVision-based
cancel
Showing results for 
Search instead for 
Did you mean: 

View Switch type in command line

Aaatsu
Occasional Visitor

View Switch type in command line

Hi, 

I work at a company with a large number of different types of HP switches. And we have now decided to change the banner message at the prompt from the default one. 

Sometimes when I am administering, I would want to check what type of switch I am working on (eg: 2650, 5406zl,). Is there any command from the CLI that will display this information directly? Iknow how to display system information, but this does only display the serial number for the device. 

Thank you!

4 REPLIES
Richard Litchfield
Respected Contributor

Re: View Switch type in command line

Try this command:

show modules details

The one below tells you the firmware code which by extension tells you the model number ;-)

Show version

HP-Browniee
Respected Contributor

Re: View Switch type in command line

And what about the command show version?

Aaatsu
Occasional Visitor

Re: View Switch type in command line

The Show Modules command does not work.
Show version does not give me the information I need.

I am starting to think that there are no way of actually finding what kind of device youre working on in an easy way..

KurtVWa
Occasional Visitor

Re: View Switch type in command line

Show run command gives you the produktnumber on one of the first lines of the output