Configure Dynamic Host Configuration Protocol (DHCP) Image Upgrade Settings on a Switch through the Command Line Interface (CLI)

Similar documents
Configure Option 125 on a Server to Allow Dynamic Host Configuration Protocol (DHCP) Auto Image Updates on a Switch

Configure Green Ethernet Port Settings on a Switch through the Command Line Interface (CLI)

CCNA 1 Chapter 2 v5.0 Exam Answers %

Configure Smartport Properties on a Switch through the CLI

CCNA 1 Chapter 2 v5.0 Exam Answers 2013

Configuring Host Router and Cisco Analog Video Gateway Module Interfaces

Overview of the Cisco NCS Command-Line Interface

Configure Global Link Layer Discovery Protocol (LLDP) Settings on a Switch through the Command Line Interface (CLI)

Configure Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) Service Settings on a Switch

Smart Install Concepts

Working with Configuration Files

Chapter 5 Router and IOS Basics

ExtraHop Command-line Reference

Upgrading the Software

Using the Command-Line Interface

Chapter 6: Network Layer

Lenovo RackSwitch G8272. Release Notes. For Networking OS 8.2

Converting Autonomous Access Points to Lightweight Mode

Converting Autonomous Access Points to Lightweight Mode

Lab 7 Configuring Basic Router Settings with IOS CLI

MiPDF.COM. 3. Which procedure is used to access a Cisco 2960 switch when performing an initial configuration in a secure environment?

Cisco 7500 Series Line Card Configuration Commands

Using PowerOn Auto Provisioning

Using the Command-Line Interface

Using the Command-Line Interface

Cisco 4000 Series Virtual Configuration Register

Lenovo Flex System SI Gb System Interconnect Module. Release Notes. for Networking OS 8.2

How do I perform a backup and restore from a NOKIA IP VPN 10i to another NOKIA IP VPN 10i in the event of a hardware failure?

Server Utilities. Enabling Or Disabling Smart Access USB. This chapter includes the following sections:

Configuring Ethernet Management Port

S38 Basic Configuration

Cisco Branch Routers Series Network Analysis Module (NME-NAM-120S) Installation and Configuration Note, 4.2

Controlling Switch Access with Passwords and Privilege Levels

Nova series update F/W & Boot code from Boot Utility

Getting Started. Getting Started with Your Platform Model. Factory Default Configurations CHAPTER

Router Startup and Configuration

Laboration 2 Troubleshooting Switching and First-Hop Redundancy

Reimage Procedures. Firepower 2100 Series Software Reimage and Disaster Recovery

Firmware Management. Overview of Firmware. This chapter includes the following sections:

Managing the Mobility Express Network

Managing Controller Software and Configurations

Lab Using the Boot System Command. Objective. Background/Preparation

WLM1200-RMTS User s Guide

Initial Setup. Cisco APIC Documentation Roadmap. This chapter contains the following sections:

Implementing DHCP for IPv6

Lab Student Lab Orientation

Lab 6.2.7a Managing Switch Operating System Files

Managing APs. Converting Autonomous APs to Lightweight Mode. Information About Converting Autonomous Access Points to Lightweight Mode

DGS-3630-Series Switches

Assigning the Switch IP Address and Default Gateway

Chapter 4. Network Security. Part II

File Transfers. Contents

System Management Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9400 Switches)

INDEX. Cisco Unity Express CLI Administrator Guide for Cisco CallManage, Release Cisco Unity Express Release 1.1

Configuring Administrative Operations

Assigning the Switch IP Address and Default Gateway

Lenovo NE1032 and NE1032T Switch

Configuring Secure Shell (SSH)

Skills Assessment Student Practice

Troubleshoot Firmware

Before Contacting Technical Support

Controlling Switch Access with Passwords and Privilege Levels

3 Connection, Shell Serial Connection over Console Port SSH Connection Internet Connection... 5

System Management Configuration Guide, Cisco IOS XE Fuji 16.9.x (Catalyst 9500 Switches)

Performing Software Maintenance Upgrades (SMUs)

Chapter 11. Configuring and Testing Your Network

