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

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
Highlighted
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
Highlighted
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

Highlighted

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

Highlighted

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.

Highlighted

Great, thanks a lot!

Content for Community-Ad