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

View Switch type in command line

 
SOLVED
Go to solution
Highlighted
Occasional Visitor

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#

Highlighted
Occasional Advisor

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.

Highlighted
Occasional Visitor

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!