- Community Home
- >
- Networking
- >
- Switching and Routing
- >
- HPE Aruba Networking & ProVision-based
- >
- View Switch type in command line
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2017 07:53 AM
11-01-2017 07:53 AM
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!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2017 03:35 AM
11-02-2017 03:35 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-02-2017 03:37 AM
11-02-2017 03:37 AM
Re: View Switch type in command line
And what about the command show version?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2017 05:20 AM
12-11-2017 05:20 AM
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..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-24-2017 07:59 AM
12-24-2017 07:59 AM
Re: View Switch type in command line
Show run command gives you the produktnumber on one of the first lines of the output
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2018 02:29 AM
10-19-2018 02:29 AM
Re: View Switch type in command line
Yes, Thank you. That way we can google the product number and find the switch type.
But, I was wondering if there are no way to display it directly, like it is displayed in the standard banner.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2018 03:59 AM
10-19-2018 03:59 AM
Re: View Switch type in command line
You can with snmp....
On the CLI try:
Getsnmp sysDescr.0
You get the productnumber the software and... the name of the product
HTH
Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2018 10:46 PM
10-24-2018 10:46 PM
Re: View Switch type in command line
Thanks,
But that command does not seem to work on any of our switches unfortunately.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2018 10:58 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2018 11:00 PM
10-24-2018 11:00 PM
Re: View Switch type in command line
Voila! There it is!
Thank you very much, this was exactly what I was looking for.
Have a nice day!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2019 11:08 PM - last edited on 02-07-2019 08:57 PM by Parvez_Admin
02-06-2019 11:08 PM - last edited on 02-07-2019 08:57 PM by Parvez_Admin
Re: View Switch type in command line
for me both "show modules" and "show modules details" are working
dasw1# show modules
Status and Counters - Module Information
Chassis: 5412zl J8698A! Serial Number: Confidential Info Erased
Allow V1 Modules: Yes
Management Module: J8726A Serial Number: --- Core Dump: YES
Core Mod
Slot Module Description Serial Number Status Dump Ver
---- -------------------------------------- -------------- -------- ----- ---
A HP J9309A 4p 10-GbE SFP+ zl Module -- Up NO 1
B HP J9534A 24p Gig-T PoE+ v2 zl Module -- Up YES 2
C HP J8702A 24p Gig-T zl Module -- Up NO 1
D HP J8702A 24p Gig-T zl Module -- Up NO 1
E HP J8702A 24p Gig-T zl Module -- Up NO 1
F HP J8702A 24p Gig-T zl Module -- Up NO 1
G HP J8705A Gig-T/SFP zl Module -- Up NO 1
H HP J9534A 24p Gig-T PoE+ v2 zl Module -- Up YES 2
dasw1#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2019 12:32 AM
02-07-2019 12:32 AM
Re: View Switch type in command line
Yes, those are good if you have a module switch and you need to know the info about the different modules.
"getmib sysdescr.0" was indeed what I was looking for.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-11-2019 03:16 AM
03-11-2019 03:16 AM
Re: View Switch type in command line
show lldp info local
If your switch supports piping it you can filiter the output (case sensitive):
show lldp info local | inc System Description
or
show lldp info local | inc J
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-28-2021 02:07 PM - edited 02-28-2021 02:09 PM
02-28-2021 02:07 PM - edited 02-28-2021 02:09 PM
Re: View Switch type in command line
show tech components | incl Product