59-14
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Chapter 59 Configuring the Cisco IOS DHCP Server
Configuring DHCP Address Pools
Step 10
Switch(dhcp-config)# next-server address
[address2 ... address8]
(Optional) Configures the next server in the boot process of a
DHCP client.
• One address is required; however, you can specify up to eight
addresses in one command line.
• If multiple servers are specified, DHCP assigns them to
clients in a round-robin order. The first client gets address 1,
the next client gets address 2, and so on.
• If this command is not configured, DHCP uses the server
specified by the ip helper address command as the boot
server.
Step 11
Switch(dhcp-config)# netbios-name-server
address [address2 ... address8]
(Optional) Specifies the NetBIOS WINS server that is available
to a Microsoft DHCP client.
• One address is required; however, you can specify up to eight
addresses in one command line.
• Servers should be listed in order of preference.
Step 12
Switch(dhcp-config)# netbios-node-type
type
(Optional) Specifies the NetBIOS node type for a Microsoft
DHCP client.
Step 13
Switch(dhcp-config)# default-router
address [address2 ... address8]
(Optional) Specifies the IP address of the default device for a
DHCP client.
• The IP address should be on the same subnet as the client.
• One IP address is required; however, you can specify up to
eight IP addresses in one command line. These default
devices are listed in order of preference; that is, address is the
most preferred device, address2 is the next most preferred
device, and so on.
• When a DHCP client requests an IP address, the
device—acting as a DHCP server—accesses the default
device list to select another device that the DHCP client will
use as the first hop for forwarding messages. After a DHCP
client has booted, the client begins sending packets to its
default device.
Step 14
Switch(dhcp-config)# option code
[instance number] {ascii string | hex
string | ip-address}
(Optional) Configures DHCP server options.
Step 15
Switch(dhcp-config)# lease {days [hours
[minutes]] | infinite}
(Optional) Specifies the duration of the lease.
• The default is a one-day lease.
• The infinite keyword specifies that the duration of the lease
is unlimited.
Command or Action Purpose