cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

966
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
Cisco Employee

Re: Configure boot order using Cisco UCS Power Tool

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

4 REPLIES 4
Cisco Employee

Re: Configure boot order using Cisco UCS Power Tool

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

Re: Configure boot order using Cisco UCS Power Tool

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
Cisco Employee

Re: Configure boot order using Cisco UCS Power Tool

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.

Re: Configure boot order using Cisco UCS Power Tool

Great, thanks a lot!

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards