cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Cisco Community Designated VIP Class of 2020

2398
Views
16
Helpful
5
Replies
Cisco Employee

How do I access the "VIF Paths" tab information from UCSM from PowerTool?

In UCS Manager, there is a tab on each server and Service Profile called "VIF Paths", how can I see this information from the UCS PowerTool or the CLI?

Thanks,

Bryan

5 REPLIES 5
Enthusiast

Re: How do I access the "VIF Paths" tab information from UCSM from PowerTool?

Hi Bryan,

You can use the below cmdlet to get the VIF path for the server or service profile from the UCS PowerTool.

Get-UcsServer | Get-UcsFabricLocale | Get-UcsFabricPath

Let me know if this helps.

Thanks,

Sumanth

Cisco Employee

Re: How do I access the "VIF Paths" tab information from UCSM from PowerTool?

Hi Sumanth,

I would never have guessed it would be that cmd! However, I tried it and it doesn't give me the details of the paths. Here is the output:

PowerTool C:\> Get-UcsServer | Get-UcsFabricLocale | Get-UcsFabricPath

CType : mux-fabric

ChassisId : 3

Enacp : virtual

Id : 1

Locale : chassis

Name :

NsSize : 30

Sacl :

Side : left

SwitchId : A

Transport : ether

Type : lan

Dn : sys/rack-unit-1/fabric-A/path-1

Rn : path-1

Status :

XtraProperty : {}

Ucs : pocucs3

CType : mux-fabric

ChassisId : 4

Enacp : virtual

Id : 1

Locale : chassis

Name :

NsSize : 30

Sacl :

Side : right

SwitchId : B

Transport : ether

Type : lan

Dn : sys/rack-unit-1/fabric-B/path-1

Rn : path-1

Status :

XtraProperty : {}

Ucs : pocucs3

Is there another cmd you can recommend?

I also posted another question about obtaining details from a RAID Controller, can you help with that question too?

Thanks,

Bryan

Enthusiast

Re: How do I access the "VIF Paths" tab information from UCSM from PowerTool?

Hi Bryan,

I think you need one more cmdlet, get-ucsfabricpathep.  So:

get-ucsblade <blade ref, could be pndn, slot, etc> | Get-UcsFabricLocale | Get-UcsFabricPath | Get-UcsFabricPathEp

The UCS (and UCS Central) power tools are very powerful but the documentation is essentially non-existent.  A great way to try and pick apart what you need is to use the Get-UcsCmdletMeta (and Get-UcsCentralCmdletMeta) and the -tree option.  I used the following command to find what you needed (with a bit of trial and error!)

If you run a help get-fabricpath it tells you that it uses the type "FabricPath" which is what I used for the class below.

Get-UcsCmdletMeta -ClassId FabricPath -tree

FabricLocale (UcsFabricLocale) (Get)

  |-FabricPath (UcsFabricPath) (Get)

     |-DcxVc (UcsDcxVc) (Get)

     |  |-FaultInst (UcsFault) (Get)

     |  |-SwCmclan (UcsSwCmclan) (None)

     |  |-SwNetflowMonitorRef (UcsSwNetflowMonitorRef) (None)

     |  |-SwUlan (UcsSwUlan) (Get)

     |  |-SwVlan (UcsSwVlan) (Get)

     |  |  |-FabricNetflowIPv4Addr (UcsFabricNetflowIPv4Addr) (None)

     |  |  |-FaultInst (UcsFault) (Get)

     |  |-SwVsan (UcsSwVsan) (Get)

     |     |-SwFcZoneSet (UcsSwFcZoneSet) (None)

     |        |-SwFcServerZoneGroup (UcsSwFcServerZoneGroup) (None)

     |           |-SwZoneInitiatorMember (UcsSwZoneInitiatorMember) (None)

     |              |-SwFcZone (UcsSwFcZone) (None)

     |                 |-SwZoneTargetMember (UcsSwZoneTargetMember) (None)

     |-FabricPathConn (UcsFabricPathConn) (Get)

     |  |-FabricPathEp (UcsFabricPathEp) (Get)

     |     |-PortTrustMode (UcsPortTrustMode) (Get)

     |-FabricPathEp (UcsFabricPathEp) (Get)

        |-PortTrustMode (UcsPortTrustMode) (Get)

Highlighted
Beginner

Re: How do I access the "VIF Paths" tab information from UCSM from PowerTool?

get-ucsserver | Get-UcsFabricLocale | Get-UcsFabricPath | Get-UcsDcxVc | select dn,switchid,operstate,adminstate,vnic,linkstate | where { $_.vnic } | sort dn | ft

Cisco Employee

Re: How do I access the "VIF Paths" tab information from UCSM from PowerTool?

Boris,

Thank you for responding!! I just returned from vacation and I will try this out very soon.

I can't wait, I'm very excited to see if this works.

Thanks,

Bryan

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here