- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- using ilorest to set SNTP IP
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
Discussions
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
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
08-14-2023 09:28 AM - last edited on 08-21-2023 11:07 PM by support_s
08-14-2023 09:28 AM - last edited on 08-21-2023 11:07 PM by support_s
using ilorest to set SNTP IP
I figured out how to use ilorest to set our ILO's IP:
/opt/tools/ilorest ethernet --network_ipv4 X.X.X.X,Y.Y.Y.Y,Z.Z.Z.Z
/opt/tools/ilorest iloreset
But...I can not figure out how to set the SNTP "Primary Time Server" IP with ilorest. What would the ilorest syntax be to set the "Primary Time Server"?
(These are HP ML350 G10 running ILO 5)
- Tags:
- Prolaint server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2023 11:56 PM
08-15-2023 11:56 PM
Re: using ilorest to set SNTP IP
Hello,
please find below link for reference:
https://hewlettpackard.github.io/ilo-rest-api-docs/ilo5/#introduction
Regards
HPE
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 03:55 AM
08-16-2023 03:55 AM
Re: using ilorest to set SNTP IP
2 things:
I've already looked at the documentation and couldn't find the exact syntac I'd use for command line setting SNTP settnigs...so I'm asking for the answer here.
And secondly, going to your link that page comes up but becomes "unresponsive", so is useless to me anyway.
Can someone just post the syntax to setting the SNTP IP here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 04:57 AM
08-16-2023 04:57 AM
Re: using ilorest to set SNTP IP
Your doucumention says NTP things like below....but nowhere do I see where it tells me how to set this with ilorest, hence my question. How ould I do this with your ilorest utility?
Documentation is below:
The currently configured Network Time Protocol (NTP) servers are available in the DateTime resource at /redfish/v1/Managers/{id}/DateTime.
GET /redfish/v1/Managers/{id}/DateTime
If NTP is not being managed by DHCP, you may PATCH server addresses into the StaticNTPServers array.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2023 09:56 PM
08-16-2023 09:56 PM
Re: using ilorest to set SNTP IP
Hello,
From the link I shared, please try below :
PATCH /redfish/v1/Managers/{id}/DateTime
{
"StaticNTPServers": [
"<NTP server 1>",
"<NTP server 2>"
]
}
Regards
HPE
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 03:49 AM
08-17-2023 03:49 AM
Re: using ilorest to set SNTP IP
Again, you're missing the point - we need to do this command line not from the ilorest interface.
I can do the ILO's IP with this syntax:
/opt/tools/ilorest ethernet --network_ipv4 X.X.X.X,Y.Y.Y.Y,Z.Z.Z.Z
Now what is the syntax for doing the SNTP IP from command line?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-17-2023 09:18 PM
08-17-2023 09:18 PM
Re: using ilorest to set SNTP IP
Hello,
please refer to below document:
Page 103 onwards, and page 108 also
https://www.hpe.com/psnow/doc/a00018323en_us
Regards
HPE
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2023 04:49 AM
08-18-2023 04:49 AM
Re: using ilorest to set SNTP IP
Your refusal to just give me the syntax on how to do this with ilorest is puzzling. Can confirm it an even be done with ilorest?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2023 05:02 AM
08-18-2023 05:02 AM
Re: using ilorest to set SNTP IP
Also, we are on ESX 7..0.3 and HP documentation, we can't use the old hponcfg utiliy anymore....you tell us here we must use ilorest:
https://support.hpe.com/hpesc/public/docDisplay?docLocale=en_US&docId=sf000091060en_us
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2023 09:10 PM
08-20-2023 09:10 PM
Re: using ilorest to set SNTP IP
Hello,
to further assist you on the issue.
We would request you to please log a support case with HPE
Regards
HPE
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]
