cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4310
Views
16
Helpful
1
Comments
Greg Wilkinson
Cisco Employee
Cisco Employee

This article demonstrates the ability to toggle the boot order on a standalone C-Series server using the unified XML API. This is one of the many things that the programmatic nature of the API allows you to do, and helps facilitate and expedite initial system deployment. 

 

The README files contain more details on how to use the script - but the general format is as follows:

 

1. ./xml_cimc_update.sh (1)cimc_ip (2)username (3)password (4)optional-user-set-boot-order

This command is used to override the boot order setup with HDD and PXE.

Note – This command does not check the current boot order settings.

Example - ./xml_cimc_update.sh 10.225.121.3 admin mypassword HDD,PXE

2. ./xml_cimc_update.sh (1)cimc_ip (2)username (3)password

This command is used to fetch the actual boot order and set it back.

Example - ./xml_cimc_update.sh 10.225.121.3 admin mypassword

3. ./xml_cimc_update.sh configFile

Config file must be in this format with space as delimiter

<IPADDR> <USERNAME> <PASSWORD> <USER-BOOT-ORDER>

Example

cat configFile

10.10.10.10 admin mypassword1

10.10.10.20 admin mypassword2 HDD,PXE

 

Comments
Martin L
VIP
VIP

Very informative; thanks for sharing!

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking for a $25 gift card