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

UCS Server Vif Paths and vHBA pinning to uplink from PowerShell

Jeremy Waldrop
Level 4
Level 4

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
Level 1
Level 1

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

Review Cisco Networking for a $25 gift card

Cisco UCS X-Series Energy Efficiency Offer