beautypg.com

Allied Telesis AlliedWare Plus Operating System Version 5.4.4C (x310-26FT,x310-26FP,x310-50FT,x310-50FP) User Manual

Page 1691

background image

Dynamic Host Configuration Protocol (DHCP) Introduction

Software Reference for x310 Series Switches

C613-50046-01 REV A

AlliedWare Plus

TM

Operating System - Version 5.4.4C

63.5

MAC address

Only a MAC address is supplied in the DHCPLEASEQUERY message. The DHCP server
will return any information that it has on the IP address most recently accessed by a
client with that MAC address. Also, the DHCP server may supply additional IP
addresses that have been associated with that MAC address in different subnets.

Client identifier option

Only a Client identifier option is supplied in the DHCPLEASEQUERY message. The
DHCP server will return any information that it has on the IP address most recently
accessed by a client with that Client identifier. Also, the DHCP server may supply
additional IP addresses that have been associated with Client identifier in different
subnets.

An AlliedWare Plus DHCP server implementing DHCP Leasequery supports all three query
regimes.

If the DHCP Leasequery feature is enabled, when a DHCP relay agent needs to know the
location of an IP endpoint and sends a DHCPLEASEQUERY message, the DHCP server will
reply with either a DHCPLEASEACTIVE, DHCPLEASEUNASSIGNED, or
DHCPLEASEUNKNOWN message.

When the DHCP server replies to a DHCPLEASEQUERY message:

a DHCPLEASEACTIVE message allows the DHCP relay agent to determine the IP
endpoint location and the remaining duration of the IP address lease

a DHCPLEASEUNASSIGNED message indicates that there is no current active lease for
the IP address, but the DHCP server does manage that IP address

a DHCPLEASEUNKNOWN message indicates that the DHCP server supports DHCP
Leasequery but has no knowledge of the query information specified in the
DHCPLEASEQUERY message (e.g., IP address, MAC address, or Client identifier option)

To enable the DHCP Leasequery feature, use the commands:

To disable the DHCP Leasequery feature, use the commands:

To display information about DHCP Leasequery messages, use either of the commands:

To display information about the current configuration of the DHCP server, including
whether the DHCP server is configured to support DHCP Leasequery, use the command:

awplus#

configure terminal

awplus(config)#

ip dhcp leasequery enable

awplus#

configure terminal

awplus(config)#

no ip dhcp leasequery enable

awplus#

show counter dhcp-server

awplus#

show ip dhcp server statistics

awplus#

show ip dhcp server summary