The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to register at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

ONTAP Hardware

Get SFP specific details using powershell

vishwand

team,

 

i am looking for some tips to find SFP details(vendor, partnumber,serialnumber ) using powershell. any tips or ideas

1 ACCEPTED SOLUTION

jcolonfzenpr

Hi,

 

You can use the Get-NcFcpAdapter command:

 

Get-NcNode | Get-NcFcpAdapter | Select-Object node,Adapter,portname,SfpPartNumber,SfpSerialNumber,SfpVendorName

 

 

Here are all the properties of the cmdlet:

Adapter                                        MaxSpeedSpecified                              SfpEncoding                                    
CacheLineSize                                  MediaType                                      SfpFcSpeedcapabilities                         
CacheLineSizeSpecified                         MpiFirmwareRev                                 SfpFormfactor                                  
ConnectionEstablished                          NcController                                   SfpPartNumber                                  
DataLinkRate                                   Node                                           SfpRev                                         
DataLinkRateSpecified                          NodeName                                       SfpRxPower                                     
ExternalGbicEnabled                            PacketSize                                     SfpSerialNumber                                
ExternalGbicEnabledSpecified                   PacketSizeSpecified                            SfpTxPower                                     
FabricEstablished                              PciBusWidth                                    SfpVendorName                                  
FabricEstablishedSpecified                     PciBusWidthSpecified                           SfpVendorOui                                   
FabricName                                     PciClockSpeed                                  SfpWavelength                                  
FirmwareRev                                    PciClockSpeedSpecified                         SfpWavelengthSpecified                         
HardwareRev                                    PhyFirmwareRev                                 Speed                                          
InfoName                                       PhysicalDataLinkRate                           SramParityEnabled                              
IsSfpDiagnosticsInternallyCalibrated           PhysicalDataLinkRateSpecified                  SramParityEnabledSpecified                     
IsSfpDiagnosticsInternallyCalibratedSpecified  PhysicalLinkState                              State                                          
IsSfpOpticalTransceiverValid                   PhysicalProtocol                               StatusAdmin                                    
IsSfpOpticalTransceiverValidSpecified          PortAddress                                    StatusExtended                                 
IsSfpRxPowerInRange                            PortAddressSpecified                           SwitchPort                                     
IsSfpRxPowerInRangeSpecified                   PortName                                       VlanId                                         
IsSfpTxPowerInRange                            PreloadTableRev                                VlanIdSpecified                                
IsSfpTxPowerInRangeSpecified                   SfpConnector                                   
MaxSpeed                                       SfpDateCode         

 

Another method may be to use the cmdlet Invoke-NcSsh to call sysconfig -a

 

Invoke-NcSsh "set adv -c off; sysconfig -a"

 

Hope this helps!

Jonathan Colón | Blog | Linkedin

View solution in original post

2 REPLIES 2

vishwand

Thanks Jonathan,

i am trying use "get-ncnetport" and "get-ncnode" . we don't have FCports

 

jcolonfzenpr

Hi,

 

You can use the Get-NcFcpAdapter command:

 

Get-NcNode | Get-NcFcpAdapter | Select-Object node,Adapter,portname,SfpPartNumber,SfpSerialNumber,SfpVendorName

 

 

Here are all the properties of the cmdlet:

Adapter                                        MaxSpeedSpecified                              SfpEncoding                                    
CacheLineSize                                  MediaType                                      SfpFcSpeedcapabilities                         
CacheLineSizeSpecified                         MpiFirmwareRev                                 SfpFormfactor                                  
ConnectionEstablished                          NcController                                   SfpPartNumber                                  
DataLinkRate                                   Node                                           SfpRev                                         
DataLinkRateSpecified                          NodeName                                       SfpRxPower                                     
ExternalGbicEnabled                            PacketSize                                     SfpSerialNumber                                
ExternalGbicEnabledSpecified                   PacketSizeSpecified                            SfpTxPower                                     
FabricEstablished                              PciBusWidth                                    SfpVendorName                                  
FabricEstablishedSpecified                     PciBusWidthSpecified                           SfpVendorOui                                   
FabricName                                     PciClockSpeed                                  SfpWavelength                                  
FirmwareRev                                    PciClockSpeedSpecified                         SfpWavelengthSpecified                         
HardwareRev                                    PhyFirmwareRev                                 Speed                                          
InfoName                                       PhysicalDataLinkRate                           SramParityEnabled                              
IsSfpDiagnosticsInternallyCalibrated           PhysicalDataLinkRateSpecified                  SramParityEnabledSpecified                     
IsSfpDiagnosticsInternallyCalibratedSpecified  PhysicalLinkState                              State                                          
IsSfpOpticalTransceiverValid                   PhysicalProtocol                               StatusAdmin                                    
IsSfpOpticalTransceiverValidSpecified          PortAddress                                    StatusExtended                                 
IsSfpRxPowerInRange                            PortAddressSpecified                           SwitchPort                                     
IsSfpRxPowerInRangeSpecified                   PortName                                       VlanId                                         
IsSfpTxPowerInRange                            PreloadTableRev                                VlanIdSpecified                                
IsSfpTxPowerInRangeSpecified                   SfpConnector                                   
MaxSpeed                                       SfpDateCode         

 

Another method may be to use the cmdlet Invoke-NcSsh to call sysconfig -a

 

Invoke-NcSsh "set adv -c off; sysconfig -a"

 

Hope this helps!

Jonathan Colón | Blog | Linkedin

View solution in original post

Announcements
NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner
Public