- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- Disable network card 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
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
04-16-2019 02:18 AM
04-16-2019 02:18 AM
Disable network card using ilorest
Hi!
I'm trying to automate our physical servers installation process. I'm playing around with the ilorest tool and managed to get my machine's network interface status:
# /usr/sbin/ilorest list Name "PhysicalPorts/MacAddress" --selector=NetworkAdapter iLOrest : RESTful Interface Tool version 2.4 Copyright (c) 2014, 2019 Hewlett Packard Enterprise Development LP ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Name=HPE Ethernet 1Gb 4-port 331i Adapter - NIC PhysicalPorts= Status= State=Enabled PhysicalPorts= MacAddress=C4:34:AA:AA:AA:00 MacAddress=C4:34:AA:AA:AA:01 MacAddress=C4:34:AA:AA:AA:02 MacAddress=C4:34:AA:AA:AA:03
How can I enable/disable a network card or network interface using ilorest? I've seen some examples using the APIrest (coding in Python, for example) but I would like to avoid to code something from scratch when we already have a tool available.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2019 06:01 AM
04-17-2019 06:01 AM
Re: Disable network card using ilorest
Hello,
please check the user guide :-https://support.hpe.com/hpsc/doc/public/display?docId=c04423965
there is no custom tool you have to write the python script.
I am an HPE Employee.