EasyManua.ls Logo

HPE Aruba 3810 - Chapter 14 Dynamic Host Configuration Protocol; Enabling DHCP relay

HPE Aruba 3810
456 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The Dynamic Host Configuration Protocol (DHCP) is used for configuring hosts with IP address and other
configuration parameters without user intervention. The protocol is composed of three components:
DHCP client
DHCP server
DHCP relay agent
For more information, see Overview of DHCP on page 299.
Enabling DHCP relay
The DHCP relay function is enabled by default on a routing switch. However, if DHCP has been disabled, you can
re-enable it by entering the following command at the global configuration level:
switch(config)# dhcp-relay
To disable the DHCP relay function, enter the no form of the command:
switch(config)# no dhcp-relay
Using DHCP Option 12 to send a hostname
This feature allows you to include the hostname in the DHCP packet sent to the DHCP server. This is disabled by
default. The command must be executed from the global configuration level.
Syntax:
dhcp host-name-option
no dhcp host-name-option
Sends the hostname option with DHCP packets. Use the no form of the command to not include the hostname in
the packet.
The maximum size of the hostname is 32 characters.
Default: disabled
DHCP Option 12 command
switch(config)# dhcp host-name-option
SNMP support
A MIB object supports enabling and disabling the DHCP Option 12 feature. It is added in the
hpicfDhcpclient.mib. The hostname is retrieved from the MIB variable SYSNAME. Validity checks on the
name include:
Chapter 14
Dynamic Host Configuration Protocol
Chapter 14 Dynamic Host Configuration Protocol 291

Table of Contents

Related product manuals