Objectives
Overview
The purpose is to provide out of the box automation.
During the boot up process the switch searches for a DHCP server. The DHCP server provides an IP address along with other manually specified options set up by the administrator. The option will point to a file server (i.e. TFTP). The file server provides a configuration file to load on the switch along with the firmware images.
By default, the switch is configured to operate in Jumpstart mode as a DHCP client that sends DHCP requests to a DHCP server to retrieve configuration information (IP address, boot-image filename, and configuration file). All ports and management interfaces are brought up in Layer 3 mode and pre-configured with no shutdown and no ip address. For this reason, you cannot enter configuration commands to set up the switch. To interrupt a Jumpstart process, prevent a loop from occurring, and apply the FTOS image and startup configuration stored in the local flash, enter the stop jump-start command from the console. To reconfigure the switch so that it boots up in normal mode using the FTOS image and startup configuration file in local flash, enter the reload-type normal-reload command and save it to the startup configuration:
How to Manage
There are different versions of Bare Metal Provisioning (BMP) 1.5 , 2.0 version and 3.0. Depending on what version is installed will determine what commands are available.
Version 1.5
Normal mode
- loads the FTOS image and startup-config file from flash memory
- interfaces are shutdown with no ip address
- management 0/0 interface has no ip address
Factory-Default mode
- RSTP enabled
- LLDP enabled
- Interfaces are put in switchport mode, no shutdown and untagged on VLAN 1
- Management 0/0 - IP address 192.168.0.1/24
DHCP-Client mode
- DHCP Discover on management port - System is reloaded with FTOS and startup configuration files from the TFTP server
- If DHCP offer not received - switches to factory-default (no management IP address)
DHCP-Client-Only mode
- DHCP Discover on management port - System is reloaded with FTOS and startup configuration files from the TFTP server
- If DHCP offer not received, remains a DHCP client
DHCP-Server mode
- loads the FTOS image from flash memory
- acts as DHCP server - network 192.168.0.0/24
- management 0/0 ip address 192.168.0.1/24
Version 2.0
Reload-type
normal-reload
- loads the FTOS image and starup-config file from flash memory
- interfaces are shutdown with no IP address
- management 0/0 interface has no ip address
jump-start
- loads the FTOS image from flash memory
- interfaces are shutdown with no ip address
- ip ssh server enabled
- DHCP DISCOVER until dhcp-tiimeout (on all ports) - system is reloaded with FTOS and startup configuration files from the TFTP server
Version 3.0
BMP improves accessibility to the switch by automatically loading pre-defined configurations and boot images that are stored on a file server. Included in FTOS 9.1 for S4810 and Z9000, BMP 3.0 adds the ability for a switch to download and run scripts upon switch boot-up so that automated testing, configuration, and validation can be performed.
How to exit or stop Jump Start / Bare Metal Provisioning Mode
Depending on the version installed you can use any of the following commands to disable Jump Start:
FTOS#stop bmp
FTOS#stop jump-start
FTOS#reload-type normal-reload
FTOS#configure
FTOS#(config)#reload-type normal-reload
Verification Show commands
FTOS#show system brief
Stack MAC : 00:11:22:33:44:55
Reload-Type : normal-reload [Next boot : normal-reload]
F10-S4810-1#show bootvar
PRIMARY IMAGE FILE = system://B
SECONDARY IMAGE FILE = system://B
DEFAULT IMAGE FILE = system://A
LOCAL CONFIG FILE = variable does not exist
PRIMARY HOST CONFIG FILE = variable does not exist
SECONDARY HOST CONFIG FILE = variable does not exist
PRIMARY NETWORK CONFIG FILE = variable does not exist
SECONDARY NETWORK CONFIG FILE = variable does not exist
CURRENT IMAGE FILE = system://B
CURRENT CONFIG FILE 1 = flash://startup-config
CURRENT CONFIG FILE 2 = variable does not exist
CONFIG LOAD PREFERENCE = local first
BOOT INTERFACE GATEWAY IP ADDRESS = variable does not exist
Reload Mode = normal-reload
FTOS#show reload-type