HP 6120XG HP ProCurve Series 6120 Blade Switches Multicast and Routing Guide - Page 93
DHCP Option 12, SNMP Support, Example of the DHCP Option 12 Command
View all HP 6120XG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 93 highlights
IP Routing Features Configuring DHCP Relay DHCP Option 12 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: [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 ProCurve(config)# dhcp host-name-option Figure 3-20. Example of the DHCP Option 12 Command 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: ■ The name starts with a letter, ends with a letter or a digit, and can have letters, hyphens, or digits in between the first and last characters. ■ The maximum size supported for a hostname is 30 characters. If SYSNAME is more than 30 characters, then DHCP Option 12 will not be included in the packet. ■ The minimum number of characters supported for a hostname is one character. If the SYSNAME in the MIB is null, then DHCP Option 12 will not be included in the packet. 3-47