- Community Home
- >
- Servers and Operating Systems
- >
- HPE BladeSystem
- >
- BladeSystem - General
- >
- Re: automate pxe vlan mode and id using ilorest
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-21-2020 12:32 AM
тАО06-21-2020 12:32 AM
automate pxe vlan mode and id using ilorest
Hi,
I have synergy gen10 blades, with ilo5. I am looking into automating the option to boot from pxe ,for what I need to define the VLAN Mode as enabled (disabled by default) and set the VLAN ID.
I know how to change boot order, but without these options set up, pxe won't work.
In UEFI menu (F9 at boot up) I go to:
system configuration -> Slot 3 Port 1 : HPE Synergy 3820C 10/20Gb Converged Network Adapter - CNA -> MBA Configuration Menu -> VLAN Mode = Enabled
system configuration -> Slot 3 Port 1 : HPE Synergy 3820C 10/20Gb Converged Network Adapter - CNA -> MBA Configuration Menu -> VLAN ID(1.,4094) = 56
Any ideas on how to automate this task with ilorest? or any other method you may think about?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-23-2020 03:16 AM
тАО06-23-2020 03:16 AM
Re: automate pxe vlan mode and id using ilorest
Hi,
I believe this should help.
"File-based mode allows you to save and load settings from a file. This is similar to the conrep.dat files used by CONREP. File-based mode supports the JSON format"
https://hewlettpackard.github.io/python-redfish-utility/#interactive-mode
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2020 02:27 PM
тАО06-24-2020 02:27 PM
Re: automate pxe vlan mode and id using ilorest
Thanks for the reply. The problem is that I don't find the entry that configures the parameters I am looking for so the approach you propose is no good
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2020 05:31 AM
тАО06-25-2020 05:31 AM
Re: automate pxe vlan mode and id using ilorest
In general changing BIOS settings directly through iLO, in the back of OneView, may not be a good idea.
The first task to achieve, which can be challenging when no OS is installed in a system, is to identify the NIC on which we want to work on. The MAC address or the UefiDevicePath are good criterias.
ilorest login ilo5 -u <user> -p <password>
ilorest select EthernetInterface. # note the trailing "dot"
ilorest get VLAN # Look for MAC address
ilorest set VLAN/VLANEnable=true
ilorest set VLAN/VLANId=56
ilorest status
ilorest commit
ilorest reboot ForceRestart
ilorest logout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-13-2022 01:38 AM
тАО09-13-2022 01:38 AM
Re: automate pxe vlan mode and id using ilorest
Hi, we have same issue. We are unable to PXE boot as per PXE VLAN disable parameter in NIC/BIOS. If I change this parameter directly in ILO i get conflict with OneView howerver I did not manage to find this parameter in OneView directly. Pls advise. Many thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2022 05:12 AM
тАО09-14-2022 05:12 AM
Re: automate pxe vlan mode and id using ilorest
Hello @Operations_SWS,
Thank you for posting! Since you have posted in an old topic and there is no response yet, I would recommend you to create a new topic using the create "New Discussion" button, so the experts can check and help you further.
Sunitha G
I'm an HPE employee.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]