Would you like to learn how to configure a DHCP server on HP switch using the command-line instead of using the web interface? In this tutorial, we are going to show you all the steps required to configure a DHCP server using an HP Switch 5500 using the command-line.

Equipment list

Here you can find the list of equipment used to create this tutorial.

This link will also show the software list used to create this tutorial.

HP Switch Book

Despite having a good knowledge related to computer networks and even have some certifications on the subject, Luke, a 26-year-old IT analyst has just received a mission to deploy a new network using only HP switches.

HP Switch book

Follow Luke’s history and a step by step approach to a network project implementation created by a certified project management professional.

HP Switch Playlist:

On this page, we offer quick access to a list of videos related to HP Switch.

Don't forget to subscribe to our youtube channel named FKIT.

HP Switch Related Tutorial:

On this page, we offer quick access to a list of tutorials related to HP Switch.

Tutorial HP Switch - DHCP server

First, you need to access the console of your HP Switch.

In our example, we are going to use a Opensource software named Putty and a computer running Windows.

The Putty software is available on the putty.org website.

After finishing the download, run the software and wait for the following screen.

Putty windows

To access the console of an HP Switch model 5500, you will need to select the Serial Connection category and use the following options:

• Connection type: Serial
• Serial line: COM1
• Speed: 9600

If COM1 does not work you will need to try to use COM2, COM3, COM4 or the next.


On the prompt screen, enter the administrative login information.

Factory default access information:
• Username: admin
• Password: (No password)

After a successful login, the console command-line will be displayed.

Use the system-view command to enter the configuration mode.

Copy to Clipboard

Create a new vlan, select an identification number and add a brief description.

Copy to Clipboard

Create a virtual interface using the following commands.

Copy to Clipboard

Enable DHCP globally.

Copy to Clipboard

Configure a DHCP scope to the network.

Copy to Clipboard

In our example, we are offering a dynamic IP address for computers connected to the VLAN 100.

If a computer is connected to the VLAN 100 it will receive an IP address from the 192.168.100./24 network.

Use the following commands to verify your configuration.

Copy to Clipboard

Don't forget to save your switch configuration.

Copy to Clipboard

Congratulations! You have successfully configured a DHCP server.