Configuring dhcp server on a device, Default dhcp server settings, Dhcp server cli commands – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 89

Advertising
background image

Brocade ICX 6650 Layer 3 Routing Configuration Guide

71

53-1002603-01

Configuring IP parameters – Layer 3 Switches

Configuring DHCP Server on a device

Perform the following steps to configure the DHCP Server feature on your device:

1. Enable DHCP Server by entering a command similar to the following.

Brocade(config)# ip dhcp-server enable

2. Create a DHCP Server address pool by entering a command similar to the following.

Brocade(config)# ip dhcp-server pool cabo

3. Configure the DHCP Server address pool by entering commands similar to the following.

Brocade(config-dhcp-cabo)# network 192.168.1.0/24

Brocade(config-dhcp-cabo)# domain-name brocade.com

Brocade(config-dhcp-cabo)# dns-server 192.168.1.2 192.168.1.3

Brocade(config-dhcp-cabo)# netbios-name-server 192.168.1.2

Brocade(config-dhcp-cabo)# lease 0 0 5

4. To disable DHCP, enter a command similar to the following.

Brocade(config)# no ip dhcp-server enable

The following sections describe the default DHCP settings, CLI commands and the options you can
configure for the DHCP Server feature.

Default DHCP Server settings

Table 7

shows the default DHCP Server settings.

DHCP Server CLI commands

Table 8

described DHCP Server optional parameters command.

TABLE 7

DHCP server default settings

Parameter

Default Value

DHCP server

Disabled

Lease database expiration time

86400 seconds

The duration of the lease for an assigned IP address

43200 seconds (one day)

Maximum lease database expiration time

86400 seconds

DHCP server with option 82

Disabled

DHCP server unknown circuit-ID for Option 82

Permit range lookup

IP distribution mechanism

Linear

TABLE 8

DHCP Server optional parameters command

Command

Description

dbexpire

Specifies how long, in seconds, the DHCP server should wait before
aborting a database transfer

option domain-name

Specifies the domain name for the DHCP clients.

option

domain-nameservers

Specifies the Domain Name System (DNS) IP servers that are
available to the DHCP clients.

Advertising