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

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

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122

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