John McDonough | Use the class networkElement in a configResolveClass query with the Invoke-XmlCommand as shown below
PS C:\> Connect-UCSM 172.21.60.72
cmdlet Connect-UCSM at command pipeline position 1 Supply values for the following parameters: Credential UCS Connection successful
Name : 172.21.60.72 ConnectionInstance : CurrentUCSMInstance Port : 443 User : admin UserRole : admin UserPrivilege : read-only SSL : True SessionID : web_57037_A LastUpdatedTime : 10/6/2011 2:03:25 PM RefreshPeriod : 600 Credential : System.Management.Automation.PSCredential UcsUri : https://172.21.60.72/nuova Cookie : 1317924195/47b6dbbe-00e2-4e88-909c-e03258a5935f Version : 1.4(1j)
PS C:\> Invoke-XmlCommand -XMLStringList "<configResolveClass classId='networkElement' inHierarchical='false' />"
adminInbandIfState : disable dn : sys/switch-A fltAggr : 12884901888 id : A inbandIfGw : 0.0.0.0 inbandIfIp : 0.0.0.0 inbandIfMask : 0.0.0.0 inbandIfVnet : 0 model : N10-S6100 oobIfGw : 172.21.60.65 oobIfIp : 172.21.60.70 oobIfMask : 255.255.255.224 operability : operable revision : 0 serial : SSI12480267 totalMemory : 3549 vendor : Cisco Systems, Inc.
adminInbandIfState : disable dn : sys/switch-B fltAggr : 4294967297 id : B inbandIfGw : 0.0.0.0 inbandIfIp : 0.0.0.0 inbandIfMask : 0.0.0.0 inbandIfVnet : 0 model : N10-S6100 oobIfGw : 172.21.60.65 oobIfIp : 172.21.60.71 oobIfMask : 255.255.255.224 operability : operable revision : 0 serial : SSI12480261 totalMemory : 3549 vendor : Cisco Systems, Inc.
Hope that helps |
| Please sign in to flag this as inappropriate. |