show

Displays the currently active boot profile. A boot profile is a set of parameters that a switch uses to control the boot process. Each boot profile contains the following parameters:

Boot type—Either compact flash (local device on the switch) or network (TFTP)

Boot device—Location of the system image file

Filename—System image file

Flags—Number representing the bit settings of boot flags to pass to the booted system image.

Options—String up to 128 bytes of boot options to pass to the booted system image

A DWS-1008 switch can have up to four boot profiles, numbered 0 through 3. Only one boot profile can be active at a time. You can create, change, and delete boot profiles. You also can activate another boot profile in place of the currently active one.

Syntax: show

Defaults: None.

Access: Boot prompt.

Examples: To display the currently active boot profile, type the following command at the boot prompt:

boot> show

 

BOOT Index:

0

BOOT TYPE:

c

DEVICE: boot

1:

FILENAME:

default

FLAGS:

00000000

OPTIONS:

run=nos;boot=0

The following is an example of a boot profile that is booted with a software image downloaded from a TFTP server. In the example, when the switch boots, it downloads a system image file called bootfile located on a TFTP server with address 172.16.0.1.

boot> show

 

BOOT Index:

0

BOOT TYPE:

n

DEVICE:

emac1

FILENAME:

bootfile

HOST IP:

172.16.0.1

LOCAL IP:

172.16.0.21

GATEWAY IP:

172.16.0.20

IP MASK:

255.255.255.0

FLAGS:

00000000

OPTIONS:

run=nos

D-Link DWS-1008 CLI Manual

525

Page 528
Image 528
D-Link dws-1008 manual Show, Syntax show Defaults None, Boot Type