AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
Expand all | Collapse all

adding lhea (dlpar task) to an lpar from a command line

  • 1.  adding lhea (dlpar task) to an lpar from a command line

    Posted Tue January 11, 2011 12:19 PM

    Originally posted by: tech100


    what is missing in below command to get vlan_id_list=all

    chhwres -r hea -m aP6system -o a --id 6 -l 23000000 -g 1 --logport 5 --physport 0

    what parameter for the chwres represents the vlandid?

    when I run the command as it is above then lshwres shows:

    23000000,6,anlpar6,1,0,1,5,23e00400,Port 5,00217BB67754,000000000000,none

    and in GUI I see "Allowed VLAN IDs" empty.

    When DLPAR lhea from GUI, then I have a check box for that and the lhea added from GUI is seen on lscfg output:

    23000000,6,anlpar6,1,0,1,5,23e00400,Port 5,00217BB67754,000000000000,all
    thx for a hint what is missing in command line.

    btw. I tried to catch the GUI command with "lssvcevents -t console -i 60" command but it shows only message an no command.
    (All commands run from command line are seen in the log)
    #AIX-Forum


  • 2.  Re: adding lhea (dlpar task) to an lpar from a command line

    Posted Tue January 11, 2011 06:09 PM

    Originally posted by: dukessd


    from the man command ref it looks like the gui uses -a vlan_id_list=all

    http://publib.boulder.ibm.com/infocenter/powersys/v3r1m5/index.jsp?topic=/iphcg/chhwres.htm
    #AIX-Forum