Three CLI Methods to Find Console IP details on HP-UX by Dusan Baljevic

2,163 views

Published on

Three CLI Methods to Find Console IP details on HP-UX

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,163
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Three CLI Methods to Find Console IP details on HP-UX by Dusan Baljevic

  1. 1. Dusan Baljevic dusan.baljevic@ieee.org Here are hidden methods to retrieve information about console setup from the HP-UX command-line... Method 1: # /opt/sfm/bin/CIMUtil -e root/cimv2 HP_ManagementProcessor Instance 0 Instance 0 : UniqueIdentifier : 0.23.164.153.221.37 ControllerType : 0 OtherControllerType : IPAddress :10.22.50.31 URL : https://10.22.50.31 Dedicated : 14 CreationClassName :HP_ManagementProcessor Name : Management Processor EnabledState : 2 OperationalStatus : 2 FirmwareRevision : F.002.023.000 LEDColour : 0 LEDBlinkRate : 0 NICCondition : 2 Method 2 (works in some versions): # /opt/hpsmh/data/htdocs/comppage/getMPInfo.cgi content-type: text/html parent.frames.CHPAppletFrame.chpMiscData.RIBName = "https://10.22.50.31"; parent.frames.CHPAppletFrame.chpMiscData.RIBLink = "https://10.22.50.31";
  2. 2. Method 3: # cat cim-request.xml <?xml version="1.0" encoding="utf-8" ?> <CIM CIMVERSION="2.0" DTDVERSION="2.0"> <MESSAGE ID="90108" PROTOCOLVERSION="1.0"> <SIMPLEREQ> <IMETHODCALL NAME="GetProperty"> <LOCALNAMESPACEPATH> <NAMESPACE NAME="root" /> <NAMESPACE NAME="cimv2" /> </LOCALNAMESPACEPATH> <IPARAMVALUE NAME="InstanceName"> <INSTANCENAME CLASSNAME="HP_ManagementProcessor"> <KEYBINDING NAME="CreationClassName"> <KEYVALUE VALUETYPE="string">HP_ManagementProcessor</KEYVALUE> </KEYBINDING> </INSTANCENAME> </IPARAMVALUE> <IPARAMVALUE NAME="PropertyName"> <VALUE>URL</VALUE> </IPARAMVALUE> </IMETHODCALL> </SIMPLEREQ> </MESSAGE> </CIM> # wbemexec cim-request.xml <?xml version="1.0" encoding="utf-8"?> <CIM CIMVERSION="2.0" DTDVERSION="2.0"> <MESSAGE ID="90108" PROTOCOLVERSION="1.0"> <SIMPLERSP> <IMETHODRESPONSE NAME="GetProperty"> <IRETURNVALUE> <VALUE> https://10.22.50.31 </VALUE> </IRETURNVALUE> </IMETHODRESPONSE> </SIMPLERSP> </MESSAGE> </CIM>

×