Managing GSS User Accounts Through a TACACS+ Server

The Lab. The lab (cont ) 5 (6) routers ETSF05 + ETSF The routing lab. Jens A Andersson. Many links (vlans) Front-end server

AsteriskNow Polycom SoundPoint IP 335 & 550 Provisioning In FreePBX

Troubleshooting. Understanding POST Results CHAPTER

Configuring the JUNOS Software the First Time on a Router with a Single Routing Engine

Assigning the Switch IP Address and Default Gateway

Deploying Cisco UCS Central

Chapter 2. Chapter 2 A. Configuring a Network Operating System

EX2500 Ethernet Switch 3.1 Release Notes

Installing Cisco StadiumVision Director Software from a DVD

HP Switch Software. Basic Operation Guide

Upgrading the Cisco IOS XE Software

DES-3528/52 Series Firmware Release Notes

AST2500 ibmc Configuration Guide

Bring-up the Router. Boot the Router

Switch Quick Configuration CLI Guide for

AsteriskNow IPTables Firewall Configuration

HP Switch Software. Basic Operation Guide. Abstract

Configuring and Monitoring the GeoDB

Lab Firmware Upgrade of a Catalyst 2900 Series Switch

Assigning the Switch IP Address and Default Gateway

Appliance/Product Firmware Type Version Filename Cyclades ACS (all models) Opcode V_3.2.0 Fl bin

System Management Configuration Guide, Cisco IOS XE Fuji 16.8.x (Catalyst 3850 Switches)

Chapter 2 Using the Command Line Interface

Performing Software Maintenance Upgrades

Managing GSS User Accounts Through a TACACS+ Server

The Project Study two different routing protocols for intra domain Internet routing Hands-on experience

Lab Using the CLI to Gather Network Device Information Topology

Chapter 5 Review Questions

Configuring Switch-Based Authentication

Skills Assessment Student Training Exam

HT801/HT802 Firmware Release Note IMPORTANT UPGRADING NOTE

GRP Redundant Processor Support

YA-YB Software Fix List

Transcription:

Configure Dynamic Host Configuration Protocol (DHCP) Image Upgrade Settings on a Switch through the Command Line Interface (CLI) Objective The Dynamic Host Configuration Protocol (DHCP) image upgrade feature on a switch can be used to configure a DHCP server to download both a new image and a new configuration file to one or more switches in a network. Simultaneous image and configuration upgrade for all switches in the network helps ensure that each new switch added to a network are synchronous with the network. The DHCP Image Upgrade on your switch works in two ways: DHCP Auto Configuration and Image Auto Update. Configuring these features could be very beneficial in managing more than one switch or stacked switches in the network. DHCP Autoconfiguration The process by which the network device receives its configuration file from a Secured Copy Protocol (SCP) over Secure Shell (SSH) or Trivial File Transfer Protocol (TFTP) server identified by the DHCP server when it has provided or renewed the IP address on that device. This functions properly only when the DHCP server is configured to assign the host IP address dynamically. By default, the switch is enabled as a DHCP client when the Auto Configuration feature is enabled. DHCP Auto-Image Update Used with DHCP Auto Configuration, this allows you to download both a configuration and a new image to one or more switches in the network. If Image Auto Update is enabled, the flash image is downloaded and updated. If the new configuration is downloaded to a switch that already has a configuration, the downloaded configuration is appended to the configuration file stored on the switch. This article provides instructions on how to configure DHCP image upgrade on your switch in two ways: DHCP Auto Configuration and Image Auto Update. Applicable Devices Sx350 Series SG350X Series Sx500 Series Sx550X Series Software Version 1.4.5.02 Sx500 2.2.0.66 Sx350, SG350X, Sx550X Configure DHCP Image Upgrade Settings on a Switch

