cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3131
Views
0
Helpful
4
Replies

Configure boot order using Cisco UCS Power Tool

How can the following be configured using the Cisco UCS Power Tool for IMC (Cisco C240)?

Server# scope bios

Server /bios # set boot-order hdd,cdrom,fdd,pxe,efi

Server /bios *# commit

Server /bios # show detail

I can find cmdlets for configuring Advanced boot order, but I want to configure Basic boot order.

1 Accepted Solution

Accepted Solutions

rrawal
Cisco Employee
Cisco Employee

Hi,

If nothing id added, use the below Add commands-

Get-ImcBootDefinition | Add-ImcLsbootStorage -Order 1

Get-ImcBootDefinition | Add-ImcLsbootVirtualMedia -Access "read-only" -Order 2

Get-ImcBootDefinition | Add-ImcLsbootVirtualMedia -Access "read-write" -Order 3

Get-ImcBootDefinition | Add-ImcLsbootLan -Order 4

Get-ImcBootDefinition | Add-ImcLsbootEfi -Order 5


If some boot orders are already added then use the below commands to set the respective orders -

Get-ImcLsbootStorage -Type "storage" | Set-ImcLsbootStorage -Order "1" -Force

Get-ImcLsbootVirtualMedia  -Access "read-only" | Set-ImcLsbootVirtualMedia -Order "2" -Force

Get-ImcLsbootVirtualMedia -Access "read-write" | Set-ImcLsbootVirtualMedia -Order "3" -Force

Get-ImcLsbootLan -Type "lan" | Set-ImcLsbootLan -Order "4" -Force

Get-ImcLsbootEfi -Type efi | Set-ImcLsbootEfi -Order 5 -Force

View solution in original post

4 Replies 4

rrawal
Cisco Employee
Cisco Employee

Hi,

If nothing id added, use the below Add commands-

Get-ImcBootDefinition | Add-ImcLsbootStorage -Order 1

Get-ImcBootDefinition | Add-ImcLsbootVirtualMedia -Access "read-only" -Order 2

Get-ImcBootDefinition | Add-ImcLsbootVirtualMedia -Access "read-write" -Order 3

Get-ImcBootDefinition | Add-ImcLsbootLan -Order 4

Get-ImcBootDefinition | Add-ImcLsbootEfi -Order 5


If some boot orders are already added then use the below commands to set the respective orders -

Get-ImcLsbootStorage -Type "storage" | Set-ImcLsbootStorage -Order "1" -Force

Get-ImcLsbootVirtualMedia  -Access "read-only" | Set-ImcLsbootVirtualMedia -Order "2" -Force

Get-ImcLsbootVirtualMedia -Access "read-write" | Set-ImcLsbootVirtualMedia -Order "3" -Force

Get-ImcLsbootLan -Type "lan" | Set-ImcLsbootLan -Order "4" -Force

Get-ImcLsbootEfi -Type efi | Set-ImcLsbootEfi -Order 5 -Force

Thanks Rishi!

Does the following command also work for booting from M.2 disks in UEFI mode?

Get-ImcLsbootEfi -Type efi | Set-ImcLsbootEfi -Order 5 -Force

This particular command will set the efi at 5th preference of boot order. If higher preference is required then change the order accordingly while setting order.

Great, thanks a lot!

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:

Cisco UCS X-Series Energy Efficiency Offer