beautypg.com

Ip dhcp inform – LevelOne GTL-2691 User Manual

Page 1363

background image

C

HAPTER

46

| DHCP Commands

DHCP Client

– 1363 –

E

XAMPLE

Console(config)#interface vlan 2

Console(config-if)#ip dhcp client class-id hex 000099669966

Console(config-if)#

R

ELATED

C

OMMANDS

ip dhcp restart client (1364)

ip dhcp inform

This command submits a DHCP request for information about the default

domain name server and default gateway from a VLAN interface configured

with a static IPv4 address. Use the no form to stop this request.

S

YNTAX

[no] ip dhcp inform

D

EFAULT

S

ETTING

Disabled

C

OMMAND

M

ODE

Interface Configuration (VLAN)

C

OMMAND

U

SAGE

This command can only be issued for a VLAN interface which has been

configured with a static IPv4 address.

The switch will continue sending DHCP inform requests until it receives

an acknowledgement from the server. If retry interval is larger than 60

seconds, the switch will stop sending requests, record a log entry, and

then wait for another 300 seconds before trying again.

When the server receives a DHCP inform request, it will return the

requested optional information to the host without assigning an IP

address. If there is no option 6 (DNS) in the DHCP acknowledgement,

the switch will delete all configured name servers. If there is more than

one gateway address in option 3 (default gateway), the switch will use

the first entry.

If the interface address is changed to another static IP address in a

different subnet, the DHCP inform request should be sent again.

E

XAMPLE

In the following example, a static IP address is assigned to VLAN 1, and the

switch is then configured to start submitting DHCP inform requests.

Console(config)#interface vlan 1

Console(config-if)#ip address 192.168.0.99 255.255.255.0

Console(config-if)#ip dhcp inform

Console(config-if)#