Important: Before you start the configuration, an active DHCP server must be set up in the network with the locations and names of the configuration file and firmware image of your devices. The devices in the network are configured as DHCP clients by default. When the devices are assigned their IP addresses by the DHCP server, they also receive information about the configuration file and firmware image. Make sure your TFTP or SCP server is configured. If the configuration file and/or firmware image are different from the ones currently used on the device, the device reboots itself after downloading the file and/or image. Place a configuration file in the working directory. This file can be created by copying a configuration file from a device. When the device is booted, this becomes the Running Configuration file. Configure DHCP Auto Configuration and Auto Update Settings DHCP autoconfiguration downloads a configuration file to one or more switches in your network from a DHCP server. The downloaded configuration file becomes the running configuration of the switch. It does not overwrite the bootup configuration saved in the flash, until you reload the switch. Note: The available commands may vary depending on the exact model of your device. In this example, SG350X-48MP switch is used. Step 1. Log in to the switch console. Note: In this example, the username and password used is cisco/cisco. Step 2. Enter the Global Configuration mode of the switch by entering the following: Boot Host Auto-config Step 3. Enter the boot host auto-update Global Configuration mode command to enable the support of auto update via DHCP. The options are: tftp Only TFTP is used by auto-configuration. scp Only SCP is used by auto-configuration. auto Auto-configuration uses TFTP or SCP depending on the configuration extension of the file. If this option is selected, the extension parameter may be specified or, if not, the default extension is used. This is the default setting. - extension The SCP file extension. When no value is specified, scp is used. The range is 1 to 16 characters. Note: In this example, boot tftp is used.

Step 4. (Optional) Enter the no form of the boot host auto-config command to disable DHCP auto configuration. Boot Host Auto-update Step 5. Enter the boot host auto-update Global Configuration mode command to enable the support of auto update via DHCP. The options are: tftp Only TFTP is used by auto-update. scp Only SCP is used by auto-update. auto Auto-configuration uses TFTP or SCP depending on the Indirect image extension of the file. If this option is selected, the extension parameter may be specified or, if not, the default extension is used. - extension The SCP file extension. When no value is specified, scp is used. The range is 1 to 16 characters. Note: In this example, boot tftp is used. Step 6. (Optional) Enter the no form of the boot host auto-update command to disable DHCP auto update. Step 7. Exit the Global Configuration mode by entering the following command: Show Boot Step 8. Enter the show boot Privilege EXEC mode command to show the status of the IP DHCP Auto Config process.

The boot host auto-config and auto-update settings should be displayed. You should now have successfully configured the DHCP auto-config and auto-update settings on your switch through the CLI. Configure IP DHCP TFTP Server Settings IP DHCP TFTP-Server IP Address Step 1. Enter the Global Configuration mode of the switch by entering the following: Step 2. Enter the ip dhcp tftp-server ip address Global Configuration mode command to set the backup IP address of the server. This IP address serves as the default address used by a switch when it has not been received from the DHCP server. Note: For the ip-addr, you can use IPv4 address, IPv6 address, or Doman Name System (DNS) name of TFTP or SCP server. Note: In this example, the IP address used is 192.168.1.102. Step 3. (Optional) Enter the no form of the ip dhcp tftp-server ip address command to revert the default settings.

IP DHCP TFTP-Server File Step 4. Enter the ip dhcp tftp-server file Global Configuration mode command to set the full file name of the configuration file to be downloaded from the backup server when it has not been received from the DHCP server. SG350X# ipdhcptftp-server file [file-path] Note: For the file-path, you can enter the file path and the name of the configuration file on the server. Note: In this example, TFTP/config is used. Step 5. (Optional) Enter the no form of the ip dhcp tftp-server file command to revert the default settings. IP DHCP TFTP-Server Image File Step 6. Enter the ip dhcp tftp-server image file Global Configuration mode command to set the indirect file name of the image file to be downloaded from the backup server when it has not been received from the DHCP server. Note: For the file-path, you can enter the file path and the name of the image file on the server. Note: In this example, TFTP/image is used. Step 7. (Optional) Enter the no form of the ip dhcp tftp-server image file command to remove the file name. Step 8. Exit the Global Configuration mode by entering the following command:

Show IP DHCP TFTP-Server Step 9. Enter the show ip dhcp tftp-server EXEC mode command to display information about the backup server. The IP DHCP TFTP Server settings should be displayed. You should now have configured the IP DHCP TFTP Server Settings on your switch through the CLI.