ok setenv boot-device device-specifier
where the device-specifier is one of the following:
cdrom - Selects the CD-ROM drive
disk - Selects the hard disk
floppy - Selects the 3.5-inch diskette drive
tape - Selects the SCSI tape drive
net - Selects the Ethernet interface on the main logic board
full path name - Selects the Ethernet interface specified by the path name
You can also specify the name of the program to be booted as well as the way the boot program operates. For more information, see OpenBoot 3.x Command Reference Manual in the Solaris System Administrator AnswerBook for your specific Solaris release.
If you want to select a network interface other than the system board Ethernet interface as the default boot device, you can determine the full path name of each interface, by entering:
ok show-devs
The show-devs command lists the system devices. It displays the full path name of each PCI device. An example of a path name is shown below:
/pci@1f,4000/pci@5/SUNW,hme@0,1
To reboot the system from the new boot device, enter:
ok reset
You can also power cycle the system using the front panel keyswitch.