cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1897
Views
0
Helpful
4
Replies

UCS Server Vif Paths and vHBA pinning to uplink from PowerShell

Jeremy Waldrop
Enthusiast
Enthusiast

Is there anyway to pull Service Profile VIF Paths and the equivalent of show npiv-flogi table from PowerShell?

Also is there a way to show a dis-jointed domain VLAN mapping to interface or VLAN Group from PowerShell?

4 Replies 4

Hi any answers for this one?

i have the same interesting question.

/Allan

George D
Beginner
Beginner

did you ever end up getting an answer to this? looking to find the same info via powershell 

amhetre
Cisco Employee
Cisco Employee

Hi,

 

Yes, we can get service profile VIF paths refer this 

 

For VLAN mapping to VLAN group use below Powertool cmdlet

Get-UcsFabricNetGroup -Name Test_vLANGroup | Get-UcsFabricPooledVlan

 

For vHBA Pinning info for service Profile can be get using below Powertool cmdlet

Get-UcsServiceProfile -Name Test_SP1 | Get-UcsVhba

Thanks. I get the output. Could you help me with what parameter to disable the vHBA?
Get-UcsServiceProfile -Name Test_SP1 | Get-UcsVhba

Dn
--
org-root/org-Test/ls-Test_SP1/fc-vHBA_Boot_A
org-root/org-Test/ls-Test_SP1/fc-vHBA_Boot_B
org-root/org-Test/ls-Test_SP1/fc-vHBA_Data_A
org-root/org-Test/ls-Test_SP1/fc-vHBA_Data_B

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers