3.8.1 DHCP Server Mode Configuration

Use this command to configure Global mode and VLAN mode to enable/disable DHCP server per system and per VLAN.

Command Syntax:

ip dhcp server
Table 3-33. Command Description

Argument

Description

Parameter

N.A

N.A

Default

N.A

Mode

Global Configuration mode and VLAN Interface mode

Usage

Globally enable DHCP server. To globally disable the DHCP server, use the ‘no’ form of this command.

Example

Example 1:

Enable the DHCP server.

# configure terminal
(config)# ip dhcp server

Example 2:

Enable DHCP server on VLAN1.

# configure terminal
(config)# vlan1
(config-vlan)# ip dhcp server